@zyacreatives/shared 2.2.23 → 2.2.24
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.
|
@@ -364,6 +364,17 @@ export declare const ProjectSearchDocumentSchema: z.ZodObject<{
|
|
|
364
364
|
readonly INR: "INR (Indian Rupee)";
|
|
365
365
|
readonly ZAR: "ZAR (South African Rand)";
|
|
366
366
|
}>>;
|
|
367
|
+
ventureStage: z.ZodOptional<z.ZodEnum<{
|
|
368
|
+
readonly IDEA: "Idea";
|
|
369
|
+
readonly PRE_SEED: "Pre Seed";
|
|
370
|
+
readonly MVP: "MVP";
|
|
371
|
+
readonly SEED: "Seed";
|
|
372
|
+
readonly SERIES_A: "Series A";
|
|
373
|
+
readonly SERIES_B: "Series B";
|
|
374
|
+
readonly SERIES_C: "Series C";
|
|
375
|
+
readonly GROWTH: "Growth";
|
|
376
|
+
readonly EXIT: "Exit";
|
|
377
|
+
}>>;
|
|
367
378
|
url: z.ZodOptional<z.ZodURL>;
|
|
368
379
|
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
369
380
|
clientId: z.ZodOptional<z.ZodString>;
|
|
@@ -405,6 +416,17 @@ export declare const SearchProjectsOutputSchema: z.ZodObject<{
|
|
|
405
416
|
readonly INR: "INR (Indian Rupee)";
|
|
406
417
|
readonly ZAR: "ZAR (South African Rand)";
|
|
407
418
|
}>>;
|
|
419
|
+
ventureStage: z.ZodOptional<z.ZodEnum<{
|
|
420
|
+
readonly IDEA: "Idea";
|
|
421
|
+
readonly PRE_SEED: "Pre Seed";
|
|
422
|
+
readonly MVP: "MVP";
|
|
423
|
+
readonly SEED: "Seed";
|
|
424
|
+
readonly SERIES_A: "Series A";
|
|
425
|
+
readonly SERIES_B: "Series B";
|
|
426
|
+
readonly SERIES_C: "Series C";
|
|
427
|
+
readonly GROWTH: "Growth";
|
|
428
|
+
readonly EXIT: "Exit";
|
|
429
|
+
}>>;
|
|
408
430
|
url: z.ZodOptional<z.ZodURL>;
|
|
409
431
|
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
410
432
|
clientId: z.ZodOptional<z.ZodString>;
|
package/dist/schemas/project.js
CHANGED
|
@@ -146,6 +146,7 @@ exports.ProjectSearchDocumentSchema = zod_openapi_1.z
|
|
|
146
146
|
description: zod_openapi_1.z.string().optional(),
|
|
147
147
|
capitalLookingToRaise: zod_openapi_1.z.string().optional(),
|
|
148
148
|
capitalLookingToRaiseCurrency: zod_openapi_1.z.enum(constants_1.WAGES_CURRENCY).optional(),
|
|
149
|
+
ventureStage: zod_openapi_1.z.enum(constants_1.VENTURE_STAGES).optional(),
|
|
149
150
|
url: zod_openapi_1.z.url().optional(),
|
|
150
151
|
tags: zod_openapi_1.z.array(zod_openapi_1.z.string()).optional(),
|
|
151
152
|
clientId: zod_openapi_1.z.string().optional(),
|
package/package.json
CHANGED
package/src/schemas/project.ts
CHANGED
|
@@ -38,7 +38,7 @@ export const ProjectEntitySchema = z
|
|
|
38
38
|
capitalLookingToRaise: z.string(),
|
|
39
39
|
capitalLookingToRaiseCurrency: z.enum(WAGES_CURRENCY).optional(),
|
|
40
40
|
currentTraction: z.string().max(600),
|
|
41
|
-
|
|
41
|
+
isOpenToInvestment: z.boolean().default(false),
|
|
42
42
|
startDate: z.coerce.date().optional(),
|
|
43
43
|
endDate: z.coerce.date().optional(),
|
|
44
44
|
createdAt: z.coerce.date(),
|
|
@@ -162,6 +162,7 @@ export const ProjectSearchDocumentSchema = z
|
|
|
162
162
|
description: z.string().optional(),
|
|
163
163
|
capitalLookingToRaise: z.string().optional(),
|
|
164
164
|
capitalLookingToRaiseCurrency: z.enum(WAGES_CURRENCY).optional(),
|
|
165
|
+
ventureStage: z.enum(VENTURE_STAGES).optional(),
|
|
165
166
|
url: z.url().optional(),
|
|
166
167
|
tags: z.array(z.string()).optional(),
|
|
167
168
|
clientId: z.string().optional(),
|