@zyacreatives/shared 2.2.9 → 2.2.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.
@@ -230,6 +230,12 @@ export declare const UpdateProjectInputSchema: z.ZodObject<{
230
230
  readonly ZAR: "ZAR (South African Rand)";
231
231
  }>>;
232
232
  currentTraction: z.ZodOptional<z.ZodString>;
233
+ files: z.ZodArray<z.ZodObject<{
234
+ key: z.ZodString;
235
+ mimeType: z.ZodString;
236
+ isPlaceholder: z.ZodDefault<z.ZodBoolean>;
237
+ order: z.ZodDefault<z.ZodInt>;
238
+ }, z.core.$strip>>;
233
239
  startDate: z.ZodOptional<z.ZodCoercedDate<unknown>>;
234
240
  endDate: z.ZodOptional<z.ZodCoercedDate<unknown>>;
235
241
  createdAt: z.ZodOptional<z.ZodDate>;
@@ -188,6 +188,10 @@ exports.UpdateProjectInputSchema = zod_openapi_1.z
188
188
  capitalLookingToRaise: zod_openapi_1.z.string().optional(),
189
189
  capitalLookingToRaiseCurrency: zod_openapi_1.z.enum(constants_1.WAGES_CURRENCY).optional(),
190
190
  currentTraction: zod_openapi_1.z.string().max(600).optional(),
191
+ files: zod_openapi_1.z.array(file_1.CreateFileInputSchema.extend({
192
+ isPlaceholder: zod_openapi_1.z.boolean().default(false),
193
+ order: zod_openapi_1.z.int().default(1),
194
+ })),
191
195
  startDate: zod_openapi_1.z.coerce.date().optional(),
192
196
  endDate: zod_openapi_1.z.coerce.date().optional(),
193
197
  createdAt: zod_openapi_1.z.date().optional(),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zyacreatives/shared",
3
- "version": "2.2.9",
3
+ "version": "2.2.10",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -202,6 +202,12 @@ export const UpdateProjectInputSchema = z
202
202
  capitalLookingToRaise: z.string().optional(),
203
203
  capitalLookingToRaiseCurrency: z.enum(WAGES_CURRENCY).optional(),
204
204
  currentTraction: z.string().max(600).optional(),
205
+ files: z.array(
206
+ CreateFileInputSchema.extend({
207
+ isPlaceholder: z.boolean().default(false),
208
+ order: z.int().default(1),
209
+ }),
210
+ ),
205
211
  startDate: z.coerce.date().optional(),
206
212
  endDate: z.coerce.date().optional(),
207
213
  createdAt: z.date().optional(),