@zyacreatives/shared 2.1.4 → 2.1.5

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.
@@ -223,5 +223,5 @@ export declare const SearchBrandOutputSchema: z.ZodObject<{
223
223
  }>;
224
224
  }, z.core.$strip>;
225
225
  }, z.core.$strip>>;
226
- nextCursor: z.ZodOptional<z.ZodString>;
226
+ nextCursor: z.ZodNullable<z.ZodOptional<z.ZodString>>;
227
227
  }, z.core.$strip>;
@@ -183,5 +183,5 @@ exports.SearchBrandInputSchema = zod_openapi_1.z.object({
183
183
  });
184
184
  exports.SearchBrandOutputSchema = zod_openapi_1.z.object({
185
185
  brands: zod_openapi_1.z.array(exports.BrandWithUserEntitySchema),
186
- nextCursor: zod_openapi_1.z.string().optional(),
186
+ nextCursor: zod_openapi_1.z.string().optional().nullable(),
187
187
  });
@@ -321,5 +321,5 @@ export declare const SearchCreativeOutputSchema: z.ZodObject<{
321
321
  }>;
322
322
  }, z.core.$strip>;
323
323
  }, z.core.$strip>>;
324
- nextCursor: z.ZodOptional<z.ZodString>;
324
+ nextCursor: z.ZodNullable<z.ZodOptional<z.ZodString>>;
325
325
  }, z.core.$strip>;
@@ -243,5 +243,5 @@ exports.SearchCreativeInputSchema = zod_openapi_1.z.object({
243
243
  });
244
244
  exports.SearchCreativeOutputSchema = zod_openapi_1.z.object({
245
245
  creatives: zod_openapi_1.z.array(exports.CreativeWithUserEntitySchema),
246
- nextCursor: zod_openapi_1.z.string().optional(),
246
+ nextCursor: zod_openapi_1.z.string().optional().nullable(),
247
247
  });
@@ -438,7 +438,7 @@ export declare const GetFeedOutputSchema: z.ZodObject<{
438
438
  isFollowing: z.ZodOptional<z.ZodBoolean>;
439
439
  isBookmarked: z.ZodOptional<z.ZodBoolean>;
440
440
  }, z.core.$strip>>;
441
- nextCursor: z.ZodOptional<z.ZodString>;
441
+ nextCursor: z.ZodNullable<z.ZodOptional<z.ZodString>>;
442
442
  }, z.core.$strip>;
443
443
  export declare const SearchPostInputSchema: z.ZodObject<{
444
444
  queryString: z.ZodString;
@@ -512,5 +512,5 @@ export declare const SearchPostOutputSchema: z.ZodObject<{
512
512
  isFollowing: z.ZodOptional<z.ZodBoolean>;
513
513
  isBookmarked: z.ZodOptional<z.ZodBoolean>;
514
514
  }, z.core.$strip>>;
515
- nextCursor: z.ZodOptional<z.ZodString>;
515
+ nextCursor: z.ZodNullable<z.ZodOptional<z.ZodString>>;
516
516
  }, z.core.$strip>;
@@ -187,7 +187,7 @@ exports.GetFeedInputSchema = zod_openapi_1.z.object({
187
187
  });
188
188
  exports.GetFeedOutputSchema = zod_openapi_1.z.object({
189
189
  feed: zod_openapi_1.z.array(exports.FeedPostEntitySchema),
190
- nextCursor: zod_openapi_1.z.string().optional(),
190
+ nextCursor: zod_openapi_1.z.string().optional().nullable(),
191
191
  });
192
192
  exports.SearchPostInputSchema = zod_openapi_1.z.object({
193
193
  queryString: zod_openapi_1.z
@@ -198,5 +198,5 @@ exports.SearchPostInputSchema = zod_openapi_1.z.object({
198
198
  });
199
199
  exports.SearchPostOutputSchema = zod_openapi_1.z.object({
200
200
  posts: zod_openapi_1.z.array(exports.FeedPostEntitySchema),
201
- nextCursor: zod_openapi_1.z.string().optional(),
201
+ nextCursor: zod_openapi_1.z.string().optional().nullable(),
202
202
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zyacreatives/shared",
3
- "version": "2.1.4",
3
+ "version": "2.1.5",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -202,5 +202,5 @@ export const SearchBrandInputSchema = z.object({
202
202
 
203
203
  export const SearchBrandOutputSchema = z.object({
204
204
  brands: z.array(BrandWithUserEntitySchema),
205
- nextCursor: z.string().optional(),
205
+ nextCursor: z.string().optional().nullable(),
206
206
  });
@@ -283,5 +283,5 @@ export const SearchCreativeInputSchema = z.object({
283
283
 
284
284
  export const SearchCreativeOutputSchema = z.object({
285
285
  creatives: z.array(CreativeWithUserEntitySchema),
286
- nextCursor: z.string().optional(),
286
+ nextCursor: z.string().optional().nullable(),
287
287
  });
@@ -213,7 +213,7 @@ export const GetFeedInputSchema = z.object({
213
213
 
214
214
  export const GetFeedOutputSchema = z.object({
215
215
  feed: z.array(FeedPostEntitySchema),
216
- nextCursor: z.string().optional(),
216
+ nextCursor: z.string().optional().nullable(),
217
217
  });
218
218
 
219
219
  export const SearchPostInputSchema = z.object({
@@ -226,5 +226,5 @@ export const SearchPostInputSchema = z.object({
226
226
 
227
227
  export const SearchPostOutputSchema = z.object({
228
228
  posts: z.array(FeedPostEntitySchema),
229
- nextCursor: z.string().optional(),
229
+ nextCursor: z.string().optional().nullable(),
230
230
  });