import { TextChannels, VoiceChannels, } from "@avocadi/bot-core/entities/channels/channels.schema"; import { Roles } from "@avocadi/bot-core/entities/roles/roles.schema"; import z from "zod"; export const ConfigSchema = z.object({ channelMapping: z.object({ text: z.record(TextChannels, z.string()), voice: z.record(VoiceChannels, z.string()), }), roleMapping: z.record(Roles, z.string()), serverId: z.string(), version: z.number(), fluxer: z.object({ token: z.string(), applicationId: z.string(), }), });