@zyacreatives/shared 2.2.23 → 2.2.25

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.
@@ -364,8 +364,21 @@ export declare const ProjectSearchDocumentSchema: z.ZodObject<{
364
364
  readonly INR: "INR (Indian Rupee)";
365
365
  readonly ZAR: "ZAR (South African Rand)";
366
366
  }>>;
367
+ ventureStage: z.ZodOptional<z.ZodEnum<{
368
+ readonly IDEA: "Idea";
369
+ readonly PRE_SEED: "Pre Seed";
370
+ readonly MVP: "MVP";
371
+ readonly SEED: "Seed";
372
+ readonly SERIES_A: "Series A";
373
+ readonly SERIES_B: "Series B";
374
+ readonly SERIES_C: "Series C";
375
+ readonly GROWTH: "Growth";
376
+ readonly EXIT: "Exit";
377
+ }>>;
367
378
  url: z.ZodOptional<z.ZodURL>;
368
379
  tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
380
+ creatorUsername: z.ZodString;
381
+ creatorImageUrl: z.ZodString;
369
382
  clientId: z.ZodOptional<z.ZodString>;
370
383
  clientType: z.ZodOptional<z.ZodEnum<{
371
384
  readonly CREATIVE: "CREATIVE";
@@ -405,8 +418,21 @@ export declare const SearchProjectsOutputSchema: z.ZodObject<{
405
418
  readonly INR: "INR (Indian Rupee)";
406
419
  readonly ZAR: "ZAR (South African Rand)";
407
420
  }>>;
421
+ ventureStage: z.ZodOptional<z.ZodEnum<{
422
+ readonly IDEA: "Idea";
423
+ readonly PRE_SEED: "Pre Seed";
424
+ readonly MVP: "MVP";
425
+ readonly SEED: "Seed";
426
+ readonly SERIES_A: "Series A";
427
+ readonly SERIES_B: "Series B";
428
+ readonly SERIES_C: "Series C";
429
+ readonly GROWTH: "Growth";
430
+ readonly EXIT: "Exit";
431
+ }>>;
408
432
  url: z.ZodOptional<z.ZodURL>;
409
433
  tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
434
+ creatorUsername: z.ZodString;
435
+ creatorImageUrl: z.ZodString;
410
436
  clientId: z.ZodOptional<z.ZodString>;
411
437
  clientType: z.ZodOptional<z.ZodEnum<{
412
438
  readonly CREATIVE: "CREATIVE";
@@ -146,8 +146,11 @@ exports.ProjectSearchDocumentSchema = zod_openapi_1.z
146
146
  description: zod_openapi_1.z.string().optional(),
147
147
  capitalLookingToRaise: zod_openapi_1.z.string().optional(),
148
148
  capitalLookingToRaiseCurrency: zod_openapi_1.z.enum(constants_1.WAGES_CURRENCY).optional(),
149
+ ventureStage: zod_openapi_1.z.enum(constants_1.VENTURE_STAGES).optional(),
149
150
  url: zod_openapi_1.z.url().optional(),
150
151
  tags: zod_openapi_1.z.array(zod_openapi_1.z.string()).optional(),
152
+ creatorUsername: zod_openapi_1.z.string(),
153
+ creatorImageUrl: zod_openapi_1.z.string(),
151
154
  clientId: zod_openapi_1.z.string().optional(),
152
155
  clientType: zod_openapi_1.z.enum(constants_1.CLIENT_TYPES).optional(),
153
156
  clientName: zod_openapi_1.z.string().optional(),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zyacreatives/shared",
3
- "version": "2.2.23",
3
+ "version": "2.2.25",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -38,7 +38,7 @@ export const ProjectEntitySchema = z
38
38
  capitalLookingToRaise: z.string(),
39
39
  capitalLookingToRaiseCurrency: z.enum(WAGES_CURRENCY).optional(),
40
40
  currentTraction: z.string().max(600),
41
- isOpenToInvestment: z.boolean().default(false),
41
+ isOpenToInvestment: z.boolean().default(false),
42
42
  startDate: z.coerce.date().optional(),
43
43
  endDate: z.coerce.date().optional(),
44
44
  createdAt: z.coerce.date(),
@@ -162,8 +162,11 @@ export const ProjectSearchDocumentSchema = z
162
162
  description: z.string().optional(),
163
163
  capitalLookingToRaise: z.string().optional(),
164
164
  capitalLookingToRaiseCurrency: z.enum(WAGES_CURRENCY).optional(),
165
+ ventureStage: z.enum(VENTURE_STAGES).optional(),
165
166
  url: z.url().optional(),
166
167
  tags: z.array(z.string()).optional(),
168
+ creatorUsername: z.string(),
169
+ creatorImageUrl: z.string(),
167
170
  clientId: z.string().optional(),
168
171
  clientType: z.enum(CLIENT_TYPES).optional(),
169
172
  clientName: z.string().optional(),