@zyacreatives/shared 2.2.2 → 2.2.4

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.
@@ -222,6 +222,17 @@ export declare const NOTIFICATION_TYPES: {
222
222
  readonly SYSTEM_STRIKE: "System Strike";
223
223
  readonly PROJECT_FEATURED: "Project Featured";
224
224
  };
225
+ export declare const VENTURE_STAGES: {
226
+ IDEA: string;
227
+ PRE_SEED: string;
228
+ MVP: string;
229
+ SEED: string;
230
+ SERIES_A: string;
231
+ SERIES_B: string;
232
+ SERIES_C: string;
233
+ GROWTH: string;
234
+ EXIT: string;
235
+ };
225
236
  export type NotificationType = (typeof NOTIFICATION_TYPES)[keyof typeof NOTIFICATION_TYPES];
226
237
  export type ApplicationStatus = (typeof APPLICATION_STATUS)[keyof typeof APPLICATION_STATUS];
227
238
  export type ActivityType = (typeof ACTIVITY_TYPES)[keyof typeof ACTIVITY_TYPES];
@@ -249,6 +260,7 @@ export type InvestmentSize = (typeof INVESTMENT_SIZES)[keyof typeof INVESTMENT_S
249
260
  export type GeographicFocus = (typeof GEOGRAPHIC_FOCUS)[keyof typeof GEOGRAPHIC_FOCUS];
250
261
  export type InvestorVerificationDocumentStatus = (typeof INVESTOR_VERIFICATION_DOCUMENT_STATUSES)[keyof typeof INVESTOR_VERIFICATION_DOCUMENT_STATUSES];
251
262
  export type InvestorVerificationDocumentType = (typeof INVESTOR_VERIFICATION_DOCUMENT_TYPES)[keyof typeof INVESTOR_VERIFICATION_DOCUMENT_TYPES];
263
+ export type VentureStage = (typeof VENTURE_STAGES)[keyof typeof VENTURE_STAGES];
252
264
  export declare const API_ROUTES: {
253
265
  readonly healthCheck: "/health";
254
266
  readonly username: {
package/dist/constants.js CHANGED
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ANALYTICS_EVENTS = exports.DEFAULT_DISCIPLINES = exports.API_ROUTES = exports.NOTIFICATION_TYPES = exports.APPLICATION_STATUS = exports.LINK_TYPES = exports.ACTIVITY_TYPES = exports.POST_BADGE_TYPES = exports.JOB_STATUS = exports.WAGES_CURRENCY = exports.GIG_TYPE = exports.MESSAGE_TYPES = exports.JOB_LOCATIONS = exports.JOB_SECTIONS = exports.WAGE_TYPES = exports.JOB_AVAILABILITY_TYPES = exports.EMPLOYMENT_TYPE = exports.WORK_MODE = exports.JOB_TYPE = exports.POST_TYPES = exports.ACTIVITY_PARENT_TYPES = exports.INVESTOR_VERIFICATION_DOCUMENT_TYPES = exports.INVESTOR_VERIFICATION_DOCUMENT_STATUSES = exports.GEOGRAPHIC_FOCUS = exports.INVESTMENT_SIZES = exports.INVESTOR_TYPES = exports.ONBOARDING_PAGES = exports.EXPERIENCE_LEVELS = exports.CLIENT_TYPES = exports.USER_STATUSES = exports.ROLES = void 0;
3
+ exports.ANALYTICS_EVENTS = exports.DEFAULT_DISCIPLINES = exports.API_ROUTES = exports.VENTURE_STAGES = exports.NOTIFICATION_TYPES = exports.APPLICATION_STATUS = exports.LINK_TYPES = exports.ACTIVITY_TYPES = exports.POST_BADGE_TYPES = exports.JOB_STATUS = exports.WAGES_CURRENCY = exports.GIG_TYPE = exports.MESSAGE_TYPES = exports.JOB_LOCATIONS = exports.JOB_SECTIONS = exports.WAGE_TYPES = exports.JOB_AVAILABILITY_TYPES = exports.EMPLOYMENT_TYPE = exports.WORK_MODE = exports.JOB_TYPE = exports.POST_TYPES = exports.ACTIVITY_PARENT_TYPES = exports.INVESTOR_VERIFICATION_DOCUMENT_TYPES = exports.INVESTOR_VERIFICATION_DOCUMENT_STATUSES = exports.GEOGRAPHIC_FOCUS = exports.INVESTMENT_SIZES = exports.INVESTOR_TYPES = exports.ONBOARDING_PAGES = exports.EXPERIENCE_LEVELS = exports.CLIENT_TYPES = exports.USER_STATUSES = exports.ROLES = void 0;
4
4
  exports.ROLES = {
5
5
  CREATIVE: "CREATIVE",
6
6
  BRAND: "BRAND",
@@ -224,6 +224,17 @@ exports.NOTIFICATION_TYPES = {
224
224
  SYSTEM_STRIKE: "System Strike",
225
225
  PROJECT_FEATURED: "Project Featured",
226
226
  };
227
+ exports.VENTURE_STAGES = {
228
+ IDEA: "Idea",
229
+ PRE_SEED: "Pre Seed",
230
+ MVP: "MVP",
231
+ SEED: "Seed",
232
+ SERIES_A: "Series A",
233
+ SERIES_B: "Series B",
234
+ SERIES_C: "Series C",
235
+ GROWTH: "Growth",
236
+ EXIT: "Exit",
237
+ };
227
238
  exports.API_ROUTES = {
228
239
  healthCheck: "/health",
229
240
  username: {
@@ -22,6 +22,33 @@ export declare const ProjectEntitySchema: z.ZodObject<{
22
22
  }>>;
23
23
  clientName: z.ZodOptional<z.ZodString>;
24
24
  isFeatured: z.ZodOptional<z.ZodBoolean>;
25
+ problemBeingSolved: z.ZodOptional<z.ZodString>;
26
+ whoItsFor: z.ZodOptional<z.ZodString>;
27
+ ventureStage: z.ZodOptional<z.ZodEnum<{
28
+ IDEA: string;
29
+ PRE_SEED: string;
30
+ MVP: string;
31
+ SEED: string;
32
+ SERIES_A: string;
33
+ SERIES_B: string;
34
+ SERIES_C: string;
35
+ GROWTH: string;
36
+ EXIT: string;
37
+ }>>;
38
+ capitalLookingToRaise: z.ZodString;
39
+ capitalLookingToRaiseCurrency: z.ZodOptional<z.ZodEnum<{
40
+ readonly USD: "USD (United States Dollar)";
41
+ readonly EUR: "EUR (Euro)";
42
+ readonly GBP: "GBP (British Pound Sterling)";
43
+ readonly NGN: "NGN (Nigerian Naira)";
44
+ readonly CAD: "CAD (Canadian Dollar)";
45
+ readonly AUD: "AUD (Australian Dollar)";
46
+ readonly JPY: "JPY (Japanese Yen)";
47
+ readonly CHF: "CHF (Swiss Franc)";
48
+ readonly INR: "INR (Indian Rupee)";
49
+ readonly ZAR: "ZAR (South African Rand)";
50
+ }>>;
51
+ currentTraction: z.ZodString;
25
52
  startDate: z.ZodOptional<z.ZodCoercedDate<unknown>>;
26
53
  endDate: z.ZodOptional<z.ZodCoercedDate<unknown>>;
27
54
  createdAt: z.ZodCoercedDate<unknown>;
@@ -64,6 +91,33 @@ export declare const ProjectDetailsEntitySchema: z.ZodObject<{
64
91
  }>>;
65
92
  clientName: z.ZodOptional<z.ZodString>;
66
93
  isFeatured: z.ZodOptional<z.ZodBoolean>;
94
+ problemBeingSolved: z.ZodOptional<z.ZodString>;
95
+ whoItsFor: z.ZodOptional<z.ZodString>;
96
+ ventureStage: z.ZodOptional<z.ZodEnum<{
97
+ IDEA: string;
98
+ PRE_SEED: string;
99
+ MVP: string;
100
+ SEED: string;
101
+ SERIES_A: string;
102
+ SERIES_B: string;
103
+ SERIES_C: string;
104
+ GROWTH: string;
105
+ EXIT: string;
106
+ }>>;
107
+ capitalLookingToRaise: z.ZodString;
108
+ capitalLookingToRaiseCurrency: z.ZodOptional<z.ZodEnum<{
109
+ readonly USD: "USD (United States Dollar)";
110
+ readonly EUR: "EUR (Euro)";
111
+ readonly GBP: "GBP (British Pound Sterling)";
112
+ readonly NGN: "NGN (Nigerian Naira)";
113
+ readonly CAD: "CAD (Canadian Dollar)";
114
+ readonly AUD: "AUD (Australian Dollar)";
115
+ readonly JPY: "JPY (Japanese Yen)";
116
+ readonly CHF: "CHF (Swiss Franc)";
117
+ readonly INR: "INR (Indian Rupee)";
118
+ readonly ZAR: "ZAR (South African Rand)";
119
+ }>>;
120
+ currentTraction: z.ZodString;
67
121
  startDate: z.ZodOptional<z.ZodCoercedDate<unknown>>;
68
122
  endDate: z.ZodOptional<z.ZodCoercedDate<unknown>>;
69
123
  createdAt: z.ZodCoercedDate<unknown>;
@@ -153,6 +207,33 @@ export declare const UpdateProjectInputSchema: z.ZodObject<{
153
207
  }>>;
154
208
  clientName: z.ZodOptional<z.ZodString>;
155
209
  isFeatured: z.ZodOptional<z.ZodBoolean>;
210
+ problemBeingSolved: z.ZodOptional<z.ZodString>;
211
+ whoItsFor: z.ZodOptional<z.ZodString>;
212
+ ventureStage: z.ZodOptional<z.ZodEnum<{
213
+ IDEA: string;
214
+ PRE_SEED: string;
215
+ MVP: string;
216
+ SEED: string;
217
+ SERIES_A: string;
218
+ SERIES_B: string;
219
+ SERIES_C: string;
220
+ GROWTH: string;
221
+ EXIT: string;
222
+ }>>;
223
+ capitalLookingToRaise: z.ZodOptional<z.ZodString>;
224
+ capitalLookingToRaiseCurrency: z.ZodOptional<z.ZodEnum<{
225
+ readonly USD: "USD (United States Dollar)";
226
+ readonly EUR: "EUR (Euro)";
227
+ readonly GBP: "GBP (British Pound Sterling)";
228
+ readonly NGN: "NGN (Nigerian Naira)";
229
+ readonly CAD: "CAD (Canadian Dollar)";
230
+ readonly AUD: "AUD (Australian Dollar)";
231
+ readonly JPY: "JPY (Japanese Yen)";
232
+ readonly CHF: "CHF (Swiss Franc)";
233
+ readonly INR: "INR (Indian Rupee)";
234
+ readonly ZAR: "ZAR (South African Rand)";
235
+ }>>;
236
+ currentTraction: z.ZodString;
156
237
  startDate: z.ZodOptional<z.ZodCoercedDate<unknown>>;
157
238
  endDate: z.ZodOptional<z.ZodCoercedDate<unknown>>;
158
239
  createdAt: z.ZodOptional<z.ZodDate>;
@@ -182,6 +263,33 @@ export declare const CreateProjectOutputSchema: z.ZodObject<{
182
263
  }>>;
183
264
  clientName: z.ZodOptional<z.ZodString>;
184
265
  isFeatured: z.ZodOptional<z.ZodBoolean>;
266
+ problemBeingSolved: z.ZodOptional<z.ZodString>;
267
+ whoItsFor: z.ZodOptional<z.ZodString>;
268
+ ventureStage: z.ZodOptional<z.ZodEnum<{
269
+ IDEA: string;
270
+ PRE_SEED: string;
271
+ MVP: string;
272
+ SEED: string;
273
+ SERIES_A: string;
274
+ SERIES_B: string;
275
+ SERIES_C: string;
276
+ GROWTH: string;
277
+ EXIT: string;
278
+ }>>;
279
+ capitalLookingToRaise: z.ZodString;
280
+ capitalLookingToRaiseCurrency: z.ZodOptional<z.ZodEnum<{
281
+ readonly USD: "USD (United States Dollar)";
282
+ readonly EUR: "EUR (Euro)";
283
+ readonly GBP: "GBP (British Pound Sterling)";
284
+ readonly NGN: "NGN (Nigerian Naira)";
285
+ readonly CAD: "CAD (Canadian Dollar)";
286
+ readonly AUD: "AUD (Australian Dollar)";
287
+ readonly JPY: "JPY (Japanese Yen)";
288
+ readonly CHF: "CHF (Swiss Franc)";
289
+ readonly INR: "INR (Indian Rupee)";
290
+ readonly ZAR: "ZAR (South African Rand)";
291
+ }>>;
292
+ currentTraction: z.ZodString;
185
293
  startDate: z.ZodOptional<z.ZodCoercedDate<unknown>>;
186
294
  endDate: z.ZodOptional<z.ZodCoercedDate<unknown>>;
187
295
  createdAt: z.ZodCoercedDate<unknown>;
@@ -211,6 +319,33 @@ export declare const UpdateProjectOutputSchema: z.ZodObject<{
211
319
  }>>;
212
320
  clientName: z.ZodOptional<z.ZodString>;
213
321
  isFeatured: z.ZodOptional<z.ZodBoolean>;
322
+ problemBeingSolved: z.ZodOptional<z.ZodString>;
323
+ whoItsFor: z.ZodOptional<z.ZodString>;
324
+ ventureStage: z.ZodOptional<z.ZodEnum<{
325
+ IDEA: string;
326
+ PRE_SEED: string;
327
+ MVP: string;
328
+ SEED: string;
329
+ SERIES_A: string;
330
+ SERIES_B: string;
331
+ SERIES_C: string;
332
+ GROWTH: string;
333
+ EXIT: string;
334
+ }>>;
335
+ capitalLookingToRaise: z.ZodString;
336
+ capitalLookingToRaiseCurrency: z.ZodOptional<z.ZodEnum<{
337
+ readonly USD: "USD (United States Dollar)";
338
+ readonly EUR: "EUR (Euro)";
339
+ readonly GBP: "GBP (British Pound Sterling)";
340
+ readonly NGN: "NGN (Nigerian Naira)";
341
+ readonly CAD: "CAD (Canadian Dollar)";
342
+ readonly AUD: "AUD (Australian Dollar)";
343
+ readonly JPY: "JPY (Japanese Yen)";
344
+ readonly CHF: "CHF (Swiss Franc)";
345
+ readonly INR: "INR (Indian Rupee)";
346
+ readonly ZAR: "ZAR (South African Rand)";
347
+ }>>;
348
+ currentTraction: z.ZodString;
214
349
  startDate: z.ZodOptional<z.ZodCoercedDate<unknown>>;
215
350
  endDate: z.ZodOptional<z.ZodCoercedDate<unknown>>;
216
351
  createdAt: z.ZodCoercedDate<unknown>;
@@ -240,6 +375,33 @@ export declare const DeleteProjectOutputSchema: z.ZodObject<{
240
375
  }>>;
241
376
  clientName: z.ZodOptional<z.ZodString>;
242
377
  isFeatured: z.ZodOptional<z.ZodBoolean>;
378
+ problemBeingSolved: z.ZodOptional<z.ZodString>;
379
+ whoItsFor: z.ZodOptional<z.ZodString>;
380
+ ventureStage: z.ZodOptional<z.ZodEnum<{
381
+ IDEA: string;
382
+ PRE_SEED: string;
383
+ MVP: string;
384
+ SEED: string;
385
+ SERIES_A: string;
386
+ SERIES_B: string;
387
+ SERIES_C: string;
388
+ GROWTH: string;
389
+ EXIT: string;
390
+ }>>;
391
+ capitalLookingToRaise: z.ZodString;
392
+ capitalLookingToRaiseCurrency: z.ZodOptional<z.ZodEnum<{
393
+ readonly USD: "USD (United States Dollar)";
394
+ readonly EUR: "EUR (Euro)";
395
+ readonly GBP: "GBP (British Pound Sterling)";
396
+ readonly NGN: "NGN (Nigerian Naira)";
397
+ readonly CAD: "CAD (Canadian Dollar)";
398
+ readonly AUD: "AUD (Australian Dollar)";
399
+ readonly JPY: "JPY (Japanese Yen)";
400
+ readonly CHF: "CHF (Swiss Franc)";
401
+ readonly INR: "INR (Indian Rupee)";
402
+ readonly ZAR: "ZAR (South African Rand)";
403
+ }>>;
404
+ currentTraction: z.ZodString;
243
405
  startDate: z.ZodOptional<z.ZodCoercedDate<unknown>>;
244
406
  endDate: z.ZodOptional<z.ZodCoercedDate<unknown>>;
245
407
  createdAt: z.ZodCoercedDate<unknown>;
@@ -269,6 +431,33 @@ export declare const GetProjectOutputSchema: z.ZodObject<{
269
431
  }>>;
270
432
  clientName: z.ZodOptional<z.ZodString>;
271
433
  isFeatured: z.ZodOptional<z.ZodBoolean>;
434
+ problemBeingSolved: z.ZodOptional<z.ZodString>;
435
+ whoItsFor: z.ZodOptional<z.ZodString>;
436
+ ventureStage: z.ZodOptional<z.ZodEnum<{
437
+ IDEA: string;
438
+ PRE_SEED: string;
439
+ MVP: string;
440
+ SEED: string;
441
+ SERIES_A: string;
442
+ SERIES_B: string;
443
+ SERIES_C: string;
444
+ GROWTH: string;
445
+ EXIT: string;
446
+ }>>;
447
+ capitalLookingToRaise: z.ZodString;
448
+ capitalLookingToRaiseCurrency: z.ZodOptional<z.ZodEnum<{
449
+ readonly USD: "USD (United States Dollar)";
450
+ readonly EUR: "EUR (Euro)";
451
+ readonly GBP: "GBP (British Pound Sterling)";
452
+ readonly NGN: "NGN (Nigerian Naira)";
453
+ readonly CAD: "CAD (Canadian Dollar)";
454
+ readonly AUD: "AUD (Australian Dollar)";
455
+ readonly JPY: "JPY (Japanese Yen)";
456
+ readonly CHF: "CHF (Swiss Franc)";
457
+ readonly INR: "INR (Indian Rupee)";
458
+ readonly ZAR: "ZAR (South African Rand)";
459
+ }>>;
460
+ currentTraction: z.ZodString;
272
461
  startDate: z.ZodOptional<z.ZodCoercedDate<unknown>>;
273
462
  endDate: z.ZodOptional<z.ZodCoercedDate<unknown>>;
274
463
  createdAt: z.ZodCoercedDate<unknown>;
@@ -66,6 +66,12 @@ exports.ProjectEntitySchema = zod_openapi_1.z
66
66
  description: "Whether the project is featured.",
67
67
  example: true,
68
68
  }),
69
+ problemBeingSolved: zod_openapi_1.z.string().max(600).optional(),
70
+ whoItsFor: zod_openapi_1.z.string().max(600).optional(),
71
+ ventureStage: zod_openapi_1.z.enum(constants_1.VENTURE_STAGES).optional(),
72
+ capitalLookingToRaise: zod_openapi_1.z.string(),
73
+ capitalLookingToRaiseCurrency: zod_openapi_1.z.enum(constants_1.WAGES_CURRENCY).optional(),
74
+ currentTraction: zod_openapi_1.z.string().max(600),
69
75
  startDate: zod_openapi_1.z.coerce
70
76
  .date()
71
77
  .optional()
@@ -190,6 +196,12 @@ exports.UpdateProjectInputSchema = zod_openapi_1.z
190
196
  clientType: zod_openapi_1.z.enum(constants_1.CLIENT_TYPES).optional(),
191
197
  clientName: zod_openapi_1.z.string().optional(),
192
198
  isFeatured: zod_openapi_1.z.boolean().optional(),
199
+ problemBeingSolved: zod_openapi_1.z.string().max(600).optional(),
200
+ whoItsFor: zod_openapi_1.z.string().max(600).optional(),
201
+ ventureStage: zod_openapi_1.z.enum(constants_1.VENTURE_STAGES).optional(),
202
+ capitalLookingToRaise: zod_openapi_1.z.string().optional(),
203
+ capitalLookingToRaiseCurrency: zod_openapi_1.z.enum(constants_1.WAGES_CURRENCY).optional(),
204
+ currentTraction: zod_openapi_1.z.string().max(600),
193
205
  startDate: zod_openapi_1.z.coerce.date().optional(),
194
206
  endDate: zod_openapi_1.z.coerce.date().optional(),
195
207
  createdAt: zod_openapi_1.z.date().optional(),
@@ -233,6 +233,33 @@ export declare const UserWithProjectsEntitySchema: z.ZodObject<{
233
233
  }>>;
234
234
  clientName: z.ZodOptional<z.ZodString>;
235
235
  isFeatured: z.ZodOptional<z.ZodBoolean>;
236
+ problemBeingSolved: z.ZodOptional<z.ZodString>;
237
+ whoItsFor: z.ZodOptional<z.ZodString>;
238
+ ventureStage: z.ZodOptional<z.ZodEnum<{
239
+ IDEA: string;
240
+ PRE_SEED: string;
241
+ MVP: string;
242
+ SEED: string;
243
+ SERIES_A: string;
244
+ SERIES_B: string;
245
+ SERIES_C: string;
246
+ GROWTH: string;
247
+ EXIT: string;
248
+ }>>;
249
+ capitalLookingToRaise: z.ZodString;
250
+ capitalLookingToRaiseCurrency: z.ZodOptional<z.ZodEnum<{
251
+ readonly USD: "USD (United States Dollar)";
252
+ readonly EUR: "EUR (Euro)";
253
+ readonly GBP: "GBP (British Pound Sterling)";
254
+ readonly NGN: "NGN (Nigerian Naira)";
255
+ readonly CAD: "CAD (Canadian Dollar)";
256
+ readonly AUD: "AUD (Australian Dollar)";
257
+ readonly JPY: "JPY (Japanese Yen)";
258
+ readonly CHF: "CHF (Swiss Franc)";
259
+ readonly INR: "INR (Indian Rupee)";
260
+ readonly ZAR: "ZAR (South African Rand)";
261
+ }>>;
262
+ currentTraction: z.ZodString;
236
263
  startDate: z.ZodOptional<z.ZodCoercedDate<unknown>>;
237
264
  endDate: z.ZodOptional<z.ZodCoercedDate<unknown>>;
238
265
  version: z.ZodInt;
@@ -717,6 +744,33 @@ export declare const GetAuthenticatedUserWithProjectsOutputSchema: z.ZodObject<{
717
744
  }>>;
718
745
  clientName: z.ZodOptional<z.ZodString>;
719
746
  isFeatured: z.ZodOptional<z.ZodBoolean>;
747
+ problemBeingSolved: z.ZodOptional<z.ZodString>;
748
+ whoItsFor: z.ZodOptional<z.ZodString>;
749
+ ventureStage: z.ZodOptional<z.ZodEnum<{
750
+ IDEA: string;
751
+ PRE_SEED: string;
752
+ MVP: string;
753
+ SEED: string;
754
+ SERIES_A: string;
755
+ SERIES_B: string;
756
+ SERIES_C: string;
757
+ GROWTH: string;
758
+ EXIT: string;
759
+ }>>;
760
+ capitalLookingToRaise: z.ZodString;
761
+ capitalLookingToRaiseCurrency: z.ZodOptional<z.ZodEnum<{
762
+ readonly USD: "USD (United States Dollar)";
763
+ readonly EUR: "EUR (Euro)";
764
+ readonly GBP: "GBP (British Pound Sterling)";
765
+ readonly NGN: "NGN (Nigerian Naira)";
766
+ readonly CAD: "CAD (Canadian Dollar)";
767
+ readonly AUD: "AUD (Australian Dollar)";
768
+ readonly JPY: "JPY (Japanese Yen)";
769
+ readonly CHF: "CHF (Swiss Franc)";
770
+ readonly INR: "INR (Indian Rupee)";
771
+ readonly ZAR: "ZAR (South African Rand)";
772
+ }>>;
773
+ currentTraction: z.ZodString;
720
774
  startDate: z.ZodOptional<z.ZodCoercedDate<unknown>>;
721
775
  endDate: z.ZodOptional<z.ZodCoercedDate<unknown>>;
722
776
  version: z.ZodInt;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zyacreatives/shared",
3
- "version": "2.2.2",
3
+ "version": "2.2.4",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
package/src/constants.ts CHANGED
@@ -250,6 +250,18 @@ export const NOTIFICATION_TYPES = {
250
250
  PROJECT_FEATURED: "Project Featured",
251
251
  } as const;
252
252
 
253
+ export const VENTURE_STAGES = {
254
+ IDEA: "Idea",
255
+ PRE_SEED: "Pre Seed",
256
+ MVP: "MVP",
257
+ SEED: "Seed",
258
+ SERIES_A: "Series A",
259
+ SERIES_B: "Series B",
260
+ SERIES_C: "Series C",
261
+ GROWTH: "Growth",
262
+ EXIT: "Exit",
263
+ };
264
+
253
265
  export type NotificationType =
254
266
  (typeof NOTIFICATION_TYPES)[keyof typeof NOTIFICATION_TYPES];
255
267
 
@@ -291,6 +303,7 @@ export type InvestorVerificationDocumentStatus =
291
303
  (typeof INVESTOR_VERIFICATION_DOCUMENT_STATUSES)[keyof typeof INVESTOR_VERIFICATION_DOCUMENT_STATUSES];
292
304
  export type InvestorVerificationDocumentType =
293
305
  (typeof INVESTOR_VERIFICATION_DOCUMENT_TYPES)[keyof typeof INVESTOR_VERIFICATION_DOCUMENT_TYPES];
306
+ export type VentureStage = (typeof VENTURE_STAGES)[keyof typeof VENTURE_STAGES];
294
307
 
295
308
  export const API_ROUTES = {
296
309
  healthCheck: "/health",
@@ -1,5 +1,10 @@
1
1
  import { z } from "@hono/zod-openapi";
2
- import { CLIENT_TYPES, ROLES } from "../constants";
2
+ import {
3
+ CLIENT_TYPES,
4
+ ROLES,
5
+ VENTURE_STAGES,
6
+ WAGES_CURRENCY,
7
+ } from "../constants";
3
8
  import { CreateFileInputSchema, FileEntitySchema } from "./file";
4
9
  import { CommentEntitySchema } from "./comment";
5
10
  import { BookmarkEntitySchema } from "./bookmark";
@@ -65,6 +70,12 @@ export const ProjectEntitySchema = z
65
70
  description: "Whether the project is featured.",
66
71
  example: true,
67
72
  }),
73
+ problemBeingSolved: z.string().max(600).optional(),
74
+ whoItsFor: z.string().max(600).optional(),
75
+ ventureStage: z.enum(VENTURE_STAGES).optional(),
76
+ capitalLookingToRaise: z.string(),
77
+ capitalLookingToRaiseCurrency: z.enum(WAGES_CURRENCY).optional(),
78
+ currentTraction: z.string().max(600),
68
79
  startDate: z.coerce
69
80
  .date()
70
81
  .optional()
@@ -198,6 +209,12 @@ export const UpdateProjectInputSchema = z
198
209
  clientType: z.enum(CLIENT_TYPES).optional(),
199
210
  clientName: z.string().optional(),
200
211
  isFeatured: z.boolean().optional(),
212
+ problemBeingSolved: z.string().max(600).optional(),
213
+ whoItsFor: z.string().max(600).optional(),
214
+ ventureStage: z.enum(VENTURE_STAGES).optional(),
215
+ capitalLookingToRaise: z.string().optional(),
216
+ capitalLookingToRaiseCurrency: z.enum(WAGES_CURRENCY).optional(),
217
+ currentTraction: z.string().max(600),
201
218
  startDate: z.coerce.date().optional(),
202
219
  endDate: z.coerce.date().optional(),
203
220
  createdAt: z.date().optional(),