Optional
data: Partial<Collection>AddIndex adds a new index into the current collection.
If the collection has an existing index matching the new name it will be replaced with the new one.
DBExport prepares and exports the current collection data for db persistence.
AuthAlert defines options related to the auth alerts on new device login.
Optional
authAuthRule could be used to specify additional record constraints applied after record authentication and right before returning the auth token response to the client.
For example, to allow only verified users you could set it to "verified = true".
Set it to empty string to allow any Auth collection record to authenticate.
Set it to nil to disallow authentication altogether for the collection (that includes password, OAuth2, etc.).
Optional
createOptional
deleteId is the primary key of the model. It is usually autogenerated by the parent model implementation.
Optional
listOptional
manageManageRule gives admin-like permissions to allow fully managing the auth record(s), eg. changing the password without requiring to enter the old one, directly updating the verified state and email, etc.
This rule is executed in addition to the Create and Update API rules.
MFA defines options related to the Multi-factor authentication (MFA).
OAuth2 specifies whether OAuth2 auth is enabled for the collection and which OAuth2 providers are allowed.
OTP defines options related to the One-time password authentication (OTP).
PasswordAuth defines options related to the collection password authentication.
RawOptions represents the raw serialized collection option loaded from the DB. NB! This field shouldn't be modified manually. It is automatically updated with the collection type specific option before save.
System prevents the collection rename, deletion and rules change. It is used primarily for internal purposes for collections like "_superusers", "_externalAuths", etc.
Optional
updateOptional
viewGenerated using TypeDoc
Collection model class.