@zyacreatives/shared 2.1.79 → 2.1.80

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.
@@ -47,6 +47,7 @@ export declare const InvestorEntitySchema: z.ZodObject<{
47
47
  disciplines: z.ZodOptional<z.ZodArray<z.ZodString>>;
48
48
  createdAt: z.ZodOptional<z.ZodCoercedDate<unknown>>;
49
49
  updatedAt: z.ZodOptional<z.ZodCoercedDate<unknown>>;
50
+ version: z.ZodInt;
50
51
  }, z.core.$strip>;
51
52
  export declare const CreateInvestorProfileInputSchema: z.ZodObject<{
52
53
  bio: z.ZodOptional<z.ZodString>;
@@ -103,6 +104,7 @@ export declare const UpdateInvestorProfileInputSchema: z.ZodObject<{
103
104
  Other: "Other";
104
105
  }>>;
105
106
  location: z.ZodOptional<z.ZodString>;
107
+ version: z.ZodInt;
106
108
  }, z.core.$strip>;
107
109
  export declare const ListInvestorsInputSchema: z.ZodObject<{
108
110
  query: z.ZodOptional<z.ZodString>;
@@ -175,6 +177,7 @@ export declare const CreateInvestorOutputSchema: z.ZodObject<{
175
177
  disciplines: z.ZodOptional<z.ZodArray<z.ZodString>>;
176
178
  createdAt: z.ZodOptional<z.ZodCoercedDate<unknown>>;
177
179
  updatedAt: z.ZodOptional<z.ZodCoercedDate<unknown>>;
180
+ version: z.ZodInt;
178
181
  }, z.core.$strip>;
179
182
  export declare const GetInvestorOutputSchema: z.ZodObject<{
180
183
  id: z.ZodCUID2;
@@ -224,6 +227,7 @@ export declare const GetInvestorOutputSchema: z.ZodObject<{
224
227
  disciplines: z.ZodOptional<z.ZodArray<z.ZodString>>;
225
228
  createdAt: z.ZodOptional<z.ZodCoercedDate<unknown>>;
226
229
  updatedAt: z.ZodOptional<z.ZodCoercedDate<unknown>>;
230
+ version: z.ZodInt;
227
231
  }, z.core.$strip>;
228
232
  export declare const UpdateInvestorOutputSchema: z.ZodObject<{
229
233
  id: z.ZodCUID2;
@@ -273,4 +277,5 @@ export declare const UpdateInvestorOutputSchema: z.ZodObject<{
273
277
  disciplines: z.ZodOptional<z.ZodArray<z.ZodString>>;
274
278
  createdAt: z.ZodOptional<z.ZodCoercedDate<unknown>>;
275
279
  updatedAt: z.ZodOptional<z.ZodCoercedDate<unknown>>;
280
+ version: z.ZodInt;
276
281
  }, z.core.$strip>;
@@ -45,6 +45,7 @@ exports.InvestorEntitySchema = zod_openapi_1.z
45
45
  .date()
46
46
  .optional()
47
47
  .openapi({ example: "2025-10-13T09:00:00.000Z" }),
48
+ version: zod_openapi_1.z.int(),
48
49
  })
49
50
  .openapi("InvestorEntity");
50
51
  exports.CreateInvestorProfileInputSchema = zod_openapi_1.z
@@ -110,6 +111,7 @@ exports.UpdateInvestorProfileInputSchema = zod_openapi_1.z
110
111
  location: zod_openapi_1.z.string().optional().openapi({
111
112
  example: "UK",
112
113
  }),
114
+ version: zod_openapi_1.z.int(),
113
115
  })
