@zyacreatives/shared 2.2.50 → 2.2.52

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.
@@ -33,7 +33,6 @@ export declare const InvestorShortlistEntitySchema: z.ZodObject<{
33
33
  updatedAt: z.ZodCoercedDate<unknown>;
34
34
  }, z.core.$strip>;
35
35
  export declare const CreateInvestorShortlistInputSchema: z.ZodObject<{
36
- userId: z.ZodCUID2;
37
36
  projectId: z.ZodCUID2;
38
37
  }, z.core.$strip>;
39
38
  export declare const GetInvestorShortlistInputSchema: z.ZodObject<{
@@ -19,7 +19,6 @@ exports.InvestorShortlistEntitySchema = zod_1.default.object({
19
19
  updatedAt: zod_1.default.coerce.date(),
20
20
  });
21
21
  exports.CreateInvestorShortlistInputSchema = zod_1.default.object({
22
- userId: zod_1.default.cuid2(),
23
22
  projectId: zod_1.default.cuid2(),
24
23
  });
25
24
  exports.GetInvestorShortlistInputSchema = zod_1.default.object({
@@ -29,7 +29,7 @@ export declare const InvestorSignalEntitySchema: z.ZodObject<{
29
29
  readonly GROWTH: "Growth";
30
30
  readonly EXIT: "Exit";
31
31
  }>;
32
- signalInterest: z.ZodEnum<{
32
+ signalInterestType: z.ZodEnum<{
33
33
  readonly INVESTMENT: "Exploring investment opportunities";
34
34
  readonly PARTNERSHIP: "Partnership & Collaboration";
35
35
  readonly PRODUCT_INTEREST: "Interested in using the product";
@@ -49,10 +49,8 @@ export declare const InvestorSignalEntitySchema: z.ZodObject<{
49
49
  updatedAt: z.ZodCoercedDate<unknown>;
50
50
  }, z.core.$strip>;
51
51
  export declare const CreateInvestorSignalInputSchema: z.ZodObject<{
52
- id: z.ZodCUID2;
53
- userId: z.ZodCUID2;
54
52
  projectId: z.ZodCUID2;
55
- signalInterest: z.ZodEnum<{
53
+ signalInterestType: z.ZodEnum<{
56
54
  readonly INVESTMENT: "Exploring investment opportunities";
57
55
  readonly PARTNERSHIP: "Partnership & Collaboration";
58
56
  readonly PRODUCT_INTEREST: "Interested in using the product";
@@ -112,7 +110,7 @@ export declare const GetInvestorSignalOutputSchema: z.ZodObject<{
112
110
  readonly GROWTH: "Growth";
113
111
  readonly EXIT: "Exit";
114
112
  }>;
115
- signalInterest: z.ZodEnum<{
113
+ signalInterestType: z.ZodEnum<{
116
114
  readonly INVESTMENT: "Exploring investment opportunities";
117
115
  readonly PARTNERSHIP: "Partnership & Collaboration";
118
116
  readonly PRODUCT_INTEREST: "Interested in using the product";
@@ -15,7 +15,7 @@ exports.InvestorSignalEntitySchema = zod_1.default.object({
15
15
  projectTotalRaising: zod_1.default.string(),
16
16
  projectTotalRaisingCurrency: zod_1.default.enum(constants_1.WAGES_CURRENCY),
17
17
  projectVentureStage: zod_1.default.enum(constants_1.VENTURE_STAGES),
18
- signalInterest: zod_1.default.enum(constants_1.SIGNAL_INTEREST_TYPES),
18
+ signalInterestType: zod_1.default.enum(constants_1.SIGNAL_INTEREST_TYPES),
19
19
  interestDetails: zod_1.default.string().max(600),
20
20
  signalStatus: zod_1.default.enum(constants_1.SIGNAL_STATUS).default("PENDING"),
21
21
  createdAt: zod_1.default.coerce.date(),
@@ -23,10 +23,8 @@ exports.InvestorSignalEntitySchema = zod_1.default.object({
23
23
  updatedAt: zod_1.default.coerce.date(),
24
24
  });
25
25
  exports.CreateInvestorSignalInputSchema = zod_1.default.object({
26
- id: zod_1.default.cuid2(),
27
- userId: zod_1.default.cuid2(),
28
26
  projectId: zod_1.default.cuid2(),
29
- signalInterest: zod_1.default.enum(constants_1.SIGNAL_INTEREST_TYPES),
27
+ signalInterestType: zod_1.default.enum(constants_1.SIGNAL_INTEREST_TYPES),
30
28
  interestDetails: zod_1.default.string().max(600),
31
29
  });
32
30
  exports.UpdateInvestorSignalStatusSchema = zod_1.default.object({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zyacreatives/shared",
3
- "version": "2.2.50",
3
+ "version": "2.2.52",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -15,7 +15,6 @@ export const InvestorShortlistEntitySchema = z.object({
15
15
  });
16
16
 
17
17
  export const CreateInvestorShortlistInputSchema = z.object({
18
- userId: z.cuid2(),
19
18
  projectId: z.cuid2(),
20
19
  });
21
20
 
@@ -15,7 +15,7 @@ export const InvestorSignalEntitySchema = z.object({
15
15
  projectTotalRaising: z.string(),
16
16
  projectTotalRaisingCurrency: z.enum(WAGES_CURRENCY),
17
17
  projectVentureStage: z.enum(VENTURE_STAGES),
18
- signalInterest: z.enum(SIGNAL_INTEREST_TYPES),
18
+ signalInterestType: z.enum(SIGNAL_INTEREST_TYPES),
19
19
  interestDetails: z.string().max(600),
20
20
  signalStatus: z.enum(SIGNAL_STATUS).default("PENDING"),
21
21
  createdAt: z.coerce.date(),
@@ -24,10 +24,8 @@ export const InvestorSignalEntitySchema = z.object({
24
24
  });
25
25
 
26
26
  export const CreateInvestorSignalInputSchema = z.object({
27
- id: z.cuid2(),
28
- userId: z.cuid2(),
29
27
  projectId: z.cuid2(),
30
- signalInterest: z.enum(SIGNAL_INTEREST_TYPES),
28
+ signalInterestType: z.enum(SIGNAL_INTEREST_TYPES),
31
29
  interestDetails: z.string().max(600),
32
30
  });
33
31