@zyacreatives/shared 2.5.50 → 2.5.52

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.
@@ -1,12 +1,16 @@
1
1
  import { z } from "@hono/zod-openapi";
2
- export declare const UserEntitySchema: z.ZodObject<{
3
- id: z.ZodCUID2;
2
+ /**
3
+ * --------------------------------
4
+ * SHAPE
5
+ * --------------------------------
6
+ */
7
+ declare const UserShape: z.ZodObject<{
4
8
  email: z.ZodEmail;
5
9
  emailVerified: z.ZodBoolean;
6
- name: z.ZodOptional<z.ZodString>;
7
- image: z.ZodOptional<z.ZodString>;
8
- username: z.ZodOptional<z.ZodString>;
9
- displayUsername: z.ZodOptional<z.ZodString>;
10
+ name: z.ZodDefault<z.ZodString>;
11
+ image: z.ZodDefault<z.ZodString>;
12
+ username: z.ZodDefault<z.ZodString>;
13
+ displayUsername: z.ZodDefault<z.ZodString>;
10
14
  role: z.ZodEnum<{
11
15
  CREATIVE: "CREATIVE";
12
16
  BRAND: "BRAND";
@@ -29,18 +33,59 @@ export declare const UserEntitySchema: z.ZodObject<{
29
33
  INVESTOR_VERIFICATION: "INVESTOR_VERIFICATION";
30
34
  DONE: "DONE";
31
35
  }>;
32
- createdAt: z.ZodCoercedDate<unknown>;
36
+ }, z.core.$strip>;
37
+ export type UserShapeType = z.infer<typeof UserShape>;
38
+ /**
39
+ * --------------------------------
40
+ * BASE ENTITY
41
+ * --------------------------------
42
+ */
43
+ export declare const UserEntitySchema: z.ZodObject<{
44
+ createdAt: z.ZodISODateTime;
45
+ updatedAt: z.ZodISODateTime;
33
46
  version: z.ZodInt;
34
- updatedAt: z.ZodCoercedDate<unknown>;
47
+ email: z.ZodEmail;
48
+ emailVerified: z.ZodBoolean;
49
+ name: z.ZodDefault<z.ZodString>;
50
+ image: z.ZodDefault<z.ZodString>;
51
+ username: z.ZodDefault<z.ZodString>;
52
+ displayUsername: z.ZodDefault<z.ZodString>;
53
+ role: z.ZodEnum<{
54
+ CREATIVE: "CREATIVE";
55
+ BRAND: "BRAND";
56
+ INVESTOR: "INVESTOR";
57
+ ADMIN: "ADMIN";
58
+ }>;
59
+ status: z.ZodEnum<{
60
+ ACTIVE: "ACTIVE";
61
+ SUSPENDED: "SUSPENDED";
62
+ DELETED: "DELETED";
63
+ }>;
64
+ onboardingPage: z.ZodEnum<{
65
+ EMAIL_VERIFICATION: "EMAIL_VERIFICATION";
66
+ USERNAME_SELECTION: "USERNAME_SELECTION";
67
+ ACCOUNT_TYPE_SELECTION: "ACCOUNT_TYPE_SELECTION";
68
+ CREATIVE_PROFILE_DETAILS: "CREATIVE_PROFILE_DETAILS";
69
+ BRAND_PROFILE_DETAILS: "BRAND_PROFILE_DETAILS";
70
+ INVESTOR_PROFILE_DETAILS: "INVESTOR_PROFILE_DETAILS";
71
+ INVESTOR_INVESTMENT_FOCUS: "INVESTOR_INVESTMENT_FOCUS";
72
+ INVESTOR_VERIFICATION: "INVESTOR_VERIFICATION";
73
+ DONE: "DONE";
74
+ }>;
75
+ id: z.ZodCUID2;
35
76
  }, z.core.$strip>;
36
- export type BaseUserEntity = z.infer<typeof UserEntitySchema>;
37
77
  export type UserEntity = z.infer<typeof UserEntitySchema>;
78
+ /**
79
+ * --------------------------------
80
+ * DERIVED ENTITIES
81
+ * --------------------------------
82
+ */
38
83
  export declare const MinimalUserSchema: z.ZodObject<{
39
84
  email: z.ZodEmail;
40
- username: z.ZodOptional<z.ZodString>;
85
+ username: z.ZodDefault<z.ZodString>;
41
86
  id: z.ZodCUID2;
42
- name: z.ZodOptional<z.ZodString>;
43
- image: z.ZodOptional<z.ZodString>;
87
+ name: z.ZodDefault<z.ZodString>;
88
+ image: z.ZodDefault<z.ZodString>;
44
89
  role: z.ZodEnum<{
45
90
  CREATIVE: "CREATIVE";
46
91
  BRAND: "BRAND";
@@ -50,13 +95,15 @@ export declare const MinimalUserSchema: z.ZodObject<{
50
95
  }, z.core.$strip>;
51
96
  export type MinimalUser = z.infer<typeof MinimalUserSchema>;
52
97
  export declare const UserProfileEntitySchema: z.ZodObject<{
53
- id: z.ZodCUID2;
98
+ createdAt: z.ZodISODateTime;
99
+ updatedAt: z.ZodISODateTime;
100
+ version: z.ZodInt;
54
101
  email: z.ZodEmail;
55
102
  emailVerified: z.ZodBoolean;
56
- name: z.ZodOptional<z.ZodString>;
57
- image: z.ZodOptional<z.ZodString>;
58
- username: z.ZodOptional<z.ZodString>;
59
- displayUsername: z.ZodOptional<z.ZodString>;
103
+ name: z.ZodDefault<z.ZodString>;
104
+ image: z.ZodDefault<z.ZodString>;
105
+ username: z.ZodDefault<z.ZodString>;
106
+ displayUsername: z.ZodDefault<z.ZodString>;
60
107
  role: z.ZodEnum<{
61
108
  CREATIVE: "CREATIVE";
62
109
  BRAND: "BRAND";
@@ -79,22 +126,21 @@ export declare const UserProfileEntitySchema: z.ZodObject<{
79
126
  INVESTOR_VERIFICATION: "INVESTOR_VERIFICATION";
80
127
  DONE: "DONE";
81
128
  }>;
82
- createdAt: z.ZodCoercedDate<unknown>;
83
- version: z.ZodInt;
84
- updatedAt: z.ZodCoercedDate<unknown>;
129
+ id: z.ZodCUID2;
85
130
  profileType: z.ZodOptional<z.ZodEnum<{
86
131
  creative: "creative";
87
132
  brand: "brand";
88
133
  investor: "investor";
89
134
  }>>;
90
- brand: z.ZodObject<{
91
- id: z.ZodCUID2;
92
- userId: z.ZodCUID2;
135
+ brand: z.ZodOptional<z.ZodObject<{
136
+ createdAt: z.ZodISODateTime;
137
+ updatedAt: z.ZodISODateTime;
138
+ version: z.ZodInt;
93
139
  brandName: z.ZodString;
94
- bio: z.ZodOptional<z.ZodString>;
140
+ bio: z.ZodDefault<z.ZodString>;
95
141
  location: z.ZodString;
96
- disciplines: z.ZodOptional<z.ZodArray<z.ZodString>>;
97
- links: z.ZodOptional<z.ZodArray<z.ZodObject<{
142
+ disciplines: z.ZodDefault<z.ZodArray<z.ZodString>>;
143
+ links: z.ZodDefault<z.ZodArray<z.ZodObject<{
98
144
  url: z.ZodURL;
99
145
  type: z.ZodDefault<z.ZodEnum<{
100
146
  readonly INSTAGRAM: "Instagram";
@@ -105,68 +151,88 @@ export declare const UserProfileEntitySchema: z.ZodObject<{
105
151
  readonly GENERIC_WEBSITE: "Generic Website";
106
152
  }>>;
107
153
  }, z.core.$strip>>>;
108
- achievements: z.ZodOptional<z.ZodArray<z.ZodObject<{
154
+ achievements: z.ZodDefault<z.ZodArray<z.ZodObject<{
109
155
  title: z.ZodString;
110
156
  link: z.ZodOptional<z.ZodURL>;
111
157
  year: z.ZodOptional<z.ZodNumber>;
112
158
  }, z.core.$strip>>>;
113
- createdAt: z.ZodCoercedDate<unknown>;
114
- updatedAt: z.ZodCoercedDate<unknown>;
115
- version: z.ZodInt;
116
- }, z.core.$strip>;
117
- creative: z.ZodObject<{
118
159
  id: z.ZodCUID2;
119
160
  userId: z.ZodCUID2;
120
- bio: z.ZodOptional<z.ZodString>;
121
- role: z.ZodOptional<z.ZodString>;
161
+ }, z.core.$strip>>;
162
+ creative: z.ZodOptional<z.ZodObject<{
163
+ createdAt: z.ZodString;
164
+ updatedAt: z.ZodString;
122
165
  version: z.ZodInt;
123
- location: z.ZodOptional<z.ZodString>;
124
- experienceLevel: z.ZodOptional<z.ZodEnum<{
166
+ bio: z.ZodDefault<z.ZodString>;
167
+ role: z.ZodDefault<z.ZodString>;
168
+ location: z.ZodDefault<z.ZodString>;
169
+ experienceLevel: z.ZodEnum<{
125
170
  "0-1 year": "0-1 year";
126
171
  "1-3 years": "1-3 years";
127
172
  "3-5 years": "3-5 years";
128
173
  "5+ years": "5+ years";
129
- }>>;
130
- disciplines: z.ZodOptional<z.ZodArray<z.ZodString>>;
131
- workExperience: z.ZodOptional<z.ZodArray<z.ZodObject<{
174
+ }>;
175
+ disciplines: z.ZodDefault<z.ZodArray<z.ZodString>>;
176
+ workExperience: z.ZodDefault<z.ZodArray<z.ZodObject<{
132
177
  companyName: z.ZodString;
133
178
  position: z.ZodString;
134
- startDate: z.ZodOptional<z.ZodCoercedDate<unknown>>;
135
- endDate: z.ZodOptional<z.ZodCoercedDate<unknown>>;
136
- currentlyWorking: z.ZodOptional<z.ZodBoolean>;
137
- description: z.ZodString;
179
+ startDate: z.ZodOptional<z.ZodString>;
180
+ endDate: z.ZodOptional<z.ZodString>;
181
+ currentlyWorking: z.ZodDefault<z.ZodBoolean>;
182
+ description: z.ZodDefault<z.ZodString>;
138
183
  }, z.core.$strip>>>;
139
- links: z.ZodOptional<z.ZodArray<z.ZodObject<{
140
- url: z.ZodUnion<readonly [z.ZodURL, z.ZodLiteral<"">]>;
141
- type: z.ZodEnum<{
184
+ links: z.ZodDefault<z.ZodArray<z.ZodObject<{
185
+ url: z.ZodURL;
186
+ type: z.ZodDefault<z.ZodEnum<{
142
187
  readonly INSTAGRAM: "Instagram";
143
188
  readonly LINKEDIN: "LinkedIn";
144
189
  readonly TWITTER: "Twitter";
145
190
  readonly YOUTUBE: "Youtube";
146
191
  readonly PORTFOLIO: "Portfolio Website";
147
192
  readonly GENERIC_WEBSITE: "Generic Website";
148
- }>;
193
+ }>>;
149
194
  }, z.core.$strip>>>;
150
- achievements: z.ZodOptional<z.ZodArray<z.ZodObject<{
195
+ achievements: z.ZodDefault<z.ZodArray<z.ZodObject<{
151
196
  title: z.ZodString;
152
- link: z.ZodOptional<z.ZodString>;
153
- year: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
197
+ link: z.ZodOptional<z.ZodURL>;
198
+ year: z.ZodOptional<z.ZodNumber>;
154
199
  }, z.core.$strip>>>;
155
- createdAt: z.ZodOptional<z.ZodCoercedDate<unknown>>;
156
- updatedAt: z.ZodCoercedDate<unknown>;
157
- }, z.core.$strip>;
158
- investor: z.ZodObject<{
159
200
  id: z.ZodCUID2;
160
201
  userId: z.ZodCUID2;
161
- bio: z.ZodOptional<z.ZodString>;
162
- location: z.ZodOptional<z.ZodString>;
163
- experienceLevel: z.ZodOptional<z.ZodEnum<{
202
+ }, z.core.$strip>>;
203
+ investor: z.ZodOptional<z.ZodObject<{
204
+ createdAt: z.ZodISODateTime;
205
+ updatedAt: z.ZodISODateTime;
206
+ version: z.ZodInt;
207
+ bio: z.ZodDefault<z.ZodString>;
208
+ location: z.ZodDefault<z.ZodString>;
209
+ experienceLevel: z.ZodEnum<{
164
210
  "0-1 year": "0-1 year";
165
211
  "1-3 years": "1-3 years";
166
212
  "3-5 years": "3-5 years";
167
213
  "5+ years": "5+ years";
168
- }>>;
169
- geographicFocus: z.ZodOptional<z.ZodEnum<{
214
+ }>;
215
+ investorType: z.ZodEnum<{
216
+ "Angel Investor": "Angel Investor";
217
+ "Venture Capitalist": "Venture Capitalist";
218
+ "Private Equity Firm": "Private Equity Firm";
219
+ "Venture Debt Provider": "Venture Debt Provider";
220
+ Bank: "Bank";
221
+ "Convertible Note Investor": "Convertible Note Investor";
222
+ "Revenue Based Financing Investor": "Revenue Based Financing Investor";
223
+ "Corporate Venture Capitalist": "Corporate Venture Capitalist";
224
+ Government: "Government";
225
+ "Social Impact Investor": "Social Impact Investor";
226
+ }>;
227
+ investmentSize: z.ZodEnum<{
228
+ "Under 5k USD": "Under 5k USD";
229
+ "5k - 25k USD": "5k - 25k USD";
230
+ "25k - 100k USD": "25k - 100k USD";
231
+ "100k - 500k USD": "100k - 500k USD";
232
+ "500k - 1M USD": "500k - 1M USD";
233
+ "1M+ USD": "1M+ USD";
234
+ }>;
235
+ geographicFocus: z.ZodEnum<{
170
236
  Africa: "Africa";
171
237
  Asia: "Asia";
172
238
  Europe: "Europe";
@@ -178,49 +244,28 @@ export declare const UserProfileEntitySchema: z.ZodObject<{
178
244
  "United States (US)": "United States (US)";
179
245
  Global: "Global";
180
246
  Other: "Other";
181
- }>>;
182
- investmentSize: z.ZodOptional<z.ZodEnum<{
183
- "Under 5k USD": "Under 5k USD";
184
- "5k - 25k USD": "5k - 25k USD";
185
- "25k - 100k USD": "25k - 100k USD";
186
- "100k - 500k USD": "100k - 500k USD";
187
- "500k - 1M USD": "500k - 1M USD";
188
- "1M+ USD": "1M+ USD";
189
- }>>;
190
- investorType: z.ZodOptional<z.ZodEnum<{
191
- "Angel Investor": "Angel Investor";
192
- "Venture Capitalist": "Venture Capitalist";
193
- "Private Equity Firm": "Private Equity Firm";
194
- "Venture Debt Provider": "Venture Debt Provider";
195
- Bank: "Bank";
196
- "Convertible Note Investor": "Convertible Note Investor";
197
- "Revenue Based Financing Investor": "Revenue Based Financing Investor";
198
- "Corporate Venture Capitalist": "Corporate Venture Capitalist";
199
- Government: "Government";
200
- "Social Impact Investor": "Social Impact Investor";
201
- }>>;
202
- websiteURL: z.ZodOptional<z.ZodURL>;
203
- links: z.ZodOptional<z.ZodArray<z.ZodObject<{
204
- url: z.ZodUnion<readonly [z.ZodURL, z.ZodLiteral<"">]>;
205
- type: z.ZodEnum<{
247
+ }>;
248
+ websiteURL: z.ZodDefault<z.ZodURL>;
249
+ disciplines: z.ZodDefault<z.ZodArray<z.ZodString>>;
250
+ links: z.ZodDefault<z.ZodArray<z.ZodObject<{
251
+ url: z.ZodURL;
252
+ type: z.ZodDefault<z.ZodEnum<{
206
253
  readonly INSTAGRAM: "Instagram";
207
254
  readonly LINKEDIN: "LinkedIn";
208
255
  readonly TWITTER: "Twitter";
209
256
  readonly YOUTUBE: "Youtube";
210
257
  readonly PORTFOLIO: "Portfolio Website";
211
258
  readonly GENERIC_WEBSITE: "Generic Website";
212
- }>;
259
+ }>>;
213
260
  }, z.core.$strip>>>;
214
- achievements: z.ZodOptional<z.ZodArray<z.ZodObject<{
261
+ achievements: z.ZodDefault<z.ZodArray<z.ZodObject<{
215
262
  title: z.ZodString;
216
- link: z.ZodOptional<z.ZodString>;
217
- year: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
263
+ link: z.ZodOptional<z.ZodURL>;
264
+ year: z.ZodOptional<z.ZodNumber>;
218
265
  }, z.core.$strip>>>;
219
- disciplines: z.ZodOptional<z.ZodArray<z.ZodString>>;
220
- createdAt: z.ZodOptional<z.ZodCoercedDate<unknown>>;
221
- updatedAt: z.ZodOptional<z.ZodCoercedDate<unknown>>;
222
- version: z.ZodInt;
223
- }, z.core.$strip>;
266
+ id: z.ZodCUID2;
267
+ userId: z.ZodCUID2;
268
+ }, z.core.$strip>>;
224
269
  }, z.core.$strip>;
225
270
  export type UserProfileEntity = z.infer<typeof UserProfileEntitySchema>;
226
271
  export declare const UserStatsEntitySchema: z.ZodObject<{
@@ -229,6 +274,15 @@ export declare const UserStatsEntitySchema: z.ZodObject<{
229
274
  followingIds: z.ZodArray<z.ZodCUID2>;
230
275
  }, z.core.$strip>;
231
276
  export type UserStatsEntity = z.infer<typeof UserStatsEntitySchema>;
277
+ /**
278
+ * --------------------------------
279
+ * COMPOSED ENTITIES
280
+ * --------------------------------
281
+ */
282
+ declare const UserWithId: z.ZodObject<{
283
+ userId: z.ZodCUID2;
284
+ }, z.core.$strip>;
285
+ export type UserWithIdType = z.infer<typeof UserWithId>;
232
286
  export declare const UserWithProjectsEntitySchema: z.ZodObject<{
233
287
  userId: z.ZodCUID2;
234
288
  projects: z.ZodArray<z.ZodObject<{
@@ -244,6 +298,8 @@ export declare const UserWithProjectsEntitySchema: z.ZodObject<{
244
298
  readonly DRAFT: "DRAFT";
245
299
  readonly ARCHIVED: "ARCHIVED";
246
300
  }>;
301
+ startDate: z.ZodOptional<z.ZodCoercedDate<unknown>>;
302
+ endDate: z.ZodOptional<z.ZodCoercedDate<unknown>>;
247
303
  imagePlaceholderUrl: z.ZodURL;
248
304
  tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
249
305
  projectCreatorType: z.ZodEnum<{
@@ -288,8 +344,6 @@ export declare const UserWithProjectsEntitySchema: z.ZodObject<{
288
344
  }>>;
289
345
  currentTraction: z.ZodString;
290
346
  isOpenToInvestment: z.ZodDefault<z.ZodBoolean>;
291
- startDate: z.ZodOptional<z.ZodCoercedDate<unknown>>;
292
- endDate: z.ZodOptional<z.ZodCoercedDate<unknown>>;
293
347
  version: z.ZodNumber;
294
348
  }, z.core.$strip>>;
295
349
  }, z.core.$strip>;
@@ -373,13 +427,7 @@ export declare const UserWithPostsEntitySchema: z.ZodObject<{
373
427
  }, z.core.$strip>>>;
374
428
  }, z.core.$strip>>;
375
429
  }, z.core.$strip>;
376
- export type UserWithUserPostsEntity = z.infer<typeof UserWithPostsEntitySchema>;
377
- export declare const UserAuthStatusEntitySchema: z.ZodObject<{
378
- exists: z.ZodBoolean;
379
- isOAuthOnly: z.ZodBoolean;
380
- providers: z.ZodArray<z.ZodString>;
381
- }, z.core.$strip>;
382
- export type UserAuthStatusEntity = z.infer<typeof UserAuthStatusEntitySchema>;
430
+ export type UserWithPostsEntity = z.infer<typeof UserWithPostsEntitySchema>;
383
431
  export declare const UserWithProjectLikesEntitySchema: z.ZodObject<{
384
432
  userId: z.ZodCUID2;
385
433
  projectLikes: z.ZodArray<z.ZodObject<{
@@ -403,10 +451,10 @@ export declare const UserWithProjectLikesEntitySchema: z.ZodObject<{
403
451
  description: z.ZodOptional<z.ZodString>;
404
452
  title: z.ZodString;
405
453
  id: z.ZodCUID2;
406
- imagePlaceholderUrl: z.ZodURL;
407
- tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
408
454
  startDate: z.ZodOptional<z.ZodCoercedDate<unknown>>;
409
455
  endDate: z.ZodOptional<z.ZodCoercedDate<unknown>>;
456
+ imagePlaceholderUrl: z.ZodURL;
457
+ tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
410
458
  }, z.core.$strip>;
411
459
  }, z.core.$strip>>;
412
460
  }, z.core.$strip>;
@@ -443,9 +491,14 @@ export declare const UserWithPostLikesEntitySchema: z.ZodObject<{
443
491
  }, z.core.$strip>>;
444
492
  }, z.core.$strip>;
445
493
  export type UserWithPostLikesEntity = z.infer<typeof UserWithPostLikesEntitySchema>;
494
+ /**
495
+ * --------------------------------
496
+ * BOOKMARKS
497
+ * --------------------------------
498
+ */
446
499
  export declare const UserWithJobBookmarksEntitySchema: z.ZodObject<{
447
500
  userId: z.ZodCUID2;
448
- jobBookmarks: z.ZodOptional<z.ZodArray<z.ZodObject<{
501
+ jobBookmarks: z.ZodArray<z.ZodObject<{
449
502
  id: z.ZodCUID2;
450
503
  createdAt: z.ZodOptional<z.ZodCoercedDate<unknown>>;
451
504
  userId: z.ZodCUID2;
@@ -488,65 +541,9 @@ export declare const UserWithJobBookmarksEntitySchema: z.ZodObject<{
488
541
  updatedAt: z.ZodString;
489
542
  isBookmarked: z.ZodDefault<z.ZodBoolean>;
490
543
  }, z.core.$strip>;
491
- }, z.core.$strip>>>;
544
+ }, z.core.$strip>>;
492
545
  }, z.core.$strip>;
493
546
  export type UserWithJobBookmarksEntity = z.infer<typeof UserWithJobBookmarksEntitySchema>;
494
- export declare const UserWithJobBookmarksInputSchema: z.ZodObject<{
495
- cursor: z.ZodNullable<z.ZodOptional<z.ZodString>>;
496
- limit: z.ZodNullable<z.ZodOptional<z.ZodInt>>;
497
- }, z.core.$strip>;
498
- export type UserWithJobBookmarksInput = z.infer<typeof UserWithJobBookmarksInputSchema>;
499
- export declare const UserWithJobBookmarksOutputSchema: z.ZodObject<{
500
- bookmarks: z.ZodObject<{
501
- userId: z.ZodCUID2;
502
- jobBookmarks: z.ZodOptional<z.ZodArray<z.ZodObject<{
503
- id: z.ZodCUID2;
504
- createdAt: z.ZodOptional<z.ZodCoercedDate<unknown>>;
505
- userId: z.ZodCUID2;
506
- parentId: z.ZodCUID2;
507
- parentType: z.ZodEnum<{
508
- readonly PROJECT: "PROJECT";
509
- readonly USER: "USER";
510
- readonly JOB: "JOB";
511
- readonly POST: "POST";
512
- readonly PRODUCT: "PRODUCT";
513
- readonly SIGNAL: "SIGNAL";
514
- readonly PRODUCT_COVER: "PRODUCT_COVER";
515
- readonly PRODUCT_DELIVERY: "PRODUCT_DELIVERY";
516
- readonly COMMENT: "COMMENT";
517
- readonly JOB_APPLICATION: "JOB_APPLICATION";
518
- }>;
519
- job: z.ZodObject<{
520
- id: z.ZodCUID2;
521
- title: z.ZodString;
522
- isApplied: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
523
- brandId: z.ZodCUID2;
524
- brandName: z.ZodString;
525
- brandImgUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
526
- jobType: z.ZodEnum<{
527
- GIG: "GIG";
528
- ROLE: "ROLE";
529
- }>;
530
- status: z.ZodOptional<z.ZodString>;
531
- employmentType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
532
- workMode: z.ZodString;
533
- gigType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
534
- location: z.ZodString;
535
- overview: z.ZodString;
536
- requiredSkills: z.ZodArray<z.ZodString>;
537
- wagesMin: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
538
- wagesMax: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
539
- wagesCurrency: z.ZodOptional<z.ZodNullable<z.ZodString>>;
540
- wagesType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
541
- createdAt: z.ZodString;
542
- updatedAt: z.ZodString;
543
- isBookmarked: z.ZodDefault<z.ZodBoolean>;
544
- }, z.core.$strip>;
545
- }, z.core.$strip>>>;
546
- }, z.core.$strip>;
547
- nextCursor: z.ZodNullable<z.ZodString>;
548
- }, z.core.$strip>;
549
- export type UserWithJobBookmarksOutput = z.infer<typeof UserWithJobBookmarksOutputSchema>;
550
547
  export declare const UserWithProjectBookmarksEntitySchema: z.ZodObject<{
551
548
  userId: z.ZodCUID2;
552
549
  projectBookmarks: z.ZodArray<z.ZodObject<{
@@ -835,906 +832,124 @@ export declare const UserWithProductsEntitySchema: z.ZodObject<{
835
832
  }, z.core.$strip>>;
836
833
  }, z.core.$strip>;
837
834
  export type UserWithProductsEntity = z.infer<typeof UserWithProductsEntitySchema>;
838
- export declare const GetUserWithProjectBookmarksInputSchema: z.ZodObject<{
839
- cursor: z.ZodNullable<z.ZodOptional<z.ZodString>>;
840
- limit: z.ZodNullable<z.ZodOptional<z.ZodInt>>;
835
+ /**
836
+ * --------------------------------
837
+ * FOLLOW SYSTEM
838
+ * --------------------------------
839
+ */
840
+ declare const FollowMeta: z.ZodObject<{
841
+ isFollowing: z.ZodBoolean;
842
+ followsYou: z.ZodBoolean;
843
+ }, z.core.$strip>;
844
+ export type FollowMeta = z.infer<typeof FollowMeta>;
845
+ export declare const UserWithFollowingEntitySchema: z.ZodObject<{
846
+ email: z.ZodEmail;
847
+ username: z.ZodDefault<z.ZodString>;
848
+ id: z.ZodCUID2;
849
+ name: z.ZodDefault<z.ZodString>;
850
+ image: z.ZodDefault<z.ZodString>;
851
+ role: z.ZodEnum<{
852
+ CREATIVE: "CREATIVE";
853
+ BRAND: "BRAND";
854
+ INVESTOR: "INVESTOR";
855
+ ADMIN: "ADMIN";
856
+ }>;
857
+ following: z.ZodArray<z.ZodObject<{
858
+ email: z.ZodEmail;
859
+ username: z.ZodDefault<z.ZodString>;
860
+ id: z.ZodCUID2;
861
+ name: z.ZodDefault<z.ZodString>;
862
+ image: z.ZodDefault<z.ZodString>;
863
+ role: z.ZodEnum<{
864
+ CREATIVE: "CREATIVE";
865
+ BRAND: "BRAND";
866
+ INVESTOR: "INVESTOR";
867
+ ADMIN: "ADMIN";
868
+ }>;
869
+ isFollowing: z.ZodBoolean;
870
+ followsYou: z.ZodBoolean;
871
+ }, z.core.$strip>>;
841
872
  }, z.core.$strip>;
842
- export type GetUserWithProjectBookmarksInput = z.infer<typeof GetUserWithProjectBookmarksInputSchema>;
843
- export declare const GetUserWithPostBookmarksInputSchema: z.ZodObject<{
844
- cursor: z.ZodNullable<z.ZodOptional<z.ZodString>>;
845
- limit: z.ZodNullable<z.ZodOptional<z.ZodInt>>;
873
+ export type UserWithFollowingEntity = z.infer<typeof UserWithFollowingEntitySchema>;
874
+ export declare const UserWithFollowersEntitySchema: z.ZodObject<{
875
+ email: z.ZodEmail;
876
+ username: z.ZodDefault<z.ZodString>;
877
+ id: z.ZodCUID2;
878
+ name: z.ZodDefault<z.ZodString>;
879
+ image: z.ZodDefault<z.ZodString>;
880
+ role: z.ZodEnum<{
881
+ CREATIVE: "CREATIVE";
882
+ BRAND: "BRAND";
883
+ INVESTOR: "INVESTOR";
884
+ ADMIN: "ADMIN";
885
+ }>;
886
+ followers: z.ZodArray<z.ZodObject<{
887
+ email: z.ZodEmail;
888
+ username: z.ZodDefault<z.ZodString>;
889
+ id: z.ZodCUID2;
890
+ name: z.ZodDefault<z.ZodString>;
891
+ image: z.ZodDefault<z.ZodString>;
892
+ role: z.ZodEnum<{
893
+ CREATIVE: "CREATIVE";
894
+ BRAND: "BRAND";
895
+ INVESTOR: "INVESTOR";
896
+ ADMIN: "ADMIN";
897
+ }>;
898
+ isFollowing: z.ZodBoolean;
899
+ followsYou: z.ZodBoolean;
900
+ }, z.core.$strip>>;
846
901
  }, z.core.$strip>;
847
- export type GetUserWithPostBookmarksInput = z.infer<typeof GetUserWithPostBookmarksInputSchema>;
848
- export declare const GetUserWithProjectBookmarksOutputSchema: z.ZodObject<{
849
- bookmarks: z.ZodObject<{
850
- userId: z.ZodCUID2;
851
- projectBookmarks: z.ZodArray<z.ZodObject<{
852
- id: z.ZodCUID2;
853
- createdAt: z.ZodOptional<z.ZodCoercedDate<unknown>>;
854
- userId: z.ZodCUID2;
855
- parentId: z.ZodCUID2;
856
- parentType: z.ZodEnum<{
857
- readonly PROJECT: "PROJECT";
858
- readonly USER: "USER";
859
- readonly JOB: "JOB";
860
- readonly POST: "POST";
861
- readonly PRODUCT: "PRODUCT";
862
- readonly SIGNAL: "SIGNAL";
863
- readonly PRODUCT_COVER: "PRODUCT_COVER";
864
- readonly PRODUCT_DELIVERY: "PRODUCT_DELIVERY";
865
- readonly COMMENT: "COMMENT";
866
- readonly JOB_APPLICATION: "JOB_APPLICATION";
867
- }>;
868
- project: z.ZodObject<{
869
- id: z.ZodString;
870
- userId: z.ZodString;
871
- title: z.ZodString;
872
- imagePlaceholderUrl: z.ZodURL;
873
- projectCreatorType: z.ZodEnum<{
874
- readonly CREATIVE: "CREATIVE";
875
- readonly BRAND: "BRAND";
876
- readonly INVESTOR: "INVESTOR";
877
- readonly ADMIN: "ADMIN";
878
- }>;
879
- isOpenToInvestment: z.ZodBoolean;
880
- createdAt: z.ZodNumber;
881
- updatedAt: z.ZodNumber;
882
- description: z.ZodOptional<z.ZodString>;
883
- capitalLookingToRaise: z.ZodOptional<z.ZodNumber>;
884
- capitalLookingToRaiseCurrency: z.ZodOptional<z.ZodEnum<{
885
- readonly USD: "USD (United States Dollar)";
886
- readonly EUR: "EUR (Euro)";
887
- readonly GBP: "GBP (British Pound Sterling)";
888
- readonly NGN: "NGN (Nigerian Naira)";
889
- readonly CAD: "CAD (Canadian Dollar)";
890
- readonly AUD: "AUD (Australian Dollar)";
891
- readonly JPY: "JPY (Japanese Yen)";
892
- readonly CHF: "CHF (Swiss Franc)";
893
- readonly INR: "INR (Indian Rupee)";
894
- readonly ZAR: "ZAR (South African Rand)";
895
- }>>;
896
- ventureStage: z.ZodOptional<z.ZodEnum<{
897
- readonly IDEA: "Idea";
898
- readonly PRE_SEED: "Pre Seed";
899
- readonly MVP: "MVP";
900
- readonly SEED: "Seed";
901
- readonly SERIES_A: "Series A";
902
- readonly SERIES_B: "Series B";
903
- readonly SERIES_C: "Series C";
904
- readonly GROWTH: "Growth";
905
- readonly EXIT: "Exit";
906
- }>>;
907
- url: z.ZodOptional<z.ZodURL>;
908
- tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
909
- creatorUsername: z.ZodString;
910
- creatorImageUrl: z.ZodString;
911
- creatorName: z.ZodString;
912
- clientId: z.ZodOptional<z.ZodString>;
913
- clientType: z.ZodOptional<z.ZodEnum<{
914
- readonly CREATIVE: "CREATIVE";
915
- readonly BRAND: "BRAND";
916
- readonly NONE: "NONE";
917
- }>>;
918
- clientName: z.ZodOptional<z.ZodString>;
919
- isFeatured: z.ZodOptional<z.ZodBoolean>;
920
- startDate: z.ZodOptional<z.ZodNumber>;
921
- endDate: z.ZodOptional<z.ZodNumber>;
922
- files: z.ZodOptional<z.ZodArray<z.ZodObject<{
923
- id: z.ZodCUID2;
924
- key: z.ZodString;
925
- mimeType: z.ZodString;
926
- url: z.ZodURL;
927
- parentId: z.ZodNullable<z.ZodCUID2>;
928
- parentType: z.ZodNullable<z.ZodEnum<{
929
- readonly PROJECT: "PROJECT";
930
- readonly USER: "USER";
931
- readonly JOB: "JOB";
932
- readonly POST: "POST";
933
- readonly PRODUCT: "PRODUCT";
934
- readonly SIGNAL: "SIGNAL";
935
- readonly PRODUCT_COVER: "PRODUCT_COVER";
936
- readonly PRODUCT_DELIVERY: "PRODUCT_DELIVERY";
937
- readonly COMMENT: "COMMENT";
938
- readonly JOB_APPLICATION: "JOB_APPLICATION";
939
- }>>;
940
- isThumbnail: z.ZodNullable<z.ZodBoolean>;
941
- order: z.ZodNumber;
942
- createdAt: z.ZodCoercedDate<unknown>;
943
- updatedAt: z.ZodCoercedDate<unknown>;
944
- deletedAt: z.ZodNullable<z.ZodCoercedDate<unknown>>;
945
- }, z.core.$strip>>>;
946
- }, z.core.$strip>;
947
- }, z.core.$strip>>;
948
- }, z.core.$strip>;
949
- nextCursor: z.ZodNullable<z.ZodString>;
902
+ export type UserWithFollowersEntity = z.infer<typeof UserWithFollowersEntitySchema>;
903
+ /**
904
+ * --------------------------------
905
+ * SEARCH USERS
906
+ * --------------------------------
907
+ */
908
+ declare const CursorPaginationInput: z.ZodObject<{
909
+ cursor: z.ZodOptional<z.ZodString>;
910
+ limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
950
911
  }, z.core.$strip>;
951
- export type GetUserWithProjectBookmarksOutput = z.infer<typeof GetUserWithProjectBookmarksOutputSchema>;
952
- export declare const GetUserWithProductsOutputSchema: z.ZodObject<{
953
- products: z.ZodObject<{
954
- userId: z.ZodCUID2;
955
- products: z.ZodArray<z.ZodObject<{
956
- id: z.ZodCUID2;
957
- sellerId: z.ZodCUID2;
958
- sellerUsername: z.ZodString;
959
- sellerName: z.ZodString;
960
- sellerImageUrl: z.ZodNullable<z.ZodOptional<z.ZodURL>>;
961
- title: z.ZodString;
962
- description: z.ZodString;
963
- keyFeatures: z.ZodString;
964
- status: z.ZodDefault<z.ZodEnum<{
965
- readonly ACTIVE: "ACTIVE";
966
- readonly UNDER_REVIEW: "UNDER_REVIEW";
967
- readonly DRAFT: "DRAFT";
968
- readonly ARCHIVED: "ARCHIVED";
969
- readonly DELETED: "DELETED";
970
- }>>;
971
- category: z.ZodString;
972
- subcategory: z.ZodNullable<z.ZodOptional<z.ZodString>>;
973
- tags: z.ZodArray<z.ZodString>;
974
- files: z.ZodDefault<z.ZodArray<z.ZodObject<{
975
- id: z.ZodCUID2;
976
- key: z.ZodString;
977
- mimeType: z.ZodString;
978
- url: z.ZodURL;
979
- parentId: z.ZodNullable<z.ZodCUID2>;
980
- parentType: z.ZodNullable<z.ZodEnum<{
981
- readonly PROJECT: "PROJECT";
982
- readonly USER: "USER";
983
- readonly JOB: "JOB";
984
- readonly POST: "POST";
985
- readonly PRODUCT: "PRODUCT";
986
- readonly SIGNAL: "SIGNAL";
987
- readonly PRODUCT_COVER: "PRODUCT_COVER";
988
- readonly PRODUCT_DELIVERY: "PRODUCT_DELIVERY";
989
- readonly COMMENT: "COMMENT";
990
- readonly JOB_APPLICATION: "JOB_APPLICATION";
991
- }>>;
992
- isThumbnail: z.ZodNullable<z.ZodBoolean>;
993
- order: z.ZodNumber;
994
- createdAt: z.ZodCoercedDate<unknown>;
995
- updatedAt: z.ZodCoercedDate<unknown>;
996
- deletedAt: z.ZodNullable<z.ZodCoercedDate<unknown>>;
997
- }, z.core.$strip>>>;
998
- productLinks: z.ZodDefault<z.ZodArray<z.ZodObject<{
999
- title: z.ZodNullable<z.ZodString>;
1000
- url: z.ZodString;
1001
- }, z.core.$strip>>>;
1002
- pricingModel: z.ZodEnum<{
1003
- readonly FREE: "Free";
1004
- readonly FIXED: "Fixed";
1005
- readonly PWYW: "Pay What You Want";
1006
- }>;
1007
- currency: z.ZodEnum<{
1008
- readonly USD: "USD (United States Dollar)";
1009
- readonly EUR: "EUR (Euro)";
1010
- readonly GBP: "GBP (British Pound Sterling)";
1011
- readonly NGN: "NGN (Nigerian Naira)";
1012
- readonly CAD: "CAD (Canadian Dollar)";
1013
- readonly AUD: "AUD (Australian Dollar)";
1014
- readonly JPY: "JPY (Japanese Yen)";
1015
- readonly CHF: "CHF (Swiss Franc)";
1016
- readonly INR: "INR (Indian Rupee)";
1017
- readonly ZAR: "ZAR (South African Rand)";
1018
- }>;
1019
- price: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
1020
- suggestedPrice: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
1021
- discounts: z.ZodDefault<z.ZodArray<z.ZodObject<{
1022
- discountType: z.ZodEnum<{
1023
- readonly FIXED_AMOUNT: "Fixed Amount";
1024
- readonly PERCENTAGE: "Percentage";
1025
- }>;
1026
- amount: z.ZodNumber;
1027
- discountCode: z.ZodOptional<z.ZodString>;
1028
- active: z.ZodDefault<z.ZodBoolean>;
1029
- }, z.core.$strip>>>;
1030
- ownsRights: z.ZodBoolean;
1031
- noHarmfulContent: z.ZodBoolean;
1032
- providesSupport: z.ZodBoolean;
1033
- agreesToTerms: z.ZodBoolean;
1034
- supportEmail: z.ZodNullable<z.ZodOptional<z.ZodEmail>>;
1035
- supportPhone: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1036
- createdAt: z.ZodCoercedDate<unknown>;
1037
- updatedAt: z.ZodCoercedDate<unknown>;
1038
- deletedAt: z.ZodNullable<z.ZodOptional<z.ZodCoercedDate<unknown>>>;
1039
- }, z.core.$strip>>;
1040
- }, z.core.$strip>;
1041
- noOfProducts: z.ZodNullable<z.ZodInt>;
1042
- nextCursor: z.ZodNullable<z.ZodString>;
912
+ export type CursorPaginationInput = z.infer<typeof CursorPaginationInput>;
913
+ export declare const SearchUsersInputSchema: z.ZodObject<{
914
+ cursor: z.ZodOptional<z.ZodString>;
915
+ limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
916
+ query: z.ZodDefault<z.ZodString>;
917
+ roles: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodArray<z.ZodEnum<{
918
+ CREATIVE: "CREATIVE";
919
+ BRAND: "BRAND";
920
+ INVESTOR: "INVESTOR";
921
+ ADMIN: "ADMIN";
922
+ }>>>>;
923
+ disciplines: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodArray<z.ZodString>>>;
924
+ locations: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodArray<z.ZodString>>>;
1043
925
  }, z.core.$strip>;
1044
- export type UserWithProductsOutput = z.infer<typeof GetUserWithProductsOutputSchema>;
1045
- export declare const GetUserWithPostBookmarksOutputSchema: z.ZodObject<{
1046
- bookmarks: z.ZodArray<z.ZodObject<{
926
+ export type SearchUsersInput = z.infer<typeof SearchUsersInputSchema>;
927
+ export declare const SearchUsersOutputSchema: z.ZodObject<{
928
+ users: z.ZodArray<z.ZodObject<{
929
+ email: z.ZodEmail;
930
+ username: z.ZodDefault<z.ZodString>;
1047
931
  id: z.ZodCUID2;
1048
- createdAt: z.ZodOptional<z.ZodCoercedDate<unknown>>;
1049
- userId: z.ZodCUID2;
1050
- parentId: z.ZodCUID2;
1051
- parentType: z.ZodEnum<{
1052
- readonly PROJECT: "PROJECT";
1053
- readonly USER: "USER";
1054
- readonly JOB: "JOB";
1055
- readonly POST: "POST";
1056
- readonly PRODUCT: "PRODUCT";
1057
- readonly SIGNAL: "SIGNAL";
1058
- readonly PRODUCT_COVER: "PRODUCT_COVER";
1059
- readonly PRODUCT_DELIVERY: "PRODUCT_DELIVERY";
1060
- readonly COMMENT: "COMMENT";
1061
- readonly JOB_APPLICATION: "JOB_APPLICATION";
1062
- }>;
1063
- post: z.ZodObject<{
1064
- id: z.ZodCUID2;
1065
- parentId: z.ZodOptional<z.ZodCUID2>;
1066
- parentType: z.ZodDefault<z.ZodEnum<{
1067
- readonly PROJECT: "PROJECT";
1068
- readonly USER: "USER";
1069
- readonly JOB: "JOB";
1070
- readonly POST: "POST";
1071
- readonly PRODUCT: "PRODUCT";
1072
- readonly SIGNAL: "SIGNAL";
1073
- readonly PRODUCT_COVER: "PRODUCT_COVER";
1074
- readonly PRODUCT_DELIVERY: "PRODUCT_DELIVERY";
1075
- readonly COMMENT: "COMMENT";
1076
- readonly JOB_APPLICATION: "JOB_APPLICATION";
1077
- }>>;
1078
- tags: z.ZodOptional<z.ZodArray<z.ZodObject<{
1079
- name: z.ZodString;
1080
- id: z.ZodInt;
1081
- }, z.core.$strip>>>;
1082
- mentions: z.ZodOptional<z.ZodArray<z.ZodString>>;
1083
- badge: z.ZodOptional<z.ZodEnum<{
1084
- readonly NETWORKING: "Networking";
1085
- readonly FUNDING: "Funding";
1086
- readonly COLLABORATION: "Collaboration";
1087
- readonly OPPORTUNITIES: "Opportunities";
1088
- readonly SHOWCASE: "Showcase";
1089
- readonly LEARNING: "Learning";
1090
- readonly DISCUSSION: "Discussion";
1091
- readonly MENTORSHIP: "Mentorship";
1092
- }>>;
1093
- userId: z.ZodCUID2;
1094
- creatorUsername: z.ZodOptional<z.ZodString>;
1095
- creatorFullName: z.ZodOptional<z.ZodString>;
1096
- creatorImageUrl: z.ZodOptional<z.ZodCUID2>;
1097
- content: z.ZodOptional<z.ZodString>;
1098
- postType: z.ZodEnum<{
1099
- readonly MARKETPLACE: "MARKETPLACE";
1100
- readonly PROJECT: "PROJECT";
1101
- readonly JOB_OPENING: "JOB_OPENING";
1102
- readonly DEFAULT_POST: "DEFAULT_POST";
1103
- readonly POST_WITH_LINKS: "POST_WITH_LINKS";
1104
- readonly POST_WITH_MEDIA: "POST_WITH_MEDIA";
1105
- readonly POST_WITH_MEDIA_AND_LINKS: "POST_WITH_MEDIA_AND_LINKS";
1106
- }>;
1107
- createdAt: z.ZodOptional<z.ZodCoercedDate<unknown>>;
1108
- linkMeta: z.ZodOptional<z.ZodObject<{
1109
- url: z.ZodURL;
1110
- title: z.ZodOptional<z.ZodString>;
1111
- description: z.ZodOptional<z.ZodString>;
1112
- image: z.ZodOptional<z.ZodURL>;
1113
- }, z.core.$strip>>;
1114
- files: z.ZodOptional<z.ZodArray<z.ZodObject<{
1115
- id: z.ZodCUID2;
1116
- key: z.ZodString;
1117
- mimeType: z.ZodString;
1118
- url: z.ZodURL;
1119
- parentId: z.ZodNullable<z.ZodCUID2>;
1120
- parentType: z.ZodNullable<z.ZodEnum<{
1121
- readonly PROJECT: "PROJECT";
1122
- readonly USER: "USER";
1123
- readonly JOB: "JOB";
1124
- readonly POST: "POST";
1125
- readonly PRODUCT: "PRODUCT";
1126
- readonly SIGNAL: "SIGNAL";
1127
- readonly PRODUCT_COVER: "PRODUCT_COVER";
1128
- readonly PRODUCT_DELIVERY: "PRODUCT_DELIVERY";
1129
- readonly COMMENT: "COMMENT";
1130
- readonly JOB_APPLICATION: "JOB_APPLICATION";
1131
- }>>;
1132
- isThumbnail: z.ZodNullable<z.ZodBoolean>;
1133
- order: z.ZodNumber;
1134
- createdAt: z.ZodCoercedDate<unknown>;
1135
- updatedAt: z.ZodCoercedDate<unknown>;
1136
- deletedAt: z.ZodNullable<z.ZodCoercedDate<unknown>>;
1137
- }, z.core.$strip>>>;
1138
- stats: z.ZodObject<{
1139
- updatedAt: z.ZodOptional<z.ZodCoercedDate<unknown>>;
1140
- createdAt: z.ZodOptional<z.ZodCoercedDate<unknown>>;
1141
- parentId: z.ZodCUID2;
1142
- parentType: z.ZodEnum<{
1143
- readonly PROJECT: "PROJECT";
1144
- readonly USER: "USER";
1145
- readonly JOB: "JOB";
1146
- readonly POST: "POST";
1147
- readonly PRODUCT: "PRODUCT";
1148
- readonly SIGNAL: "SIGNAL";
1149
- readonly PRODUCT_COVER: "PRODUCT_COVER";
1150
- readonly PRODUCT_DELIVERY: "PRODUCT_DELIVERY";
1151
- readonly COMMENT: "COMMENT";
1152
- readonly JOB_APPLICATION: "JOB_APPLICATION";
1153
- }>;
1154
- likesCount: z.ZodNumber;
1155
- bookmarksCount: z.ZodNumber;
1156
- viewsCount: z.ZodNumber;
1157
- commentsCount: z.ZodNumber;
1158
- }, z.core.$strip>;
1159
- score: z.ZodNumber;
1160
- isLiked: z.ZodOptional<z.ZodBoolean>;
1161
- isFollowing: z.ZodOptional<z.ZodBoolean>;
1162
- isBookmarked: z.ZodOptional<z.ZodBoolean>;
1163
- }, z.core.$strip>;
1164
- }, z.core.$strip>>;
1165
- nextCursor: z.ZodNullable<z.ZodString>;
1166
- }, z.core.$strip>;
1167
- export type GetUserWithPostBookmarksOutput = z.infer<typeof GetUserWithPostBookmarksOutputSchema>;
1168
- export declare const UserWithFollowingEntitySchema: z.ZodObject<{
1169
- email: z.ZodEmail;
1170
- username: z.ZodOptional<z.ZodString>;
1171
- id: z.ZodCUID2;
1172
- name: z.ZodOptional<z.ZodString>;
1173
- image: z.ZodOptional<z.ZodString>;
1174
- role: z.ZodEnum<{
1175
- CREATIVE: "CREATIVE";
1176
- BRAND: "BRAND";
1177
- INVESTOR: "INVESTOR";
1178
- ADMIN: "ADMIN";
1179
- }>;
1180
- following: z.ZodArray<z.ZodObject<{
1181
- email: z.ZodEmail;
1182
- username: z.ZodOptional<z.ZodString>;
1183
- id: z.ZodCUID2;
1184
- name: z.ZodOptional<z.ZodString>;
1185
- image: z.ZodOptional<z.ZodString>;
1186
- role: z.ZodEnum<{
1187
- CREATIVE: "CREATIVE";
1188
- BRAND: "BRAND";
1189
- INVESTOR: "INVESTOR";
1190
- ADMIN: "ADMIN";
1191
- }>;
1192
- isFollowing: z.ZodOptional<z.ZodBoolean>;
1193
- followsYou: z.ZodOptional<z.ZodBoolean>;
1194
- }, z.core.$strip>>;
1195
- }, z.core.$strip>;
1196
- export type UserWithFollowingEntity = z.infer<typeof UserWithFollowingEntitySchema>;
1197
- export declare const UserWithFollowersEntitySchema: z.ZodObject<{
1198
- email: z.ZodEmail;
1199
- username: z.ZodOptional<z.ZodString>;
1200
- id: z.ZodCUID2;
1201
- name: z.ZodOptional<z.ZodString>;
1202
- image: z.ZodOptional<z.ZodString>;
1203
- role: z.ZodEnum<{
1204
- CREATIVE: "CREATIVE";
1205
- BRAND: "BRAND";
1206
- INVESTOR: "INVESTOR";
1207
- ADMIN: "ADMIN";
1208
- }>;
1209
- followers: z.ZodArray<z.ZodObject<{
1210
- email: z.ZodEmail;
1211
- username: z.ZodOptional<z.ZodString>;
1212
- id: z.ZodCUID2;
1213
- name: z.ZodOptional<z.ZodString>;
1214
- image: z.ZodOptional<z.ZodString>;
1215
- role: z.ZodEnum<{
1216
- CREATIVE: "CREATIVE";
1217
- BRAND: "BRAND";
1218
- INVESTOR: "INVESTOR";
1219
- ADMIN: "ADMIN";
1220
- }>;
1221
- isFollowing: z.ZodOptional<z.ZodBoolean>;
1222
- followsYou: z.ZodOptional<z.ZodBoolean>;
1223
- }, z.core.$strip>>;
1224
- }, z.core.$strip>;
1225
- export type UserWithFollowersEntity = z.infer<typeof UserWithFollowersEntitySchema>;
1226
- export declare const GetUserFollowingInputSchema: z.ZodObject<{
1227
- searchQuery: z.ZodOptional<z.ZodString>;
1228
- offset: z.ZodOptional<z.ZodNumber>;
1229
- }, z.core.$strip>;
1230
- export type GetUserFollowingInput = z.infer<typeof GetUserFollowingInputSchema>;
1231
- export declare const GetUserFollowersInputSchema: z.ZodObject<{
1232
- searchQuery: z.ZodOptional<z.ZodString>;
1233
- offset: z.ZodOptional<z.ZodNumber>;
1234
- }, z.core.$strip>;
1235
- export type GetUserFollowersInput = z.infer<typeof GetUserFollowersInputSchema>;
1236
- export declare const GetUserFollowingOutputSchema: z.ZodObject<{
1237
- nextCursor: z.ZodString;
1238
- following: z.ZodArray<z.ZodObject<{
1239
- email: z.ZodEmail;
1240
- username: z.ZodOptional<z.ZodString>;
1241
- id: z.ZodCUID2;
1242
- name: z.ZodOptional<z.ZodString>;
1243
- image: z.ZodOptional<z.ZodString>;
1244
- role: z.ZodEnum<{
1245
- CREATIVE: "CREATIVE";
1246
- BRAND: "BRAND";
1247
- INVESTOR: "INVESTOR";
1248
- ADMIN: "ADMIN";
1249
- }>;
1250
- isFollowing: z.ZodOptional<z.ZodBoolean>;
1251
- followsYou: z.ZodOptional<z.ZodBoolean>;
1252
- }, z.core.$strip>>;
1253
- }, z.core.$strip>;
1254
- export type GetUserFollowingOutput = z.infer<typeof GetUserFollowingOutputSchema>;
1255
- export declare const GetUserFollowersOutputSchema: z.ZodObject<{
1256
- nextCursor: z.ZodString;
1257
- followers: z.ZodArray<z.ZodObject<{
1258
- email: z.ZodEmail;
1259
- username: z.ZodOptional<z.ZodString>;
1260
- id: z.ZodCUID2;
1261
- name: z.ZodOptional<z.ZodString>;
1262
- image: z.ZodOptional<z.ZodString>;
1263
- role: z.ZodEnum<{
1264
- CREATIVE: "CREATIVE";
1265
- BRAND: "BRAND";
1266
- INVESTOR: "INVESTOR";
1267
- ADMIN: "ADMIN";
1268
- }>;
1269
- isFollowing: z.ZodOptional<z.ZodBoolean>;
1270
- followsYou: z.ZodOptional<z.ZodBoolean>;
1271
- }, z.core.$strip>>;
1272
- }, z.core.$strip>;
1273
- export type GetUserFollowersOutput = z.infer<typeof GetUserFollowersOutputSchema>;
1274
- export declare const GetAuthenticatedUserOutputSchema: z.ZodObject<{
1275
- id: z.ZodCUID2;
1276
- email: z.ZodEmail;
1277
- emailVerified: z.ZodBoolean;
1278
- name: z.ZodOptional<z.ZodString>;
1279
- image: z.ZodOptional<z.ZodString>;
1280
- username: z.ZodOptional<z.ZodString>;
1281
- displayUsername: z.ZodOptional<z.ZodString>;
1282
- role: z.ZodEnum<{
1283
- CREATIVE: "CREATIVE";
1284
- BRAND: "BRAND";
1285
- INVESTOR: "INVESTOR";
1286
- ADMIN: "ADMIN";
1287
- }>;
1288
- status: z.ZodEnum<{
1289
- ACTIVE: "ACTIVE";
1290
- SUSPENDED: "SUSPENDED";
1291
- DELETED: "DELETED";
1292
- }>;
1293
- onboardingPage: z.ZodEnum<{
1294
- EMAIL_VERIFICATION: "EMAIL_VERIFICATION";
1295
- USERNAME_SELECTION: "USERNAME_SELECTION";
1296
- ACCOUNT_TYPE_SELECTION: "ACCOUNT_TYPE_SELECTION";
1297
- CREATIVE_PROFILE_DETAILS: "CREATIVE_PROFILE_DETAILS";
1298
- BRAND_PROFILE_DETAILS: "BRAND_PROFILE_DETAILS";
1299
- INVESTOR_PROFILE_DETAILS: "INVESTOR_PROFILE_DETAILS";
1300
- INVESTOR_INVESTMENT_FOCUS: "INVESTOR_INVESTMENT_FOCUS";
1301
- INVESTOR_VERIFICATION: "INVESTOR_VERIFICATION";
1302
- DONE: "DONE";
1303
- }>;
1304
- createdAt: z.ZodCoercedDate<unknown>;
1305
- version: z.ZodInt;
1306
- updatedAt: z.ZodCoercedDate<unknown>;
1307
- }, z.core.$strip>;
1308
- export type GetAuthenticatedUserOutput = z.infer<typeof GetAuthenticatedUserOutputSchema>;
1309
- export declare const GetAuthenticatedUserProfileOutputSchema: z.ZodObject<{
1310
- id: z.ZodCUID2;
1311
- email: z.ZodEmail;
1312
- emailVerified: z.ZodBoolean;
1313
- name: z.ZodOptional<z.ZodString>;
1314
- image: z.ZodOptional<z.ZodString>;
1315
- username: z.ZodOptional<z.ZodString>;
1316
- displayUsername: z.ZodOptional<z.ZodString>;
1317
- role: z.ZodEnum<{
1318
- CREATIVE: "CREATIVE";
1319
- BRAND: "BRAND";
1320
- INVESTOR: "INVESTOR";
1321
- ADMIN: "ADMIN";
1322
- }>;
1323
- status: z.ZodEnum<{
1324
- ACTIVE: "ACTIVE";
1325
- SUSPENDED: "SUSPENDED";
1326
- DELETED: "DELETED";
1327
- }>;
1328
- onboardingPage: z.ZodEnum<{
1329
- EMAIL_VERIFICATION: "EMAIL_VERIFICATION";
1330
- USERNAME_SELECTION: "USERNAME_SELECTION";
1331
- ACCOUNT_TYPE_SELECTION: "ACCOUNT_TYPE_SELECTION";
1332
- CREATIVE_PROFILE_DETAILS: "CREATIVE_PROFILE_DETAILS";
1333
- BRAND_PROFILE_DETAILS: "BRAND_PROFILE_DETAILS";
1334
- INVESTOR_PROFILE_DETAILS: "INVESTOR_PROFILE_DETAILS";
1335
- INVESTOR_INVESTMENT_FOCUS: "INVESTOR_INVESTMENT_FOCUS";
1336
- INVESTOR_VERIFICATION: "INVESTOR_VERIFICATION";
1337
- DONE: "DONE";
1338
- }>;
1339
- createdAt: z.ZodCoercedDate<unknown>;
1340
- version: z.ZodInt;
1341
- updatedAt: z.ZodCoercedDate<unknown>;
1342
- profileType: z.ZodOptional<z.ZodEnum<{
1343
- creative: "creative";
1344
- brand: "brand";
1345
- investor: "investor";
1346
- }>>;
1347
- brand: z.ZodObject<{
1348
- id: z.ZodCUID2;
1349
- userId: z.ZodCUID2;
1350
- brandName: z.ZodString;
1351
- bio: z.ZodOptional<z.ZodString>;
1352
- location: z.ZodString;
1353
- disciplines: z.ZodOptional<z.ZodArray<z.ZodString>>;
1354
- links: z.ZodOptional<z.ZodArray<z.ZodObject<{
1355
- url: z.ZodURL;
1356
- type: z.ZodDefault<z.ZodEnum<{
1357
- readonly INSTAGRAM: "Instagram";
1358
- readonly LINKEDIN: "LinkedIn";
1359
- readonly TWITTER: "Twitter";
1360
- readonly YOUTUBE: "Youtube";
1361
- readonly PORTFOLIO: "Portfolio Website";
1362
- readonly GENERIC_WEBSITE: "Generic Website";
1363
- }>>;
1364
- }, z.core.$strip>>>;
1365
- achievements: z.ZodOptional<z.ZodArray<z.ZodObject<{
1366
- title: z.ZodString;
1367
- link: z.ZodOptional<z.ZodURL>;
1368
- year: z.ZodOptional<z.ZodNumber>;
1369
- }, z.core.$strip>>>;
1370
- createdAt: z.ZodCoercedDate<unknown>;
1371
- updatedAt: z.ZodCoercedDate<unknown>;
1372
- version: z.ZodInt;
1373
- }, z.core.$strip>;
1374
- creative: z.ZodObject<{
1375
- id: z.ZodCUID2;
1376
- userId: z.ZodCUID2;
1377
- bio: z.ZodOptional<z.ZodString>;
1378
- role: z.ZodOptional<z.ZodString>;
1379
- version: z.ZodInt;
1380
- location: z.ZodOptional<z.ZodString>;
1381
- experienceLevel: z.ZodOptional<z.ZodEnum<{
1382
- "0-1 year": "0-1 year";
1383
- "1-3 years": "1-3 years";
1384
- "3-5 years": "3-5 years";
1385
- "5+ years": "5+ years";
1386
- }>>;
1387
- disciplines: z.ZodOptional<z.ZodArray<z.ZodString>>;
1388
- workExperience: z.ZodOptional<z.ZodArray<z.ZodObject<{
1389
- companyName: z.ZodString;
1390
- position: z.ZodString;
1391
- startDate: z.ZodOptional<z.ZodCoercedDate<unknown>>;
1392
- endDate: z.ZodOptional<z.ZodCoercedDate<unknown>>;
1393
- currentlyWorking: z.ZodOptional<z.ZodBoolean>;
1394
- description: z.ZodString;
1395
- }, z.core.$strip>>>;
1396
- links: z.ZodOptional<z.ZodArray<z.ZodObject<{
1397
- url: z.ZodUnion<readonly [z.ZodURL, z.ZodLiteral<"">]>;
1398
- type: z.ZodEnum<{
1399
- readonly INSTAGRAM: "Instagram";
1400
- readonly LINKEDIN: "LinkedIn";
1401
- readonly TWITTER: "Twitter";
1402
- readonly YOUTUBE: "Youtube";
1403
- readonly PORTFOLIO: "Portfolio Website";
1404
- readonly GENERIC_WEBSITE: "Generic Website";
1405
- }>;
1406
- }, z.core.$strip>>>;
1407
- achievements: z.ZodOptional<z.ZodArray<z.ZodObject<{
1408
- title: z.ZodString;
1409
- link: z.ZodOptional<z.ZodString>;
1410
- year: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
1411
- }, z.core.$strip>>>;
1412
- createdAt: z.ZodOptional<z.ZodCoercedDate<unknown>>;
1413
- updatedAt: z.ZodCoercedDate<unknown>;
1414
- }, z.core.$strip>;
1415
- investor: z.ZodObject<{
1416
- id: z.ZodCUID2;
1417
- userId: z.ZodCUID2;
1418
- bio: z.ZodOptional<z.ZodString>;
1419
- location: z.ZodOptional<z.ZodString>;
1420
- experienceLevel: z.ZodOptional<z.ZodEnum<{
1421
- "0-1 year": "0-1 year";
1422
- "1-3 years": "1-3 years";
1423
- "3-5 years": "3-5 years";
1424
- "5+ years": "5+ years";
1425
- }>>;
1426
- geographicFocus: z.ZodOptional<z.ZodEnum<{
1427
- Africa: "Africa";
1428
- Asia: "Asia";
1429
- Europe: "Europe";
1430
- "North America": "North America";
1431
- "South America": "South America";
1432
- "Middle East": "Middle East";
1433
- Oceania: "Oceania";
1434
- "United Kingdom (UK)": "United Kingdom (UK)";
1435
- "United States (US)": "United States (US)";
1436
- Global: "Global";
1437
- Other: "Other";
1438
- }>>;
1439
- investmentSize: z.ZodOptional<z.ZodEnum<{
1440
- "Under 5k USD": "Under 5k USD";
1441
- "5k - 25k USD": "5k - 25k USD";
1442
- "25k - 100k USD": "25k - 100k USD";
1443
- "100k - 500k USD": "100k - 500k USD";
1444
- "500k - 1M USD": "500k - 1M USD";
1445
- "1M+ USD": "1M+ USD";
1446
- }>>;
1447
- investorType: z.ZodOptional<z.ZodEnum<{
1448
- "Angel Investor": "Angel Investor";
1449
- "Venture Capitalist": "Venture Capitalist";
1450
- "Private Equity Firm": "Private Equity Firm";
1451
- "Venture Debt Provider": "Venture Debt Provider";
1452
- Bank: "Bank";
1453
- "Convertible Note Investor": "Convertible Note Investor";
1454
- "Revenue Based Financing Investor": "Revenue Based Financing Investor";
1455
- "Corporate Venture Capitalist": "Corporate Venture Capitalist";
1456
- Government: "Government";
1457
- "Social Impact Investor": "Social Impact Investor";
1458
- }>>;
1459
- websiteURL: z.ZodOptional<z.ZodURL>;
1460
- links: z.ZodOptional<z.ZodArray<z.ZodObject<{
1461
- url: z.ZodUnion<readonly [z.ZodURL, z.ZodLiteral<"">]>;
1462
- type: z.ZodEnum<{
1463
- readonly INSTAGRAM: "Instagram";
1464
- readonly LINKEDIN: "LinkedIn";
1465
- readonly TWITTER: "Twitter";
1466
- readonly YOUTUBE: "Youtube";
1467
- readonly PORTFOLIO: "Portfolio Website";
1468
- readonly GENERIC_WEBSITE: "Generic Website";
1469
- }>;
1470
- }, z.core.$strip>>>;
1471
- achievements: z.ZodOptional<z.ZodArray<z.ZodObject<{
1472
- title: z.ZodString;
1473
- link: z.ZodOptional<z.ZodString>;
1474
- year: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
1475
- }, z.core.$strip>>>;
1476
- disciplines: z.ZodOptional<z.ZodArray<z.ZodString>>;
1477
- createdAt: z.ZodOptional<z.ZodCoercedDate<unknown>>;
1478
- updatedAt: z.ZodOptional<z.ZodCoercedDate<unknown>>;
1479
- version: z.ZodInt;
1480
- }, z.core.$strip>;
1481
- }, z.core.$strip>;
1482
- export type GetAuthenticatedUserProfileOutput = z.infer<typeof GetAuthenticatedUserProfileOutputSchema>;
1483
- export declare const GetAuthenticatedUserWithProjectsOutputSchema: z.ZodObject<{
1484
- userId: z.ZodCUID2;
1485
- projects: z.ZodArray<z.ZodObject<{
1486
- description: z.ZodOptional<z.ZodString>;
1487
- title: z.ZodString;
1488
- id: z.ZodCUID2;
1489
- createdAt: z.ZodCoercedDate<unknown>;
1490
- userId: z.ZodCUID2;
1491
- updatedAt: z.ZodCoercedDate<unknown>;
1492
- url: z.ZodOptional<z.ZodURL>;
1493
- status: z.ZodEnum<{
1494
- readonly ACTIVE: "ACTIVE";
1495
- readonly DRAFT: "DRAFT";
1496
- readonly ARCHIVED: "ARCHIVED";
1497
- }>;
1498
- imagePlaceholderUrl: z.ZodURL;
1499
- tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
1500
- projectCreatorType: z.ZodEnum<{
1501
- readonly CREATIVE: "CREATIVE";
1502
- readonly BRAND: "BRAND";
1503
- readonly INVESTOR: "INVESTOR";
1504
- readonly ADMIN: "ADMIN";
1505
- }>;
1506
- clientId: z.ZodOptional<z.ZodCUID2>;
1507
- clientType: z.ZodOptional<z.ZodEnum<{
1508
- readonly CREATIVE: "CREATIVE";
1509
- readonly BRAND: "BRAND";
1510
- readonly NONE: "NONE";
1511
- }>>;
1512
- clientName: z.ZodOptional<z.ZodString>;
1513
- isFeatured: z.ZodOptional<z.ZodBoolean>;
1514
- problemBeingSolved: z.ZodOptional<z.ZodString>;
1515
- whoItsFor: z.ZodOptional<z.ZodString>;
1516
- ventureStage: z.ZodOptional<z.ZodEnum<{
1517
- readonly IDEA: "Idea";
1518
- readonly PRE_SEED: "Pre Seed";
1519
- readonly MVP: "MVP";
1520
- readonly SEED: "Seed";
1521
- readonly SERIES_A: "Series A";
1522
- readonly SERIES_B: "Series B";
1523
- readonly SERIES_C: "Series C";
1524
- readonly GROWTH: "Growth";
1525
- readonly EXIT: "Exit";
1526
- }>>;
1527
- capitalLookingToRaise: z.ZodNumber;
1528
- capitalLookingToRaiseCurrency: z.ZodOptional<z.ZodEnum<{
1529
- readonly USD: "USD (United States Dollar)";
1530
- readonly EUR: "EUR (Euro)";
1531
- readonly GBP: "GBP (British Pound Sterling)";
1532
- readonly NGN: "NGN (Nigerian Naira)";
1533
- readonly CAD: "CAD (Canadian Dollar)";
1534
- readonly AUD: "AUD (Australian Dollar)";
1535
- readonly JPY: "JPY (Japanese Yen)";
1536
- readonly CHF: "CHF (Swiss Franc)";
1537
- readonly INR: "INR (Indian Rupee)";
1538
- readonly ZAR: "ZAR (South African Rand)";
1539
- }>>;
1540
- currentTraction: z.ZodString;
1541
- isOpenToInvestment: z.ZodDefault<z.ZodBoolean>;
1542
- startDate: z.ZodOptional<z.ZodCoercedDate<unknown>>;
1543
- endDate: z.ZodOptional<z.ZodCoercedDate<unknown>>;
1544
- version: z.ZodNumber;
1545
- }, z.core.$strip>>;
1546
- }, z.core.$strip>;
1547
- export type GetAuthenticatedUserWithProjectsOutput = z.infer<typeof GetAuthenticatedUserWithProjectsOutputSchema>;
1548
- export declare const GetAuthenticatedUserWithProjectBookmarksOutputSchema: z.ZodObject<{
1549
- userId: z.ZodCUID2;
1550
- projectBookmarks: z.ZodArray<z.ZodObject<{
1551
- id: z.ZodCUID2;
1552
- createdAt: z.ZodOptional<z.ZodCoercedDate<unknown>>;
1553
- userId: z.ZodCUID2;
1554
- parentId: z.ZodCUID2;
1555
- parentType: z.ZodEnum<{
1556
- readonly PROJECT: "PROJECT";
1557
- readonly USER: "USER";
1558
- readonly JOB: "JOB";
1559
- readonly POST: "POST";
1560
- readonly PRODUCT: "PRODUCT";
1561
- readonly SIGNAL: "SIGNAL";
1562
- readonly PRODUCT_COVER: "PRODUCT_COVER";
1563
- readonly PRODUCT_DELIVERY: "PRODUCT_DELIVERY";
1564
- readonly COMMENT: "COMMENT";
1565
- readonly JOB_APPLICATION: "JOB_APPLICATION";
1566
- }>;
1567
- project: z.ZodObject<{
1568
- id: z.ZodString;
1569
- userId: z.ZodString;
1570
- title: z.ZodString;
1571
- imagePlaceholderUrl: z.ZodURL;
1572
- projectCreatorType: z.ZodEnum<{
1573
- readonly CREATIVE: "CREATIVE";
1574
- readonly BRAND: "BRAND";
1575
- readonly INVESTOR: "INVESTOR";
1576
- readonly ADMIN: "ADMIN";
1577
- }>;
1578
- isOpenToInvestment: z.ZodBoolean;
1579
- createdAt: z.ZodNumber;
1580
- updatedAt: z.ZodNumber;
1581
- description: z.ZodOptional<z.ZodString>;
1582
- capitalLookingToRaise: z.ZodOptional<z.ZodNumber>;
1583
- capitalLookingToRaiseCurrency: z.ZodOptional<z.ZodEnum<{
1584
- readonly USD: "USD (United States Dollar)";
1585
- readonly EUR: "EUR (Euro)";
1586
- readonly GBP: "GBP (British Pound Sterling)";
1587
- readonly NGN: "NGN (Nigerian Naira)";
1588
- readonly CAD: "CAD (Canadian Dollar)";
1589
- readonly AUD: "AUD (Australian Dollar)";
1590
- readonly JPY: "JPY (Japanese Yen)";
1591
- readonly CHF: "CHF (Swiss Franc)";
1592
- readonly INR: "INR (Indian Rupee)";
1593
- readonly ZAR: "ZAR (South African Rand)";
1594
- }>>;
1595
- ventureStage: z.ZodOptional<z.ZodEnum<{
1596
- readonly IDEA: "Idea";
1597
- readonly PRE_SEED: "Pre Seed";
1598
- readonly MVP: "MVP";
1599
- readonly SEED: "Seed";
1600
- readonly SERIES_A: "Series A";
1601
- readonly SERIES_B: "Series B";
1602
- readonly SERIES_C: "Series C";
1603
- readonly GROWTH: "Growth";
1604
- readonly EXIT: "Exit";
1605
- }>>;
1606
- url: z.ZodOptional<z.ZodURL>;
1607
- tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
1608
- creatorUsername: z.ZodString;
1609
- creatorImageUrl: z.ZodString;
1610
- creatorName: z.ZodString;
1611
- clientId: z.ZodOptional<z.ZodString>;
1612
- clientType: z.ZodOptional<z.ZodEnum<{
1613
- readonly CREATIVE: "CREATIVE";
1614
- readonly BRAND: "BRAND";
1615
- readonly NONE: "NONE";
1616
- }>>;
1617
- clientName: z.ZodOptional<z.ZodString>;
1618
- isFeatured: z.ZodOptional<z.ZodBoolean>;
1619
- startDate: z.ZodOptional<z.ZodNumber>;
1620
- endDate: z.ZodOptional<z.ZodNumber>;
1621
- files: z.ZodOptional<z.ZodArray<z.ZodObject<{
1622
- id: z.ZodCUID2;
1623
- key: z.ZodString;
1624
- mimeType: z.ZodString;
1625
- url: z.ZodURL;
1626
- parentId: z.ZodNullable<z.ZodCUID2>;
1627
- parentType: z.ZodNullable<z.ZodEnum<{
1628
- readonly PROJECT: "PROJECT";
1629
- readonly USER: "USER";
1630
- readonly JOB: "JOB";
1631
- readonly POST: "POST";
1632
- readonly PRODUCT: "PRODUCT";
1633
- readonly SIGNAL: "SIGNAL";
1634
- readonly PRODUCT_COVER: "PRODUCT_COVER";
1635
- readonly PRODUCT_DELIVERY: "PRODUCT_DELIVERY";
1636
- readonly COMMENT: "COMMENT";
1637
- readonly JOB_APPLICATION: "JOB_APPLICATION";
1638
- }>>;
1639
- isThumbnail: z.ZodNullable<z.ZodBoolean>;
1640
- order: z.ZodNumber;
1641
- createdAt: z.ZodCoercedDate<unknown>;
1642
- updatedAt: z.ZodCoercedDate<unknown>;
1643
- deletedAt: z.ZodNullable<z.ZodCoercedDate<unknown>>;
1644
- }, z.core.$strip>>>;
1645
- }, z.core.$strip>;
1646
- }, z.core.$strip>>;
1647
- }, z.core.$strip>;
1648
- export type GetAuthenticatedUserWithProjectBookmarksOutput = z.infer<typeof GetAuthenticatedUserWithProjectBookmarksOutputSchema>;
1649
- export declare const GetAuthenticatedUserWithProjectLikesOutputSchema: z.ZodObject<{
1650
- userId: z.ZodCUID2;
1651
- projectLikes: z.ZodArray<z.ZodObject<{
1652
- id: z.ZodCUID2;
1653
- createdAt: z.ZodOptional<z.ZodCoercedDate<unknown>>;
1654
- userId: z.ZodCUID2;
1655
- parentId: z.ZodCUID2;
1656
- parentType: z.ZodEnum<{
1657
- readonly PROJECT: "PROJECT";
1658
- readonly USER: "USER";
1659
- readonly JOB: "JOB";
1660
- readonly POST: "POST";
1661
- readonly PRODUCT: "PRODUCT";
1662
- readonly SIGNAL: "SIGNAL";
1663
- readonly PRODUCT_COVER: "PRODUCT_COVER";
1664
- readonly PRODUCT_DELIVERY: "PRODUCT_DELIVERY";
1665
- readonly COMMENT: "COMMENT";
1666
- readonly JOB_APPLICATION: "JOB_APPLICATION";
1667
- }>;
1668
- project: z.ZodObject<{
1669
- description: z.ZodOptional<z.ZodString>;
1670
- title: z.ZodString;
1671
- id: z.ZodCUID2;
1672
- imagePlaceholderUrl: z.ZodURL;
1673
- tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
1674
- startDate: z.ZodOptional<z.ZodCoercedDate<unknown>>;
1675
- endDate: z.ZodOptional<z.ZodCoercedDate<unknown>>;
1676
- }, z.core.$strip>;
1677
- }, z.core.$strip>>;
1678
- }, z.core.$strip>;
1679
- export type GetAuthenticatedUserWithProjectLikesOutput = z.infer<typeof GetAuthenticatedUserWithProjectLikesOutputSchema>;
1680
- export declare const GetAuthenticatedUserWithUserFollowingOutputSchema: z.ZodObject<{
1681
- email: z.ZodEmail;
1682
- username: z.ZodOptional<z.ZodString>;
1683
- id: z.ZodCUID2;
1684
- name: z.ZodOptional<z.ZodString>;
1685
- image: z.ZodOptional<z.ZodString>;
1686
- role: z.ZodEnum<{
1687
- CREATIVE: "CREATIVE";
1688
- BRAND: "BRAND";
1689
- INVESTOR: "INVESTOR";
1690
- ADMIN: "ADMIN";
1691
- }>;
1692
- following: z.ZodArray<z.ZodObject<{
1693
- email: z.ZodEmail;
1694
- username: z.ZodOptional<z.ZodString>;
1695
- id: z.ZodCUID2;
1696
- name: z.ZodOptional<z.ZodString>;
1697
- image: z.ZodOptional<z.ZodString>;
1698
- role: z.ZodEnum<{
1699
- CREATIVE: "CREATIVE";
1700
- BRAND: "BRAND";
1701
- INVESTOR: "INVESTOR";
1702
- ADMIN: "ADMIN";
1703
- }>;
1704
- isFollowing: z.ZodOptional<z.ZodBoolean>;
1705
- followsYou: z.ZodOptional<z.ZodBoolean>;
1706
- }, z.core.$strip>>;
1707
- }, z.core.$strip>;
1708
- export type GetAuthenticatedUserWithUserFollowingOutput = z.infer<typeof GetAuthenticatedUserWithUserFollowingOutputSchema>;
1709
- export declare const GetAuthenticatedUserWithUserFollowersOutputSchema: z.ZodObject<{
1710
- email: z.ZodEmail;
1711
- username: z.ZodOptional<z.ZodString>;
1712
- id: z.ZodCUID2;
1713
- name: z.ZodOptional<z.ZodString>;
1714
- image: z.ZodOptional<z.ZodString>;
1715
- role: z.ZodEnum<{
1716
- CREATIVE: "CREATIVE";
1717
- BRAND: "BRAND";
1718
- INVESTOR: "INVESTOR";
1719
- ADMIN: "ADMIN";
1720
- }>;
1721
- followers: z.ZodArray<z.ZodObject<{
1722
- email: z.ZodEmail;
1723
- username: z.ZodOptional<z.ZodString>;
1724
- id: z.ZodCUID2;
1725
- name: z.ZodOptional<z.ZodString>;
1726
- image: z.ZodOptional<z.ZodString>;
932
+ name: z.ZodDefault<z.ZodString>;
933
+ image: z.ZodDefault<z.ZodString>;
1727
934
  role: z.ZodEnum<{
1728
935
  CREATIVE: "CREATIVE";
1729
936
  BRAND: "BRAND";
1730
937
  INVESTOR: "INVESTOR";
1731
938
  ADMIN: "ADMIN";
1732
939
  }>;
1733
- isFollowing: z.ZodOptional<z.ZodBoolean>;
1734
- followsYou: z.ZodOptional<z.ZodBoolean>;
940
+ isFollowing: z.ZodBoolean;
941
+ followsYou: z.ZodBoolean;
942
+ noOfFollowers: z.ZodNumber;
943
+ disciplines: z.ZodArray<z.ZodString>;
1735
944
  }, z.core.$strip>>;
945
+ nextCursor: z.ZodOptional<z.ZodString>;
1736
946
  }, z.core.$strip>;
1737
- export type GetAuthenticatedUserWithUserFollowersOutput = z.infer<typeof GetAuthenticatedUserWithUserFollowersOutputSchema>;
947
+ export type SearchUsersOutput = z.infer<typeof SearchUsersOutputSchema>;
948
+ /**
949
+ * --------------------------------
950
+ * ACTIVITY
951
+ * --------------------------------
952
+ */
1738
953
  export declare const GetUserActivityInputSchema: z.ZodObject<{
1739
954
  activityType: z.ZodEnum<{
1740
955
  LIKE: "LIKE";
@@ -1761,41 +976,11 @@ export declare const GetUserActivityOutputSchema: z.ZodArray<z.ZodObject<{
1761
976
  }>;
1762
977
  }, z.core.$strip>>;
1763
978
  export type GetUserActivityOutput = z.infer<typeof GetUserActivityOutputSchema>;
1764
- export declare const SearchUsersInputSchema: z.ZodObject<{
1765
- query: z.ZodDefault<z.ZodString>;
1766
- roles: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodArray<z.ZodEnum<{
1767
- CREATIVE: "CREATIVE";
1768
- BRAND: "BRAND";
1769
- INVESTOR: "INVESTOR";
1770
- ADMIN: "ADMIN";
1771
- }>>>>;
1772
- disciplines: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodArray<z.ZodString>>>;
1773
- locations: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodArray<z.ZodString>>>;
1774
- limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
1775
- cursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1776
- }, z.core.$strip>;
1777
- export type SearchUsersInput = z.infer<typeof SearchUsersInputSchema>;
1778
- export declare const SearchUsersOutputSchema: z.ZodObject<{
1779
- users: z.ZodArray<z.ZodObject<{
1780
- email: z.ZodEmail;
1781
- username: z.ZodOptional<z.ZodString>;
1782
- id: z.ZodCUID2;
1783
- name: z.ZodOptional<z.ZodString>;
1784
- image: z.ZodOptional<z.ZodString>;
1785
- role: z.ZodEnum<{
1786
- CREATIVE: "CREATIVE";
1787
- BRAND: "BRAND";
1788
- INVESTOR: "INVESTOR";
1789
- ADMIN: "ADMIN";
1790
- }>;
1791
- isFollowing: z.ZodOptional<z.ZodBoolean>;
1792
- followsYou: z.ZodOptional<z.ZodBoolean>;
1793
- noOfFollowers: z.ZodOptional<z.ZodNumber>;
1794
- disciplines: z.ZodOptional<z.ZodArray<z.ZodString>>;
1795
- }, z.core.$strip>>;
1796
- nextCursor: z.ZodOptional<z.ZodString>;
1797
- }, z.core.$strip>;
1798
- export type SearchUsersOutput = z.infer<typeof SearchUsersOutputSchema>;
979
+ /**
980
+ * --------------------------------
981
+ * SEARCH DOCUMENT
982
+ * --------------------------------
983
+ */
1799
984
  export declare const UserSearchDocumentSchema: z.ZodObject<{
1800
985
  id: z.ZodCUID2;
1801
986
  email: z.ZodEmail;
@@ -1810,7 +995,8 @@ export declare const UserSearchDocumentSchema: z.ZodObject<{
1810
995
  }>;
1811
996
  location: z.ZodNullable<z.ZodString>;
1812
997
  disciplines: z.ZodNullable<z.ZodArray<z.ZodString>>;
1813
- updatedAt: z.ZodNullable<z.ZodString>;
1814
- createdAt: z.ZodNullable<z.ZodString>;
998
+ updatedAt: z.ZodNullable<z.ZodISODateTime>;
999
+ createdAt: z.ZodNullable<z.ZodISODateTime>;
1815
1000
  }, z.core.$strip>;
1816
1001
  export type UserSearchDocument = z.infer<typeof UserSearchDocumentSchema>;
1002
+ export {};