@zyacreatives/shared 2.2.44 → 2.2.46
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.
|
@@ -43,6 +43,7 @@ export declare const MinimalInvestorEntitySchema: z.ZodObject<{
|
|
|
43
43
|
Global: "Global";
|
|
44
44
|
Other: "Other";
|
|
45
45
|
}>>;
|
|
46
|
+
websiteURL: z.ZodOptional<z.ZodURL>;
|
|
46
47
|
disciplines: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
47
48
|
createdAt: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
48
49
|
updatedAt: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
@@ -157,6 +158,7 @@ export declare const InvestorWithUserEntitySchema: z.ZodObject<{
|
|
|
157
158
|
Global: "Global";
|
|
158
159
|
Other: "Other";
|
|
159
160
|
}>>;
|
|
161
|
+
websiteURL: z.ZodOptional<z.ZodURL>;
|
|
160
162
|
disciplines: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
161
163
|
createdAt: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
162
164
|
updatedAt: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
@@ -183,7 +185,6 @@ export declare const CreateInvestorProfileInputSchema: z.ZodObject<{
|
|
|
183
185
|
"5+ years": "5+ years";
|
|
184
186
|
}>>;
|
|
185
187
|
location: z.ZodString;
|
|
186
|
-
disciplineSlugs: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
187
188
|
}, z.core.$strip>;
|
|
188
189
|
export declare const UpdateInvestorProfileInputSchema: z.ZodObject<{
|
|
189
190
|
bio: z.ZodOptional<z.ZodString>;
|
|
@@ -518,6 +519,7 @@ export declare const SearchInvestorOutputSchema: z.ZodObject<{
|
|
|
518
519
|
Global: "Global";
|
|
519
520
|
Other: "Other";
|
|
520
521
|
}>>;
|
|
522
|
+
websiteURL: z.ZodOptional<z.ZodURL>;
|
|
521
523
|
disciplines: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
522
524
|
createdAt: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
523
525
|
updatedAt: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
package/dist/schemas/investor.js
CHANGED
|
@@ -33,6 +33,10 @@ exports.MinimalInvestorEntitySchema = zod_openapi_1.z.object({
|
|
|
33
33
|
.openapi({
|
|
34
34
|
example: "GLOBAL",
|
|
35
35
|
}),
|
|
36
|
+
websiteURL: zod_openapi_1.z
|
|
37
|
+
.url()
|
|
38
|
+
.optional()
|
|
39
|
+
.openapi({ example: "https://investorpartners.com" }),
|
|
36
40
|
disciplines: zod_openapi_1.z
|
|
37
41
|
.array(zod_openapi_1.z.string())
|
|
38
42
|
.optional()
|
|
@@ -134,14 +138,6 @@ exports.CreateInvestorProfileInputSchema = zod_openapi_1.z
|
|
|
134
138
|
location: zod_openapi_1.z.string().openapi({
|
|
135
139
|
example: "UK",
|
|
136
140
|
}),
|
|
137
|
-
disciplineSlugs: zod_openapi_1.z
|
|
138
|
-
.array(zod_openapi_1.z.string())
|
|
139
|
-
.min(1, "At least one discipline is required")
|
|
140
|
-
.default([])
|
|
141
|
-
.describe("List of discipline slugs.")
|
|
142
|
-
.openapi({
|
|
143
|
-
example: ["fintech", "edtech"],
|
|
144
|
-
}),
|
|
145
141
|
})
|
|
146
142
|
.openapi({
|
|
147
143
|
title: "Create Investor Profile",
|
package/package.json
CHANGED
package/src/schemas/investor.ts
CHANGED
|
@@ -53,6 +53,10 @@ export const MinimalInvestorEntitySchema = z.object({
|
|
|
53
53
|
.openapi({
|
|
54
54
|
example: "GLOBAL",
|
|
55
55
|
}),
|
|
56
|
+
websiteURL: z
|
|
57
|
+
.url()
|
|
58
|
+
.optional()
|
|
59
|
+
.openapi({ example: "https://investorpartners.com" }),
|
|
56
60
|
disciplines: z
|
|
57
61
|
.array(z.string())
|
|
58
62
|
.optional()
|
|
@@ -176,14 +180,6 @@ export const CreateInvestorProfileInputSchema = z
|
|
|
176
180
|
location: z.string().openapi({
|
|
177
181
|
example: "UK",
|
|
178
182
|
}),
|
|
179
|
-
disciplineSlugs: z
|
|
180
|
-
.array(z.string())
|
|
181
|
-
.min(1, "At least one discipline is required")
|
|
182
|
-
.default([])
|
|
183
|
-
.describe("List of discipline slugs.")
|
|
184
|
-
.openapi({
|
|
185
|
-
example: ["fintech", "edtech"],
|
|
186
|
-
}),
|
|
187
183
|
})
|
|
188
184
|
.openapi({
|
|
189
185
|
title: "Create Investor Profile",
|