rategame-shared 1.0.12 → 1.0.13

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.
@@ -2,11 +2,13 @@ import { z } from "zod";
2
2
  export declare const gameTeamSchema: z.ZodObject<{
3
3
  id: z.ZodOptional<z.ZodString>;
4
4
  teamId: z.ZodNumber;
5
+ name: z.ZodString;
5
6
  score: z.ZodNumber;
6
7
  isWinner: z.ZodOptional<z.ZodBoolean>;
7
8
  image: z.ZodString;
8
9
  seed: z.ZodNumber;
9
10
  }, "strip", z.ZodTypeAny, {
11
+ name: string;
10
12
  image: string;
11
13
  teamId: number;
12
14
  score: number;
@@ -14,6 +16,7 @@ export declare const gameTeamSchema: z.ZodObject<{
14
16
  id?: string | undefined;
15
17
  isWinner?: boolean | undefined;
16
18
  }, {
19
+ name: string;
17
20
  image: string;
18
21
  teamId: number;
19
22
  score: number;
@@ -58,11 +61,13 @@ export declare const gameSchema: z.ZodObject<{
58
61
  homeTeam: z.ZodObject<{
59
62
  id: z.ZodOptional<z.ZodString>;
60
63
  teamId: z.ZodNumber;
64
+ name: z.ZodString;
61
65
  score: z.ZodNumber;
62
66
  isWinner: z.ZodOptional<z.ZodBoolean>;
63
67
  image: z.ZodString;
64
68
  seed: z.ZodNumber;
65
69
  }, "strip", z.ZodTypeAny, {
70
+ name: string;
66
71
  image: string;
67
72
  teamId: number;
68
73
  score: number;
@@ -70,6 +75,7 @@ export declare const gameSchema: z.ZodObject<{
70
75
  id?: string | undefined;
71
76
  isWinner?: boolean | undefined;
72
77
  }, {
78
+ name: string;
73
79
  image: string;
74
80
  teamId: number;
75
81
  score: number;
@@ -80,11 +86,13 @@ export declare const gameSchema: z.ZodObject<{
80
86
  awayTeam: z.ZodObject<{
81
87
  id: z.ZodOptional<z.ZodString>;
82
88
  teamId: z.ZodNumber;
89
+ name: z.ZodString;
83
90
  score: z.ZodNumber;
84
91
  isWinner: z.ZodOptional<z.ZodBoolean>;
85
92
  image: z.ZodString;
86
93
  seed: z.ZodNumber;
87
94
  }, "strip", z.ZodTypeAny, {
95
+ name: string;
88
96
  image: string;
89
97
  teamId: number;
90
98
  score: number;
@@ -92,6 +100,7 @@ export declare const gameSchema: z.ZodObject<{
92
100
  id?: string | undefined;
93
101
  isWinner?: boolean | undefined;
94
102
  }, {
103
+ name: string;
95
104
  image: string;
96
105
  teamId: number;
97
106
  score: number;
@@ -133,6 +142,7 @@ export declare const gameSchema: z.ZodObject<{
133
142
  ratingWindowClosedAt: number;
134
143
  gameId: number;
135
144
  homeTeam: {
145
+ name: string;
136
146
  image: string;
137
147
  teamId: number;
138
148
  score: number;
@@ -141,6 +151,7 @@ export declare const gameSchema: z.ZodObject<{
141
151
  isWinner?: boolean | undefined;
142
152
  };
143
153
  awayTeam: {
154
+ name: string;
144
155
  image: string;
145
156
  teamId: number;
146
157
  score: number;
@@ -165,6 +176,7 @@ export declare const gameSchema: z.ZodObject<{
165
176
  ratingWindowClosedAt: number;
166
177
  gameId: number;
167
178
  homeTeam: {
179
+ name: string;
168
180
  image: string;
169
181
  teamId: number;
170
182
  score: number;
@@ -173,6 +185,7 @@ export declare const gameSchema: z.ZodObject<{
173
185
  isWinner?: boolean | undefined;
174
186
  };
175
187
  awayTeam: {
188
+ name: string;
176
189
  image: string;
177
190
  teamId: number;
178
191
  score: number;
@@ -5,6 +5,7 @@ const zod_1 = require("zod");
5
5
  exports.gameTeamSchema = zod_1.z.object({
6
6
  id: zod_1.z.string().optional(),
7
7
  teamId: zod_1.z.number(),
8
+ name: zod_1.z.string(),
8
9
  score: zod_1.z.number(),
9
10
  isWinner: zod_1.z.boolean().optional(),
10
11
  image: zod_1.z.string(),
@@ -19,11 +19,13 @@ export declare const ratingSchema: import("zod").ZodObject<{
19
19
  homeTeam: import("zod").ZodObject<{
20
20
  id: import("zod").ZodOptional<import("zod").ZodString>;
21
21
  teamId: import("zod").ZodNumber;
22
+ name: import("zod").ZodString;
22
23
  score: import("zod").ZodNumber;
23
24
  isWinner: import("zod").ZodOptional<import("zod").ZodBoolean>;
24
25
  image: import("zod").ZodString;
25
26
  seed: import("zod").ZodNumber;
26
27
  }, "strip", import("zod").ZodTypeAny, {
28
+ name: string;
27
29
  image: string;
28
30
  teamId: number;
29
31
  score: number;
@@ -31,6 +33,7 @@ export declare const ratingSchema: import("zod").ZodObject<{
31
33
  id?: string | undefined;
32
34
  isWinner?: boolean | undefined;
33
35
  }, {
36
+ name: string;
34
37
  image: string;
35
38
  teamId: number;
36
39
  score: number;
@@ -41,11 +44,13 @@ export declare const ratingSchema: import("zod").ZodObject<{
41
44
  awayTeam: import("zod").ZodObject<{
42
45
  id: import("zod").ZodOptional<import("zod").ZodString>;
43
46
  teamId: import("zod").ZodNumber;
47
+ name: import("zod").ZodString;
44
48
  score: import("zod").ZodNumber;
45
49
  isWinner: import("zod").ZodOptional<import("zod").ZodBoolean>;
46
50
  image: import("zod").ZodString;
47
51
  seed: import("zod").ZodNumber;
48
52
  }, "strip", import("zod").ZodTypeAny, {
53
+ name: string;
49
54
  image: string;
50
55
  teamId: number;
51
56
  score: number;
@@ -53,6 +58,7 @@ export declare const ratingSchema: import("zod").ZodObject<{
53
58
  id?: string | undefined;
54
59
  isWinner?: boolean | undefined;
55
60
  }, {
61
+ name: string;
56
62
  image: string;
57
63
  teamId: number;
58
64
  score: number;
@@ -64,6 +70,7 @@ export declare const ratingSchema: import("zod").ZodObject<{
64
70
  id: string;
65
71
  round: number;
66
72
  homeTeam: {
73
+ name: string;
67
74
  image: string;
68
75
  teamId: number;
69
76
  score: number;
@@ -72,6 +79,7 @@ export declare const ratingSchema: import("zod").ZodObject<{
72
79
  isWinner?: boolean | undefined;
73
80
  };
74
81
  awayTeam: {
82
+ name: string;
75
83
  image: string;
76
84
  teamId: number;
77
85
  score: number;
@@ -83,6 +91,7 @@ export declare const ratingSchema: import("zod").ZodObject<{
83
91
  id: string;
84
92
  round: number;
85
93
  homeTeam: {
94
+ name: string;
86
95
  image: string;
87
96
  teamId: number;
88
97
  score: number;
@@ -91,6 +100,7 @@ export declare const ratingSchema: import("zod").ZodObject<{
91
100
  isWinner?: boolean | undefined;
92
101
  };
93
102
  awayTeam: {
103
+ name: string;
94
104
  image: string;
95
105
  teamId: number;
96
106
  score: number;
@@ -111,6 +121,7 @@ export declare const ratingSchema: import("zod").ZodObject<{
111
121
  id: string;
112
122
  round: number;
113
123
  homeTeam: {
124
+ name: string;
114
125
  image: string;
115
126
  teamId: number;
116
127
  score: number;
@@ -119,6 +130,7 @@ export declare const ratingSchema: import("zod").ZodObject<{
119
130
  isWinner?: boolean | undefined;
120
131
  };
121
132
  awayTeam: {
133
+ name: string;
122
134
  image: string;
123
135
  teamId: number;
124
136
  score: number;
@@ -140,6 +152,7 @@ export declare const ratingSchema: import("zod").ZodObject<{
140
152
  id: string;
141
153
  round: number;
142
154
  homeTeam: {
155
+ name: string;
143
156
  image: string;
144
157
  teamId: number;
145
158
  score: number;
@@ -148,6 +161,7 @@ export declare const ratingSchema: import("zod").ZodObject<{
148
161
  isWinner?: boolean | undefined;
149
162
  };
150
163
  awayTeam: {
164
+ name: string;
151
165
  image: string;
152
166
  teamId: number;
153
167
  score: number;
@@ -167,11 +181,13 @@ export declare const createRatingSchema: import("zod").ZodObject<{
167
181
  homeTeam: import("zod").ZodObject<{
168
182
  id: import("zod").ZodOptional<import("zod").ZodString>;
169
183
  teamId: import("zod").ZodNumber;
184
+ name: import("zod").ZodString;
170
185
  score: import("zod").ZodNumber;
171
186
  isWinner: import("zod").ZodOptional<import("zod").ZodBoolean>;
172
187
  image: import("zod").ZodString;
173
188
  seed: import("zod").ZodNumber;
174
189
  }, "strip", import("zod").ZodTypeAny, {
190
+ name: string;
175
191
  image: string;
176
192
  teamId: number;
177
193
  score: number;
@@ -179,6 +195,7 @@ export declare const createRatingSchema: import("zod").ZodObject<{
179
195
  id?: string | undefined;
180
196
  isWinner?: boolean | undefined;
181
197
  }, {
198
+ name: string;
182
199
  image: string;
183
200
  teamId: number;
184
201
  score: number;
@@ -189,11 +206,13 @@ export declare const createRatingSchema: import("zod").ZodObject<{
189
206
  awayTeam: import("zod").ZodObject<{
190
207
  id: import("zod").ZodOptional<import("zod").ZodString>;
191
208
  teamId: import("zod").ZodNumber;
209
+ name: import("zod").ZodString;
192
210
  score: import("zod").ZodNumber;
193
211
  isWinner: import("zod").ZodOptional<import("zod").ZodBoolean>;
194
212
  image: import("zod").ZodString;
195
213
  seed: import("zod").ZodNumber;
196
214
  }, "strip", import("zod").ZodTypeAny, {
215
+ name: string;
197
216
  image: string;
198
217
  teamId: number;
199
218
  score: number;
@@ -201,6 +220,7 @@ export declare const createRatingSchema: import("zod").ZodObject<{
201
220
  id?: string | undefined;
202
221
  isWinner?: boolean | undefined;
203
222
  }, {
223
+ name: string;
204
224
  image: string;
205
225
  teamId: number;
206
226
  score: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rategame-shared",
3
- "version": "1.0.12",
3
+ "version": "1.0.13",
4
4
  "description": "This package contains shared resources for the Rate Game project.",
5
5
  "types": "./dist/index.d.ts",
6
6
  "main": "./dist/index.js",