silverwolf-x/project / packages /next /src /next-devtools /shared /devtools-config-schema.ts
silverwolf-x's picture
download
raw
743 Bytes
import type { DevToolsConfig } from '../dev-overlay/shared'
import { z } from 'next/dist/compiled/zod'
export const devToolsConfigSchema: z.ZodType<DevToolsConfig> = 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(),
})

Xet Storage Details

Size:
743 Bytes
·
Xet hash:
f04037363d4220af4cac2284690d8a02bda2ebc6139d15709fa9588586db8ab9

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.