@zyacreatives/shared 2.2.22 → 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.
|
@@ -57,6 +57,7 @@ export declare const ProjectEntitySchema: z.ZodObject<{
|
|
|
57
57
|
readonly ZAR: "ZAR (South African Rand)";
|
|
58
58
|
}>>;
|
|
59
59
|
currentTraction: z.ZodString;
|
|
60
|
+
isOpenToInvestment: z.ZodDefault<z.ZodBoolean>;
|
|
60
61
|
startDate: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
61
62
|
endDate: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
62
63
|
createdAt: z.ZodCoercedDate<unknown>;
|
|
@@ -239,6 +240,7 @@ export declare const ProjectDetailsEntitySchema: z.ZodObject<{
|
|
|
239
240
|
readonly ZAR: "ZAR (South African Rand)";
|
|
240
241
|
}>>;
|
|
241
242
|
currentTraction: z.ZodString;
|
|
243
|
+
isOpenToInvestment: z.ZodDefault<z.ZodBoolean>;
|
|
242
244
|
startDate: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
243
245
|
endDate: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
244
246
|
createdAt: z.ZodCoercedDate<unknown>;
|
|
@@ -313,6 +315,7 @@ export declare const GetProjectOutputSchema: z.ZodObject<{
|
|
|
313
315
|
readonly ZAR: "ZAR (South African Rand)";
|
|
314
316
|
}>>;
|
|
315
317
|
currentTraction: z.ZodString;
|
|
318
|
+
isOpenToInvestment: z.ZodDefault<z.ZodBoolean>;
|
|
316
319
|
startDate: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
317
320
|
endDate: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
318
321
|
createdAt: z.ZodCoercedDate<unknown>;
|
|
@@ -361,6 +364,17 @@ export declare const ProjectSearchDocumentSchema: z.ZodObject<{
|
|
|
361
364
|
readonly INR: "INR (Indian Rupee)";
|
|
362
365
|
readonly ZAR: "ZAR (South African Rand)";
|
|
363
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
|
+
}>>;
|
|
364
378
|
url: z.ZodOptional<z.ZodURL>;
|
|
365
379
|
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
366
380
|
clientId: z.ZodOptional<z.ZodString>;
|
|
@@ -402,6 +416,17 @@ export declare const SearchProjectsOutputSchema: z.ZodObject<{
|
|
|
402
416
|
readonly INR: "INR (Indian Rupee)";
|
|
403
417
|
readonly ZAR: "ZAR (South African Rand)";
|
|
404
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
|
+
}>>;
|
|
405
430
|
url: z.ZodOptional<z.ZodURL>;
|
|
406
431
|
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
407
432
|
clientId: z.ZodOptional<z.ZodString>;
|
|
@@ -643,6 +668,7 @@ export declare const CreateProjectOutputSchema: z.ZodObject<{
|
|
|
643
668
|
readonly ZAR: "ZAR (South African Rand)";
|
|
644
669
|
}>>;
|
|
645
670
|
currentTraction: z.ZodString;
|
|
671
|
+
isOpenToInvestment: z.ZodDefault<z.ZodBoolean>;
|
|
646
672
|
startDate: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
647
673
|
endDate: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
648
674
|
createdAt: z.ZodCoercedDate<unknown>;
|
|
@@ -704,6 +730,7 @@ export declare const UpdateProjectOutputSchema: z.ZodObject<{
|
|
|
704
730
|
readonly ZAR: "ZAR (South African Rand)";
|
|
705
731
|
}>>;
|
|
706
732
|
currentTraction: z.ZodString;
|
|
733
|
+
isOpenToInvestment: z.ZodDefault<z.ZodBoolean>;
|
|
707
734
|
startDate: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
708
735
|
endDate: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
709
736
|
createdAt: z.ZodCoercedDate<unknown>;
|
|
@@ -765,6 +792,7 @@ export declare const DeleteProjectOutputSchema: z.ZodObject<{
|
|
|
765
792
|
readonly ZAR: "ZAR (South African Rand)";
|
|
766
793
|
}>>;
|
|
767
794
|
currentTraction: z.ZodString;
|
|
795
|
+
isOpenToInvestment: z.ZodDefault<z.ZodBoolean>;
|
|
768
796
|
startDate: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
769
797
|
endDate: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
770
798
|
createdAt: z.ZodCoercedDate<unknown>;
|
package/dist/schemas/project.js
CHANGED
|
@@ -33,6 +33,7 @@ exports.ProjectEntitySchema = zod_openapi_1.z
|
|
|
33
33
|
capitalLookingToRaise: zod_openapi_1.z.string(),
|
|
34
34
|
capitalLookingToRaiseCurrency: zod_openapi_1.z.enum(constants_1.WAGES_CURRENCY).optional(),
|
|
35
35
|
currentTraction: zod_openapi_1.z.string().max(600),
|
|
36
|
+
isOpenToInvestment: zod_openapi_1.z.boolean().default(false),
|
|
36
37
|
startDate: zod_openapi_1.z.coerce.date().optional(),
|
|
37
38
|
endDate: zod_openapi_1.z.coerce.date().optional(),
|
|
38
39
|
createdAt: zod_openapi_1.z.coerce.date(),
|
|
@@ -145,6 +146,7 @@ exports.ProjectSearchDocumentSchema = zod_openapi_1.z
|
|
|
145
146
|
description: zod_openapi_1.z.string().optional(),
|
|
146
147
|
capitalLookingToRaise: zod_openapi_1.z.string().optional(),
|
|
147
148
|
capitalLookingToRaiseCurrency: zod_openapi_1.z.enum(constants_1.WAGES_CURRENCY).optional(),
|
|
149
|
+
ventureStage: zod_openapi_1.z.enum(constants_1.VENTURE_STAGES).optional(),
|
|
148
150
|
url: zod_openapi_1.z.url().optional(),
|
|
149
151
|
tags: zod_openapi_1.z.array(zod_openapi_1.z.string()).optional(),
|
|
150
152
|
clientId: zod_openapi_1.z.string().optional(),
|
package/dist/schemas/user.d.ts
CHANGED
|
@@ -265,6 +265,7 @@ export declare const UserWithProjectsEntitySchema: z.ZodObject<{
|
|
|
265
265
|
readonly ZAR: "ZAR (South African Rand)";
|
|
266
266
|
}>>;
|
|
267
267
|
currentTraction: z.ZodString;
|
|
268
|
+
isOpenToInvestment: z.ZodDefault<z.ZodBoolean>;
|
|
268
269
|
startDate: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
269
270
|
endDate: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
270
271
|
version: z.ZodNumber;
|
|
@@ -781,6 +782,7 @@ export declare const GetAuthenticatedUserWithProjectsOutputSchema: z.ZodObject<{
|
|
|
781
782
|
readonly ZAR: "ZAR (South African Rand)";
|
|
782
783
|
}>>;
|
|
783
784
|
currentTraction: z.ZodString;
|
|
785
|
+
isOpenToInvestment: z.ZodDefault<z.ZodBoolean>;
|
|
784
786
|
startDate: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
785
787
|
endDate: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
786
788
|
version: z.ZodNumber;
|
package/package.json
CHANGED
package/src/schemas/project.ts
CHANGED
|
@@ -38,6 +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
|
+
isOpenToInvestment: z.boolean().default(false),
|
|
41
42
|
startDate: z.coerce.date().optional(),
|
|
42
43
|
endDate: z.coerce.date().optional(),
|
|
43
44
|
createdAt: z.coerce.date(),
|
|
@@ -161,6 +162,7 @@ export const ProjectSearchDocumentSchema = z
|
|
|
161
162
|
description: z.string().optional(),
|
|
162
163
|
capitalLookingToRaise: z.string().optional(),
|
|
163
164
|
capitalLookingToRaiseCurrency: z.enum(WAGES_CURRENCY).optional(),
|
|
165
|
+
ventureStage: z.enum(VENTURE_STAGES).optional(),
|
|
164
166
|
url: z.url().optional(),
|
|
165
167
|
tags: z.array(z.string()).optional(),
|
|
166
168
|
clientId: z.string().optional(),
|