function

blockFieldCapabilities

The capabilities of a block definition's field at a placement without an entry of its own in fields, such as a row the client has yet to add: the definition's entry, located through the bound fields along the canonical path.

Arguments

ArgumentTypeDescription
accessAccessCapabilitiesEnvelopeThe access value.
fieldsreadonly SchemaField[]The fields value.
canonicalPathstringThe canonicalPath value.

Returns

The declared result.

FieldCapabilities | undefined

Full signature

function blockFieldCapabilities( access: AccessCapabilitiesEnvelope, fields: readonly SchemaField[], canonicalPath: string, ): FieldCapabilities | undefined

Source packages/protocol/src/index.ts:34

Related types