@zyacreatives/shared 2.2.48 → 2.2.49
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 +24 -0
- package/dist/schemas/investor-shortlist.js +1 -0
- package/dist/schemas/investor-signal.d.ts +28 -4
- package/dist/schemas/investor-signal.js +2 -1
- package/package.json +1 -1
- package/src/schemas/investor-shortlist.ts +2 -1
- package/src/schemas/investor-signal.ts +3 -1
|
@@ -6,6 +6,18 @@ export declare const InvestorShortlistEntitySchema: z.ZodObject<{
|
|
|
6
6
|
projectCreatorImage: z.ZodOptional<z.ZodURL>;
|
|
7
7
|
projectCreatorName: z.ZodString;
|
|
8
8
|
projectTotalRaising: z.ZodString;
|
|
9
|
+
projectTotalRaisingCurrency: z.ZodEnum<{
|
|
10
|
+
readonly USD: "USD (United States Dollar)";
|
|
11
|
+
readonly EUR: "EUR (Euro)";
|
|
12
|
+
readonly GBP: "GBP (British Pound Sterling)";
|
|
13
|
+
readonly NGN: "NGN (Nigerian Naira)";
|
|
14
|
+
readonly CAD: "CAD (Canadian Dollar)";
|
|
15
|
+
readonly AUD: "AUD (Australian Dollar)";
|
|
16
|
+
readonly JPY: "JPY (Japanese Yen)";
|
|
17
|
+
readonly CHF: "CHF (Swiss Franc)";
|
|
18
|
+
readonly INR: "INR (Indian Rupee)";
|
|
19
|
+
readonly ZAR: "ZAR (South African Rand)";
|
|
20
|
+
}>;
|
|
9
21
|
projectVentureStage: z.ZodOptional<z.ZodEnum<{
|
|
10
22
|
readonly IDEA: "Idea";
|
|
11
23
|
readonly PRE_SEED: "Pre Seed";
|
|
@@ -34,6 +46,18 @@ export declare const GetInvestorShortlistOutputSchema: z.ZodObject<{
|
|
|
34
46
|
projectCreatorImage: z.ZodOptional<z.ZodURL>;
|
|
35
47
|
projectCreatorName: z.ZodString;
|
|
36
48
|
projectTotalRaising: z.ZodString;
|
|
49
|
+
projectTotalRaisingCurrency: z.ZodEnum<{
|
|
50
|
+
readonly USD: "USD (United States Dollar)";
|
|
51
|
+
readonly EUR: "EUR (Euro)";
|
|
52
|
+
readonly GBP: "GBP (British Pound Sterling)";
|
|
53
|
+
readonly NGN: "NGN (Nigerian Naira)";
|
|
54
|
+
readonly CAD: "CAD (Canadian Dollar)";
|
|
55
|
+
readonly AUD: "AUD (Australian Dollar)";
|
|
56
|
+
readonly JPY: "JPY (Japanese Yen)";
|
|
57
|
+
readonly CHF: "CHF (Swiss Franc)";
|
|
58
|
+
readonly INR: "INR (Indian Rupee)";
|
|
59
|
+
readonly ZAR: "ZAR (South African Rand)";
|
|
60
|
+
}>;
|
|
37
61
|
projectVentureStage: z.ZodOptional<z.ZodEnum<{
|
|
38
62
|
readonly IDEA: "Idea";
|
|
39
63
|
readonly PRE_SEED: "Pre Seed";
|
|
@@ -13,6 +13,7 @@ exports.InvestorShortlistEntitySchema = zod_1.default.object({
|
|
|
13
13
|
projectCreatorImage: zod_1.default.url().optional(),
|
|
14
14
|
projectCreatorName: zod_1.default.string(),
|
|
15
15
|
projectTotalRaising: zod_1.default.string(),
|
|
16
|
+
projectTotalRaisingCurrency: zod_1.default.enum(constants_1.WAGES_CURRENCY),
|
|
16
17
|
projectVentureStage: zod_1.default.enum(constants_1.VENTURE_STAGES).optional(),
|
|
17
18
|
});
|
|
18
19
|
exports.CreateInvestorShortlistInputSchema = zod_1.default.object({
|
|
@@ -6,7 +6,19 @@ export declare const InvestorSignalEntitySchema: z.ZodObject<{
|
|
|
6
6
|
projectCreatorImage: z.ZodOptional<z.ZodURL>;
|
|
7
7
|
projectCreatorName: z.ZodString;
|
|
8
8
|
projectTotalRaising: z.ZodString;
|
|
9
|
-
|
|
9
|
+
projectTotalRaisingCurrency: z.ZodEnum<{
|
|
10
|
+
readonly USD: "USD (United States Dollar)";
|
|
11
|
+
readonly EUR: "EUR (Euro)";
|
|
12
|
+
readonly GBP: "GBP (British Pound Sterling)";
|
|
13
|
+
readonly NGN: "NGN (Nigerian Naira)";
|
|
14
|
+
readonly CAD: "CAD (Canadian Dollar)";
|
|
15
|
+
readonly AUD: "AUD (Australian Dollar)";
|
|
16
|
+
readonly JPY: "JPY (Japanese Yen)";
|
|
17
|
+
readonly CHF: "CHF (Swiss Franc)";
|
|
18
|
+
readonly INR: "INR (Indian Rupee)";
|
|
19
|
+
readonly ZAR: "ZAR (South African Rand)";
|
|
20
|
+
}>;
|
|
21
|
+
projectVentureStage: z.ZodEnum<{
|
|
10
22
|
readonly IDEA: "Idea";
|
|
11
23
|
readonly PRE_SEED: "Pre Seed";
|
|
12
24
|
readonly MVP: "MVP";
|
|
@@ -16,7 +28,7 @@ export declare const InvestorSignalEntitySchema: z.ZodObject<{
|
|
|
16
28
|
readonly SERIES_C: "Series C";
|
|
17
29
|
readonly GROWTH: "Growth";
|
|
18
30
|
readonly EXIT: "Exit";
|
|
19
|
-
}
|
|
31
|
+
}>;
|
|
20
32
|
signalInterest: z.ZodEnum<{
|
|
21
33
|
readonly INVESTMENT: "Exploring investment opportunities";
|
|
22
34
|
readonly PARTNERSHIP: "Partnership & Collaboration";
|
|
@@ -73,7 +85,19 @@ export declare const GetInvestorSignalOutputSchema: z.ZodObject<{
|
|
|
73
85
|
projectCreatorImage: z.ZodOptional<z.ZodURL>;
|
|
74
86
|
projectCreatorName: z.ZodString;
|
|
75
87
|
projectTotalRaising: z.ZodString;
|
|
76
|
-
|
|
88
|
+
projectTotalRaisingCurrency: z.ZodEnum<{
|
|
89
|
+
readonly USD: "USD (United States Dollar)";
|
|
90
|
+
readonly EUR: "EUR (Euro)";
|
|
91
|
+
readonly GBP: "GBP (British Pound Sterling)";
|
|
92
|
+
readonly NGN: "NGN (Nigerian Naira)";
|
|
93
|
+
readonly CAD: "CAD (Canadian Dollar)";
|
|
94
|
+
readonly AUD: "AUD (Australian Dollar)";
|
|
95
|
+
readonly JPY: "JPY (Japanese Yen)";
|
|
96
|
+
readonly CHF: "CHF (Swiss Franc)";
|
|
97
|
+
readonly INR: "INR (Indian Rupee)";
|
|
98
|
+
readonly ZAR: "ZAR (South African Rand)";
|
|
99
|
+
}>;
|
|
100
|
+
projectVentureStage: z.ZodEnum<{
|
|
77
101
|
readonly IDEA: "Idea";
|
|
78
102
|
readonly PRE_SEED: "Pre Seed";
|
|
79
103
|
readonly MVP: "MVP";
|
|
@@ -83,7 +107,7 @@ export declare const GetInvestorSignalOutputSchema: z.ZodObject<{
|
|
|
83
107
|
readonly SERIES_C: "Series C";
|
|
84
108
|
readonly GROWTH: "Growth";
|
|
85
109
|
readonly EXIT: "Exit";
|
|
86
|
-
}
|
|
110
|
+
}>;
|
|
87
111
|
signalInterest: z.ZodEnum<{
|
|
88
112
|
readonly INVESTMENT: "Exploring investment opportunities";
|
|
89
113
|
readonly PARTNERSHIP: "Partnership & Collaboration";
|
|
@@ -13,7 +13,8 @@ exports.InvestorSignalEntitySchema = zod_1.default.object({
|
|
|
13
13
|
projectCreatorImage: zod_1.default.url().optional(),
|
|
14
14
|
projectCreatorName: zod_1.default.string(),
|
|
15
15
|
projectTotalRaising: zod_1.default.string(),
|
|
16
|
-
|
|
16
|
+
projectTotalRaisingCurrency: zod_1.default.enum(constants_1.WAGES_CURRENCY),
|
|
17
|
+
projectVentureStage: zod_1.default.enum(constants_1.VENTURE_STAGES),
|
|
17
18
|
signalInterest: zod_1.default.enum(constants_1.SIGNAL_INTEREST_TYPES),
|
|
18
19
|
interestDetails: zod_1.default.string().max(600),
|
|
19
20
|
signalStatus: zod_1.default.enum(constants_1.SIGNAL_STATUS).default("PENDING"),
|
package/package.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import z from "zod";
|
|
2
|
-
import { VENTURE_STAGES } from "../constants";
|
|
2
|
+
import { VENTURE_STAGES, WAGES_CURRENCY } from "../constants";
|
|
3
3
|
|
|
4
4
|
export const InvestorShortlistEntitySchema = z.object({
|
|
5
5
|
id: z.cuid2(),
|
|
@@ -8,6 +8,7 @@ export const InvestorShortlistEntitySchema = z.object({
|
|
|
8
8
|
projectCreatorImage: z.url().optional(),
|
|
9
9
|
projectCreatorName: z.string(),
|
|
10
10
|
projectTotalRaising: z.string(),
|
|
11
|
+
projectTotalRaisingCurrency: z.enum(WAGES_CURRENCY),
|
|
11
12
|
projectVentureStage: z.enum(VENTURE_STAGES).optional(),
|
|
12
13
|
});
|
|
13
14
|
|
|
@@ -3,6 +3,7 @@ import {
|
|
|
3
3
|
SIGNAL_INTEREST_TYPES,
|
|
4
4
|
SIGNAL_STATUS,
|
|
5
5
|
VENTURE_STAGES,
|
|
6
|
+
WAGES_CURRENCY,
|
|
6
7
|
} from "../constants";
|
|
7
8
|
|
|
8
9
|
export const InvestorSignalEntitySchema = z.object({
|
|
@@ -12,7 +13,8 @@ export const InvestorSignalEntitySchema = z.object({
|
|
|
12
13
|
projectCreatorImage: z.url().optional(),
|
|
13
14
|
projectCreatorName: z.string(),
|
|
14
15
|
projectTotalRaising: z.string(),
|
|
15
|
-
|
|
16
|
+
projectTotalRaisingCurrency: z.enum(WAGES_CURRENCY),
|
|
17
|
+
projectVentureStage: z.enum(VENTURE_STAGES),
|
|
16
18
|
signalInterest: z.enum(SIGNAL_INTEREST_TYPES),
|
|
17
19
|
interestDetails: z.string().max(600),
|
|
18
20
|
signalStatus: z.enum(SIGNAL_STATUS).default("PENDING"),
|