@zyacreatives/shared 2.2.11 → 2.2.12
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.
|
@@ -244,7 +244,65 @@ export declare const UpdateProjectInputSchema: z.ZodObject<{
|
|
|
244
244
|
version: z.ZodInt;
|
|
245
245
|
}, z.core.$strip>;
|
|
246
246
|
export declare const CreateProjectOutputSchema: z.ZodObject<{
|
|
247
|
-
id: z.
|
|
247
|
+
id: z.ZodString;
|
|
248
|
+
userId: z.ZodString;
|
|
249
|
+
title: z.ZodString;
|
|
250
|
+
description: z.ZodOptional<z.ZodString>;
|
|
251
|
+
overview: z.ZodOptional<z.ZodString>;
|
|
252
|
+
url: z.ZodOptional<z.ZodString>;
|
|
253
|
+
imagePlaceholderUrl: z.ZodString;
|
|
254
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
255
|
+
projectCreatorType: z.ZodEnum<{
|
|
256
|
+
readonly CREATIVE: "CREATIVE";
|
|
257
|
+
readonly BRAND: "BRAND";
|
|
258
|
+
readonly INVESTOR: "INVESTOR";
|
|
259
|
+
readonly ADMIN: "ADMIN";
|
|
260
|
+
}>;
|
|
261
|
+
clientId: z.ZodOptional<z.ZodString>;
|
|
262
|
+
status: z.ZodEnum<{
|
|
263
|
+
readonly ACTIVE: "ACTIVE";
|
|
264
|
+
readonly DRAFT: "DRAFT";
|
|
265
|
+
readonly ARCHIVED: "ARCHIVED";
|
|
266
|
+
}>;
|
|
267
|
+
clientType: z.ZodOptional<z.ZodEnum<{
|
|
268
|
+
readonly CREATIVE: "CREATIVE";
|
|
269
|
+
readonly BRAND: "BRAND";
|
|
270
|
+
readonly NONE: "NONE";
|
|
271
|
+
}>>;
|
|
272
|
+
clientName: z.ZodOptional<z.ZodString>;
|
|
273
|
+
isFeatured: z.ZodOptional<z.ZodBoolean>;
|
|
274
|
+
problemBeingSolved: z.ZodOptional<z.ZodString>;
|
|
275
|
+
whoItsFor: z.ZodOptional<z.ZodString>;
|
|
276
|
+
ventureStage: z.ZodOptional<z.ZodEnum<{
|
|
277
|
+
readonly IDEA: "Idea";
|
|
278
|
+
readonly PRE_SEED: "Pre Seed";
|
|
279
|
+
readonly MVP: "MVP";
|
|
280
|
+
readonly SEED: "Seed";
|
|
281
|
+
readonly SERIES_A: "Series A";
|
|
282
|
+
readonly SERIES_B: "Series B";
|
|
283
|
+
readonly SERIES_C: "Series C";
|
|
284
|
+
readonly GROWTH: "Growth";
|
|
285
|
+
readonly EXIT: "Exit";
|
|
286
|
+
}>>;
|
|
287
|
+
capitalLookingToRaise: z.ZodString;
|
|
288
|
+
capitalLookingToRaiseCurrency: z.ZodOptional<z.ZodEnum<{
|
|
289
|
+
readonly USD: "USD (United States Dollar)";
|
|
290
|
+
readonly EUR: "EUR (Euro)";
|
|
291
|
+
readonly GBP: "GBP (British Pound Sterling)";
|
|
292
|
+
readonly NGN: "NGN (Nigerian Naira)";
|
|
293
|
+
readonly CAD: "CAD (Canadian Dollar)";
|
|
294
|
+
readonly AUD: "AUD (Australian Dollar)";
|
|
295
|
+
readonly JPY: "JPY (Japanese Yen)";
|
|
296
|
+
readonly CHF: "CHF (Swiss Franc)";
|
|
297
|
+
readonly INR: "INR (Indian Rupee)";
|
|
298
|
+
readonly ZAR: "ZAR (South African Rand)";
|
|
299
|
+
}>>;
|
|
300
|
+
currentTraction: z.ZodString;
|
|
301
|
+
startDate: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
302
|
+
endDate: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
303
|
+
createdAt: z.ZodCoercedDate<unknown>;
|
|
304
|
+
updatedAt: z.ZodCoercedDate<unknown>;
|
|
305
|
+
version: z.ZodInt;
|
|
248
306
|
}, z.core.$strip>;
|
|
249
307
|
export declare const UpdateProjectOutputSchema: z.ZodObject<{
|
|
250
308
|
id: z.ZodString;
|
package/dist/schemas/project.js
CHANGED
|
@@ -220,9 +220,7 @@ exports.UpdateProjectInputSchema = zod_openapi_1.z
|
|
|
220
220
|
}
|
|
221
221
|
})
|
|
222
222
|
.openapi({ title: "Update Project" });
|
|
223
|
-
exports.CreateProjectOutputSchema =
|
|
224
|
-
id: zod_openapi_1.z.cuid2(),
|
|
225
|
-
});
|
|
223
|
+
exports.CreateProjectOutputSchema = exports.ProjectEntitySchema;
|
|
226
224
|
exports.UpdateProjectOutputSchema = exports.ProjectEntitySchema;
|
|
227
225
|
exports.DeleteProjectOutputSchema = exports.ProjectEntitySchema;
|
|
228
226
|
exports.GetProjectOutputSchema = exports.ProjectDetailsEntitySchema.extend({
|
package/package.json
CHANGED
package/src/schemas/project.ts
CHANGED
|
@@ -236,9 +236,7 @@ export const UpdateProjectInputSchema = z
|
|
|
236
236
|
})
|
|
237
237
|
.openapi({ title: "Update Project" });
|
|
238
238
|
|
|
239
|
-
export const CreateProjectOutputSchema =
|
|
240
|
-
id: z.cuid2(),
|
|
241
|
-
});
|
|
239
|
+
export const CreateProjectOutputSchema = ProjectEntitySchema;
|
|
242
240
|
export const UpdateProjectOutputSchema = ProjectEntitySchema;
|
|
243
241
|
export const DeleteProjectOutputSchema = ProjectEntitySchema;
|
|
244
242
|
|