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
| Argument | Type | Description |
|---|---|---|
access | AccessCapabilitiesEnvelope | The access value. |
fields | readonly SchemaField[] | The fields value. |
canonicalPath | string | The canonicalPath value. |
Returns
The declared result.
FieldCapabilities | undefinedFull signature
function blockFieldCapabilities(
access: AccessCapabilitiesEnvelope,
fields: readonly SchemaField[],
canonicalPath: string,
): FieldCapabilities | undefinedRelated types
AccessCapabilitiesEnvelopeOperation and path-keyed field capabilities.
SchemaFieldThe common field manifest plus the type-specific configuration selected by type.
FieldCapabilitiesRead/create/update authorization for one field path.