@zyacreatives/shared 2.4.9 → 2.5.1
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.
- package/dist/constants.d.ts +1 -0
- package/dist/constants.js +746 -465
- package/dist/schemas/product.d.ts +3 -2
- package/dist/schemas/product.js +2 -1
- package/package.json +1 -1
- package/src/constants.ts +756 -468
- package/src/schemas/product.ts +2 -1
package/src/schemas/product.ts
CHANGED
|
@@ -290,6 +290,7 @@ export const SearchProductInputSchema = z.object({
|
|
|
290
290
|
.openapi({ example: "typescript utility types" }),
|
|
291
291
|
cursor: z.string().optional().openapi({ example: "ckj1a2b3c0000cur" }),
|
|
292
292
|
limit: z.coerce.number().int().min(1).max(100).optional().default(30),
|
|
293
|
+
tags: z.array(z.string()).optional(),
|
|
293
294
|
filters: z.array(z.string()).optional(),
|
|
294
295
|
category: z.string().optional(),
|
|
295
296
|
subcategory: z.string().optional(),
|
|
@@ -302,7 +303,7 @@ export const SearchProductOutputSchema = z.object({
|
|
|
302
303
|
|
|
303
304
|
export const MarketplaceCategorySchema = z.object({
|
|
304
305
|
name: z.string(),
|
|
305
|
-
imgUrl: z.
|
|
306
|
+
imgUrl: z.url(),
|
|
306
307
|
subcategories: z.array(z.string()),
|
|
307
308
|
});
|
|
308
309
|
|