Skip to content

ManagedFieldSpec

Defined in: packages/contracts/src/config.ts:354

applyOn: ManagedFieldApplyOn[]

Defined in: packages/contracts/src/config.ts:356


optional cast?: string

Defined in: packages/contracts/src/config.ts:370

Optional SQL cast for an authClaim value (jsonb #>> yields text). Defaults to the target column’s own SQL type (so a uuid column casts to uuid with no declaration needed). Override only to force a different cast; must be a plain SQL type name.


optional claimPath?: string[]

Defined in: packages/contracts/src/config.ts:364

For strategy: "authClaim" only (required there, forbidden otherwise): the JSON path into the verified request claims to stamp from — ["sub"], ["app_metadata", "person_id"], etc. Each segment must be a plain identifier ([A-Za-z_][A-Za-z0-9_]*); it is emitted into the apply-function DDL as a jsonb #>> text-array path, so it is never a value-injection surface.


column: string

Defined in: packages/contracts/src/config.ts:355


strategy: ManagedFieldStrategy

Defined in: packages/contracts/src/config.ts:357