@zyacreatives/shared 2.2.10 → 2.2.11
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.
|
@@ -167,6 +167,7 @@ export declare const ProjectUpdateOutputEntitySchema: z.ZodObject<{
|
|
|
167
167
|
id: z.ZodCUID2;
|
|
168
168
|
}, z.core.$strip>;
|
|
169
169
|
export declare const CreateProjectInputSchema: z.ZodObject<{
|
|
170
|
+
id: z.ZodCUID2;
|
|
170
171
|
title: z.ZodString;
|
|
171
172
|
description: z.ZodOptional<z.ZodString>;
|
|
172
173
|
overview: z.ZodOptional<z.ZodString>;
|
package/dist/schemas/project.js
CHANGED
|
@@ -145,6 +145,7 @@ exports.ProjectUpdateOutputEntitySchema = zod_openapi_1.z
|
|
|
145
145
|
.openapi("ProjectUpdateOutputEntity");
|
|
146
146
|
exports.CreateProjectInputSchema = zod_openapi_1.z
|
|
147
147
|
.object({
|
|
148
|
+
id: zod_openapi_1.z.cuid2(),
|
|
148
149
|
title: zod_openapi_1.z.string().min(1).max(100),
|
|
149
150
|
description: zod_openapi_1.z.string().max(1000).optional(),
|
|
150
151
|
overview: zod_openapi_1.z.string().optional(),
|
package/package.json
CHANGED
package/src/schemas/project.ts
CHANGED
|
@@ -157,6 +157,7 @@ export const ProjectUpdateOutputEntitySchema = z
|
|
|
157
157
|
|
|
158
158
|
export const CreateProjectInputSchema = z
|
|
159
159
|
.object({
|
|
160
|
+
id: z.cuid2(),
|
|
160
161
|
title: z.string().min(1).max(100),
|
|
161
162
|
description: z.string().max(1000).optional(),
|
|
162
163
|
overview: z.string().optional(),
|