@zyacreatives/shared 2.2.22 → 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>;
|
|
@@ -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>;
|
|
@@ -643,6 +646,7 @@ export declare const CreateProjectOutputSchema: z.ZodObject<{
|
|
|
643
646
|
readonly ZAR: "ZAR (South African Rand)";
|
|
644
647
|
}>>;
|
|
645
648
|
currentTraction: z.ZodString;
|
|
649
|
+
isOpenToInvestment: z.ZodDefault<z.ZodBoolean>;
|
|
646
650
|
startDate: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
647
651
|
endDate: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
648
652
|
createdAt: z.ZodCoercedDate<unknown>;
|
|
@@ -704,6 +708,7 @@ export declare const UpdateProjectOutputSchema: z.ZodObject<{
|
|
|
704
708
|
readonly ZAR: "ZAR (South African Rand)";
|
|
705
709
|
}>>;
|
|
706
710
|
currentTraction: z.ZodString;
|
|
711
|
+
isOpenToInvestment: z.ZodDefault<z.ZodBoolean>;
|
|
707
712
|
startDate: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
708
713
|
endDate: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
709
714
|
createdAt: z.ZodCoercedDate<unknown>;
|
|
@@ -765,6 +770,7 @@ export declare const DeleteProjectOutputSchema: z.ZodObject<{
|
|
|
765
770
|
readonly ZAR: "ZAR (South African Rand)";
|
|
766
771
|
}>>;
|
|
767
772
|
currentTraction: z.ZodString;
|
|
773
|
+
isOpenToInvestment: z.ZodDefault<z.ZodBoolean>;
|
|
768
774
|
startDate: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
769
775
|
endDate: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
770
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(),
|
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(),
|