File size: 402 Bytes
68d7816 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | import { z } from 'zod';
import { registerConfigSection } from '#/app/config/configSectionContributions';
export const TOOLS_SECTION = 'tools';
export const ToolsConfigSchema = z.object({
enabled: z.array(z.string()).optional(),
disabled: z.array(z.string()).optional(),
});
export type ToolsConfig = z.infer<typeof ToolsConfigSchema>;
registerConfigSection(TOOLS_SECTION, ToolsConfigSchema);
|