@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.
- package/dist/schemas/brand.js +1 -1
- package/dist/schemas/creative.js +1 -1
- package/dist/schemas/investor.js +2 -2
- package/dist/schemas/project.d.ts +2 -2
- package/dist/schemas/project.js +2 -2
- package/package.json +1 -1
- package/src/schemas/brand.ts +1 -1
- package/src/schemas/creative.ts +1 -1
- package/src/schemas/investor.ts +2 -2
- package/src/schemas/project.ts +2 -2
package/dist/schemas/brand.js
CHANGED
package/dist/schemas/creative.js
CHANGED
|
@@ -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(
|
|
172
|
+
.max(600)
|
|
173
173
|
.optional()
|
|
174
174
|
.openapi({ example: "I am a freelance UI/UX designer." }),
|
|
175
175
|
location: zod_openapi_1.z
|
package/dist/schemas/investor.js
CHANGED
|
@@ -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(
|
|
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(
|
|
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.
|
|
155
|
-
endDate: z.ZodOptional<z.
|
|
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>;
|
package/dist/schemas/project.js
CHANGED
|
@@ -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
package/src/schemas/brand.ts
CHANGED
package/src/schemas/creative.ts
CHANGED
|
@@ -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(
|
|
204
|
+
.max(600)
|
|
205
205
|
.optional()
|
|
206
206
|
.openapi({ example: "I am a freelance UI/UX designer." }),
|
|
207
207
|
location: z
|
package/src/schemas/investor.ts
CHANGED
|
@@ -69,7 +69,7 @@ export const InvestorEntitySchema = z
|
|
|
69
69
|
|
|
70
70
|
export const CreateInvestorProfileInputSchema = z
|
|
71
71
|
.object({
|
|
72
|
-
bio: z.string().max(
|
|
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(
|
|
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({
|
package/src/schemas/project.ts
CHANGED
|
@@ -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
|
})
|