File size: 799 Bytes
fea495a | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 | import { z } from 'next/dist/compiled/zod';
export const devToolsConfigSchema = z.object({
theme: z.enum([
'light',
'dark',
'system'
]).optional(),
disableDevIndicator: z.boolean().optional(),
devToolsPosition: z.enum([
'top-left',
'top-right',
'bottom-left',
'bottom-right'
]).optional(),
devToolsPanelPosition: z.record(z.string(), z.enum([
'top-left',
'top-right',
'bottom-left',
'bottom-right'
])).optional(),
devToolsPanelSize: z.record(z.string(), z.object({
width: z.number(),
height: z.number()
})).optional(),
scale: z.number().optional(),
hideShortcut: z.string().nullable().optional()
});
//# sourceMappingURL=devtools-config-schema.js.map |