0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2025-01-06 20:40:08 -05:00

feat(core): add experience configs (#745)

This commit is contained in:
Wang Sijie 2022-05-06 17:59:18 +08:00 committed by GitHub
parent c1766bf984
commit 08904b8f93
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -143,6 +143,8 @@ export enum AppearanceMode {
export const adminConsoleConfigGuard = z.object({
language: z.nativeEnum(Language),
appearanceMode: z.nativeEnum(AppearanceMode),
experienceGuideDone: z.boolean().optional(),
experienceNoticeConfirmed: z.boolean().optional(),
});
export type AdminConsoleConfig = z.infer<typeof adminConsoleConfigGuard>;