@zyacreatives/shared 2.5.49 → 2.5.51

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,19 @@
1
1
  import { z } from "@hono/zod-openapi";
2
+ /**
3
+ * --------------------------------
4
+ * BASE ENTITY
5
+ * --------------------------------
6
+ */
2
7
  export declare const UserEntitySchema: z.ZodObject<{
3
- id: z.ZodCUID2;
8
+ createdAt: z.ZodISODateTime;
9
+ updatedAt: z.ZodISODateTime;
10
+ version: z.ZodInt;
4
11
  email: z.ZodEmail;
5
12
  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>;
13
+ name: z.ZodDefault<z.ZodString>;
14
+ image: z.ZodDefault<z.ZodString>;
15
+ username: z.ZodDefault<z.ZodString>;
16
+ displayUsername: z.ZodDefault<z.ZodString>;
10
17
  role: z.ZodEnum<{
11
18
  CREATIVE: "CREATIVE";
12
19
  BRAND: "BRAND";
@@ -29,18 +36,20 @@ export declare const UserEntitySchema: z.ZodObject<{
29
36
  INVESTOR_VERIFICATION: "INVESTOR_VERIFICATION";
30
37
  DONE: "DONE";
31
38
  }>;
32
- createdAt: z.ZodCoercedDate<unknown>;
33
- version: z.ZodInt;
34
- updatedAt: z.ZodCoercedDate<unknown>;
39
+ id: z.ZodCUID2;
35
40
  }, z.core.$strip>;
36
- export type BaseUserEntity = z.infer<typeof UserEntitySchema>;
37
41
  export type UserEntity = z.infer<typeof UserEntitySchema>;
42
+ /**
43
+ * --------------------------------
44
+ * DERIVED ENTITIES
45
+ * --------------------------------
46
+ */
38
47
  export declare const MinimalUserSchema: z.ZodObject<{
39
48
  email: z.ZodEmail;
40
- username: z.ZodOptional<z.ZodString>;
49
+ username: z.ZodDefault<z.ZodString>;
41
50
  id: z.ZodCUID2;
42
- name: z.ZodOptional<z.ZodString>;
43
- image: z.ZodOptional<z.ZodString>;
51
+ name: z.ZodDefault<z.ZodString>;
52
+ image: z.ZodDefault<z.ZodString>;
44
53
  role: z.ZodEnum<{
45
54
  CREATIVE: "CREATIVE";
46
55
  BRAND: "BRAND";
@@ -50,13 +59,15 @@ export declare const MinimalUserSchema: z.ZodObject<{
50
59
  }, z.core.$strip>;
51
60
  export type MinimalUser = z.infer<typeof MinimalUserSchema>;
52
61
  export declare const UserProfileEntitySchema: z.ZodObject<{
53
- id: z.ZodCUID2;
62
+ createdAt: z.ZodISODateTime;
63
+ updatedAt: z.ZodISODateTime;
64
+ version: z.ZodInt;
54
65
  email: z.ZodEmail;
55
66
  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>;
67
+ name: z.ZodDefault<z.ZodString>;
68
+ image: z.ZodDefault<z.ZodString>;
69
+ username: z.ZodDefault<z.ZodString>;
70
+ displayUsername: z.ZodDefault<z.ZodString>;
60
71
  role: z.ZodEnum<{
61
72
  CREATIVE: "CREATIVE";
62
73
  BRAND: "BRAND";
@@ -79,22 +90,21 @@ export declare const UserProfileEntitySchema: z.ZodObject<{
79
90
  INVESTOR_VERIFICATION: "INVESTOR_VERIFICATION";
80
91
  DONE: "DONE";
81
92
  }>;
82
- createdAt: z.ZodCoercedDate<unknown>;
83
- version: z.ZodInt;
84
- updatedAt: z.ZodCoercedDate<unknown>;
93
+ id: z.ZodCUID2;
85
94
  profileType: z.ZodOptional<z.ZodEnum<{
86
95
  creative: "creative";
87
96
  brand: "brand";
88
97
  investor: "investor";
89
98
  }>>;
90
- brand: z.ZodObject<{
91
- id: z.ZodCUID2;
92
- userId: z.ZodCUID2;
99
+ brand: z.ZodOptional<z.ZodObject<{
100
+ createdAt: z.ZodISODateTime;
101
+ updatedAt: z.ZodISODateTime;
102
+ version: z.ZodInt;
93
103
  brandName: z.ZodString;
94
- bio: z.ZodOptional<z.ZodString>;
104
+ bio: z.ZodDefault<z.ZodString>;
95
105
  location: z.ZodString;
96
- disciplines: z.ZodOptional<z.ZodArray<z.ZodString>>;
97
- links: z.ZodOptional<z.ZodArray<z.ZodObject<{
106
+ disciplines: z.ZodDefault<z.ZodArray<z.ZodString>>;
107
+ links: z.ZodDefault<z.ZodArray<z.ZodObject<{
98
108
  url: z.ZodURL;
99
109
  type: z.ZodDefault<z.ZodEnum<{
100
110
  readonly INSTAGRAM: "Instagram";
@@ -105,68 +115,88 @@ export declare const UserProfileEntitySchema: z.ZodObject<{
105
115
  readonly GENERIC_WEBSITE: "Generic Website";
106
116
  }>>;
107
117
  }, z.core.$strip>>>;
108
- achievements: z.ZodOptional<z.ZodArray<z.ZodObject<{
118
+ achievements: z.ZodDefault<z.ZodArray<z.ZodObject<{
109
119
  title: z.ZodString;
110
120
  link: z.ZodOptional<z.ZodURL>;
111
121
  year: z.ZodOptional<z.ZodNumber>;
112
122
  }, 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
123
  id: z.ZodCUID2;
119
124
  userId: z.ZodCUID2;
120
- bio: z.ZodOptional<z.ZodString>;
121
- role: z.ZodOptional<z.ZodString>;
125
+ }, z.core.$strip>>;
126
+ creative: z.ZodOptional<z.ZodObject<{
127
+ createdAt: z.ZodString;
128
+ updatedAt: z.ZodString;
122
129
  version: z.ZodInt;
123
- location: z.ZodOptional<z.ZodString>;
124
- experienceLevel: z.ZodOptional<z.ZodEnum<{
130
+ bio: z.ZodDefault<z.ZodString>;
131
+ role: z.ZodDefault<z.ZodString>;
132
+ location: z.ZodDefault<z.ZodString>;
133
+ experienceLevel: z.ZodEnum<{
125
134
  "0-1 year": "0-1 year";
126
135
  "1-3 years": "1-3 years";
127
136
  "3-5 years": "3-5 years";
128
137
  "5+ years": "5+ years";
129
- }>>;
130
- disciplines: z.ZodOptional<z.ZodArray<z.ZodString>>;
131
- workExperience: z.ZodOptional<z.ZodArray<z.ZodObject<{
138
+ }>;
139
+ disciplines: z.ZodDefault<z.ZodArray<z.ZodString>>;
140
+ workExperience: z.ZodDefault<z.ZodArray<z.ZodObject<{
132
141
  companyName: z.ZodString;
133
142
  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;
143
+ startDate: z.ZodOptional<z.ZodString>;
144
+ endDate: z.ZodOptional<z.ZodString>;
145
+ currentlyWorking: z.ZodDefault<z.ZodBoolean>;
146
+ description: z.ZodDefault<z.ZodString>;
138
147
  }, z.core.$strip>>>;
139
- links: z.ZodOptional<z.ZodArray<z.ZodObject<{
140
- url: z.ZodUnion<readonly [z.ZodURL, z.ZodLiteral<"">]>;
141
- type: z.ZodEnum<{
148
+ links: z.ZodDefault<z.ZodArray<z.ZodObject<{
149
+ url: z.ZodURL;
150
+ type: z.ZodDefault<z.ZodEnum<{
142
151
  readonly INSTAGRAM: "Instagram";
143
152
  readonly LINKEDIN: "LinkedIn";
144
153
  readonly TWITTER: "Twitter";
145
154
  readonly YOUTUBE: "Youtube";
146
155
  readonly PORTFOLIO: "Portfolio Website";
147
156
  readonly GENERIC_WEBSITE: "Generic Website";
148
- }>;
157
+ }>>;
149
158
  }, z.core.$strip>>>;
150
- achievements: z.ZodOptional<z.ZodArray<z.ZodObject<{
159
+ achievements: z.ZodDefault<z.ZodArray<z.ZodObject<{
151
160
  title: z.ZodString;
152
- link: z.ZodOptional<z.ZodString>;
153
- year: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
161
+ link: z.ZodOptional<z.ZodURL>;
162
+ year: z.ZodOptional<z.ZodNumber>;
154
163
  }, z.core.$strip>>>;
155
- createdAt: z.ZodOptional<z.ZodCoercedDate<unknown>>;
156
- updatedAt: z.ZodCoercedDate<unknown>;
157
- }, z.core.$strip>;
158
- investor: z.ZodObject<{
159
164
  id: z.ZodCUID2;
160
165
  userId: z.ZodCUID2;
161
- bio: z.ZodOptional<z.ZodString>;
162
- location: z.ZodOptional<z.ZodString>;
163
- experienceLevel: z.ZodOptional<z.ZodEnum<{
166
+ }, z.core.$strip>>;
167
+ investor: z.ZodOptional<z.ZodObject<{
168
+ createdAt: z.ZodISODateTime;
169
+ updatedAt: z.ZodISODateTime;
170
+ version: z.ZodInt;
171
+ bio: z.ZodDefault<z.ZodString>;
172
+ location: z.ZodDefault<z.ZodString>;
173
+ experienceLevel: z.ZodEnum<{
164
174
  "0-1 year": "0-1 year";
165
175
  "1-3 years": "1-3 years";
166
176
  "3-5 years": "3-5 years";
167
177
  "5+ years": "5+ years";
168
- }>>;
169
- geographicFocus: z.ZodOptional<z.ZodEnum<{
178
+ }>;
179
+ investorType: z.ZodEnum<{
180
+ "Angel Investor": "Angel Investor";
181
+ "Venture Capitalist": "Venture Capitalist";
182
+ "Private Equity Firm": "Private Equity Firm";
183
+ "Venture Debt Provider": "Venture Debt Provider";
184
+ Bank: "Bank";
185
+ "Convertible Note Investor": "Convertible Note Investor";
186
+ "Revenue Based Financing Investor": "Revenue Based Financing Investor";
187
+ "Corporate Venture Capitalist": "Corporate Venture Capitalist";
188
+ Government: "Government";
189
+ "Social Impact Investor": "Social Impact Investor";
190
+ }>;
191
+ investmentSize: z.ZodEnum<{
192
+ "Under 5k USD": "Under 5k USD";
193
+ "5k - 25k USD": "5k - 25k USD";
194
+ "25k - 100k USD": "25k - 100k USD";
195
+ "100k - 500k USD": "100k - 500k USD";
196
+ "500k - 1M USD": "500k - 1M USD";
197
+ "1M+ USD": "1M+ USD";
198
+ }>;
199
+ geographicFocus: z.ZodEnum<{
170
200
  Africa: "Africa";
171
201
  Asia: "Asia";
172
202
  Europe: "Europe";
@@ -178,49 +208,28 @@ export declare const UserProfileEntitySchema: z.ZodObject<{
178
208
  "United States (US)": "United States (US)";
179
209
  Global: "Global";
180
210
  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<{
211
+ }>;
212
+ websiteURL: z.ZodDefault<z.ZodURL>;
213
+ disciplines: z.ZodDefault<z.ZodArray<z.ZodString>>;
214
+ links: z.ZodDefault<z.ZodArray<z.ZodObject<{
215
+ url: z.ZodURL;
216
+ type: z.ZodDefault<z.ZodEnum<{
206
217
  readonly INSTAGRAM: "Instagram";
207
218
  readonly LINKEDIN: "LinkedIn";
208
219
  readonly TWITTER: "Twitter";
209
220
  readonly YOUTUBE: "Youtube";
210
221
  readonly PORTFOLIO: "Portfolio Website";
211
222
  readonly GENERIC_WEBSITE: "Generic Website";
212
- }>;
223
+ }>>;
213
224
  }, z.core.$strip>>>;
214
- achievements: z.ZodOptional<z.ZodArray<z.ZodObject<{
225
+ achievements: z.ZodDefault<z.ZodArray<z.ZodObject<{
215
226
  title: z.ZodString;
216
- link: z.ZodOptional<z.ZodString>;
217
- year: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
227
+ link: z.ZodOptional<z.ZodURL>;
228
+ year: z.ZodOptional<z.ZodNumber>;
218
229
  }, 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>;
230
+ id: z.ZodCUID2;
231
+ userId: z.ZodCUID2;
232
+ }, z.core.$strip>>;
224
233
  }, z.core.$strip>;
225
234
  export type UserProfileEntity = z.infer<typeof UserProfileEntitySchema>;
226
235
  export declare const UserStatsEntitySchema: z.ZodObject<{
@@ -228,7 +237,6 @@ export declare const UserStatsEntitySchema: z.ZodObject<{
228
237
  followingCount: z.ZodInt;
229
238
  followingIds: z.ZodArray<z.ZodCUID2>;
230
239
  }, z.core.$strip>;
231
- export type UserStatsEntity = z.infer<typeof UserStatsEntitySchema>;
232
240
  export declare const UserWithProjectsEntitySchema: z.ZodObject<{
233
241
  userId: z.ZodCUID2;
234
242
  projects: z.ZodArray<z.ZodObject<{
@@ -244,6 +252,8 @@ export declare const UserWithProjectsEntitySchema: z.ZodObject<{
244
252
  readonly DRAFT: "DRAFT";
245
253
  readonly ARCHIVED: "ARCHIVED";
246
254
  }>;
255
+ startDate: z.ZodOptional<z.ZodCoercedDate<unknown>>;
256
+ endDate: z.ZodOptional<z.ZodCoercedDate<unknown>>;
247
257
  imagePlaceholderUrl: z.ZodURL;
248
258
  tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
249
259
  projectCreatorType: z.ZodEnum<{
@@ -288,12 +298,9 @@ export declare const UserWithProjectsEntitySchema: z.ZodObject<{
288
298
  }>>;
289
299
  currentTraction: z.ZodString;
290
300
  isOpenToInvestment: z.ZodDefault<z.ZodBoolean>;
291
- startDate: z.ZodOptional<z.ZodCoercedDate<unknown>>;
292
- endDate: z.ZodOptional<z.ZodCoercedDate<unknown>>;
293
301
  version: z.ZodNumber;
294
302
  }, z.core.$strip>>;
295
303
  }, z.core.$strip>;
296
- export type UserWithProjectsEntity = z.infer<typeof UserWithProjectsEntitySchema>;
297
304
  export declare const UserWithPostsEntitySchema: z.ZodObject<{
298
305
  userId: z.ZodCUID2;
299
306
  posts: z.ZodArray<z.ZodObject<{
@@ -373,13 +380,94 @@ export declare const UserWithPostsEntitySchema: z.ZodObject<{
373
380
  }, z.core.$strip>>>;
374
381
  }, z.core.$strip>>;
375
382
  }, 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>;
383
+ export declare const UserWithProductsEntitySchema: z.ZodObject<{
384
+ userId: z.ZodCUID2;
385
+ products: z.ZodArray<z.ZodObject<{
386
+ id: z.ZodCUID2;
387
+ sellerId: z.ZodCUID2;
388
+ sellerUsername: z.ZodString;
389
+ sellerName: z.ZodString;
390
+ sellerImageUrl: z.ZodNullable<z.ZodOptional<z.ZodURL>>;
391
+ title: z.ZodString;
392
+ description: z.ZodString;
393
+ keyFeatures: z.ZodString;
394
+ status: z.ZodDefault<z.ZodEnum<{
395
+ readonly ACTIVE: "ACTIVE";
396
+ readonly UNDER_REVIEW: "UNDER_REVIEW";
397
+ readonly DRAFT: "DRAFT";
398
+ readonly ARCHIVED: "ARCHIVED";
399
+ readonly DELETED: "DELETED";
400
+ }>>;
401
+ category: z.ZodString;
402
+ subcategory: z.ZodNullable<z.ZodOptional<z.ZodString>>;
403
+ tags: z.ZodArray<z.ZodString>;
404
+ files: z.ZodDefault<z.ZodArray<z.ZodObject<{
405
+ id: z.ZodCUID2;
406
+ key: z.ZodString;
407
+ mimeType: z.ZodString;
408
+ url: z.ZodURL;
409
+ parentId: z.ZodNullable<z.ZodCUID2>;
410
+ parentType: z.ZodNullable<z.ZodEnum<{
411
+ readonly PROJECT: "PROJECT";
412
+ readonly USER: "USER";
413
+ readonly JOB: "JOB";
414
+ readonly POST: "POST";
415
+ readonly PRODUCT: "PRODUCT";
416
+ readonly SIGNAL: "SIGNAL";
417
+ readonly PRODUCT_COVER: "PRODUCT_COVER";
418
+ readonly PRODUCT_DELIVERY: "PRODUCT_DELIVERY";
419
+ readonly COMMENT: "COMMENT";
420
+ readonly JOB_APPLICATION: "JOB_APPLICATION";
421
+ }>>;
422
+ isThumbnail: z.ZodNullable<z.ZodBoolean>;
423
+ order: z.ZodNumber;
424
+ createdAt: z.ZodCoercedDate<unknown>;
425
+ updatedAt: z.ZodCoercedDate<unknown>;
426
+ deletedAt: z.ZodNullable<z.ZodCoercedDate<unknown>>;
427
+ }, z.core.$strip>>>;
428
+ productLinks: z.ZodDefault<z.ZodArray<z.ZodObject<{
429
+ title: z.ZodNullable<z.ZodString>;
430
+ url: z.ZodString;
431
+ }, z.core.$strip>>>;
432
+ pricingModel: z.ZodEnum<{
433
+ readonly FREE: "Free";
434
+ readonly FIXED: "Fixed";
435
+ readonly PWYW: "Pay What You Want";
436
+ }>;
437
+ currency: z.ZodEnum<{
438
+ readonly USD: "USD (United States Dollar)";
439
+ readonly EUR: "EUR (Euro)";
440
+ readonly GBP: "GBP (British Pound Sterling)";
441
+ readonly NGN: "NGN (Nigerian Naira)";
442
+ readonly CAD: "CAD (Canadian Dollar)";
443
+ readonly AUD: "AUD (Australian Dollar)";
444
+ readonly JPY: "JPY (Japanese Yen)";
445
+ readonly CHF: "CHF (Swiss Franc)";
446
+ readonly INR: "INR (Indian Rupee)";
447
+ readonly ZAR: "ZAR (South African Rand)";
448
+ }>;
449
+ price: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
450
+ suggestedPrice: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
451
+ discounts: z.ZodDefault<z.ZodArray<z.ZodObject<{
452
+ discountType: z.ZodEnum<{
453
+ readonly FIXED_AMOUNT: "Fixed Amount";
454
+ readonly PERCENTAGE: "Percentage";
455
+ }>;
456
+ amount: z.ZodNumber;
457
+ discountCode: z.ZodOptional<z.ZodString>;
458
+ active: z.ZodDefault<z.ZodBoolean>;
459
+ }, z.core.$strip>>>;
460
+ ownsRights: z.ZodBoolean;
461
+ noHarmfulContent: z.ZodBoolean;
462
+ providesSupport: z.ZodBoolean;
463
+ agreesToTerms: z.ZodBoolean;
464
+ supportEmail: z.ZodNullable<z.ZodOptional<z.ZodEmail>>;
465
+ supportPhone: z.ZodNullable<z.ZodOptional<z.ZodString>>;
466
+ createdAt: z.ZodCoercedDate<unknown>;
467
+ updatedAt: z.ZodCoercedDate<unknown>;
468
+ deletedAt: z.ZodNullable<z.ZodOptional<z.ZodCoercedDate<unknown>>>;
469
+ }, z.core.$strip>>;
381
470
  }, z.core.$strip>;
382
- export type UserAuthStatusEntity = z.infer<typeof UserAuthStatusEntitySchema>;
383
471
  export declare const UserWithProjectLikesEntitySchema: z.ZodObject<{
384
472
  userId: z.ZodCUID2;
385
473
  projectLikes: z.ZodArray<z.ZodObject<{
@@ -403,14 +491,13 @@ export declare const UserWithProjectLikesEntitySchema: z.ZodObject<{
403
491
  description: z.ZodOptional<z.ZodString>;
404
492
  title: z.ZodString;
405
493
  id: z.ZodCUID2;
406
- imagePlaceholderUrl: z.ZodURL;
407
- tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
408
494
  startDate: z.ZodOptional<z.ZodCoercedDate<unknown>>;
409
495
  endDate: z.ZodOptional<z.ZodCoercedDate<unknown>>;
496
+ imagePlaceholderUrl: z.ZodURL;
497
+ tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
410
498
  }, z.core.$strip>;
411
499
  }, z.core.$strip>>;
412
500
  }, z.core.$strip>;
413
- export type UserWithProjectLikesEntity = z.infer<typeof UserWithProjectLikesEntitySchema>;
414
501
  export declare const UserWithPostLikesEntitySchema: z.ZodObject<{
415
502
  userId: z.ZodCUID2;
416
503
  postLikes: z.ZodArray<z.ZodObject<{
@@ -442,10 +529,14 @@ export declare const UserWithPostLikesEntitySchema: z.ZodObject<{
442
529
  }, z.core.$strip>;
443
530
  }, z.core.$strip>>;
444
531
  }, z.core.$strip>;
445
- export type UserWithPostLikesEntity = z.infer<typeof UserWithPostLikesEntitySchema>;
532
+ /**
533
+ * --------------------------------
534
+ * BOOKMARKS
535
+ * --------------------------------
536
+ */
446
537
  export declare const UserWithJobBookmarksEntitySchema: z.ZodObject<{
447
538
  userId: z.ZodCUID2;
448
- jobBookmarks: z.ZodOptional<z.ZodArray<z.ZodObject<{
539
+ jobBookmarks: z.ZodArray<z.ZodObject<{
449
540
  id: z.ZodCUID2;
450
541
  createdAt: z.ZodOptional<z.ZodCoercedDate<unknown>>;
451
542
  userId: z.ZodCUID2;
@@ -488,65 +579,8 @@ export declare const UserWithJobBookmarksEntitySchema: z.ZodObject<{
488
579
  updatedAt: z.ZodString;
489
580
  isBookmarked: z.ZodDefault<z.ZodBoolean>;
490
581
  }, z.core.$strip>;
491
- }, z.core.$strip>>>;
492
- }, z.core.$strip>;
493
- 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>;
582
+ }, z.core.$strip>>;
548
583
  }, z.core.$strip>;
549
- export type UserWithJobBookmarksOutput = z.infer<typeof UserWithJobBookmarksOutputSchema>;
550
584
  export declare const UserWithProjectBookmarksEntitySchema: z.ZodObject<{
551
585
  userId: z.ZodCUID2;
552
586
  projectBookmarks: z.ZodArray<z.ZodObject<{
@@ -647,7 +681,6 @@ export declare const UserWithProjectBookmarksEntitySchema: z.ZodObject<{
647
681
  }, z.core.$strip>;
648
682
  }, z.core.$strip>>;
649
683
  }, z.core.$strip>;
650
- export type UserWithProjectBookmarksEntity = z.infer<typeof UserWithProjectBookmarksEntitySchema>;
651
684
  export declare const UserWithPostBookmarksEntitySchema: z.ZodObject<{
652
685
  userId: z.ZodCUID2;
653
686
  postBookmarks: z.ZodArray<z.ZodObject<{
@@ -745,996 +778,100 @@ export declare const UserWithPostBookmarksEntitySchema: z.ZodObject<{
745
778
  }, z.core.$strip>;
746
779
  }, z.core.$strip>>;
747
780
  }, z.core.$strip>;
748
- export type UserWithPostBookmarksEntity = z.infer<typeof UserWithPostBookmarksEntitySchema>;
749
- export declare const UserWithProductsEntitySchema: z.ZodObject<{
750
- userId: z.ZodCUID2;
751
- products: z.ZodArray<z.ZodObject<{
781
+ export declare const UserWithFollowingEntitySchema: z.ZodObject<{
782
+ email: z.ZodEmail;
783
+ username: z.ZodDefault<z.ZodString>;
784
+ id: z.ZodCUID2;
785
+ name: z.ZodDefault<z.ZodString>;
786
+ image: z.ZodDefault<z.ZodString>;
787
+ role: z.ZodEnum<{
788
+ CREATIVE: "CREATIVE";
789
+ BRAND: "BRAND";
790
+ INVESTOR: "INVESTOR";
791
+ ADMIN: "ADMIN";
792
+ }>;
793
+ following: z.ZodArray<z.ZodObject<{
794
+ email: z.ZodEmail;
795
+ username: z.ZodDefault<z.ZodString>;
752
796
  id: z.ZodCUID2;
753
- sellerId: z.ZodCUID2;
754
- sellerUsername: z.ZodString;
755
- sellerName: z.ZodString;
756
- sellerImageUrl: z.ZodNullable<z.ZodOptional<z.ZodURL>>;
757
- title: z.ZodString;
758
- description: z.ZodString;
759
- keyFeatures: z.ZodString;
760
- status: z.ZodDefault<z.ZodEnum<{
761
- readonly ACTIVE: "ACTIVE";
762
- readonly UNDER_REVIEW: "UNDER_REVIEW";
763
- readonly DRAFT: "DRAFT";
764
- readonly ARCHIVED: "ARCHIVED";
765
- readonly DELETED: "DELETED";
766
- }>>;
767
- category: z.ZodString;
768
- subcategory: z.ZodNullable<z.ZodOptional<z.ZodString>>;
769
- tags: z.ZodArray<z.ZodString>;
770
- files: z.ZodDefault<z.ZodArray<z.ZodObject<{
771
- id: z.ZodCUID2;
772
- key: z.ZodString;
773
- mimeType: z.ZodString;
774
- url: z.ZodURL;
775
- parentId: z.ZodNullable<z.ZodCUID2>;
776
- parentType: z.ZodNullable<z.ZodEnum<{
777
- readonly PROJECT: "PROJECT";
778
- readonly USER: "USER";
779
- readonly JOB: "JOB";
780
- readonly POST: "POST";
781
- readonly PRODUCT: "PRODUCT";
782
- readonly SIGNAL: "SIGNAL";
783
- readonly PRODUCT_COVER: "PRODUCT_COVER";
784
- readonly PRODUCT_DELIVERY: "PRODUCT_DELIVERY";
785
- readonly COMMENT: "COMMENT";
786
- readonly JOB_APPLICATION: "JOB_APPLICATION";
787
- }>>;
788
- isThumbnail: z.ZodNullable<z.ZodBoolean>;
789
- order: z.ZodNumber;
790
- createdAt: z.ZodCoercedDate<unknown>;
791
- updatedAt: z.ZodCoercedDate<unknown>;
792
- deletedAt: z.ZodNullable<z.ZodCoercedDate<unknown>>;
793
- }, z.core.$strip>>>;
794
- productLinks: z.ZodDefault<z.ZodArray<z.ZodObject<{
795
- title: z.ZodNullable<z.ZodString>;
796
- url: z.ZodString;
797
- }, z.core.$strip>>>;
798
- pricingModel: z.ZodEnum<{
799
- readonly FREE: "Free";
800
- readonly FIXED: "Fixed";
801
- readonly PWYW: "Pay What You Want";
802
- }>;
803
- currency: z.ZodEnum<{
804
- readonly USD: "USD (United States Dollar)";
805
- readonly EUR: "EUR (Euro)";
806
- readonly GBP: "GBP (British Pound Sterling)";
807
- readonly NGN: "NGN (Nigerian Naira)";
808
- readonly CAD: "CAD (Canadian Dollar)";
809
- readonly AUD: "AUD (Australian Dollar)";
810
- readonly JPY: "JPY (Japanese Yen)";
811
- readonly CHF: "CHF (Swiss Franc)";
812
- readonly INR: "INR (Indian Rupee)";
813
- readonly ZAR: "ZAR (South African Rand)";
814
- }>;
815
- price: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
816
- suggestedPrice: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
817
- discounts: z.ZodDefault<z.ZodArray<z.ZodObject<{
818
- discountType: z.ZodEnum<{
819
- readonly FIXED_AMOUNT: "Fixed Amount";
820
- readonly PERCENTAGE: "Percentage";
821
- }>;
822
- amount: z.ZodNumber;
823
- discountCode: z.ZodOptional<z.ZodString>;
824
- active: z.ZodDefault<z.ZodBoolean>;
825
- }, z.core.$strip>>>;
826
- ownsRights: z.ZodBoolean;
827
- noHarmfulContent: z.ZodBoolean;
828
- providesSupport: z.ZodBoolean;
829
- agreesToTerms: z.ZodBoolean;
830
- supportEmail: z.ZodNullable<z.ZodOptional<z.ZodEmail>>;
831
- supportPhone: z.ZodNullable<z.ZodOptional<z.ZodString>>;
832
- createdAt: z.ZodCoercedDate<unknown>;
833
- updatedAt: z.ZodCoercedDate<unknown>;
834
- deletedAt: z.ZodNullable<z.ZodOptional<z.ZodCoercedDate<unknown>>>;
835
- }, z.core.$strip>>;
836
- }, z.core.$strip>;
837
- 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>>;
841
- }, 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>>;
846
- }, 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>;
950
- }, 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>;
1043
- }, z.core.$strip>;
1044
- export type UserWithProductsOutput = z.infer<typeof GetUserWithProductsOutputSchema>;
1045
- export declare const GetUserWithPostBookmarksOutputSchema: z.ZodObject<{
1046
- bookmarks: z.ZodArray<z.ZodObject<{
1047
- 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";
797
+ name: z.ZodDefault<z.ZodString>;
798
+ image: z.ZodDefault<z.ZodString>;
799
+ role: z.ZodEnum<{
800
+ CREATIVE: "CREATIVE";
801
+ BRAND: "BRAND";
802
+ INVESTOR: "INVESTOR";
803
+ ADMIN: "ADMIN";
1667
804
  }>;
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>;
805
+ isFollowing: z.ZodBoolean;
806
+ followsYou: z.ZodBoolean;
1677
807
  }, z.core.$strip>>;
1678
808
  }, z.core.$strip>;
1679
- export type GetAuthenticatedUserWithProjectLikesOutput = z.infer<typeof GetAuthenticatedUserWithProjectLikesOutputSchema>;
1680
- export declare const GetAuthenticatedUserWithUserFollowingOutputSchema: z.ZodObject<{
809
+ export declare const UserWithFollowersEntitySchema: z.ZodObject<{
1681
810
  email: z.ZodEmail;
1682
- username: z.ZodOptional<z.ZodString>;
811
+ username: z.ZodDefault<z.ZodString>;
1683
812
  id: z.ZodCUID2;
1684
- name: z.ZodOptional<z.ZodString>;
1685
- image: z.ZodOptional<z.ZodString>;
813
+ name: z.ZodDefault<z.ZodString>;
814
+ image: z.ZodDefault<z.ZodString>;
1686
815
  role: z.ZodEnum<{
1687
816
  CREATIVE: "CREATIVE";
1688
817
  BRAND: "BRAND";
1689
818
  INVESTOR: "INVESTOR";
1690
819
  ADMIN: "ADMIN";
1691
820
  }>;
1692
- following: z.ZodArray<z.ZodObject<{
821
+ followers: z.ZodArray<z.ZodObject<{
1693
822
  email: z.ZodEmail;
1694
- username: z.ZodOptional<z.ZodString>;
823
+ username: z.ZodDefault<z.ZodString>;
1695
824
  id: z.ZodCUID2;
1696
- name: z.ZodOptional<z.ZodString>;
1697
- image: z.ZodOptional<z.ZodString>;
825
+ name: z.ZodDefault<z.ZodString>;
826
+ image: z.ZodDefault<z.ZodString>;
1698
827
  role: z.ZodEnum<{
1699
828
  CREATIVE: "CREATIVE";
1700
829
  BRAND: "BRAND";
1701
830
  INVESTOR: "INVESTOR";
1702
831
  ADMIN: "ADMIN";
1703
832
  }>;
1704
- isFollowing: z.ZodOptional<z.ZodBoolean>;
1705
- followsYou: z.ZodOptional<z.ZodBoolean>;
833
+ isFollowing: z.ZodBoolean;
834
+ followsYou: z.ZodBoolean;
1706
835
  }, z.core.$strip>>;
1707
836
  }, 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<{
837
+ export declare const SearchUsersInputSchema: z.ZodObject<{
838
+ cursor: z.ZodOptional<z.ZodString>;
839
+ limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
840
+ query: z.ZodDefault<z.ZodString>;
841
+ roles: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodArray<z.ZodEnum<{
1716
842
  CREATIVE: "CREATIVE";
1717
843
  BRAND: "BRAND";
1718
844
  INVESTOR: "INVESTOR";
1719
845
  ADMIN: "ADMIN";
1720
- }>;
1721
- followers: z.ZodArray<z.ZodObject<{
846
+ }>>>>;
847
+ disciplines: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodArray<z.ZodString>>>;
848
+ locations: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodArray<z.ZodString>>>;
849
+ }, z.core.$strip>;
850
+ export declare const SearchUsersOutputSchema: z.ZodObject<{
851
+ users: z.ZodArray<z.ZodObject<{
1722
852
  email: z.ZodEmail;
1723
- username: z.ZodOptional<z.ZodString>;
853
+ username: z.ZodDefault<z.ZodString>;
1724
854
  id: z.ZodCUID2;
1725
- name: z.ZodOptional<z.ZodString>;
1726
- image: z.ZodOptional<z.ZodString>;
855
+ name: z.ZodDefault<z.ZodString>;
856
+ image: z.ZodDefault<z.ZodString>;
1727
857
  role: z.ZodEnum<{
1728
858
  CREATIVE: "CREATIVE";
1729
859
  BRAND: "BRAND";
1730
860
  INVESTOR: "INVESTOR";
1731
861
  ADMIN: "ADMIN";
1732
862
  }>;
1733
- isFollowing: z.ZodOptional<z.ZodBoolean>;
1734
- followsYou: z.ZodOptional<z.ZodBoolean>;
863
+ isFollowing: z.ZodBoolean;
864
+ followsYou: z.ZodBoolean;
865
+ noOfFollowers: z.ZodNumber;
866
+ disciplines: z.ZodArray<z.ZodString>;
1735
867
  }, z.core.$strip>>;
868
+ nextCursor: z.ZodOptional<z.ZodString>;
1736
869
  }, z.core.$strip>;
1737
- export type GetAuthenticatedUserWithUserFollowersOutput = z.infer<typeof GetAuthenticatedUserWithUserFollowersOutputSchema>;
870
+ /**
871
+ * --------------------------------
872
+ * ACTIVITY
873
+ * --------------------------------
874
+ */
1738
875
  export declare const GetUserActivityInputSchema: z.ZodObject<{
1739
876
  activityType: z.ZodEnum<{
1740
877
  LIKE: "LIKE";
@@ -1744,7 +881,6 @@ export declare const GetUserActivityInputSchema: z.ZodObject<{
1744
881
  VIEW: "VIEW";
1745
882
  }>;
1746
883
  }, z.core.$strip>;
1747
- export type GetUserActivityInput = z.infer<typeof GetUserActivityInputSchema>;
1748
884
  export declare const GetUserActivityOutputSchema: z.ZodArray<z.ZodObject<{
1749
885
  parentId: z.ZodCUID2;
1750
886
  parentType: z.ZodEnum<{
@@ -1760,42 +896,11 @@ export declare const GetUserActivityOutputSchema: z.ZodArray<z.ZodObject<{
1760
896
  JOB_APPLICATION: "JOB_APPLICATION";
1761
897
  }>;
1762
898
  }, z.core.$strip>>;
1763
- 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>;
899
+ /**
900
+ * --------------------------------
901
+ * SEARCH DOCUMENT (ALLOWED NULLS)
902
+ * --------------------------------
903
+ */
1799
904
  export declare const UserSearchDocumentSchema: z.ZodObject<{
1800
905
  id: z.ZodCUID2;
1801
906
  email: z.ZodEmail;
@@ -1810,7 +915,6 @@ export declare const UserSearchDocumentSchema: z.ZodObject<{
1810
915
  }>;
1811
916
  location: z.ZodNullable<z.ZodString>;
1812
917
  disciplines: z.ZodNullable<z.ZodArray<z.ZodString>>;
1813
- updatedAt: z.ZodNullable<z.ZodString>;
1814
- createdAt: z.ZodNullable<z.ZodString>;
918
+ updatedAt: z.ZodNullable<z.ZodISODateTime>;
919
+ createdAt: z.ZodNullable<z.ZodISODateTime>;
1815
920
  }, z.core.$strip>;
1816
- export type UserSearchDocument = z.infer<typeof UserSearchDocumentSchema>;