FieldAccess
FieldAccess =
object
Defined in: packages/schema/src/access/types.ts:54
A field’s own rules, .access({ read, create, update }) on the field; an operation without one follows the resource.
Properties
Section titled “Properties”create?
Section titled “create?”
optionalcreate?:FieldRule
Defined in: packages/schema/src/access/types.ts:58
Whether the caller may set the field when creating a record.
optionalread?:FieldRule
Defined in: packages/schema/src/access/types.ts:56
Whether the caller may see the field.
update?
Section titled “update?”
optionalupdate?:FieldRule
Defined in: packages/schema/src/access/types.ts:60
Whether the caller may change the field when updating a record.