rategame-shared 1.1.437 → 1.1.438
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 +2 -0
- package/dist/index.js +2 -0
- package/dist/models/article.d.ts +9 -0
- package/dist/models/article.js +2 -0
- package/dist/schemas/article.d.ts +6428 -0
- package/dist/schemas/article.js +123 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -21,6 +21,7 @@ export * from "./schemas/communityGame";
|
|
|
21
21
|
export * from "./schemas/sharedTypes";
|
|
22
22
|
export * from "./schemas/season";
|
|
23
23
|
export * from "./schemas/trivia";
|
|
24
|
+
export * from "./schemas/article";
|
|
24
25
|
export * from "./schemas/scorePrediction";
|
|
25
26
|
export * from "./schemas/reactivation";
|
|
26
27
|
export * from "./schemas/standings";
|
|
@@ -48,6 +49,7 @@ export * from "./models/pick";
|
|
|
48
49
|
export * from "./models/communityGame";
|
|
49
50
|
export * from "./models/season";
|
|
50
51
|
export * from "./models/trivia";
|
|
52
|
+
export * from "./models/article";
|
|
51
53
|
export * from "./models/scorePrediction";
|
|
52
54
|
export * from "./models/reactivation";
|
|
53
55
|
export * from "./models/standings";
|
package/dist/index.js
CHANGED
|
@@ -37,6 +37,7 @@ __exportStar(require("./schemas/communityGame"), exports);
|
|
|
37
37
|
__exportStar(require("./schemas/sharedTypes"), exports);
|
|
38
38
|
__exportStar(require("./schemas/season"), exports);
|
|
39
39
|
__exportStar(require("./schemas/trivia"), exports);
|
|
40
|
+
__exportStar(require("./schemas/article"), exports);
|
|
40
41
|
__exportStar(require("./schemas/scorePrediction"), exports);
|
|
41
42
|
__exportStar(require("./schemas/reactivation"), exports);
|
|
42
43
|
__exportStar(require("./schemas/standings"), exports);
|
|
@@ -64,6 +65,7 @@ __exportStar(require("./models/pick"), exports);
|
|
|
64
65
|
__exportStar(require("./models/communityGame"), exports);
|
|
65
66
|
__exportStar(require("./models/season"), exports);
|
|
66
67
|
__exportStar(require("./models/trivia"), exports);
|
|
68
|
+
__exportStar(require("./models/article"), exports);
|
|
67
69
|
__exportStar(require("./models/scorePrediction"), exports);
|
|
68
70
|
__exportStar(require("./models/reactivation"), exports);
|
|
69
71
|
__exportStar(require("./models/standings"), exports);
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
import { articleSchema, articleEntitySchema, createArticleSchema, updateArticleSchema, searchArticleSchema, articleThreadCommentSchema, articleThreadCommentLikeSchema } from "../schemas/article";
|
|
3
|
+
export type Article = z.infer<typeof articleSchema>;
|
|
4
|
+
export type ArticleEntity = z.infer<typeof articleEntitySchema>;
|
|
5
|
+
export type CreateArticle = z.infer<typeof createArticleSchema>;
|
|
6
|
+
export type UpdateArticle = z.infer<typeof updateArticleSchema>;
|
|
7
|
+
export type SearchArticle = z.infer<typeof searchArticleSchema>;
|
|
8
|
+
export type ArticleThreadComment = z.infer<typeof articleThreadCommentSchema>;
|
|
9
|
+
export type ArticleThreadCommentLike = z.infer<typeof articleThreadCommentLikeSchema>;
|