@zyacreatives/shared 2.4.6 → 2.4.7

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.
@@ -221,7 +221,7 @@ export declare const UpdateProductInputSchema: z.ZodObject<{
221
221
  id: z.ZodCUID2;
222
222
  }, z.core.$strip>;
223
223
  export declare const ProductEntitySchema: z.ZodObject<{
224
- id: z.ZodCUID2;
224
+ id: z.ZodString;
225
225
  sellerId: z.ZodCUID2;
226
226
  sellerUsername: z.ZodString;
227
227
  sellerName: z.ZodString;
@@ -286,7 +286,7 @@ export declare const ProductEntitySchema: z.ZodObject<{
286
286
  deletedAt: z.ZodNullable<z.ZodOptional<z.ZodCoercedDate<unknown>>>;
287
287
  }, z.core.$strip>;
288
288
  export declare const ProductSearchDocumentSchema: z.ZodObject<{
289
- id: z.ZodCUID2;
289
+ id: z.ZodString;
290
290
  sellerId: z.ZodCUID2;
291
291
  sellerUsername: z.ZodString;
292
292
  sellerName: z.ZodString;
@@ -324,7 +324,7 @@ export declare const SearchProductInputSchema: z.ZodObject<{
324
324
  }, z.core.$strip>;
325
325
  export declare const SearchProductOutputSchema: z.ZodObject<{
326
326
  products: z.ZodArray<z.ZodObject<{
327
- id: z.ZodCUID2;
327
+ id: z.ZodString;
328
328
  sellerId: z.ZodCUID2;
329
329
  sellerUsername: z.ZodString;
330
330
  sellerName: z.ZodString;
@@ -366,7 +366,7 @@ export declare const GetMarketplaceInfoOutputSchema: z.ZodObject<{
366
366
  subcategories: z.ZodArray<z.ZodString>;
367
367
  }, z.core.$strip>>;
368
368
  whatsHot: z.ZodArray<z.ZodObject<{
369
- id: z.ZodCUID2;
369
+ id: z.ZodString;
370
370
  sellerId: z.ZodCUID2;
371
371
  sellerUsername: z.ZodString;
372
372
  sellerName: z.ZodString;
@@ -395,7 +395,7 @@ export declare const GetMarketplaceInfoOutputSchema: z.ZodObject<{
395
395
  deletedAt: z.ZodNullable<z.ZodOptional<z.ZodCoercedDate<unknown>>>;
396
396
  }, z.core.$strip>>;
397
397
  communityFavourites: z.ZodArray<z.ZodObject<{
398
- id: z.ZodCUID2;
398
+ id: z.ZodString;
399
399
  sellerId: z.ZodCUID2;
400
400
  sellerUsername: z.ZodString;
401
401
  sellerName: z.ZodString;
@@ -172,7 +172,7 @@ exports.UpdateProductInputSchema = ProductCoreInputSchema.extend(exports.Product
172
172
  });
173
173
  exports.ProductEntitySchema = zod_openapi_1.z
174
174
  .object({
175
- id: zod_openapi_1.z.cuid2(),
175
+ id: zod_openapi_1.z.string(),
176
176
  sellerId: zod_openapi_1.z.cuid2().openapi({ description: "ID of the creator/seller" }),
177
177
  sellerUsername: zod_openapi_1.z.string(),
178
178
  sellerName: zod_openapi_1.z.string(),
@@ -204,7 +204,7 @@ exports.ProductEntitySchema = zod_openapi_1.z
204
204
  })
205
205
  .openapi({ title: "ProductEntity" });
206
206
  exports.ProductSearchDocumentSchema = zod_openapi_1.z.object({
207
- id: zod_openapi_1.z.cuid2(),
207
+ id: zod_openapi_1.z.string(),
208
208
  sellerId: zod_openapi_1.z.cuid2(),
209
209
  sellerUsername: zod_openapi_1.z.string(),
210
210
  sellerName: zod_openapi_1.z.string(),
@@ -670,7 +670,7 @@ export declare const UserWithPostBookmarksEntitySchema: z.ZodObject<{
670
670
  export declare const UserWithProductsEntitySchema: z.ZodObject<{
671
671
  userId: z.ZodCUID2;
672
672
  products: z.ZodArray<z.ZodObject<{
673
- id: z.ZodCUID2;
673
+ id: z.ZodString;
674
674
  sellerId: z.ZodCUID2;
675
675
  sellerUsername: z.ZodString;
676
676
  sellerName: z.ZodString;
@@ -822,7 +822,7 @@ export declare const GetUserWithProductsOutputSchema: z.ZodObject<{
822
822
  products: z.ZodObject<{
823
823
  userId: z.ZodCUID2;
824
824
  products: z.ZodArray<z.ZodObject<{
825
- id: z.ZodCUID2;
825
+ id: z.ZodString;
826
826
  sellerId: z.ZodCUID2;
827
827
  sellerUsername: z.ZodString;
828
828
  sellerName: z.ZodString;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zyacreatives/shared",
3
- "version": "2.4.6",
3
+ "version": "2.4.7",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -224,7 +224,7 @@ export const UpdateProductInputSchema = ProductCoreInputSchema.extend(
224
224
 
225
225
  export const ProductEntitySchema = z
226
226
  .object({
227
- id: z.cuid2(),
227
+ id: z.string(),
228
228
 
229
229
  sellerId: z.cuid2().openapi({ description: "ID of the creator/seller" }),
230
230
  sellerUsername: z.string(),
@@ -263,7 +263,7 @@ export const ProductEntitySchema = z
263
263
  .openapi({ title: "ProductEntity" });
264
264
 
265
265
  export const ProductSearchDocumentSchema = z.object({
266
- id: z.cuid2(),
266
+ id: z.string(),
267
267
  sellerId: z.cuid2(),
268
268
  sellerUsername: z.string(),
269
269
  sellerName: z.string(),