@zyacreatives/shared 1.6.0 → 1.6.1
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/types/user.d.ts +2 -1
- package/package.json +1 -1
- package/src/types/user.ts +4 -0
package/dist/types/user.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { BaseUserEntitySchema, MinimalUserSchema, UserEntitySchema, UserProfileEntitySchema, UserWithProjectsEntitySchema, UserWithProjectBookmarksEntitySchema, GetUserFollowingInputSchema, GetUserFollowersInputSchema, UserWithFollowingEntitySchema, UserWithFollowersEntitySchema, GetUserFollowingOutputSchema, GetUserFollowersOutputSchema, GetAuthenticatedUserOutputSchema, GetAuthenticatedUserProfileOutputSchema, GetAuthenticatedUserWithProjectsOutputSchema, GetAuthenticatedUserWithProjectBookmarksOutputSchema, GetAuthenticatedUserWithUserFollowingOutputSchema, GetAuthenticatedUserWithUserFollowersOutputSchema, UserWithProjectLikesEntitySchema } from "../schemas/user";
|
|
1
|
+
import { BaseUserEntitySchema, MinimalUserSchema, UserEntitySchema, UserProfileEntitySchema, UserWithProjectsEntitySchema, UserWithProjectBookmarksEntitySchema, GetUserFollowingInputSchema, GetUserFollowersInputSchema, UserWithFollowingEntitySchema, UserWithFollowersEntitySchema, GetUserFollowingOutputSchema, GetUserFollowersOutputSchema, GetAuthenticatedUserOutputSchema, GetAuthenticatedUserProfileOutputSchema, GetAuthenticatedUserWithProjectsOutputSchema, GetAuthenticatedUserWithProjectBookmarksOutputSchema, GetAuthenticatedUserWithUserFollowingOutputSchema, GetAuthenticatedUserWithUserFollowersOutputSchema, UserWithProjectLikesEntitySchema, GetAuthenticatedUserWithProjectLikesOutputSchema } from "../schemas/user";
|
|
2
2
|
import { z } from "@hono/zod-openapi";
|
|
3
3
|
export type BaseUserEntity = z.infer<typeof BaseUserEntitySchema>;
|
|
4
4
|
export type MinimalUser = z.infer<typeof MinimalUserSchema>;
|
|
@@ -17,5 +17,6 @@ export type GetAuthenticatedUserOutput = z.infer<typeof GetAuthenticatedUserOutp
|
|
|
17
17
|
export type GetAuthenticatedUserProfileOutput = z.infer<typeof GetAuthenticatedUserProfileOutputSchema>;
|
|
18
18
|
export type GetAuthenticatedUserWithProjectsOutput = z.infer<typeof GetAuthenticatedUserWithProjectsOutputSchema>;
|
|
19
19
|
export type GetAuthenticatedUserWithProjectBookmarksOutput = z.infer<typeof GetAuthenticatedUserWithProjectBookmarksOutputSchema>;
|
|
20
|
+
export type GetAuthenticatedUserWithProjectLikesOutput = z.infer<typeof GetAuthenticatedUserWithProjectLikesOutputSchema>;
|
|
20
21
|
export type GetAuthenticatedUserWithUserFollowingOutput = z.infer<typeof GetAuthenticatedUserWithUserFollowingOutputSchema>;
|
|
21
22
|
export type GetAuthenticatedUserWithUserFollowersOutput = z.infer<typeof GetAuthenticatedUserWithUserFollowersOutputSchema>;
|
package/package.json
CHANGED
package/src/types/user.ts
CHANGED
|
@@ -20,6 +20,7 @@ import {
|
|
|
20
20
|
GetAuthenticatedUserWithUserFollowingOutputSchema,
|
|
21
21
|
GetAuthenticatedUserWithUserFollowersOutputSchema,
|
|
22
22
|
UserWithProjectLikesEntitySchema,
|
|
23
|
+
GetAuthenticatedUserWithProjectLikesOutputSchema,
|
|
23
24
|
} from "../schemas/user";
|
|
24
25
|
|
|
25
26
|
import { z } from "@hono/zod-openapi";
|
|
@@ -63,6 +64,9 @@ export type GetAuthenticatedUserWithProjectsOutput = z.infer<
|
|
|
63
64
|
export type GetAuthenticatedUserWithProjectBookmarksOutput = z.infer<
|
|
64
65
|
typeof GetAuthenticatedUserWithProjectBookmarksOutputSchema
|
|
65
66
|
>;
|
|
67
|
+
export type GetAuthenticatedUserWithProjectLikesOutput = z.infer<
|
|
68
|
+
typeof GetAuthenticatedUserWithProjectLikesOutputSchema
|
|
69
|
+
>;
|
|
66
70
|
export type GetAuthenticatedUserWithUserFollowingOutput = z.infer<
|
|
67
71
|
typeof GetAuthenticatedUserWithUserFollowingOutputSchema
|
|
68
72
|
>;
|