@zyacreatives/shared 2.5.77 → 2.5.78
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.
|
@@ -34,7 +34,7 @@ declare const MessageShape: z.ZodObject<{
|
|
|
34
34
|
url: z.ZodURL;
|
|
35
35
|
title: z.ZodOptional<z.ZodString>;
|
|
36
36
|
description: z.ZodOptional<z.ZodString>;
|
|
37
|
-
image: z.ZodOptional<z.
|
|
37
|
+
image: z.ZodOptional<z.ZodString>;
|
|
38
38
|
}, z.core.$strip>>;
|
|
39
39
|
}, z.core.$strip>;
|
|
40
40
|
export type MessageShapeType = z.infer<typeof MessageShape>;
|
|
@@ -50,7 +50,7 @@ export declare const MessageEntitySchema: z.ZodObject<{
|
|
|
50
50
|
url: z.ZodURL;
|
|
51
51
|
title: z.ZodOptional<z.ZodString>;
|
|
52
52
|
description: z.ZodOptional<z.ZodString>;
|
|
53
|
-
image: z.ZodOptional<z.
|
|
53
|
+
image: z.ZodOptional<z.ZodString>;
|
|
54
54
|
}, z.core.$strip>>;
|
|
55
55
|
deletedBySender: z.ZodDefault<z.ZodBoolean>;
|
|
56
56
|
deletedByReceiver: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -87,7 +87,7 @@ export declare const MessageEntitySchema: z.ZodObject<{
|
|
|
87
87
|
url: z.ZodURL;
|
|
88
88
|
title: z.ZodOptional<z.ZodString>;
|
|
89
89
|
description: z.ZodOptional<z.ZodString>;
|
|
90
|
-
image: z.ZodOptional<z.
|
|
90
|
+
image: z.ZodOptional<z.ZodString>;
|
|
91
91
|
}, z.core.$strip>>;
|
|
92
92
|
id: z.ZodCUID2;
|
|
93
93
|
senderId: z.ZodCUID2;
|
|
@@ -109,7 +109,7 @@ export declare const MessageWithFilesEntitySchema: z.ZodObject<{
|
|
|
109
109
|
url: z.ZodURL;
|
|
110
110
|
title: z.ZodOptional<z.ZodString>;
|
|
111
111
|
description: z.ZodOptional<z.ZodString>;
|
|
112
|
-
image: z.ZodOptional<z.
|
|
112
|
+
image: z.ZodOptional<z.ZodString>;
|
|
113
113
|
}, z.core.$strip>>;
|
|
114
114
|
deletedBySender: z.ZodDefault<z.ZodBoolean>;
|
|
115
115
|
deletedByReceiver: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -146,7 +146,7 @@ export declare const MessageWithFilesEntitySchema: z.ZodObject<{
|
|
|
146
146
|
url: z.ZodURL;
|
|
147
147
|
title: z.ZodOptional<z.ZodString>;
|
|
148
148
|
description: z.ZodOptional<z.ZodString>;
|
|
149
|
-
image: z.ZodOptional<z.
|
|
149
|
+
image: z.ZodOptional<z.ZodString>;
|
|
150
150
|
}, z.core.$strip>>;
|
|
151
151
|
id: z.ZodCUID2;
|
|
152
152
|
senderId: z.ZodCUID2;
|
|
@@ -195,7 +195,7 @@ export declare const CreateMessageInputSchema: z.ZodObject<{
|
|
|
195
195
|
url: z.ZodURL;
|
|
196
196
|
title: z.ZodOptional<z.ZodString>;
|
|
197
197
|
description: z.ZodOptional<z.ZodString>;
|
|
198
|
-
image: z.ZodOptional<z.
|
|
198
|
+
image: z.ZodOptional<z.ZodString>;
|
|
199
199
|
}, z.core.$strip>>;
|
|
200
200
|
receiverId: z.ZodCUID2;
|
|
201
201
|
files: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -223,7 +223,7 @@ export declare const GetMessagesOutputSchema: z.ZodObject<{
|
|
|
223
223
|
url: z.ZodURL;
|
|
224
224
|
title: z.ZodOptional<z.ZodString>;
|
|
225
225
|
description: z.ZodOptional<z.ZodString>;
|
|
226
|
-
image: z.ZodOptional<z.
|
|
226
|
+
image: z.ZodOptional<z.ZodString>;
|
|
227
227
|
}, z.core.$strip>>;
|
|
228
228
|
deletedBySender: z.ZodDefault<z.ZodBoolean>;
|
|
229
229
|
deletedByReceiver: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -260,7 +260,7 @@ export declare const GetMessagesOutputSchema: z.ZodObject<{
|
|
|
260
260
|
url: z.ZodURL;
|
|
261
261
|
title: z.ZodOptional<z.ZodString>;
|
|
262
262
|
description: z.ZodOptional<z.ZodString>;
|
|
263
|
-
image: z.ZodOptional<z.
|
|
263
|
+
image: z.ZodOptional<z.ZodString>;
|
|
264
264
|
}, z.core.$strip>>;
|
|
265
265
|
id: z.ZodCUID2;
|
|
266
266
|
senderId: z.ZodCUID2;
|
package/dist/schemas/message.js
CHANGED
|
@@ -20,7 +20,7 @@ const MessageShape = zod_openapi_1.z.object({
|
|
|
20
20
|
url: zod_openapi_1.z.url(),
|
|
21
21
|
title: zod_openapi_1.z.string().optional(),
|
|
22
22
|
description: zod_openapi_1.z.string().optional(),
|
|
23
|
-
image: zod_openapi_1.z.
|
|
23
|
+
image: zod_openapi_1.z.string().optional(),
|
|
24
24
|
})
|
|
25
25
|
.optional(),
|
|
26
26
|
});
|
package/dist/schemas/post.d.ts
CHANGED
|
@@ -8,7 +8,7 @@ export declare const LinkMetaSchema: z.ZodObject<{
|
|
|
8
8
|
url: z.ZodURL;
|
|
9
9
|
title: z.ZodOptional<z.ZodString>;
|
|
10
10
|
description: z.ZodOptional<z.ZodString>;
|
|
11
|
-
image: z.ZodOptional<z.
|
|
11
|
+
image: z.ZodOptional<z.ZodString>;
|
|
12
12
|
}, z.core.$strip>;
|
|
13
13
|
export type LinkMeta = z.infer<typeof LinkMetaSchema>;
|
|
14
14
|
declare const PostTagSchema: z.ZodObject<{
|
|
@@ -60,7 +60,7 @@ declare const PostShape: z.ZodObject<{
|
|
|
60
60
|
url: z.ZodURL;
|
|
61
61
|
title: z.ZodOptional<z.ZodString>;
|
|
62
62
|
description: z.ZodOptional<z.ZodString>;
|
|
63
|
-
image: z.ZodOptional<z.
|
|
63
|
+
image: z.ZodOptional<z.ZodString>;
|
|
64
64
|
}, z.core.$strip>>;
|
|
65
65
|
}, z.core.$strip>;
|
|
66
66
|
export type PostShapeType = z.infer<typeof PostShape>;
|
|
@@ -116,7 +116,7 @@ export declare const PostEntitySchema: z.ZodObject<{
|
|
|
116
116
|
url: z.ZodURL;
|
|
117
117
|
title: z.ZodOptional<z.ZodString>;
|
|
118
118
|
description: z.ZodOptional<z.ZodString>;
|
|
119
|
-
image: z.ZodOptional<z.
|
|
119
|
+
image: z.ZodOptional<z.ZodString>;
|
|
120
120
|
}, z.core.$strip>>;
|
|
121
121
|
id: z.ZodCUID2;
|
|
122
122
|
userId: z.ZodCUID2;
|
|
@@ -174,7 +174,7 @@ export declare const PostWithFilesEntitySchema: z.ZodObject<{
|
|
|
174
174
|
url: z.ZodURL;
|
|
175
175
|
title: z.ZodOptional<z.ZodString>;
|
|
176
176
|
description: z.ZodOptional<z.ZodString>;
|
|
177
|
-
image: z.ZodOptional<z.
|
|
177
|
+
image: z.ZodOptional<z.ZodString>;
|
|
178
178
|
}, z.core.$strip>>;
|
|
179
179
|
id: z.ZodCUID2;
|
|
180
180
|
userId: z.ZodCUID2;
|
|
@@ -257,7 +257,7 @@ export declare const FeedPostEntitySchema: z.ZodObject<{
|
|
|
257
257
|
url: z.ZodURL;
|
|
258
258
|
title: z.ZodOptional<z.ZodString>;
|
|
259
259
|
description: z.ZodOptional<z.ZodString>;
|
|
260
|
-
image: z.ZodOptional<z.
|
|
260
|
+
image: z.ZodOptional<z.ZodString>;
|
|
261
261
|
}, z.core.$strip>>;
|
|
262
262
|
id: z.ZodCUID2;
|
|
263
263
|
userId: z.ZodCUID2;
|
|
@@ -356,7 +356,7 @@ export declare const CreatePostInputSchema: z.ZodObject<{
|
|
|
356
356
|
url: z.ZodURL;
|
|
357
357
|
title: z.ZodOptional<z.ZodString>;
|
|
358
358
|
description: z.ZodOptional<z.ZodString>;
|
|
359
|
-
image: z.ZodOptional<z.
|
|
359
|
+
image: z.ZodOptional<z.ZodString>;
|
|
360
360
|
}, z.core.$strip>>;
|
|
361
361
|
content: z.ZodOptional<z.ZodString>;
|
|
362
362
|
files: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -455,7 +455,7 @@ export declare const CreatePostOutputSchema: z.ZodObject<{
|
|
|
455
455
|
url: z.ZodURL;
|
|
456
456
|
title: z.ZodOptional<z.ZodString>;
|
|
457
457
|
description: z.ZodOptional<z.ZodString>;
|
|
458
|
-
image: z.ZodOptional<z.
|
|
458
|
+
image: z.ZodOptional<z.ZodString>;
|
|
459
459
|
}, z.core.$strip>>;
|
|
460
460
|
id: z.ZodCUID2;
|
|
461
461
|
userId: z.ZodCUID2;
|
|
@@ -508,7 +508,7 @@ export declare const GetPostOutputSchema: z.ZodObject<{
|
|
|
508
508
|
url: z.ZodURL;
|
|
509
509
|
title: z.ZodOptional<z.ZodString>;
|
|
510
510
|
description: z.ZodOptional<z.ZodString>;
|
|
511
|
-
image: z.ZodOptional<z.
|
|
511
|
+
image: z.ZodOptional<z.ZodString>;
|
|
512
512
|
}, z.core.$strip>>;
|
|
513
513
|
id: z.ZodCUID2;
|
|
514
514
|
userId: z.ZodCUID2;
|
|
@@ -542,7 +542,7 @@ export declare const LinkPreviewOutputSchema: z.ZodObject<{
|
|
|
542
542
|
url: z.ZodURL;
|
|
543
543
|
title: z.ZodOptional<z.ZodString>;
|
|
544
544
|
description: z.ZodOptional<z.ZodString>;
|
|
545
|
-
image: z.ZodOptional<z.
|
|
545
|
+
image: z.ZodOptional<z.ZodString>;
|
|
546
546
|
}, z.core.$strip>;
|
|
547
547
|
export type LinkPreviewOutput = z.infer<typeof LinkPreviewOutputSchema>;
|
|
548
548
|
export declare const GetFeedOutputSchema: z.ZodObject<{
|
|
@@ -593,7 +593,7 @@ export declare const GetFeedOutputSchema: z.ZodObject<{
|
|
|
593
593
|
url: z.ZodURL;
|
|
594
594
|
title: z.ZodOptional<z.ZodString>;
|
|
595
595
|
description: z.ZodOptional<z.ZodString>;
|
|
596
|
-
image: z.ZodOptional<z.
|
|
596
|
+
image: z.ZodOptional<z.ZodString>;
|
|
597
597
|
}, z.core.$strip>>;
|
|
598
598
|
id: z.ZodCUID2;
|
|
599
599
|
userId: z.ZodCUID2;
|
|
@@ -699,7 +699,7 @@ export declare const SearchPostOutputSchema: z.ZodObject<{
|
|
|
699
699
|
url: z.ZodURL;
|
|
700
700
|
title: z.ZodOptional<z.ZodString>;
|
|
701
701
|
description: z.ZodOptional<z.ZodString>;
|
|
702
|
-
image: z.ZodOptional<z.
|
|
702
|
+
image: z.ZodOptional<z.ZodString>;
|
|
703
703
|
}, z.core.$strip>>;
|
|
704
704
|
id: z.ZodCUID2;
|
|
705
705
|
userId: z.ZodCUID2;
|
package/dist/schemas/post.js
CHANGED
|
@@ -15,7 +15,7 @@ exports.LinkMetaSchema = zod_openapi_1.z.object({
|
|
|
15
15
|
url: zod_openapi_1.z.url(),
|
|
16
16
|
title: zod_openapi_1.z.string().optional(),
|
|
17
17
|
description: zod_openapi_1.z.string().optional(),
|
|
18
|
-
image: zod_openapi_1.z.
|
|
18
|
+
image: zod_openapi_1.z.string().optional(),
|
|
19
19
|
});
|
|
20
20
|
const PostTagSchema = zod_openapi_1.z.object({
|
|
21
21
|
id: zod_openapi_1.z.int(),
|
package/dist/schemas/user.d.ts
CHANGED
|
@@ -377,7 +377,7 @@ export declare const UserWithPostsEntitySchema: z.ZodObject<{
|
|
|
377
377
|
url: z.ZodURL;
|
|
378
378
|
title: z.ZodOptional<z.ZodString>;
|
|
379
379
|
description: z.ZodOptional<z.ZodString>;
|
|
380
|
-
image: z.ZodOptional<z.
|
|
380
|
+
image: z.ZodOptional<z.ZodString>;
|
|
381
381
|
}, z.core.$strip>>;
|
|
382
382
|
id: z.ZodCUID2;
|
|
383
383
|
userId: z.ZodCUID2;
|
|
@@ -728,7 +728,7 @@ export declare const UserWithPostBookmarksEntitySchema: z.ZodObject<{
|
|
|
728
728
|
url: z.ZodURL;
|
|
729
729
|
title: z.ZodOptional<z.ZodString>;
|
|
730
730
|
description: z.ZodOptional<z.ZodString>;
|
|
731
|
-
image: z.ZodOptional<z.
|
|
731
|
+
image: z.ZodOptional<z.ZodString>;
|
|
732
732
|
}, z.core.$strip>>;
|
|
733
733
|
id: z.ZodCUID2;
|
|
734
734
|
userId: z.ZodCUID2;
|
package/package.json
CHANGED
package/src/schemas/message.ts
CHANGED
package/src/schemas/post.ts
CHANGED
|
@@ -20,7 +20,7 @@ export const LinkMetaSchema = z.object({
|
|
|
20
20
|
url: z.url(),
|
|
21
21
|
title: z.string().optional(),
|
|
22
22
|
description: z.string().optional(),
|
|
23
|
-
image: z.
|
|
23
|
+
image: z.string().optional(),
|
|
24
24
|
});
|
|
25
25
|
|
|
26
26
|
export type LinkMeta = z.infer<typeof LinkMetaSchema>;
|