CapabilityLimit
CapabilityLimit = readonly
string[] | {fields?: readonlystring[];filter?:string; }
Defined in: packages/schema/src/access/role-entry.ts:9
What a capability is limited to: the fields it allows, an allowlist (['sku', 'price']), a row filter in AIP-160
text that is ANDed into its rows ({ filter: 'published = true' }), or both ({ fields: [...], filter: '...' }).
Union Members
Section titled “Union Members”readonly string[]
Type Literal
Section titled “Type Literal”{ fields?: readonly string[]; filter?: string; }
fields?
Section titled “fields?”
readonlyoptionalfields?: readonlystring[]
The only fields the capability reads or writes.
filter?
Section titled “filter?”
readonlyoptionalfilter?:string
AIP-160 text the capability’s rows must match.