AuthCollectionMeta
AuthCollectionMeta =
object
Defined in: packages/core/src/auth/types.ts:28
Metadata attached to auth collections to control merge behavior with user-defined collections.
Auth adapters mark collections as protected to prevent accidental
overrides that could break authentication.
Properties
Section titled “Properties”protected?
Section titled “protected?”
optionalprotected?:boolean
Defined in: packages/core/src/auth/types.ts:38
When true, this auth collection cannot be overridden by a user-defined
collection with the same slug. Attempting to do so throws a
VexAuthConfigError.
When false or omitted, user-defined collections can extend or
override this auth collection (unlocked fields can still be overridden,
but locked fields are preserved — see AuthFieldMeta).