114
116
  .openapi({
115
117
  title: "Update Investor Profile",
@@ -204,6 +204,7 @@ export declare const UserProfileEntitySchema: z.ZodObject<{
204
204
  disciplines: z.ZodOptional<z.ZodArray<z.ZodString>>;
205
205
  createdAt: z.ZodOptional<z.ZodCoercedDate<unknown>>;
206
206
  updatedAt: z.ZodOptional<z.ZodCoercedDate<unknown>>;
207
+ version: z.ZodInt;
207
208
  }, z.core.$strip>;
208
209
  }, z.core.$strip>;
209
210
  export declare const UserWithProjectsEntitySchema: z.ZodObject<{
@@ -687,6 +688,7 @@ export declare const GetAuthenticatedUserProfileOutputSchema: z.ZodObject<{
687
688
  disciplines: z.ZodOptional<z.ZodArray<z.ZodString>>;
688
689
  createdAt: z.ZodOptional<z.ZodCoercedDate<unknown>>;
689
690
  updatedAt: z.ZodOptional<z.ZodCoercedDate<unknown>>;
691
+ version: z.ZodInt;
690
692
  }, z.core.$strip>;
691
693
  }, z.core.$strip>;
692
694
  export declare const GetAuthenticatedUserWithProjectsOutputSchema: z.ZodObject<{
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zyacreatives/shared",
3
- "version": "2.1.79",
3
+ "version": "2.1.80",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -24,8 +24,8 @@ export const InvestorEntitySchema = z
24
24
  .enum(
25
25
  Object.values(EXPERIENCE_LEVELS) as [
26
26
  ExperienceLevel,
27
- ...ExperienceLevel[]
28
- ]
27
+ ...ExperienceLevel[],
28
+ ],
29
29
  )
30
30
  .optional()
31
31
  .openapi({ example: "EXPERT" }),
@@ -33,14 +33,17 @@ export const InvestorEntitySchema = z
33
33
  .enum(
34
34
  Object.values(GEOGRAPHIC_FOCUS) as [
35
35
  GeographicFocus,
36
- ...GeographicFocus[]
37
- ]
36
+ ...GeographicFocus[],
37
+ ],
38
38
  )
39
39
  .optional()
40
40
  .openapi({ example: "NORTH_AMERICA" }),
41
41
  investmentSize: z
42
42
  .enum(
43
- Object.values(INVESTMENT_SIZES) as [InvestmentSize, ...InvestmentSize[]]
43
+ Object.values(INVESTMENT_SIZES) as [
44
+ InvestmentSize,
45
+ ...InvestmentSize[],
46
+ ],
44
47
  )
45
48
  .optional()
46
49
  .openapi({ example: "SEED" }),
@@ -64,6 +67,7 @@ export const InvestorEntitySchema = z
64
67
  .date()
65
68
  .optional()
66
69
  .openapi({ example: "2025-10-13T09:00:00.000Z" }),
70
+ version: z.int(),
67
71
  })
68
72
  .openapi("InvestorEntity");
69
73
 
@@ -79,8 +83,8 @@ export const CreateInvestorProfileInputSchema = z
79
83
  .enum(
80
84
  Object.values(EXPERIENCE_LEVELS) as [
81
85
  ExperienceLevel,
82
- ...ExperienceLevel[]
83
- ]
86
+ ...ExperienceLevel[],
87
+ ],
84
88
  )
85
89
  .default(EXPERIENCE_LEVELS.YEAR_0_1)
86
90
  .openapi({
@@ -106,8 +110,8 @@ export const UpdateInvestorProfileInputSchema = z
106
110
  .enum(
107
111
  Object.values(EXPERIENCE_LEVELS) as [
108
112
  ExperienceLevel,
109
- ...ExperienceLevel[]
110
- ]
113
+ ...ExperienceLevel[],
114
+ ],
111
115
  )
112
116
  .optional()
113
117
  .openapi({
@@ -128,7 +132,10 @@ export const UpdateInvestorProfileInputSchema = z
128
132
  }),
129
133
  investmentSize: z
130
134
  .enum(
131
- Object.values(INVESTMENT_SIZES) as [InvestmentSize, ...InvestmentSize[]]
135
+ Object.values(INVESTMENT_SIZES) as [
136
+ InvestmentSize,
137
+ ...InvestmentSize[],
138
+ ],
132
139
  )
133
140
  .optional()
134
141
  .openapi({
@@ -138,8 +145,8 @@ export const UpdateInvestorProfileInputSchema = z
138
145
  .enum(
139
146
  Object.values(GEOGRAPHIC_FOCUS) as [
140
147
  GeographicFocus,
141
- ...GeographicFocus[]
142
- ]
148
+ ...GeographicFocus[],
149
+ ],
143
150
  )
144
151
  .optional()
145
152
  .openapi({
@@ -148,6 +155,7 @@ export const UpdateInvestorProfileInputSchema = z
148
155
  location: z.string().optional().openapi({
149
156
  example: "UK",
150
157
  }),
158
+ version: z.int(),
151
159
  })
152
160
  .openapi({
153
161
  title: "Update Investor Profile",
@@ -165,9 +173,9 @@ export const ListInvestorsInputSchema = z
165
173
  z.enum(
166
174
  Object.values(EXPERIENCE_LEVELS) as [
167
175
  ExperienceLevel,
168
- ...ExperienceLevel[]
169
- ]
170
- )
176
+ ...ExperienceLevel[],
177
+ ],
178
+ ),
171
179
  )
172
180
  .optional()
173
181
  .openapi({