Settings defines the PocketBase app settings.

Hierarchy

Methods

  • IsNew implements [Model.IsNew] interface method.

    Returns boolean

  • PK implements [Model.LastSavedPK] interface method.

    Returns any

  • MarkAsNew implements [Model.MarkAsNew] interface method.

    Returns void

  • MarkAsNew implements [Model.MarkAsNotNew] interface method.

    Returns void

  • MarshalJSON implements the [json.Marshaler] interface.

    Note that sensitive fields (S3 secret, SMTP password, etc.) are excluded.

    Returns string | number[]

  • Merge merges the "other" settings into the current one.

    Parameters

    Returns void

  • PK implements [Model.PK] interface method.

    Returns any

  • PostScan implements [Model.PostScan] interface method.

    Returns void

  • PostValidate implements the [PostValidator] interface and defines the Settings model validations.

    Parameters

    Returns void

  • String returns a serialized string representation of the current settings.

    Returns string

  • TableName implements [Model.TableName] interface method.

    Returns string

Properties

backups: BackupsConfig
rateLimits: RateLimitsConfig
trustedProxy: TrustedProxyConfig

Generated using TypeDoc