@zyacreatives/shared 2.2.7 → 2.2.8

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.
@@ -15,6 +15,11 @@ export declare const ProjectEntitySchema: z.ZodObject<{
15
15
  readonly ADMIN: "ADMIN";
16
16
  }>;
17
17
  clientId: z.ZodOptional<z.ZodString>;
18
+ status: z.ZodEnum<{
19
+ readonly ACTIVE: "ACTIVE";
20
+ readonly DRAFT: "DRAFT";
21
+ readonly ARCHIVED: "ARCHIVED";
22
+ }>;
18
23
  clientType: z.ZodOptional<z.ZodEnum<{
19
24
  readonly CREATIVE: "CREATIVE";
20
25
  readonly BRAND: "BRAND";
@@ -84,6 +89,11 @@ export declare const ProjectDetailsEntitySchema: z.ZodObject<{
84
89
  readonly ADMIN: "ADMIN";
85
90
  }>;
86
91
  clientId: z.ZodOptional<z.ZodString>;
92
+ status: z.ZodEnum<{
93
+ readonly ACTIVE: "ACTIVE";
94
+ readonly DRAFT: "DRAFT";
95
+ readonly ARCHIVED: "ARCHIVED";
96
+ }>;
87
97
  clientType: z.ZodOptional<z.ZodEnum<{
88
98
  readonly CREATIVE: "CREATIVE";
89
99
  readonly BRAND: "BRAND";
@@ -266,6 +276,11 @@ export declare const CreateProjectOutputSchema: z.ZodObject<{
266
276
  readonly ADMIN: "ADMIN";
267
277
  }>;
268
278
  clientId: z.ZodOptional<z.ZodString>;
279
+ status: z.ZodEnum<{
280
+ readonly ACTIVE: "ACTIVE";
281
+ readonly DRAFT: "DRAFT";
282
+ readonly ARCHIVED: "ARCHIVED";
283
+ }>;
269
284
  clientType: z.ZodOptional<z.ZodEnum<{
270
285
  readonly CREATIVE: "CREATIVE";
271
286
  readonly BRAND: "BRAND";
@@ -322,6 +337,11 @@ export declare const UpdateProjectOutputSchema: z.ZodObject<{
322
337
  readonly ADMIN: "ADMIN";
323
338
  }>;
324
339
  clientId: z.ZodOptional<z.ZodString>;
340
+ status: z.ZodEnum<{
341
+ readonly ACTIVE: "ACTIVE";
342
+ readonly DRAFT: "DRAFT";
343
+ readonly ARCHIVED: "ARCHIVED";
344
+ }>;
325
345
  clientType: z.ZodOptional<z.ZodEnum<{
326
346
  readonly CREATIVE: "CREATIVE";
327
347
  readonly BRAND: "BRAND";
@@ -378,6 +398,11 @@ export declare const DeleteProjectOutputSchema: z.ZodObject<{
378
398
  readonly ADMIN: "ADMIN";
379
399
  }>;
380
400
  clientId: z.ZodOptional<z.ZodString>;
401
+ status: z.ZodEnum<{
402
+ readonly ACTIVE: "ACTIVE";
403
+ readonly DRAFT: "DRAFT";
404
+ readonly ARCHIVED: "ARCHIVED";
405
+ }>;
381
406
  clientType: z.ZodOptional<z.ZodEnum<{
382
407
  readonly CREATIVE: "CREATIVE";
383
408
  readonly BRAND: "BRAND";
@@ -434,6 +459,11 @@ export declare const GetProjectOutputSchema: z.ZodObject<{
434
459
  readonly ADMIN: "ADMIN";
435
460
  }>;
436
461
  clientId: z.ZodOptional<z.ZodString>;
462
+ status: z.ZodEnum<{
463
+ readonly ACTIVE: "ACTIVE";
464
+ readonly DRAFT: "DRAFT";
465
+ readonly ARCHIVED: "ARCHIVED";
466
+ }>;
437
467
  clientType: z.ZodOptional<z.ZodEnum<{
438
468
  readonly CREATIVE: "CREATIVE";
439
469
  readonly BRAND: "BRAND";
@@ -54,6 +54,7 @@ exports.ProjectEntitySchema = zod_openapi_1.z
54
54
  description: "CUID2 of the client if this is a client project.",
55
55
  example: "ckl1y9xyz0000qv7a0h1efgh4",
56
56
  }),
57
+ status: zod_openapi_1.z.enum(constants_1.PROJECT_STATUS),
57
58
  clientType: zod_openapi_1.z.enum(constants_1.CLIENT_TYPES).optional().openapi({
58
59
  description: "Type of client for this project.",
59
60
  example: "BRAND",
@@ -226,6 +226,11 @@ export declare const UserWithProjectsEntitySchema: z.ZodObject<{
226
226
  readonly ADMIN: "ADMIN";
227
227
  }>;
228
228
  clientId: z.ZodOptional<z.ZodString>;
229
+ status: z.ZodEnum<{
230
+ readonly ACTIVE: "ACTIVE";
231
+ readonly DRAFT: "DRAFT";
232
+ readonly ARCHIVED: "ARCHIVED";
233
+ }>;
229
234
  clientType: z.ZodOptional<z.ZodEnum<{
230
235
  readonly CREATIVE: "CREATIVE";
231
236
  readonly BRAND: "BRAND";
@@ -737,6 +742,11 @@ export declare const GetAuthenticatedUserWithProjectsOutputSchema: z.ZodObject<{
737
742
  readonly ADMIN: "ADMIN";
738
743
  }>;
739
744
  clientId: z.ZodOptional<z.ZodString>;
745
+ status: z.ZodEnum<{
746
+ readonly ACTIVE: "ACTIVE";
747
+ readonly DRAFT: "DRAFT";
748
+ readonly ARCHIVED: "ARCHIVED";
749
+ }>;
740
750
  clientType: z.ZodOptional<z.ZodEnum<{
741
751
  readonly CREATIVE: "CREATIVE";
742
752
  readonly BRAND: "BRAND";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zyacreatives/shared",
3
- "version": "2.2.7",
3
+ "version": "2.2.8",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -59,6 +59,7 @@ export const ProjectEntitySchema = z
59
59
  description: "CUID2 of the client if this is a client project.",
60
60
  example: "ckl1y9xyz0000qv7a0h1efgh4",
61
61
  }),
62
+ status: z.enum(PROJECT_STATUS),
62
63
  clientType: z.enum(CLIENT_TYPES).optional().openapi({
63
64
  description: "Type of client for this project.",
64
65
  example: "BRAND",