@zyacreatives/shared 1.2.7 → 1.2.9
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/constants.d.ts +4 -0
- package/dist/constants.js +60 -1
- package/dist/schemas/brand.d.ts +5 -57
- package/dist/schemas/brand.js +6 -10
- package/dist/schemas/creative.d.ts +5 -57
- package/dist/schemas/creative.js +7 -11
- package/dist/schemas/discipline.d.ts +33 -0
- package/dist/schemas/discipline.js +90 -0
- package/dist/schemas/investor.d.ts +5 -57
- package/dist/schemas/investor.js +6 -10
- package/dist/schemas/user.d.ts +1 -1
- package/dist/types/brand.d.ts +6 -6
- package/dist/types/creative.d.ts +7 -7
- package/dist/types/discipline.d.ts +11 -8
- package/dist/types/investor.d.ts +6 -6
- package/dist/types/project.d.ts +1 -1
- package/package.json +1 -1
- package/src/constants.ts +60 -0
- package/src/schemas/brand.ts +7 -10
- package/src/schemas/creative.ts +8 -10
- package/src/schemas/discipline.ts +101 -0
- package/src/schemas/investor.ts +7 -8
- package/src/types/brand.ts +13 -13
- package/src/types/creative.ts +14 -14
- package/src/types/discipline.ts +36 -9
- package/src/types/investor.ts +13 -13
- package/src/types/project.ts +1 -1
package/src/types/investor.ts
CHANGED
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import { z } from "@hono/zod-openapi";
|
|
2
2
|
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
3
|
+
CreateInvestorOutputSchema,
|
|
4
|
+
CreateInvestorProfileInputSchema,
|
|
5
|
+
GetInvestorOutputSchema,
|
|
6
6
|
GetInvestorParamsSchema,
|
|
7
7
|
GetInvestorQuerySchema,
|
|
8
8
|
InvestorEntitySchema,
|
|
9
9
|
ListInvestorsInputSchema,
|
|
10
|
-
|
|
11
|
-
|
|
10
|
+
UpdateInvestorOutputSchema,
|
|
11
|
+
UpdateInvestorProfileInputSchema,
|
|
12
12
|
} from "../schemas/investor";
|
|
13
13
|
|
|
14
14
|
export type InvestorEntity = z.infer<typeof InvestorEntitySchema>;
|
|
15
15
|
|
|
16
16
|
export type ListInvestorsInput = z.infer<typeof ListInvestorsInputSchema>;
|
|
17
17
|
|
|
18
|
-
export type
|
|
18
|
+
export type CreateInvestorInput = z.infer<typeof CreateInvestorProfileInputSchema> & {
|
|
19
19
|
userId: string;
|
|
20
20
|
};
|
|
21
21
|
|
|
22
|
-
export type
|
|
22
|
+
export type UpdateInvestorInput = z.infer<typeof UpdateInvestorProfileInputSchema> & {
|
|
23
23
|
userId: string;
|
|
24
24
|
};
|
|
25
25
|
|
|
@@ -27,12 +27,12 @@ export type GetInvestorParams = z.infer<typeof GetInvestorParamsSchema>;
|
|
|
27
27
|
|
|
28
28
|
export type GetInvestorQuery = z.infer<typeof GetInvestorQuerySchema>;
|
|
29
29
|
|
|
30
|
-
export type
|
|
31
|
-
typeof
|
|
30
|
+
export type CreateInvestorOutput = z.infer<
|
|
31
|
+
typeof CreateInvestorOutputSchema
|
|
32
32
|
>;
|
|
33
|
-
export type
|
|
34
|
-
typeof
|
|
33
|
+
export type GetInvestorOutput = z.infer<
|
|
34
|
+
typeof GetInvestorOutputSchema
|
|
35
35
|
>;
|
|
36
|
-
export type
|
|
37
|
-
typeof
|
|
36
|
+
export type UpdateInvestorOutput = z.infer<
|
|
37
|
+
typeof UpdateInvestorOutputSchema
|
|
38
38
|
>;
|
package/src/types/project.ts
CHANGED
|
@@ -94,7 +94,7 @@ export type ProjectWithUserEntity = MinimalProject & {
|
|
|
94
94
|
projectFiles: (ProjectFileEntity & { fileUrl: string })[];
|
|
95
95
|
} & Partial<ProjectSocialGraphEntity>;
|
|
96
96
|
|
|
97
|
-
export type
|
|
97
|
+
export type ListProjectsInput = {
|
|
98
98
|
query?: string;
|
|
99
99
|
tags?: string[];
|
|
100
100
|
clientName?: string;
|