Skip to content

FieldAccess

FieldAccess = object

Defined in: packages/schema/src/access/types.ts:63

A field’s own rules, .access({ read, create, update }) on the field; an operation without one follows the resource.

optional create?: FieldRule

Defined in: packages/schema/src/access/types.ts:67

Whether the caller may set the field when creating a record.


optional read?: FieldRule

Defined in: packages/schema/src/access/types.ts:65

Whether the caller may see the field.


optional update?: FieldRule

Defined in: packages/schema/src/access/types.ts:69

Whether the caller may change the field when updating a record.