diff --git a/src/lib/client/types.gen.ts b/src/lib/client/types.gen.ts index 934ad81..5b5532b 100644 --- a/src/lib/client/types.gen.ts +++ b/src/lib/client/types.gen.ts @@ -91,7 +91,7 @@ export type AttributeSchema = { /** * Selectid */ - selectId: number | null; + selectId?: number | null; /** * Id */ @@ -370,7 +370,7 @@ export type CreateAttributeSchema = { /** * Selectid */ - selectId: number | null; + selectId?: number | null; }; /** @@ -1886,7 +1886,7 @@ export type ModuleAttributeSchema = { /** * Selectid */ - selectId: number | null; + selectId?: number | null; /** * Id */ diff --git a/src/lib/client/zod.gen.ts b/src/lib/client/zod.gen.ts index d8fddd7..68bd408 100644 --- a/src/lib/client/zod.gen.ts +++ b/src/lib/client/zod.gen.ts @@ -62,7 +62,7 @@ export const zAttributeSchema = z.object({ defaultValue: z.union([z.unknown(), z.null()]), description: z.string(), typeId: z.int(), - selectId: z.union([z.int(), z.null()]), + selectId: z.optional(z.union([z.int(), z.null()])), id: z.int(), isBuiltIn: z.boolean(), type: zAttributeTypeSchema, @@ -172,7 +172,7 @@ export const zCreateAttributeSchema = z.object({ defaultValue: z.union([z.unknown(), z.null()]), description: z.string(), typeId: z.int(), - selectId: z.union([z.int(), z.null()]), + selectId: z.optional(z.union([z.int(), z.null()])), }); /** @@ -1071,7 +1071,7 @@ export const zModuleAttributeSchema = z.object({ defaultValue: z.union([z.unknown(), z.null()]), description: z.string(), typeId: z.int(), - selectId: z.union([z.int(), z.null()]), + selectId: z.optional(z.union([z.int(), z.null()])), id: z.int(), isBuiltIn: z.boolean(), type: zAttributeTypeSchema,