Skip to content

AuthFieldMeta

Defined in: packages/core/src/auth/types.ts:16

Metadata attached to auth fields to control merge behavior during auth collection merging.

When locked: true, the field definition from the auth adapter is preserved and cannot be overridden by a user-defined collection. Unlocked fields can be extended or replaced by the user.

locked: boolean

Defined in: packages/core/src/auth/types.ts:18

When true, this field cannot be overridden by user-defined collections.