@zyacreatives/shared 2.1.82 → 2.1.83
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/schemas/post.d.ts
CHANGED
|
@@ -300,7 +300,7 @@ export declare const GetPostWithLikesOutputSchema: z.ZodObject<{
|
|
|
300
300
|
followsYou: z.ZodOptional<z.ZodBoolean>;
|
|
301
301
|
isFollowing: z.ZodOptional<z.ZodBoolean>;
|
|
302
302
|
}, z.core.$strip>>;
|
|
303
|
-
nextCursor: z.ZodOptional<z.ZodString
|
|
303
|
+
nextCursor: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
304
304
|
}, z.core.$strip>;
|
|
305
305
|
export declare const PostWithCommentsEntitySchema: z.ZodObject<{
|
|
306
306
|
id: z.ZodCUID2;
|
|
@@ -355,7 +355,7 @@ export declare const GetPostWithCommentsOutputSchema: z.ZodObject<{
|
|
|
355
355
|
likesCount: z.ZodDefault<z.ZodInt>;
|
|
356
356
|
updatedAt: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
357
357
|
}, z.core.$strip>>;
|
|
358
|
-
nextCursor: z.ZodOptional<z.ZodString
|
|
358
|
+
nextCursor: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
359
359
|
}, z.core.$strip>;
|
|
360
360
|
export declare const PostWithBookmarksEntitySchema: z.ZodObject<{
|
|
361
361
|
id: z.ZodCUID2;
|
package/dist/schemas/post.js
CHANGED
|
@@ -159,7 +159,7 @@ exports.PostWithLikesEntitySchema = exports.MinimalPostSchema.extend({
|
|
|
159
159
|
title: "PostWithPostLikesEntity",
|
|
160
160
|
});
|
|
161
161
|
exports.GetPostWithLikesOutputSchema = exports.PostWithLikesEntitySchema.extend({
|
|
162
|
-
nextCursor: zod_openapi_1.z.string().optional(),
|
|
162
|
+
nextCursor: zod_openapi_1.z.string().optional().nullable(),
|
|
163
163
|
});
|
|
164
164
|
exports.PostWithCommentsEntitySchema = exports.MinimalPostSchema.extend({
|
|
165
165
|
comments: zod_openapi_1.z.array(comment_1.CommentEntitySchema),
|
|
@@ -167,7 +167,7 @@ exports.PostWithCommentsEntitySchema = exports.MinimalPostSchema.extend({
|
|
|
167
167
|
title: "PostWithPostCommentsEntity",
|
|
168
168
|
});
|
|
169
169
|
exports.GetPostWithCommentsOutputSchema = exports.PostWithCommentsEntitySchema.extend({
|
|
170
|
-
nextCursor: zod_openapi_1.z.string().optional(),
|
|
170
|
+
nextCursor: zod_openapi_1.z.string().optional().nullable(),
|
|
171
171
|
});
|
|
172
172
|
exports.PostWithBookmarksEntitySchema = exports.MinimalPostSchema.extend({
|
|
173
173
|
bookmarks: zod_openapi_1.z.array(activity_1.ActivitySchema),
|
|
@@ -334,7 +334,7 @@ export declare const SearchProjectsOutputSchema: z.ZodObject<{
|
|
|
334
334
|
startDate: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
335
335
|
endDate: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
336
336
|
}, z.core.$strip>>;
|
|
337
|
-
nextCursor: z.ZodOptional<z.ZodString
|
|
337
|
+
nextCursor: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
338
338
|
}, z.core.$strip>;
|
|
339
339
|
export declare const ProjectWithProjectViewsEntitySchema: z.ZodObject<{
|
|
340
340
|
id: z.ZodString;
|
|
@@ -472,7 +472,7 @@ export declare const GetProjectWithCommentsOutputSchema: z.ZodObject<{
|
|
|
472
472
|
likesCount: z.ZodDefault<z.ZodInt>;
|
|
473
473
|
updatedAt: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
474
474
|
}, z.core.$strip>>;
|
|
475
|
-
nextCursor: z.ZodOptional<z.ZodString
|
|
475
|
+
nextCursor: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
476
476
|
}, z.core.$strip>;
|
|
477
477
|
export declare const GetProjectWithLikesOutputSchema: z.ZodObject<{
|
|
478
478
|
id: z.ZodString;
|
|
@@ -498,5 +498,5 @@ export declare const GetProjectWithLikesOutputSchema: z.ZodObject<{
|
|
|
498
498
|
followsYou: z.ZodOptional<z.ZodBoolean>;
|
|
499
499
|
isFollowing: z.ZodOptional<z.ZodBoolean>;
|
|
500
500
|
}, z.core.$strip>>;
|
|
501
|
-
nextCursor: z.ZodOptional<z.ZodString
|
|
501
|
+
nextCursor: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
502
502
|
}, z.core.$strip>;
|
package/dist/schemas/project.js
CHANGED
|
@@ -237,7 +237,7 @@ exports.SearchProjectsInputSchema = zod_openapi_1.z
|
|
|
237
237
|
exports.SearchProjectsOutputSchema = zod_openapi_1.z
|
|
238
238
|
.object({
|
|
239
239
|
projects: zod_openapi_1.z.array(exports.MinimalProjectSchema),
|
|
240
|
-
nextCursor: zod_openapi_1.z.string().optional(),
|
|
240
|
+
nextCursor: zod_openapi_1.z.string().optional().nullable(),
|
|
241
241
|
})
|
|
242
242
|
.openapi({
|
|
243
243
|
title: "SearchProjectsOutput",
|
|
@@ -266,8 +266,8 @@ exports.ProjectWithProjectBookmarksEntitySchema = exports.MinimalProjectSchema.e
|
|
|
266
266
|
title: "ProjectWithProjectBookmarksEntity",
|
|
267
267
|
});
|
|
268
268
|
exports.GetProjectWithCommentsOutputSchema = exports.ProjectWithProjectCommentsEntitySchema.extend({
|
|
269
|
-
nextCursor: zod_openapi_1.z.string().optional(),
|
|
269
|
+
nextCursor: zod_openapi_1.z.string().optional().nullable(),
|
|
270
270
|
});
|
|
271
271
|
exports.GetProjectWithLikesOutputSchema = exports.ProjectWithLikesEntitySchema.extend({
|
|
272
|
-
nextCursor: zod_openapi_1.z.string().optional(),
|
|
272
|
+
nextCursor: zod_openapi_1.z.string().optional().nullable(),
|
|
273
273
|
});
|
package/package.json
CHANGED
package/src/schemas/post.ts
CHANGED
|
@@ -181,7 +181,7 @@ export const PostWithLikesEntitySchema = MinimalPostSchema.extend({
|
|
|
181
181
|
});
|
|
182
182
|
|
|
183
183
|
export const GetPostWithLikesOutputSchema = PostWithLikesEntitySchema.extend({
|
|
184
|
-
nextCursor: z.string().optional(),
|
|
184
|
+
nextCursor: z.string().optional().nullable(),
|
|
185
185
|
});
|
|
186
186
|
|
|
187
187
|
export const PostWithCommentsEntitySchema = MinimalPostSchema.extend({
|
|
@@ -192,7 +192,7 @@ export const PostWithCommentsEntitySchema = MinimalPostSchema.extend({
|
|
|
192
192
|
|
|
193
193
|
export const GetPostWithCommentsOutputSchema =
|
|
194
194
|
PostWithCommentsEntitySchema.extend({
|
|
195
|
-
nextCursor: z.string().optional(),
|
|
195
|
+
nextCursor: z.string().optional().nullable(),
|
|
196
196
|
});
|
|
197
197
|
|
|
198
198
|
export const PostWithBookmarksEntitySchema = MinimalPostSchema.extend({
|
package/src/schemas/project.ts
CHANGED
|
@@ -250,7 +250,7 @@ export const SearchProjectsInputSchema = z
|
|
|
250
250
|
export const SearchProjectsOutputSchema = z
|
|
251
251
|
.object({
|
|
252
252
|
projects: z.array(MinimalProjectSchema),
|
|
253
|
-
nextCursor: z.string().optional(),
|
|
253
|
+
nextCursor: z.string().optional().nullable(),
|
|
254
254
|
})
|
|
255
255
|
.openapi({
|
|
256
256
|
title: "SearchProjectsOutput",
|
|
@@ -289,10 +289,10 @@ export const ProjectWithProjectBookmarksEntitySchema =
|
|
|
289
289
|
|
|
290
290
|
export const GetProjectWithCommentsOutputSchema =
|
|
291
291
|
ProjectWithProjectCommentsEntitySchema.extend({
|
|
292
|
-
nextCursor: z.string().optional(),
|
|
292
|
+
nextCursor: z.string().optional().nullable(),
|
|
293
293
|
});
|
|
294
294
|
|
|
295
295
|
export const GetProjectWithLikesOutputSchema =
|
|
296
296
|
ProjectWithLikesEntitySchema.extend({
|
|
297
|
-
nextCursor: z.string().optional(),
|
|
297
|
+
nextCursor: z.string().optional().nullable(),
|
|
298
298
|
});
|