schemas/config/dashboard
Ce contenu n’est pas encore disponible dans votre langue.
Variables
'Read the “', Variables, '” section'dashboardConfigSchema
'Read the “', dashboardConfigSchema, '” section'const dashboardConfigSchema: ZodDefault<ZodOptional<ZodObject<{ AuthConfig: ZodDefault<ZodOptional<ZodObject<{ enabled: ZodDefault<ZodOptional<ZodBoolean>>; providers: ZodDefault<ZodOptional<ZodObject<..., ..., ..., ..., ...>>>; }, "strip", ZodTypeAny, { enabled: boolean; providers: { auth0: boolean; discord: boolean; github: boolean; google: boolean; usernameAndPassword: boolean; usernameAndPasswordConfig: { allowUserRegistration: boolean; }; }; }, { enabled: boolean; providers: { auth0: ... | ... | ...; discord: ... | ... | ...; github: ... | ... | ...; google: ... | ... | ...; usernameAndPassword: ... | ... | ...; usernameAndPasswordConfig: ... | ...; }; }>>>; dashboardEnabled: ZodDefault<ZodOptional<ZodBoolean>>; dashboardRouteOverride: ZodOptional<ZodString>; developerConfig: ZodDefault<ZodOptional<ZodObject<{ demoMode: ZodDefault<ZodOptional<ZodUnion<...>>>; }, "strip", ZodTypeAny, { demoMode: | false | { password: string; username: string; }; }, { demoMode: | false | { password: string; username: string; }; }>>>; faviconURL: ZodDefault<ZodOptional<ZodString>>; inject404Route: ZodDefault<ZodOptional<ZodBoolean>>; versionCheck: ZodDefault<ZodOptional<ZodBoolean>>; }, "strip", ZodTypeAny, { AuthConfig: { enabled: boolean; providers: { auth0: boolean; discord: boolean; github: boolean; google: boolean; usernameAndPassword: boolean; usernameAndPasswordConfig: { allowUserRegistration: boolean; }; }; }; dashboardEnabled: boolean; dashboardRouteOverride: string; developerConfig: { demoMode: | false | { password: string; username: string; }; }; faviconURL: string; inject404Route: boolean; versionCheck: boolean; }, { AuthConfig: { enabled: boolean; providers: { auth0: boolean; discord: boolean; github: boolean; google: boolean; usernameAndPassword: boolean; usernameAndPasswordConfig: { allowUserRegistration: ... | ... | ...; }; }; }; dashboardEnabled: boolean; dashboardRouteOverride: string; developerConfig: { demoMode: | false | { password: string; username: string; }; }; faviconURL: string; inject404Route: boolean; versionCheck: boolean;}>>>;
Defined in: studiocms/packages/studiocms/src/schemas/config/dashboard.ts:5