@zyacreatives/shared 1.5.6 → 1.5.7

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,59 +1,74 @@
1
1
  import type { z } from "@hono/zod-openapi";
2
2
  import type {
3
3
  ProjectEntitySchema,
4
+ ProjectIdSchema,
5
+ MinimalProjectSchema,
4
6
  ProjectFileEntitySchema,
5
- ProjectWithFilesEntitySchema,
6
7
  ProjectViewEntitySchema,
7
8
  ProjectLikeEntitySchema,
8
9
  ProjectCommentEntitySchema,
9
10
  ProjectBookmarkEntitySchema,
11
+ ProjectWithFilesEntitySchema,
12
+ ProjectWithProjectViewsEntitySchema,
13
+ ProjectWithProjectCommentsEntitySchema,
14
+ ProjectWithProjectLikesEntitySchema,
15
+ ProjectWithProjectBookmarksEntitySchema,
10
16
  CreateProjectInputSchema,
11
17
  CreateProjectOutputSchema,
12
18
  UpdateProjectInputSchema,
13
19
  UpdateProjectOutputSchema,
20
+ DeleteProjectOutputSchema,
21
+ GetProjectOutputSchema,
22
+ ListProjectsInputSchema,
23
+ ViewProjectInputSchema,
14
24
  CommentOnProjectInputSchema,
15
25
  CommentOnProjectOutputSchema,
16
- DeleteProjectInputSchema,
17
26
  DeleteProjectCommentOutputSchema,
18
- DeleteProjectOutputSchema,
19
- GetProjectOutputSchema,
20
27
  BookmarkProjectOutputSchema,
21
- ViewProjectInputSchema,
22
- MinimalProjectSchema,
23
- ListProjectsInputSchema,
24
- ProjectWithProjectViewsEntitySchema,
25
- ProjectWithProjectCommentsEntitySchema,
26
- ProjectWithProjectLikesEntitySchema,
27
- ProjectWithProjectBookmarksEntitySchema,
28
28
  } from "../schemas/project";
29
29
 
30
30
  export type ProjectEntity = z.infer<typeof ProjectEntitySchema>;
31
+ export type ProjectIdInput = z.infer<typeof ProjectIdSchema>;
32
+ export type MinimalProject = z.infer<typeof MinimalProjectSchema>;
33
+
31
34
  export type ProjectFileEntity = z.infer<typeof ProjectFileEntitySchema>;
32
- export type ProjectWithFilesEntity = z.infer<typeof ProjectWithFilesEntitySchema>;
33
35
  export type ProjectViewEntity = z.infer<typeof ProjectViewEntitySchema>;
34
36
  export type ProjectLikeEntity = z.infer<typeof ProjectLikeEntitySchema>;
35
37
  export type ProjectCommentEntity = z.infer<typeof ProjectCommentEntitySchema>;
36
38
  export type ProjectBookmarkEntity = z.infer<typeof ProjectBookmarkEntitySchema>;
37
39
 
40
+ export type ProjectWithFilesEntity = z.infer<
41
+ typeof ProjectWithFilesEntitySchema
42
+ >;
43
+ export type ProjectWithProjectViewsEntity = z.infer<
44
+ typeof ProjectWithProjectViewsEntitySchema
45
+ >;
46
+ export type ProjectWithProjectCommentsEntity = z.infer<
47
+ typeof ProjectWithProjectCommentsEntitySchema
48
+ >;
49
+ export type ProjectWithProjectLikesEntity = z.infer<
50
+ typeof ProjectWithProjectLikesEntitySchema
51
+ >;
52
+ export type ProjectWithProjectBookmarksEntity = z.infer<
53
+ typeof ProjectWithProjectBookmarksEntitySchema
54
+ >;
55
+
38
56
  export type CreateProjectInput = z.infer<typeof CreateProjectInputSchema>;
39
57
  export type CreateProjectOutput = z.infer<typeof CreateProjectOutputSchema>;
40
58
  export type UpdateProjectInput = z.infer<typeof UpdateProjectInputSchema>;
41
59
  export type UpdateProjectOutput = z.infer<typeof UpdateProjectOutputSchema>;
42
-
43
-
44
- export type CommentOnProjectInput = z.infer<typeof CommentOnProjectInputSchema>;
45
- export type CommentOnProjectOutput = z.infer<typeof CommentOnProjectOutputSchema>;
46
- export type DeleteProjectInput = z.infer<typeof DeleteProjectInputSchema>;
47
- export type DeleteProjectCommentOutput = z.infer<typeof DeleteProjectCommentOutputSchema>;
48
60
  export type DeleteProjectOutput = z.infer<typeof DeleteProjectOutputSchema>;
61
+
49
62
  export type GetProjectOutput = z.infer<typeof GetProjectOutputSchema>;
50
- export type BookmarkProjectOutput = z.infer<typeof BookmarkProjectOutputSchema>;
63
+ export type ListProjectsInput = z.infer<typeof ListProjectsInputSchema>;
51
64
  export type ViewProjectInput = z.infer<typeof ViewProjectInputSchema>;
52
65
 
53
- export type MinimalProject = z.infer<typeof MinimalProjectSchema>;
54
- export type ListProjectsInput = z.infer<typeof ListProjectsInputSchema>;
66
+ export type CommentOnProjectInput = z.infer<typeof CommentOnProjectInputSchema>;
67
+ export type CommentOnProjectOutput = z.infer<
68
+ typeof CommentOnProjectOutputSchema
69
+ >;
70
+ export type DeleteProjectCommentOutput = z.infer<
71
+ typeof DeleteProjectCommentOutputSchema
72
+ >;
55
73
 
56
- export type ProjectWithProjectViewsEntity = z.infer<typeof ProjectWithProjectViewsEntitySchema>;
57
- export type ProjectWithProjectCommentsEntity = z.infer<typeof ProjectWithProjectCommentsEntitySchema>;
58
- export type ProjectWithProjectLikesEntity = z.infer<typeof ProjectWithProjectLikesEntitySchema>;
59
- export type ProjectWithProjectBookmarksEntity = z.infer<typeof ProjectWithProjectBookmarksEntitySchema>;
74
+ export type BookmarkProjectOutput = z.infer<typeof BookmarkProjectOutputSchema>;