| 1 | import { createZodDto } from '@yikart/common' |
| 2 | import { z } from 'zod' |
| 3 | |
| 4 | export const ConfigEditorConfigDtoSchema = z.object({ |
| 5 | config: z.record(z.string(), z.unknown()).describe('配置对象'), |
| 6 | }) |
| 7 | |
| 8 | export class ConfigEditorConfigDto extends createZodDto(ConfigEditorConfigDtoSchema, 'ConfigEditorConfigDto') {} |
| 9 |