@zyacreatives/shared 2.5.76 → 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.
@@ -205,7 +205,6 @@ export declare const CreateInvestorProfileInputSchema: z.ZodObject<{
205
205
  "5+ years": "5+ years";
206
206
  }>;
207
207
  websiteURL: z.ZodDefault<z.ZodURL>;
208
- disciplineSlugs: z.ZodArray<z.ZodString>;
209
208
  }, z.core.$strip>;
210
209
  export type CreateInvestorInput = z.infer<typeof CreateInvestorProfileInputSchema>;
211
210
  export declare const UpdateInvestorProfileInputSchema: z.ZodObject<{
@@ -74,8 +74,6 @@ exports.CreateInvestorProfileInputSchema = InvestorShape.pick({
74
74
  experienceLevel: true,
75
75
  location: true,
76
76
  websiteURL: true,
77
- }).extend({
78
- disciplineSlugs: zod_openapi_1.z.array(zod_openapi_1.z.string()).min(1),
79
77
  });
80
78
  exports.UpdateInvestorProfileInputSchema = InvestorShape.partial()
81
79
  .extend({
@@ -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.ZodURL>;
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.ZodURL>;
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.ZodURL>;
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.ZodURL>;
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.ZodURL>;
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.ZodURL>;
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.ZodURL>;
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.ZodURL>;
263
+ image: z.ZodOptional<z.ZodString>;
264
264
  }, z.core.$strip>>;
265
265
  id: z.ZodCUID2;
266
266
  senderId: z.ZodCUID2;
@@ -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.url().optional(),
23
+ image: zod_openapi_1.z.string().optional(),
24
24
  })
25
25
  .optional(),
26
26
  });
@@ -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.ZodURL>;
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.ZodURL>;
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.ZodURL>;
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.ZodURL>;
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.ZodURL>;
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.ZodURL>;
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.ZodURL>;
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.ZodURL>;
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.ZodURL>;
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.ZodURL>;
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.ZodURL>;
702
+ image: z.ZodOptional<z.ZodString>;
703
703
  }, z.core.$strip>>;
704
704
  id: z.ZodCUID2;
705
705
  userId: z.ZodCUID2;
@@ -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.url().optional(),
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(),
@@ -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.ZodURL>;
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.ZodURL>;
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zyacreatives/shared",
3
- "version": "2.5.76",
3
+ "version": "2.5.78",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -116,9 +116,7 @@ export const CreateInvestorProfileInputSchema = InvestorShape.pick({
116
116
  experienceLevel: true,
117
117
  location: true,
118
118
  websiteURL: true,
119
- }).extend({
120
- disciplineSlugs: z.array(z.string()).min(1),
121
- });
119
+ })
122
120
 
123
121
  export type CreateInvestorInput = z.infer<
124
122
  typeof CreateInvestorProfileInputSchema
@@ -23,7 +23,7 @@ const MessageShape = z.object({
23
23
  url: z.url(),
24
24
  title: z.string().optional(),
25
25
  description: z.string().optional(),
26
- image: z.url().optional(),
26
+ image: z.string().optional(),
27
27
  })
28
28
  .optional(),
29
29
  });
@@ -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.url().optional(),
23
+ image: z.string().optional(),
24
24
  });
25
25
 
26
26
  export type LinkMeta = z.infer<typeof LinkMetaSchema>;