auth/app_settings_schema.ts

App settings types and client-safe schemas.

Single-row table for global app configuration (e.g. open signup toggle).

Declarations
#

4 declarations

view source

AppSettings
#

AppSettingsJson
#

auth/app_settings_schema.ts view source

ZodObject<{ open_signup: ZodBoolean; updated_at: ZodNullable<ZodString>; updated_by: ZodNullable<ZodString>; }, $strict>

Zod schema for client-safe app settings data.

AppSettingsWithUsernameJson
#

auth/app_settings_schema.ts view source

ZodObject<{ open_signup: ZodBoolean; updated_at: ZodNullable<ZodString>; updated_by: ZodNullable<ZodString>; updated_by_username: ZodNullable<...>; }, $strict>

Zod schema for admin app settings with resolved updater username.

UpdateAppSettingsInput
#

Imported by
#