Optional
data: Partial<core.PasswordField>ColumnType implements [Field.ColumnType] interface method.
FindGetter implements the [GetterFinder] interface.
FindSetter implements the [SetterFinder] interface.
ValidateSettings implements [Field.ValidateSettings] interface method.
Cost specifies the cost/weight/iteration/etc. bcrypt factor.
If zero, fallback to [bcrypt.DefaultCost].
If explicitly set, must be between [bcrypt.MinCost] and [bcrypt.MaxCost].
Hidden hides the field from the API response.
Id is the unique stable field identifier.
It is automatically generated from the name when adding to a collection FieldsList.
Max specifies an optional required field string length.
If zero, fallback to max 71 bytes.
Min specifies an optional required field string length.
Name (required) is the unique name of the field.
Pattern specifies an optional regex pattern to match against the field value.
Leave it empty to skip the pattern check.
Presentable hints the Dashboard UI to use the underlying field record value in the relation preview label.
Required will require the field value to be non-empty string.
System prevents the renaming and removal of the field.
Generated using TypeDoc
PasswordField defines "password" type field for storing bcrypt hashed strings (usually used only internally for the "password" auth collection system field).
If you want to set a direct bcrypt hash as record field value you can use the SetRaw method, for example:
The following additional getter keys are available: