@zyacreatives/shared 2.2.49 → 2.2.51
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.
- package/dist/schemas/investor-shortlist.d.ts +4 -0
- package/dist/schemas/investor-shortlist.js +2 -0
- package/dist/schemas/investor-signal.d.ts +10 -3
- package/dist/schemas/investor-signal.js +6 -2
- package/package.json +1 -1
- package/src/schemas/investor-shortlist.ts +2 -0
- package/src/schemas/investor-signal.ts +6 -2
|
@@ -29,6 +29,8 @@ export declare const InvestorShortlistEntitySchema: z.ZodObject<{
|
|
|
29
29
|
readonly GROWTH: "Growth";
|
|
30
30
|
readonly EXIT: "Exit";
|
|
31
31
|
}>>;
|
|
32
|
+
createdAt: z.ZodCoercedDate<unknown>;
|
|
33
|
+
updatedAt: z.ZodCoercedDate<unknown>;
|
|
32
34
|
}, z.core.$strip>;
|
|
33
35
|
export declare const CreateInvestorShortlistInputSchema: z.ZodObject<{
|
|
34
36
|
userId: z.ZodCUID2;
|
|
@@ -69,5 +71,7 @@ export declare const GetInvestorShortlistOutputSchema: z.ZodObject<{
|
|
|
69
71
|
readonly GROWTH: "Growth";
|
|
70
72
|
readonly EXIT: "Exit";
|
|
71
73
|
}>>;
|
|
74
|
+
createdAt: z.ZodCoercedDate<unknown>;
|
|
75
|
+
updatedAt: z.ZodCoercedDate<unknown>;
|
|
72
76
|
}, z.core.$strip>>;
|
|
73
77
|
}, z.core.$strip>;
|
|
@@ -15,6 +15,8 @@ exports.InvestorShortlistEntitySchema = 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).optional(),
|
|
18
|
+
createdAt: zod_1.default.coerce.date(),
|
|
19
|
+
updatedAt: zod_1.default.coerce.date(),
|
|
18
20
|
});
|
|
19
21
|
exports.CreateInvestorShortlistInputSchema = zod_1.default.object({
|
|
20
22
|
userId: zod_1.default.cuid2(),
|
|
@@ -29,7 +29,7 @@ export declare const InvestorSignalEntitySchema: z.ZodObject<{
|
|
|
29
29
|
readonly GROWTH: "Growth";
|
|
30
30
|
readonly EXIT: "Exit";
|
|
31
31
|
}>;
|
|
32
|
-
|
|
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";
|
|
@@ -44,12 +44,15 @@ export declare const InvestorSignalEntitySchema: z.ZodObject<{
|
|
|
44
44
|
readonly DECLINED: "DECLINED";
|
|
45
45
|
readonly PENDING: "PENDING";
|
|
46
46
|
}>>;
|
|
47
|
+
createdAt: z.ZodCoercedDate<unknown>;
|
|
48
|
+
version: z.ZodInt;
|
|
49
|
+
updatedAt: z.ZodCoercedDate<unknown>;
|
|
47
50
|
}, z.core.$strip>;
|
|
48
51
|
export declare const CreateInvestorSignalInputSchema: z.ZodObject<{
|
|
49
52
|
id: z.ZodCUID2;
|
|
50
53
|
userId: z.ZodCUID2;
|
|
51
54
|
projectId: z.ZodCUID2;
|
|
52
|
-
|
|
55
|
+
signalInterestType: z.ZodEnum<{
|
|
53
56
|
readonly INVESTMENT: "Exploring investment opportunities";
|
|
54
57
|
readonly PARTNERSHIP: "Partnership & Collaboration";
|
|
55
58
|
readonly PRODUCT_INTEREST: "Interested in using the product";
|
|
@@ -67,6 +70,7 @@ export declare const UpdateInvestorSignalStatusSchema: z.ZodObject<{
|
|
|
67
70
|
readonly DECLINED: "DECLINED";
|
|
68
71
|
readonly PENDING: "PENDING";
|
|
69
72
|
}>>;
|
|
73
|
+
version: z.ZodInt;
|
|
70
74
|
}, z.core.$strip>;
|
|
71
75
|
export declare const GetInvestorSignalInputSchema: z.ZodObject<{
|
|
72
76
|
cursor: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
@@ -108,7 +112,7 @@ export declare const GetInvestorSignalOutputSchema: z.ZodObject<{
|
|
|
108
112
|
readonly GROWTH: "Growth";
|
|
109
113
|
readonly EXIT: "Exit";
|
|
110
114
|
}>;
|
|
111
|
-
|
|
115
|
+
signalInterestType: z.ZodEnum<{
|
|
112
116
|
readonly INVESTMENT: "Exploring investment opportunities";
|
|
113
117
|
readonly PARTNERSHIP: "Partnership & Collaboration";
|
|
114
118
|
readonly PRODUCT_INTEREST: "Interested in using the product";
|
|
@@ -123,5 +127,8 @@ export declare const GetInvestorSignalOutputSchema: z.ZodObject<{
|
|
|
123
127
|
readonly DECLINED: "DECLINED";
|
|
124
128
|
readonly PENDING: "PENDING";
|
|
125
129
|
}>>;
|
|
130
|
+
createdAt: z.ZodCoercedDate<unknown>;
|
|
131
|
+
version: z.ZodInt;
|
|
132
|
+
updatedAt: z.ZodCoercedDate<unknown>;
|
|
126
133
|
}, z.core.$strip>>;
|
|
127
134
|
}, z.core.$strip>;
|
|
@@ -15,20 +15,24 @@ 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
|
-
|
|
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
|
+
createdAt: zod_1.default.coerce.date(),
|
|
22
|
+
version: zod_1.default.int(),
|
|
23
|
+
updatedAt: zod_1.default.coerce.date(),
|
|
21
24
|
});
|
|
22
25
|
exports.CreateInvestorSignalInputSchema = zod_1.default.object({
|
|
23
26
|
id: zod_1.default.cuid2(),
|
|
24
27
|
userId: zod_1.default.cuid2(),
|
|
25
28
|
projectId: zod_1.default.cuid2(),
|
|
26
|
-
|
|
29
|
+
signalInterestType: zod_1.default.enum(constants_1.SIGNAL_INTEREST_TYPES),
|
|
27
30
|
interestDetails: zod_1.default.string().max(600),
|
|
28
31
|
});
|
|
29
32
|
exports.UpdateInvestorSignalStatusSchema = zod_1.default.object({
|
|
30
33
|
id: zod_1.default.cuid2(),
|
|
31
34
|
signalStatus: zod_1.default.enum(constants_1.SIGNAL_STATUS).default("PENDING"),
|
|
35
|
+
version: zod_1.default.int(),
|
|
32
36
|
});
|
|
33
37
|
exports.GetInvestorSignalInputSchema = zod_1.default.object({
|
|
34
38
|
cursor: zod_1.default.string().optional().nullable(),
|
package/package.json
CHANGED
|
@@ -10,6 +10,8 @@ export const InvestorShortlistEntitySchema = z.object({
|
|
|
10
10
|
projectTotalRaising: z.string(),
|
|
11
11
|
projectTotalRaisingCurrency: z.enum(WAGES_CURRENCY),
|
|
12
12
|
projectVentureStage: z.enum(VENTURE_STAGES).optional(),
|
|
13
|
+
createdAt: z.coerce.date(),
|
|
14
|
+
updatedAt: z.coerce.date(),
|
|
13
15
|
});
|
|
14
16
|
|
|
15
17
|
export const CreateInvestorShortlistInputSchema = z.object({
|
|
@@ -15,22 +15,26 @@ 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
|
-
|
|
18
|
+
signalInterestType: z.enum(SIGNAL_INTEREST_TYPES),
|
|
19
19
|
interestDetails: z.string().max(600),
|
|
20
20
|
signalStatus: z.enum(SIGNAL_STATUS).default("PENDING"),
|
|
21
|
+
createdAt: z.coerce.date(),
|
|
22
|
+
version: z.int(),
|
|
23
|
+
updatedAt: z.coerce.date(),
|
|
21
24
|
});
|
|
22
25
|
|
|
23
26
|
export const CreateInvestorSignalInputSchema = z.object({
|
|
24
27
|
id: z.cuid2(),
|
|
25
28
|
userId: z.cuid2(),
|
|
26
29
|
projectId: z.cuid2(),
|
|
27
|
-
|
|
30
|
+
signalInterestType: z.enum(SIGNAL_INTEREST_TYPES),
|
|
28
31
|
interestDetails: z.string().max(600),
|
|
29
32
|
});
|
|
30
33
|
|
|
31
34
|
export const UpdateInvestorSignalStatusSchema = z.object({
|
|
32
35
|
id: z.cuid2(),
|
|
33
36
|
signalStatus: z.enum(SIGNAL_STATUS).default("PENDING"),
|
|
37
|
+
version: z.int(),
|
|
34
38
|
});
|
|
35
39
|
|
|
36
40
|
export const GetInvestorSignalInputSchema = z.object({
|