@sortipei/api-contracts 0.2.14 → 0.2.15

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -63,20 +63,20 @@ export declare const UpdateOrganizerDTOSchema: z.ZodObject<z.objectUtil.extendSh
63
63
  imageUrl: z.ZodNullable<z.ZodString>;
64
64
  name: z.ZodString;
65
65
  }, "id">, {
66
- canonicalOrganizerId: z.ZodNullable<z.ZodBranded<z.ZodString, "OrganizerId">>;
66
+ canonicalOrganizerId: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "OrganizerId">>>;
67
67
  email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
68
68
  imageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
69
69
  isDuplicate: z.ZodOptional<z.ZodBoolean>;
70
70
  }>, "strip", z.ZodTypeAny, {
71
71
  name: string;
72
- canonicalOrganizerId: (string & z.BRAND<"OrganizerId">) | null;
73
72
  imageUrl?: string | null | undefined;
73
+ canonicalOrganizerId?: (string & z.BRAND<"OrganizerId">) | null | undefined;
74
74
  email?: string | null | undefined;
75
75
  isDuplicate?: boolean | undefined;
76
76
  }, {
77
77
  name: string;
78
- canonicalOrganizerId: string | null;
79
78
  imageUrl?: string | null | undefined;
79
+ canonicalOrganizerId?: string | null | undefined;
80
80
  email?: string | null | undefined;
81
81
  isDuplicate?: boolean | undefined;
82
82
  }>;
@@ -4396,7 +4396,7 @@ const CreateOrganizerDTOSchema = z.object({
4396
4396
  name: StringSchema
4397
4397
  });
4398
4398
  const UpdateOrganizerDTOSchema = CreateOrganizerDTOSchema.omit({ id: true }).extend({
4399
- canonicalOrganizerId: OrganizerIdSchema.nullable(),
4399
+ canonicalOrganizerId: OrganizerIdSchema.nullable().optional(),
4400
4400
  email: StringSchema.nullable().optional(),
4401
4401
  imageUrl: URLSchema.nullable().optional(),
4402
4402
  isDuplicate: z.boolean().optional()
@@ -4394,7 +4394,7 @@ const CreateOrganizerDTOSchema = z.object({
4394
4394
  name: StringSchema
4395
4395
  });
4396
4396
  const UpdateOrganizerDTOSchema = CreateOrganizerDTOSchema.omit({ id: true }).extend({
4397
- canonicalOrganizerId: OrganizerIdSchema.nullable(),
4397
+ canonicalOrganizerId: OrganizerIdSchema.nullable().optional(),
4398
4398
  email: StringSchema.nullable().optional(),
4399
4399
  imageUrl: URLSchema.nullable().optional(),
4400
4400
  isDuplicate: z.boolean().optional()
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sortipei/api-contracts",
3
- "version": "0.2.14",
3
+ "version": "0.2.15",
4
4
  "license": "UNLICENCED",
5
5
  "main": "dist/api-contracts.js",
6
6
  "module": "dist/api-contracts.mjs",