@zyacreatives/shared 2.0.66 → 2.0.68

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.
@@ -6,6 +6,8 @@ export declare const MinimalBrandEntitySchema: z.ZodObject<{
6
6
  bio: z.ZodOptional<z.ZodString>;
7
7
  tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
8
8
  disciplines: z.ZodOptional<z.ZodArray<z.ZodString>>;
9
+ createdAt: z.ZodOptional<z.ZodCoercedDate<unknown>>;
10
+ updatedAt: z.ZodCoercedDate<unknown>;
9
11
  }, z.core.$strip>;
10
12
  export declare const BrandEntitySchema: z.ZodObject<{
11
13
  id: z.ZodCUID2;
@@ -182,6 +184,8 @@ export declare const BrandWithUserEntitySchema: z.ZodObject<{
182
184
  bio: z.ZodOptional<z.ZodString>;
183
185
  tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
184
186
  disciplines: z.ZodOptional<z.ZodArray<z.ZodString>>;
187
+ createdAt: z.ZodOptional<z.ZodCoercedDate<unknown>>;
188
+ updatedAt: z.ZodCoercedDate<unknown>;
185
189
  user: z.ZodObject<{
186
190
  id: z.ZodCUID2;
187
191
  username: z.ZodOptional<z.ZodString>;
@@ -209,6 +213,8 @@ export declare const SearchBrandOutputSchema: z.ZodObject<{
209
213
  bio: z.ZodOptional<z.ZodString>;
210
214
  tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
211
215
  disciplines: z.ZodOptional<z.ZodArray<z.ZodString>>;
216
+ createdAt: z.ZodOptional<z.ZodCoercedDate<unknown>>;
217
+ updatedAt: z.ZodCoercedDate<unknown>;
212
218
  user: z.ZodObject<{
213
219
  id: z.ZodCUID2;
214
220
  username: z.ZodOptional<z.ZodString>;
@@ -21,6 +21,11 @@ exports.MinimalBrandEntitySchema = zod_openapi_1.z.object({
21
21
  .array(zod_openapi_1.z.string())
22
22
  .optional()
23
23
  .openapi({ example: ["Marketing", "Product Development"] }),
24
+ createdAt: zod_openapi_1.z.coerce
25
+ .date()
26
+ .optional()
27
+ .openapi({ example: "2025-10-13T09:00:00.000Z" }),
28
+ updatedAt: zod_openapi_1.z.coerce.date().openapi({ example: "2025-10-13T09:00:00.000Z" }),
24
29
  });
25
30
  exports.BrandEntitySchema = zod_openapi_1.z
26
31
  .object({
@@ -13,6 +13,8 @@ export declare const MinimalCreativeEntitySchema: z.ZodObject<{
13
13
  }>>;
14
14
  tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
15
15
  disciplines: z.ZodOptional<z.ZodArray<z.ZodString>>;
16
+ createdAt: z.ZodOptional<z.ZodCoercedDate<unknown>>;
17
+ updatedAt: z.ZodCoercedDate<unknown>;
16
18
  }, z.core.$strip>;
17
19
  export declare const CreativeEntitySchema: z.ZodObject<{
18
20
  id: z.ZodCUID2;
@@ -277,6 +279,8 @@ export declare const CreativeWithUserEntitySchema: z.ZodObject<{
277
279
  }>>;
278
280
  tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
279
281
  disciplines: z.ZodOptional<z.ZodArray<z.ZodString>>;
282
+ createdAt: z.ZodOptional<z.ZodCoercedDate<unknown>>;
283
+ updatedAt: z.ZodCoercedDate<unknown>;
280
284
  user: z.ZodObject<{
281
285
  id: z.ZodCUID2;
282
286
  username: z.ZodOptional<z.ZodString>;
@@ -311,6 +315,8 @@ export declare const SearchCreativeOutputSchema: z.ZodObject<{
311
315
  }>>;
312
316
  tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
313
317
  disciplines: z.ZodOptional<z.ZodArray<z.ZodString>>;
318
+ createdAt: z.ZodOptional<z.ZodCoercedDate<unknown>>;
319
+ updatedAt: z.ZodCoercedDate<unknown>;
314
320
  user: z.ZodObject<{
315
321
  id: z.ZodCUID2;
316
322
  username: z.ZodOptional<z.ZodString>;
@@ -25,6 +25,11 @@ exports.MinimalCreativeEntitySchema = zod_openapi_1.z.object({
25
25
  .array(zod_openapi_1.z.string())
26
26
  .optional()
27
27
  .openapi({ example: ["Design", "Art Direction"] }),
28
+ createdAt: zod_openapi_1.z.coerce
29
+ .date()
30
+ .optional()
31
+ .openapi({ example: "2025-10-13T09:00:00.000Z" }),
32
+ updatedAt: zod_openapi_1.z.coerce.date().openapi({ example: "2025-10-13T09:00:00.000Z" }),
28
33
  });
29
34
  exports.CreativeEntitySchema = zod_openapi_1.z
30
35
  .object({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zyacreatives/shared",
3
- "version": "2.0.66",
3
+ "version": "2.0.68",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -20,6 +20,11 @@ export const MinimalBrandEntitySchema = z.object({
20
20
  .array(z.string())
21
21
  .optional()
22
22
  .openapi({ example: ["Marketing", "Product Development"] }),
23
+ createdAt: z.coerce
24
+ .date()
25
+ .optional()
26
+ .openapi({ example: "2025-10-13T09:00:00.000Z" }),
27
+ updatedAt: z.coerce.date().openapi({ example: "2025-10-13T09:00:00.000Z" }),
23
28
 
24
29
  })
25
30
 
@@ -29,6 +29,11 @@ export const MinimalCreativeEntitySchema = z.object({
29
29
  .array(z.string())
30
30
  .optional()
31
31
  .openapi({ example: ["Design", "Art Direction"] }),
32
+ createdAt: z.coerce
33
+ .date()
34
+ .optional()
35
+ .openapi({ example: "2025-10-13T09:00:00.000Z" }),
36
+ updatedAt: z.coerce.date().openapi({ example: "2025-10-13T09:00:00.000Z" }),
32
37
  })
33
38
 
34
39
  export const CreativeEntitySchema = z