@zyacreatives/shared 2.2.42 → 2.2.43

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.
@@ -55,6 +55,11 @@ export declare const InvestorEntitySchema: z.ZodObject<{
55
55
  readonly GENERIC_WEBSITE: "Generic Website";
56
56
  }>;
57
57
  }, z.core.$strip>>>;
58
+ achievements: z.ZodOptional<z.ZodArray<z.ZodObject<{
59
+ title: z.ZodString;
60
+ link: z.ZodOptional<z.ZodString>;
61
+ year: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
62
+ }, z.core.$strip>>>;
58
63
  disciplines: z.ZodOptional<z.ZodArray<z.ZodString>>;
59
64
  createdAt: z.ZodOptional<z.ZodCoercedDate<unknown>>;
60
65
  updatedAt: z.ZodOptional<z.ZodCoercedDate<unknown>>;
@@ -124,6 +129,11 @@ export declare const UpdateInvestorProfileInputSchema: z.ZodObject<{
124
129
  readonly GENERIC_WEBSITE: "Generic Website";
125
130
  }>;
126
131
  }, z.core.$strip>>>;
132
+ achievements: z.ZodOptional<z.ZodArray<z.ZodObject<{
133
+ title: z.ZodString;
134
+ link: z.ZodOptional<z.ZodString>;
135
+ year: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
136
+ }, z.core.$strip>>>;
127
137
  location: z.ZodOptional<z.ZodString>;
128
138
  version: z.ZodInt;
129
139
  }, z.core.$strip>;
@@ -206,6 +216,11 @@ export declare const CreateInvestorOutputSchema: z.ZodObject<{
206
216
  readonly GENERIC_WEBSITE: "Generic Website";
207
217
  }>;
208
218
  }, z.core.$strip>>>;
219
+ achievements: z.ZodOptional<z.ZodArray<z.ZodObject<{
220
+ title: z.ZodString;
221
+ link: z.ZodOptional<z.ZodString>;
222
+ year: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
223
+ }, z.core.$strip>>>;
209
224
  disciplines: z.ZodOptional<z.ZodArray<z.ZodString>>;
210
225
  createdAt: z.ZodOptional<z.ZodCoercedDate<unknown>>;
211
226
  updatedAt: z.ZodOptional<z.ZodCoercedDate<unknown>>;
@@ -267,6 +282,11 @@ export declare const GetInvestorOutputSchema: z.ZodObject<{
267
282
  readonly GENERIC_WEBSITE: "Generic Website";
268
283
  }>;
269
284
  }, z.core.$strip>>>;
285
+ achievements: z.ZodOptional<z.ZodArray<z.ZodObject<{
286
+ title: z.ZodString;
287
+ link: z.ZodOptional<z.ZodString>;
288
+ year: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
289
+ }, z.core.$strip>>>;
270
290
  disciplines: z.ZodOptional<z.ZodArray<z.ZodString>>;
271
291
  createdAt: z.ZodOptional<z.ZodCoercedDate<unknown>>;
272
292
  updatedAt: z.ZodOptional<z.ZodCoercedDate<unknown>>;
@@ -328,6 +348,11 @@ export declare const UpdateInvestorOutputSchema: z.ZodObject<{
328
348
  readonly GENERIC_WEBSITE: "Generic Website";
329
349
  }>;
330
350
  }, z.core.$strip>>>;
351
+ achievements: z.ZodOptional<z.ZodArray<z.ZodObject<{
352
+ title: z.ZodString;
353
+ link: z.ZodOptional<z.ZodString>;
354
+ year: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
355
+ }, z.core.$strip>>>;
331
356
  disciplines: z.ZodOptional<z.ZodArray<z.ZodString>>;
332
357
  createdAt: z.ZodOptional<z.ZodCoercedDate<unknown>>;
333
358
  updatedAt: z.ZodOptional<z.ZodCoercedDate<unknown>>;
