@zyacreatives/shared 2.1.8 → 2.1.10

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.
@@ -141,7 +141,7 @@ exports.UpdateBrandProfileInputSchema = zod_openapi_1.z
141
141
  .optional(),
142
142
  bio: zod_openapi_1.z
143
143
  .string()
144
- .max(210)
144
+ .max(600)
145
145
  .optional()
146
146
  .openapi({ example: "Updated bio for our creative agency." }),
147
147
  tags: zod_openapi_1.z
@@ -169,7 +169,7 @@ exports.UpdateCreativeProfileInputSchema = zod_openapi_1.z
169
169
  role: zod_openapi_1.z.string().optional().openapi({ example: "Designer" }),
170
170
  bio: zod_openapi_1.z
171
171
  .string()
172
- .max(210)
172
+ .max(600)
173
173
  .optional()
174
174
  .openapi({ example: "I am a freelance UI/UX designer." }),
175
175
  location: zod_openapi_1.z
@@ -49,7 +49,7 @@ exports.InvestorEntitySchema = zod_openapi_1.z
49
49
  .openapi("InvestorEntity");
50
50
  exports.CreateInvestorProfileInputSchema = zod_openapi_1.z
51
51
  .object({
52
- bio: zod_openapi_1.z.string().max(210).optional().openapi({
52
+ bio: zod_openapi_1.z.string().max(600).optional().openapi({
53
53
  example: "Angel investor backing early-stage African startups.",
54
54
  }),
55
55
  websiteURL: zod_openapi_1.z.url("Invalid url").optional().openapi({
@@ -70,7 +70,7 @@ exports.CreateInvestorProfileInputSchema = zod_openapi_1.z
70
70
  });
71
71
  exports.UpdateInvestorProfileInputSchema = zod_openapi_1.z
72
72
  .object({
73
- bio: zod_openapi_1.z.string().max(210).optional().openapi({
73
+ bio: zod_openapi_1.z.string().max(600).optional().openapi({
74
74
  example: "Seasoned venture capitalist with a focus on healthtech.",
75
75
  }),
76
76
  websiteURL: zod_openapi_1.z.url("Invalid url").optional().openapi({
@@ -151,8 +151,8 @@ export declare const UpdateProjectInputSchema: z.ZodObject<{
151
151
  }>>;
152
152
  clientName: z.ZodOptional<z.ZodString>;
153
153
  isFeatured: z.ZodOptional<z.ZodBoolean>;
154
- startDate: z.ZodOptional<z.ZodDate>;
155
- endDate: z.ZodOptional<z.ZodDate>;
154
+ startDate: z.ZodOptional<z.ZodCoercedDate<unknown>>;
155
+ endDate: z.ZodOptional<z.ZodCoercedDate<unknown>>;
156
156
  createdAt: z.ZodOptional<z.ZodDate>;
157
157
  updatedAt: z.ZodOptional<z.ZodDate>;
158
158
  }, z.core.$strip>;
@@ -191,8 +191,8 @@ exports.UpdateProjectInputSchema = zod_openapi_1.z
191
191
  clientType: zod_openapi_1.z.enum(constants_1.CLIENT_TYPES).optional(),
192
192
  clientName: zod_openapi_1.z.string().optional(),
193
193
  isFeatured: zod_openapi_1.z.boolean().optional(),
194
- startDate: zod_openapi_1.z.date().optional(),
195
- endDate: zod_openapi_1.z.date().optional(),
194
+ startDate: zod_openapi_1.z.coerce.date().optional(),
195
+ endDate: zod_openapi_1.z.coerce.date().optional(),
196
196
  createdAt: zod_openapi_1.z.date().optional(),
197
197
  updatedAt: zod_openapi_1.z.date().optional(),
198
198
  })
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zyacreatives/shared",
3
- "version": "2.1.8",
3
+ "version": "2.1.10",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -152,7 +152,7 @@ export const UpdateBrandProfileInputSchema = z
152
152
  .optional(),
153
153
  bio: z
154
154
  .string()
155
- .max(210)
155
+ .max(600)
156
156
  .optional()
157
157
  .openapi({ example: "Updated bio for our creative agency." }),
158
158
  tags: z
@@ -201,7 +201,7 @@ export const UpdateCreativeProfileInputSchema = z
201
201
  role: z.string().optional().openapi({ example: "Designer" }),
202
202
  bio: z
203
203
  .string()
204
- .max(210)
204
+ .max(600)
205
205
  .optional()
206
206
  .openapi({ example: "I am a freelance UI/UX designer." }),
207
207
  location: z
@@ -69,7 +69,7 @@ export const InvestorEntitySchema = z
69
69
 
70
70
  export const CreateInvestorProfileInputSchema = z
71
71
  .object({
72
- bio: z.string().max(210).optional().openapi({
72
+ bio: z.string().max(600).optional().openapi({
73
73
  example: "Angel investor backing early-stage African startups.",
74
74
  }),
75
75
  websiteURL: z.url("Invalid url").optional().openapi({
@@ -96,7 +96,7 @@ export const CreateInvestorProfileInputSchema = z
96
96
 
97
97
  export const UpdateInvestorProfileInputSchema = z
98
98
  .object({
99
- bio: z.string().max(210).optional().openapi({
99
+ bio: z.string().max(600).optional().openapi({
100
100
  example: "Seasoned venture capitalist with a focus on healthtech.",
101
101
  }),
102
102
  websiteURL: z.url("Invalid url").optional().openapi({
@@ -199,8 +199,8 @@ export const UpdateProjectInputSchema = z
199
199
  clientType: z.enum(CLIENT_TYPES).optional(),
200
200
  clientName: z.string().optional(),
201
201
  isFeatured: z.boolean().optional(),
202
- startDate: z.date().optional(),
203
- endDate: z.date().optional(),
202
+ startDate: z.coerce.date().optional(),
203
+ endDate: z.coerce.date().optional(),
204
204
  createdAt: z.date().optional(),
205
205
  updatedAt: z.date().optional(),
206
206
  })