@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.
@@ -1,25 +1,25 @@
1
1
  import { z } from "@hono/zod-openapi";
2
2
  import {
3
- CreateInvestorEndpointResponseSchema,
4
- CreateInvestorProfileSchema,
5
- GetInvestorEndpointResponseSchema,
3
+ CreateInvestorOutputSchema,
4
+ CreateInvestorProfileInputSchema,
5
+ GetInvestorOutputSchema,
6
6
  GetInvestorParamsSchema,
7
7
  GetInvestorQuerySchema,
8
8
  InvestorEntitySchema,
9
9
  ListInvestorsInputSchema,
10
- UpdateInvestorEndpointResponseSchema,
11
- UpdateInvestorProfileSchema,
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 CreateInvestorDto = z.infer<typeof CreateInvestorProfileSchema> & {
18
+ export type CreateInvestorInput = z.infer<typeof CreateInvestorProfileInputSchema> & {
19
19
  userId: string;
20
20
  };
21
21
 
22
- export type UpdateInvestorDto = z.infer<typeof UpdateInvestorProfileSchema> & {
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 CreateInvestorEndpointResponse = z.infer<
31
- typeof CreateInvestorEndpointResponseSchema
30
+ export type CreateInvestorOutput = z.infer<
31
+ typeof CreateInvestorOutputSchema
32
32
  >;
33
- export type GetInvestorEndpointResponse = z.infer<
34
- typeof GetInvestorEndpointResponseSchema
33
+ export type GetInvestorOutput = z.infer<
34
+ typeof GetInvestorOutputSchema
35
35
  >;
36
- export type UpdateInvestorEndpointResponse = z.infer<
37
- typeof UpdateInvestorEndpointResponseSchema
36
+ export type UpdateInvestorOutput = z.infer<
37
+ typeof UpdateInvestorOutputSchema
38
38
  >;
@@ -94,7 +94,7 @@ export type ProjectWithUserEntity = MinimalProject & {
94
94
  projectFiles: (ProjectFileEntity & { fileUrl: string })[];
95
95
  } & Partial<ProjectSocialGraphEntity>;
96
96
 
97
- export type ListProjectsDto = {
97
+ export type ListProjectsInput = {
98
98
  query?: string;
99
99
  tags?: string[];
100
100
  clientName?: string;