@zyacreatives/shared 2.5.52 → 2.5.55
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/index.d.ts +0 -1
- package/dist/index.js +0 -1
- package/dist/schemas/activity.d.ts +1 -0
- package/dist/schemas/auth.d.ts +2 -0
- package/dist/schemas/bookmark.d.ts +62 -7
- package/dist/schemas/bookmark.js +32 -30
- package/dist/schemas/brand.d.ts +3 -3
- package/dist/schemas/chat.d.ts +96 -52
- package/dist/schemas/chat.js +44 -18
- package/dist/schemas/comment.d.ts +65 -21
- package/dist/schemas/comment.js +48 -54
- package/dist/schemas/common.d.ts +15 -11
- package/dist/schemas/creative.d.ts +21 -21
- package/dist/schemas/creative.js +3 -3
- package/dist/schemas/discipline.d.ts +63 -12
- package/dist/schemas/discipline.js +62 -65
- package/dist/schemas/entity-stats.d.ts +35 -3
- package/dist/schemas/entity-stats.js +24 -38
- package/dist/schemas/feed.d.ts +50 -3
- package/dist/schemas/feed.js +43 -13
- package/dist/schemas/file.d.ts +65 -24
- package/dist/schemas/file.js +60 -49
- package/dist/schemas/index.d.ts +1 -0
- package/dist/schemas/index.js +1 -0
- package/dist/schemas/investor-shortlist.d.ts +68 -11
- package/dist/schemas/investor-shortlist.js +46 -24
- package/dist/schemas/investor-signal.d.ts +52 -12
- package/dist/schemas/investor-signal.js +59 -39
- package/dist/schemas/investor.d.ts +3 -3
- package/dist/schemas/job-application.d.ts +291 -279
- package/dist/schemas/job-application.js +59 -95
- package/dist/schemas/job.d.ts +200 -659
- package/dist/schemas/job.js +98 -231
- package/dist/schemas/like.d.ts +3 -0
- package/dist/schemas/message.d.ts +125 -94
- package/dist/schemas/message.js +54 -55
- package/dist/schemas/notification.d.ts +99 -32
- package/dist/schemas/notification.js +46 -42
- package/dist/schemas/payout-method.d.ts +51 -31
- package/dist/schemas/payout-method.js +48 -58
- package/dist/schemas/post.d.ts +295 -204
- package/dist/schemas/post.js +148 -272
- package/dist/schemas/product.d.ts +308 -229
- package/dist/schemas/product.js +111 -94
- package/dist/schemas/project.d.ts +75 -107
- package/dist/schemas/project.js +1 -5
- package/dist/schemas/seller.d.ts +10 -10
- package/dist/schemas/user-strike.d.ts +3 -0
- package/dist/schemas/user.d.ts +128 -126
- package/dist/schemas/user.js +10 -1
- package/dist/schemas/username.d.ts +1 -0
- package/dist/schemas/view.d.ts +1 -0
- package/dist/types/activity.d.ts +1 -3
- package/dist/types/auth.d.ts +1 -4
- package/dist/types/bookmark.d.ts +1 -3
- package/dist/types/chat.d.ts +1 -11
- package/dist/types/comment.d.ts +1 -5
- package/dist/types/common.d.ts +2 -8
- package/dist/types/discipline.d.ts +1 -11
- package/dist/types/entity-stats.d.ts +1 -3
- package/dist/types/feed.d.ts +1 -5
- package/dist/types/investor-shortlist.d.ts +1 -6
- package/dist/types/investor-signal.d.ts +1 -7
- package/dist/types/like.d.ts +1 -3
- package/dist/types/message.d.ts +1 -9
- package/dist/types/notification.d.ts +1 -9
- package/dist/types/user-strike.d.ts +1 -5
- package/dist/types/username.d.ts +1 -3
- package/package.json +1 -1
- package/src/index.ts +4 -5
- package/src/schemas/activity.ts +5 -4
- package/src/schemas/auth.ts +14 -10
- package/src/schemas/bookmark.ts +48 -29
- package/src/schemas/chat.ts +79 -18
- package/src/schemas/comment.ts +63 -49
- package/src/schemas/common.ts +8 -3
- package/src/schemas/creative.ts +3 -3
- package/src/schemas/discipline.ts +103 -71
- package/src/schemas/entity-stats.ts +32 -38
- package/src/schemas/feed.ts +62 -15
- package/src/schemas/file.ts +85 -58
- package/src/schemas/index.ts +1 -0
- package/src/schemas/investor-shortlist.ts +57 -8
- package/src/schemas/investor-signal.ts +79 -27
- package/src/schemas/job-application.ts +81 -115
- package/src/schemas/job.ts +160 -301
- package/src/schemas/like.ts +5 -1
- package/src/schemas/message.ts +71 -64
- package/src/schemas/notification.ts +63 -51
- package/src/schemas/payout-method.ts +47 -63
- package/src/schemas/post.ts +211 -272
- package/src/schemas/product.ts +202 -139
- package/src/schemas/project.ts +7 -10
- package/src/schemas/user-strike.ts +7 -1
- package/src/schemas/user.ts +17 -5
- package/src/schemas/username.ts +5 -3
- package/src/schemas/view.ts +0 -50
- package/src/types/activity.ts +0 -4
- package/src/types/auth.ts +0 -5
- package/src/types/bookmark.ts +0 -4
- package/src/types/chat.ts +0 -31
- package/src/types/comment.ts +0 -12
- package/src/types/common.ts +0 -14
- package/src/types/discipline.ts +0 -32
- package/src/types/entity-stats.ts +0 -4
- package/src/types/feed.ts +0 -10
- package/src/types/index.ts +0 -16
- package/src/types/investor-shortlist.ts +0 -18
- package/src/types/investor-signal.ts +0 -26
- package/src/types/like.ts +0 -4
- package/src/types/message.ts +0 -26
- package/src/types/notification.ts +0 -34
- package/src/types/user-strike.ts +0 -10
- package/src/types/username.ts +0 -4
package/src/types/chat.ts
DELETED
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import z from "zod";
|
|
2
|
-
import {
|
|
3
|
-
AcceptMessageRequestInputSchema,
|
|
4
|
-
BaseChatEntitySchema,
|
|
5
|
-
ChatEntitySchema,
|
|
6
|
-
ChatIdSchema,
|
|
7
|
-
CreateChatInputSchema,
|
|
8
|
-
CreateChatOutputSchema,
|
|
9
|
-
GetChatsForUserOutputSchema,
|
|
10
|
-
GetChatsOutputSchema,
|
|
11
|
-
} from "../schemas/chat";
|
|
12
|
-
|
|
13
|
-
export type BaseChatEntity = z.infer<typeof BaseChatEntitySchema>;
|
|
14
|
-
|
|
15
|
-
export type ChatEntity = z.infer<typeof ChatEntitySchema>;
|
|
16
|
-
|
|
17
|
-
export type CreateChatInput = z.infer<typeof CreateChatInputSchema>;
|
|
18
|
-
|
|
19
|
-
export type CreateChatOutput = z.infer<typeof CreateChatOutputSchema>;
|
|
20
|
-
|
|
21
|
-
export type ChatIdInput = z.infer<typeof ChatIdSchema>;
|
|
22
|
-
|
|
23
|
-
export type GetChatsOutput = z.infer<typeof GetChatsOutputSchema>;
|
|
24
|
-
|
|
25
|
-
export type GetChatsForUserOutput = z.infer<typeof GetChatsForUserOutputSchema>;
|
|
26
|
-
|
|
27
|
-
export type AcceptMessageRequestInput = z.infer<
|
|
28
|
-
typeof AcceptMessageRequestInputSchema
|
|
29
|
-
>;
|
|
30
|
-
|
|
31
|
-
export type DeclineMessageRequestInput = AcceptMessageRequestInput;
|
package/src/types/comment.ts
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { z } from "@hono/zod-openapi";
|
|
2
|
-
import {
|
|
3
|
-
CommentEntitySchema,
|
|
4
|
-
CommentInputSchema,
|
|
5
|
-
CommentOutputSchema,
|
|
6
|
-
} from "../schemas/comment";
|
|
7
|
-
|
|
8
|
-
export type CommentEntity = z.infer<typeof CommentEntitySchema>;
|
|
9
|
-
|
|
10
|
-
export type CommentInput = z.infer<typeof CommentInputSchema>;
|
|
11
|
-
|
|
12
|
-
export type CommentOutput = z.infer<typeof CommentOutputSchema>;
|
package/src/types/common.ts
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import z from "zod";
|
|
2
|
-
import { ProjectSocialGraphEntitySchema } from "../schemas";
|
|
3
|
-
|
|
4
|
-
export type ProjectSocialGraphEntity = z.infer<
|
|
5
|
-
typeof ProjectSocialGraphEntitySchema
|
|
6
|
-
>;
|
|
7
|
-
export type PostSocialGraphEntity = z.infer<
|
|
8
|
-
typeof ProjectSocialGraphEntitySchema
|
|
9
|
-
>;
|
|
10
|
-
|
|
11
|
-
export type Cursor = {
|
|
12
|
-
id: string;
|
|
13
|
-
createdAt: string;
|
|
14
|
-
};
|
package/src/types/discipline.ts
DELETED
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import { z } from "@hono/zod-openapi";
|
|
2
|
-
import {
|
|
3
|
-
BaseDisciplineEntitySchema,
|
|
4
|
-
CreateDisciplinesInputSchema,
|
|
5
|
-
CreateDisciplinesOutputSchema,
|
|
6
|
-
DisciplineEntitySchema,
|
|
7
|
-
DisciplineUpdateOutputSchema,
|
|
8
|
-
GetDisciplinesInputSchema,
|
|
9
|
-
GetDisciplinesOutputSchema,
|
|
10
|
-
SlugInputSchema,
|
|
11
|
-
TagEntitySchema,
|
|
12
|
-
} from "../schemas/discipline";
|
|
13
|
-
|
|
14
|
-
export type BaseDisciplineEntity = z.infer<typeof BaseDisciplineEntitySchema>;
|
|
15
|
-
export type DisciplineEntity = z.infer<typeof DisciplineEntitySchema>;
|
|
16
|
-
|
|
17
|
-
export type DisciplineUpdateOutput = z.infer<
|
|
18
|
-
typeof DisciplineUpdateOutputSchema
|
|
19
|
-
>;
|
|
20
|
-
|
|
21
|
-
export type CreateDisciplinesInput = z.infer<
|
|
22
|
-
typeof CreateDisciplinesInputSchema
|
|
23
|
-
>;
|
|
24
|
-
export type CreateDisciplinesOutput = z.infer<
|
|
25
|
-
typeof CreateDisciplinesOutputSchema
|
|
26
|
-
>;
|
|
27
|
-
|
|
28
|
-
export type GetDisciplinesInput = z.infer<typeof GetDisciplinesInputSchema>;
|
|
29
|
-
export type GetDisciplinesOutput = z.infer<typeof GetDisciplinesOutputSchema>;
|
|
30
|
-
|
|
31
|
-
export type SlugInput = z.infer<typeof SlugInputSchema>;
|
|
32
|
-
export type TagEntity = z.infer<typeof TagEntitySchema>;
|
package/src/types/feed.ts
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import z from "zod";
|
|
2
|
-
import {
|
|
3
|
-
FeedTagsInputSchema,
|
|
4
|
-
FeedTagsSchema,
|
|
5
|
-
TrendingUsersOutputSchema,
|
|
6
|
-
} from "../schemas/feed";
|
|
7
|
-
|
|
8
|
-
export type FeedTagsInput = z.infer<typeof FeedTagsInputSchema>;
|
|
9
|
-
export type FeedTagsOutput = z.infer<typeof FeedTagsSchema>;
|
|
10
|
-
export type TrendingUsersOutput = z.infer<typeof TrendingUsersOutputSchema>;
|
package/src/types/index.ts
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
export * from "./auth";
|
|
2
|
-
export * from "./bookmark";
|
|
3
|
-
export * from "./like";
|
|
4
|
-
export * from "./common";
|
|
5
|
-
export * from "./discipline";
|
|
6
|
-
export * from "./comment";
|
|
7
|
-
export * from "./username";
|
|
8
|
-
export * from "./entity-stats";
|
|
9
|
-
export * from "./feed";
|
|
10
|
-
export * from "./activity";
|
|
11
|
-
export * from "./message";
|
|
12
|
-
export * from "./chat";
|
|
13
|
-
export * from "./user-strike";
|
|
14
|
-
export * from "./notification";
|
|
15
|
-
export * from "./investor-signal"
|
|
16
|
-
export * from "./investor-shortlist"
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import type { z } from "zod";
|
|
2
|
-
import { CreateInvestorShortlistInputSchema, GetInvestorShortlistInputSchema, GetInvestorShortlistOutputSchema, InvestorShortlistEntitySchema } from "../schemas/investor-shortlist";
|
|
3
|
-
|
|
4
|
-
export type InvestorShortlistEntity = z.infer<
|
|
5
|
-
typeof InvestorShortlistEntitySchema
|
|
6
|
-
>;
|
|
7
|
-
|
|
8
|
-
export type CreateInvestorShortlistInput = z.infer<
|
|
9
|
-
typeof CreateInvestorShortlistInputSchema
|
|
10
|
-
>;
|
|
11
|
-
|
|
12
|
-
export type GetInvestorShortlistInput = z.infer<
|
|
13
|
-
typeof GetInvestorShortlistInputSchema
|
|
14
|
-
>;
|
|
15
|
-
|
|
16
|
-
export type GetInvestorShortlistOutput = z.infer<
|
|
17
|
-
typeof GetInvestorShortlistOutputSchema
|
|
18
|
-
>;
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import type { z } from "zod";
|
|
2
|
-
import {
|
|
3
|
-
CreateInvestorSignalInputSchema,
|
|
4
|
-
GetInvestorSignalInputSchema,
|
|
5
|
-
GetInvestorSignalOutputSchema,
|
|
6
|
-
InvestorSignalEntitySchema,
|
|
7
|
-
UpdateInvestorSignalStatusSchema,
|
|
8
|
-
} from "../schemas/investor-signal";
|
|
9
|
-
|
|
10
|
-
export type InvestorSignalEntity = z.infer<typeof InvestorSignalEntitySchema>;
|
|
11
|
-
|
|
12
|
-
export type CreateInvestorSignalInput = z.infer<
|
|
13
|
-
typeof CreateInvestorSignalInputSchema
|
|
14
|
-
>;
|
|
15
|
-
|
|
16
|
-
export type UpdateInvestorSignalStatusInput = z.infer<
|
|
17
|
-
typeof UpdateInvestorSignalStatusSchema
|
|
18
|
-
>;
|
|
19
|
-
|
|
20
|
-
export type GetInvestorSignalInput = z.infer<
|
|
21
|
-
typeof GetInvestorSignalInputSchema
|
|
22
|
-
>;
|
|
23
|
-
|
|
24
|
-
export type GetInvestorSignalOutput = z.infer<
|
|
25
|
-
typeof GetInvestorSignalOutputSchema
|
|
26
|
-
>;
|
package/src/types/like.ts
DELETED
package/src/types/message.ts
DELETED
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import z from "zod";
|
|
2
|
-
import {
|
|
3
|
-
CreateMessageInputSchema,
|
|
4
|
-
DeleteMessagesInputSchema,
|
|
5
|
-
EditMessageInputSchema,
|
|
6
|
-
GetMessagesOutputSchema,
|
|
7
|
-
MessageEntitySchema,
|
|
8
|
-
MessageFileEntitySchema,
|
|
9
|
-
MessageWithFilesEntitySchema,
|
|
10
|
-
} from "../schemas/message";
|
|
11
|
-
|
|
12
|
-
export type MessageEntity = z.infer<typeof MessageEntitySchema>;
|
|
13
|
-
|
|
14
|
-
export type MessageFileEntity = z.infer<typeof MessageFileEntitySchema>;
|
|
15
|
-
|
|
16
|
-
export type MessageWithFilesEntity = z.infer<
|
|
17
|
-
typeof MessageWithFilesEntitySchema
|
|
18
|
-
>;
|
|
19
|
-
|
|
20
|
-
export type CreateMessageInput = z.infer<typeof CreateMessageInputSchema>;
|
|
21
|
-
|
|
22
|
-
export type GetMessagesOutput = z.infer<typeof GetMessagesOutputSchema>;
|
|
23
|
-
|
|
24
|
-
export type DeleteMessagesInput = z.infer<typeof DeleteMessagesInputSchema>;
|
|
25
|
-
|
|
26
|
-
export type EditMessageInput = z.infer<typeof EditMessageInputSchema>;
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import { z } from "@hono/zod-openapi";
|
|
2
|
-
import type {
|
|
3
|
-
NotificationEntitySchema,
|
|
4
|
-
MinimalNotificationEntitySchema,
|
|
5
|
-
NotificationDetailsEntitySchema,
|
|
6
|
-
ListNotificationsInputSchema,
|
|
7
|
-
ListNotificationsOutputSchema,
|
|
8
|
-
MarkReadInputSchema,
|
|
9
|
-
NotificationCountOutputSchema,
|
|
10
|
-
} from "../schemas/notification";
|
|
11
|
-
|
|
12
|
-
export type NotificationEntity = z.infer<typeof NotificationEntitySchema>;
|
|
13
|
-
|
|
14
|
-
export type MinimalNotificationEntity = z.infer<
|
|
15
|
-
typeof MinimalNotificationEntitySchema
|
|
16
|
-
>;
|
|
17
|
-
|
|
18
|
-
export type NotificationDetailsEntity = z.infer<
|
|
19
|
-
typeof NotificationDetailsEntitySchema
|
|
20
|
-
>;
|
|
21
|
-
|
|
22
|
-
export type ListNotificationsInput = z.infer<
|
|
23
|
-
typeof ListNotificationsInputSchema
|
|
24
|
-
>;
|
|
25
|
-
|
|
26
|
-
export type ListNotificationsOutput = z.infer<
|
|
27
|
-
typeof ListNotificationsOutputSchema
|
|
28
|
-
>;
|
|
29
|
-
|
|
30
|
-
export type MarkReadInput = z.infer<typeof MarkReadInputSchema>;
|
|
31
|
-
|
|
32
|
-
export type NotificationCountOutput = z.infer<
|
|
33
|
-
typeof NotificationCountOutputSchema
|
|
34
|
-
>;
|
package/src/types/user-strike.ts
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { z } from "@hono/zod-openapi";
|
|
2
|
-
import {
|
|
3
|
-
UpsertUserStrikeInputSchema,
|
|
4
|
-
UserStrikeEntitySchema,
|
|
5
|
-
} from "../schemas/user-strike";
|
|
6
|
-
export type UserStrikeEntity = z.infer<typeof UserStrikeEntitySchema>;
|
|
7
|
-
|
|
8
|
-
export type UpsertUserStrikeInput = z.infer<typeof UpsertUserStrikeInputSchema>;
|
|
9
|
-
|
|
10
|
-
export type UpsertUserStrikeOutput = UserStrikeEntity;
|
package/src/types/username.ts
DELETED