feat: add onboarding with oldmarr import (#1606)
This commit is contained in:
20
packages/validation/src/settings.ts
Normal file
20
packages/validation/src/settings.ts
Normal file
@@ -0,0 +1,20 @@
|
||||
import { z } from "zod";
|
||||
|
||||
const initSettingsSchema = z.object({
|
||||
analytics: z.object({
|
||||
enableGeneral: z.boolean(),
|
||||
enableWidgetData: z.boolean(),
|
||||
enableIntegrationData: z.boolean(),
|
||||
enableUserData: z.boolean(),
|
||||
}),
|
||||
crawlingAndIndexing: z.object({
|
||||
noIndex: z.boolean(),
|
||||
noFollow: z.boolean(),
|
||||
noTranslate: z.boolean(),
|
||||
noSiteLinksSearchBox: z.boolean(),
|
||||
}),
|
||||
});
|
||||
|
||||
export const settingsSchemas = {
|
||||
init: initSettingsSchema,
|
||||
};
|
||||
Reference in New Issue
Block a user