@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.
@@ -325,6 +325,7 @@ export declare const SearchProductInputSchema: z.ZodObject<{
325
325
  queryString: z.ZodOptional<z.ZodString>;
326
326
  cursor: z.ZodOptional<z.ZodString>;
327
327
  limit: z.ZodDefault<z.ZodOptional<z.ZodCoercedNumber<unknown>>>;
328
+ tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
328
329
  filters: z.ZodOptional<z.ZodArray<z.ZodString>>;
329
330
  category: z.ZodOptional<z.ZodString>;
330
331
  subcategory: z.ZodOptional<z.ZodString>;
@@ -370,13 +371,13 @@ export declare const SearchProductOutputSchema: z.ZodObject<{
370
371
  }, z.core.$strip>;
371
372
  export declare const MarketplaceCategorySchema: z.ZodObject<{
372
373
  name: z.ZodString;
373
- imgUrl: z.ZodString;
374
+ imgUrl: z.ZodURL;
374
375
  subcategories: z.ZodArray<z.ZodString>;
375
376
  }, z.core.$strip>;
376
377
  export declare const GetMarketplaceInfoOutputSchema: z.ZodObject<{
377
378
  categories: z.ZodArray<z.ZodObject<{
378
379
  name: z.ZodString;
379
- imgUrl: z.ZodString;
380
+ imgUrl: z.ZodURL;
380
381
  subcategories: z.ZodArray<z.ZodString>;
381
382
  }, z.core.$strip>>;
382
383
  whatsHot: z.ZodArray<z.ZodObject<{
@@ -230,6 +230,7 @@ exports.SearchProductInputSchema = zod_openapi_1.z.object({
230
230
  .openapi({ example: "typescript utility types" }),
231
231
  cursor: zod_openapi_1.z.string().optional().openapi({ example: "ckj1a2b3c0000cur" }),
232
232
  limit: zod_openapi_1.z.coerce.number().int().min(1).max(100).optional().default(30),
233
+ tags: zod_openapi_1.z.array(zod_openapi_1.z.string()).optional(),
233
234
  filters: zod_openapi_1.z.array(zod_openapi_1.z.string()).optional(),
234
235
  category: zod_openapi_1.z.string().optional(),
235
236
  subcategory: zod_openapi_1.z.string().optional(),
@@ -240,7 +241,7 @@ exports.SearchProductOutputSchema = zod_openapi_1.z.object({
240
241
  });
241
242
  exports.MarketplaceCategorySchema = zod_openapi_1.z.object({
242
243
  name: zod_openapi_1.z.string(),
243
- imgUrl: zod_openapi_1.z.string().url(),
244
+ imgUrl: zod_openapi_1.z.url(),
244
245
  subcategories: zod_openapi_1.z.array(zod_openapi_1.z.string()),
245
246
  });
246
247
  exports.GetMarketplaceInfoOutputSchema = zod_openapi_1.z.object({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zyacreatives/shared",
3
- "version": "2.4.9",
3
+ "version": "2.5.1",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",