rategame-shared 1.1.442 → 1.1.444
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/helpers/index.js +0 -1
- package/dist/index.d.ts +2 -0
- package/dist/index.js +2 -0
- package/dist/models/poll.d.ts +12 -0
- package/dist/models/poll.js +2 -0
- package/dist/schemas/poll.d.ts +44926 -0
- package/dist/schemas/poll.js +115 -0
- package/package.json +1 -1
package/dist/helpers/index.js
CHANGED
package/dist/index.d.ts
CHANGED
|
@@ -22,6 +22,7 @@ export * from "./schemas/sharedTypes";
|
|
|
22
22
|
export * from "./schemas/season";
|
|
23
23
|
export * from "./schemas/trivia";
|
|
24
24
|
export * from "./schemas/article";
|
|
25
|
+
export * from "./schemas/poll";
|
|
25
26
|
export * from "./schemas/scorePrediction";
|
|
26
27
|
export * from "./schemas/reactivation";
|
|
27
28
|
export * from "./schemas/standings";
|
|
@@ -50,6 +51,7 @@ export * from "./models/communityGame";
|
|
|
50
51
|
export * from "./models/season";
|
|
51
52
|
export * from "./models/trivia";
|
|
52
53
|
export * from "./models/article";
|
|
54
|
+
export * from "./models/poll";
|
|
53
55
|
export * from "./models/scorePrediction";
|
|
54
56
|
export * from "./models/reactivation";
|
|
55
57
|
export * from "./models/standings";
|
package/dist/index.js
CHANGED
|
@@ -38,6 +38,7 @@ __exportStar(require("./schemas/sharedTypes"), exports);
|
|
|
38
38
|
__exportStar(require("./schemas/season"), exports);
|
|
39
39
|
__exportStar(require("./schemas/trivia"), exports);
|
|
40
40
|
__exportStar(require("./schemas/article"), exports);
|
|
41
|
+
__exportStar(require("./schemas/poll"), exports);
|
|
41
42
|
__exportStar(require("./schemas/scorePrediction"), exports);
|
|
42
43
|
__exportStar(require("./schemas/reactivation"), exports);
|
|
43
44
|
__exportStar(require("./schemas/standings"), exports);
|
|
@@ -66,6 +67,7 @@ __exportStar(require("./models/communityGame"), exports);
|
|
|
66
67
|
__exportStar(require("./models/season"), exports);
|
|
67
68
|
__exportStar(require("./models/trivia"), exports);
|
|
68
69
|
__exportStar(require("./models/article"), exports);
|
|
70
|
+
__exportStar(require("./models/poll"), exports);
|
|
69
71
|
__exportStar(require("./models/scorePrediction"), exports);
|
|
70
72
|
__exportStar(require("./models/reactivation"), exports);
|
|
71
73
|
__exportStar(require("./models/standings"), exports);
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
import { pollSchema, pollOptionSchema, pollTypeSchema, pollStatusSchema, pollVoteSchema, pollVoteSubmissionSchema, pollVoteResponseSchema, searchPollSchema, pollThreadCommentSchema, pollThreadCommentLikeSchema } from "../schemas/poll";
|
|
3
|
+
export type Poll = z.infer<typeof pollSchema>;
|
|
4
|
+
export type PollOption = z.infer<typeof pollOptionSchema>;
|
|
5
|
+
export type PollType = z.infer<typeof pollTypeSchema>;
|
|
6
|
+
export type PollStatus = z.infer<typeof pollStatusSchema>;
|
|
7
|
+
export type PollVote = z.infer<typeof pollVoteSchema>;
|
|
8
|
+
export type PollVoteSubmission = z.infer<typeof pollVoteSubmissionSchema>;
|
|
9
|
+
export type PollVoteResponse = z.infer<typeof pollVoteResponseSchema>;
|
|
10
|
+
export type SearchPoll = z.infer<typeof searchPollSchema>;
|
|
11
|
+
export type PollThreadComment = z.infer<typeof pollThreadCommentSchema>;
|
|
12
|
+
export type PollThreadCommentLike = z.infer<typeof pollThreadCommentLikeSchema>;
|