refactor: Migrate config schema from Zod v3 to Zod v4 (#2357)

This commit is contained in:
Dermot Duffy
2026-02-18 21:47:43 -08:00
committed by GitHub
parent a15376602f
commit 529500ed94
51 changed files with 1110 additions and 443 deletions
+2 -2
View File
@@ -3,8 +3,8 @@ import { advancedCameraCardConditionSchema } from './conditions/types';
const overrideSchema = z.object({
conditions: advancedCameraCardConditionSchema.array(),
merge: z.object({}).passthrough().optional(),
set: z.object({}).passthrough().optional(),
merge: z.looseObject({}).optional(),
set: z.looseObject({}).optional(),
delete: z.string().array().optional(),
});
export type Override = z.infer<typeof overrideSchema>;