@@ -43,6 +43,14 @@ exports.InvestorEntitySchema = zod_openapi_1.z
43
43
  })
44
44
  .array()
45
45
  .optional(),
46
+ achievements: zod_openapi_1.z
47
+ .object({
48
+ title: zod_openapi_1.z.string(),
49
+ link: zod_openapi_1.z.string().optional(),
50
+ year: zod_openapi_1.z.coerce.number().int().optional(),
51
+ })
52
+ .array()
53
+ .optional(),
46
54
  disciplines: zod_openapi_1.z
47
55
  .array(zod_openapi_1.z.string())
48
56
  .optional()
@@ -145,6 +153,14 @@ exports.UpdateInvestorProfileInputSchema = zod_openapi_1.z
145
153
  })
146
154
  .array()
147
155
  .optional(),
156
+ achievements: zod_openapi_1.z
157
+ .object({
158
+ title: zod_openapi_1.z.string(),
159
+ link: zod_openapi_1.z.string().optional(),
160
+ year: zod_openapi_1.z.coerce.number().int().optional(),
161
+ })
162
+ .array()
163
+ .optional(),
148
164
  location: zod_openapi_1.z.string().optional().openapi({
149
165
  example: "UK",
150
166
  }),
@@ -212,6 +212,11 @@ export declare const UserProfileEntitySchema: z.ZodObject<{
212
212
  readonly GENERIC_WEBSITE: "Generic Website";
213
213
  }>;
214
214
  }, z.core.$strip>>>;
215
+ achievements: z.ZodOptional<z.ZodArray<z.ZodObject<{
216
+ title: z.ZodString;
217
+ link: z.ZodOptional<z.ZodString>;
218
+ year: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
219
+ }, z.core.$strip>>>;
215
220
  disciplines: z.ZodOptional<z.ZodArray<z.ZodString>>;
216
221
  createdAt: z.ZodOptional<z.ZodCoercedDate<unknown>>;
217
222
  updatedAt: z.ZodOptional<z.ZodCoercedDate<unknown>>;
@@ -740,6 +745,11 @@ export declare const GetAuthenticatedUserProfileOutputSchema: z.ZodObject<{
740
745
  readonly GENERIC_WEBSITE: "Generic Website";
741
746
  }>;
742
747
  }, z.core.$strip>>>;
748
+ achievements: z.ZodOptional<z.ZodArray<z.ZodObject<{
749
+ title: z.ZodString;
750
+ link: z.ZodOptional<z.ZodString>;
751
+ year: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
752
+ }, z.core.$strip>>>;
743
753
  disciplines: z.ZodOptional<z.ZodArray<z.ZodString>>;
744
754
  createdAt: z.ZodOptional<z.ZodCoercedDate<unknown>>;
745
755
  updatedAt: z.ZodOptional<z.ZodCoercedDate<unknown>>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zyacreatives/shared",
3
- "version": "2.2.42",
3
+ "version": "2.2.43",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -66,6 +66,14 @@ export const InvestorEntitySchema = z
66
66
  })
67
67
  .array()
68
68
  .optional(),
69
+ achievements: z
70
+ .object({
71
+ title: z.string(),
72
+ link: z.string().optional(),
73
+ year: z.coerce.number().int().optional(),
74
+ })
75
+ .array()
76
+ .optional(),
69
77
  disciplines: z
70
78
  .array(z.string())
71
79
  .optional()
@@ -188,6 +196,14 @@ export const UpdateInvestorProfileInputSchema = z
188
196
  })
189
197
  .array()
190
198
  .optional(),
199
+ achievements: z
200
+ .object({
201
+ title: z.string(),
202
+ link: z.string().optional(),
203
+ year: z.coerce.number().int().optional(),
204
+ })
205
+ .array()
206
+ .optional(),
191
207
  location: z.string().optional().openapi({
192
208
  example: "UK",
193
209
  }),