@zyacreatives/shared 2.2.21 → 2.2.23
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>;
|
|
@@ -146,6 +147,7 @@ export declare const UpdateProjectInputSchema: z.ZodObject<{
|
|
|
146
147
|
readonly ZAR: "ZAR (South African Rand)";
|
|
147
148
|
}>>;
|
|
148
149
|
currentTraction: z.ZodOptional<z.ZodString>;
|
|
150
|
+
isOpenToInvestment: z.ZodDefault<z.ZodBoolean>;
|
|
149
151
|
startDate: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
150
152
|
endDate: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
151
153
|
version: z.ZodNumber;
|
|
@@ -238,6 +240,7 @@ export declare const ProjectDetailsEntitySchema: z.ZodObject<{
|
|
|
238
240
|
readonly ZAR: "ZAR (South African Rand)";
|
|
239
241
|
}>>;
|
|
240
242
|
currentTraction: z.ZodString;
|
|
243
|
+
isOpenToInvestment: z.ZodDefault<z.ZodBoolean>;
|
|
241
244
|
startDate: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
242
245
|
endDate: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
243
246
|
createdAt: z.ZodCoercedDate<unknown>;
|
|
@@ -312,6 +315,7 @@ export declare const GetProjectOutputSchema: z.ZodObject<{
|
|
|
312
315
|
readonly ZAR: "ZAR (South African Rand)";
|
|
313
316
|
}>>;
|
|
314
317
|
currentTraction: z.ZodString;
|
|
318
|
+
isOpenToInvestment: z.ZodDefault<z.ZodBoolean>;
|
|
315
319
|
startDate: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
316
320
|
endDate: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
317
321
|
createdAt: z.ZodCoercedDate<unknown>;
|
|
@@ -642,6 +646,7 @@ export declare const CreateProjectOutputSchema: z.ZodObject<{
|
|
|
642
646
|
readonly ZAR: "ZAR (South African Rand)";
|
|
643
647
|
}>>;
|
|
644
648
|
currentTraction: z.ZodString;
|
|
649
|
+
isOpenToInvestment: z.ZodDefault<z.ZodBoolean>;
|
|
645
650
|
startDate: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
646
651
|
endDate: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
647
652
|
createdAt: z.ZodCoercedDate<unknown>;
|
|
@@ -703,6 +708,7 @@ export declare const UpdateProjectOutputSchema: z.ZodObject<{
|
|
|
703
708
|
readonly ZAR: "ZAR (South African Rand)";
|
|
704
709
|
}>>;
|
|
705
710
|
currentTraction: z.ZodString;
|
|
711
|
+
isOpenToInvestment: z.ZodDefault<z.ZodBoolean>;
|
|
706
712
|
startDate: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
707
713
|
endDate: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
708
714
|
createdAt: z.ZodCoercedDate<unknown>;
|
|
@@ -764,6 +770,7 @@ export declare const DeleteProjectOutputSchema: z.ZodObject<{
|
|
|
764
770
|
readonly ZAR: "ZAR (South African Rand)";
|
|
765
771
|
}>>;
|
|
766
772
|
currentTraction: z.ZodString;
|
|
773
|
+
isOpenToInvestment: z.ZodDefault<z.ZodBoolean>;
|
|
767
774
|
startDate: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
768
775
|
endDate: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
769
776
|
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(),
|
|
@@ -90,6 +91,7 @@ exports.UpdateProjectInputSchema = zod_openapi_1.z
|
|
|
90
91
|
capitalLookingToRaise: zod_openapi_1.z.string().optional(),
|
|
91
92
|
capitalLookingToRaiseCurrency: zod_openapi_1.z.enum(constants_1.WAGES_CURRENCY).optional(),
|
|
92
93
|
currentTraction: zod_openapi_1.z.string().max(600).optional(),
|
|
94
|
+
isOpenToInvestment: zod_openapi_1.z.boolean().default(false),
|
|
93
95
|
startDate: zod_openapi_1.z.coerce.date().optional(),
|
|
94
96
|
endDate: zod_openapi_1.z.coerce.date().optional(),
|
|
95
97
|
version: zod_openapi_1.z.number().int(),
|
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(),
|
|
@@ -100,6 +101,7 @@ export const UpdateProjectInputSchema = z
|
|
|
100
101
|
capitalLookingToRaise: z.string().optional(),
|
|
101
102
|
capitalLookingToRaiseCurrency: z.enum(WAGES_CURRENCY).optional(),
|
|
102
103
|
currentTraction: z.string().max(600).optional(),
|
|
104
|
+
isOpenToInvestment: z.boolean().default(false),
|
|
103
105
|
startDate: z.coerce.date().optional(),
|
|
104
106
|
endDate: z.coerce.date().optional(),
|
|
105
107
|
version: z.number().int(),
|