@ethlete/cdk 4.48.0 → 4.48.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.
Files changed (21) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/esm2022/lib/components/bracket/components/new-bracket/bracket-new.mjs +103 -1
  3. package/esm2022/lib/components/bracket/stories/dummy-data/ET_DUMMY_DATA_DOUBLE_SYNC.mjs +1116 -0
  4. package/esm2022/lib/components/bracket/stories/dummy-data/ET_DUMMY_DATA_SINGLE.mjs +2691 -0
  5. package/esm2022/lib/components/bracket/stories/dummy-data/ET_DUMMY_DATA_SWISS.mjs +72479 -0
  6. package/esm2022/lib/components/bracket/stories/dummy-data/ET_DUMMY_DATE_DOUBLE_ASYNC.mjs +1275 -0
  7. package/esm2022/lib/components/bracket/stories/dummy-data/FIFA_DUMMY_DATA_DOUBLE.mjs +2453 -0
  8. package/esm2022/lib/components/bracket/stories/dummy-data/FIFA_DUMMY_DATA_SINGLE.mjs +2570 -0
  9. package/esm2022/lib/components/bracket/stories/dummy-data/index.mjs +7 -0
  10. package/fesm2022/ethlete-cdk.mjs +105 -0
  11. package/fesm2022/ethlete-cdk.mjs.map +1 -1
  12. package/lib/components/bracket/components/new-bracket/bracket-new.d.ts +1620 -0
  13. package/lib/components/bracket/stories/dummy-data/ET_DUMMY_DATA_DOUBLE_SYNC.d.ts +149 -0
  14. package/lib/components/bracket/stories/dummy-data/ET_DUMMY_DATA_SINGLE.d.ts +184 -0
  15. package/lib/components/bracket/stories/dummy-data/ET_DUMMY_DATA_SWISS.d.ts +214 -0
  16. package/lib/components/bracket/stories/dummy-data/ET_DUMMY_DATE_DOUBLE_ASYNC.d.ts +149 -0
  17. package/lib/components/bracket/stories/dummy-data/FIFA_DUMMY_DATA_DOUBLE.d.ts +1640 -0
  18. package/lib/components/bracket/stories/dummy-data/FIFA_DUMMY_DATA_SINGLE.d.ts +2388 -0
  19. package/lib/components/bracket/stories/dummy-data/index.d.ts +6 -0
  20. package/lib/components/query-error/directives/query-error/query-error.directive.d.ts +1 -1
  21. package/package.json +1 -1
@@ -0,0 +1,149 @@
1
+ export declare const ET_DUMMY_DATA_DOUBLE_SYNC: ({
2
+ round: {
3
+ id: string;
4
+ status: string;
5
+ name: string;
6
+ number: number;
7
+ countMatches: number;
8
+ type: string;
9
+ };
10
+ matches: {
11
+ id: string;
12
+ status: string;
13
+ number: number;
14
+ type: string;
15
+ startTime: string;
16
+ home: null;
17
+ away: null;
18
+ games: {
19
+ id: string;
20
+ status: string;
21
+ match: string;
22
+ homePlayers: never[];
23
+ awayPlayers: never[];
24
+ homeScore: {
25
+ status: string;
26
+ score: number;
27
+ };
28
+ awayScore: {
29
+ status: string;
30
+ score: number;
31
+ };
32
+ judged: boolean;
33
+ resultType: string;
34
+ gameType: string;
35
+ platform: {
36
+ id: string;
37
+ title: string;
38
+ logo: null;
39
+ identifier: string;
40
+ };
41
+ }[];
42
+ judged: boolean;
43
+ homeScore: null;
44
+ awayScore: null;
45
+ tournamentGroup: {
46
+ id: string;
47
+ title: string;
48
+ shortTitle: string;
49
+ slug: string;
50
+ current: boolean;
51
+ season: {
52
+ id: string;
53
+ name: string;
54
+ identifier: string;
55
+ };
56
+ };
57
+ tournament: {
58
+ id: string;
59
+ title: string;
60
+ shortTitle: string;
61
+ slug: string;
62
+ status: string;
63
+ };
64
+ round: {
65
+ id: string;
66
+ date: string;
67
+ displayName: string;
68
+ number: number;
69
+ state: string;
70
+ };
71
+ winningSide: null;
72
+ matchType: string;
73
+ isCompletedByReferee: boolean;
74
+ }[];
75
+ } | {
76
+ round: {
77
+ id: string;
78
+ status: string;
79
+ name: string;
80
+ number: number;
81
+ countMatches: number;
82
+ type: string;
83
+ };
84
+ matches: {
85
+ id: string;
86
+ status: string;
87
+ number: number;
88
+ type: string;
89
+ startTime: string;
90
+ home: null;
91
+ away: null;
92
+ games: {
93
+ id: string;
94
+ status: string;
95
+ match: string;
96
+ homePlayers: never[];
97
+ awayPlayers: never[];
98
+ homeScore: {
99
+ status: null;
100
+ score: null;
101
+ };
102
+ awayScore: {
103
+ status: null;
104
+ score: null;
105
+ };
106
+ judged: boolean;
107
+ resultType: string;
108
+ gameType: string;
109
+ platform: {
110
+ id: string;
111
+ title: string;
112
+ logo: null;
113
+ identifier: string;
114
+ };
115
+ }[];
116
+ judged: boolean;
117
+ homeScore: null;
118
+ awayScore: null;
119
+ tournamentGroup: {
120
+ id: string;
121
+ title: string;
122
+ shortTitle: string;
123
+ slug: string;
124
+ current: boolean;
125
+ season: {
126
+ id: string;
127
+ name: string;
128
+ identifier: string;
129
+ };
130
+ };
131
+ tournament: {
132
+ id: string;
133
+ title: string;
134
+ shortTitle: string;
135
+ slug: string;
136
+ status: string;
137
+ };
138
+ round: {
139
+ id: string;
140
+ date: string;
141
+ displayName: string;
142
+ number: number;
143
+ state: string;
144
+ };
145
+ winningSide: null;
146
+ matchType: string;
147
+ isCompletedByReferee: boolean;
148
+ }[];
149
+ })[];
@@ -0,0 +1,184 @@
1
+ export declare const ET_DUMMY_DATA_SINGLE: {
2
+ round: {
3
+ id: string;
4
+ status: string;
5
+ name: string;
6
+ number: number;
7
+ countMatches: number;
8
+ type: string;
9
+ };
10
+ matches: {
11
+ id: string;
12
+ status: string;
13
+ number: number;
14
+ type: string;
15
+ startTime: string;
16
+ home: {
17
+ type: string;
18
+ id: string;
19
+ name: string;
20
+ slug: string;
21
+ code: string;
22
+ emblem: {
23
+ id: number;
24
+ name: string;
25
+ copyright: null;
26
+ description: null;
27
+ providerReference: string;
28
+ path: string;
29
+ };
30
+ countryOfResidence: {
31
+ id: string;
32
+ code: string;
33
+ shortName: string;
34
+ flag: {
35
+ id: number;
36
+ name: string;
37
+ copyright: null;
38
+ description: null;
39
+ providerReference: string;
40
+ path: string;
41
+ };
42
+ };
43
+ countryOfRepresentation: {
44
+ id: string;
45
+ code: string;
46
+ shortName: string;
47
+ flag: {
48
+ id: number;
49
+ name: string;
50
+ copyright: null;
51
+ description: null;
52
+ providerReference: string;
53
+ path: string;
54
+ };
55
+ };
56
+ identity: {
57
+ name: string;
58
+ id: string;
59
+ identifier: string;
60
+ type: string;
61
+ mediaView: null;
62
+ };
63
+ };
64
+ away: {
65
+ type: string;
66
+ id: string;
67
+ name: string;
68
+ slug: string;
69
+ code: string;
70
+ emblem: {
71
+ id: number;
72
+ name: string;
73
+ copyright: null;
74
+ description: null;
75
+ providerReference: string;
76
+ path: string;
77
+ };
78
+ countryOfResidence: {
79
+ id: string;
80
+ code: string;
81
+ shortName: string;
82
+ flag: {
83
+ id: number;
84
+ name: string;
85
+ copyright: null;
86
+ description: null;
87
+ providerReference: string;
88
+ path: string;
89
+ };
90
+ };
91
+ countryOfRepresentation: {
92
+ id: string;
93
+ code: string;
94
+ shortName: string;
95
+ flag: {
96
+ id: number;
97
+ name: string;
98
+ copyright: null;
99
+ description: null;
100
+ providerReference: string;
101
+ path: string;
102
+ };
103
+ };
104
+ identity: {
105
+ name: string;
106
+ id: string;
107
+ identifier: string;
108
+ type: string;
109
+ mediaView: null;
110
+ };
111
+ };
112
+ games: {
113
+ id: string;
114
+ status: string;
115
+ match: string;
116
+ homePlayers: never[];
117
+ awayPlayers: never[];
118
+ homeScore: {
119
+ status: string;
120
+ score: number;
121
+ };
122
+ awayScore: {
123
+ status: string;
124
+ score: number;
125
+ };
126
+ judged: boolean;
127
+ resultType: string;
128
+ gameType: string;
129
+ platform: {
130
+ id: string;
131
+ title: string;
132
+ logo: null;
133
+ identifier: string;
134
+ };
135
+ isActive: boolean;
136
+ }[];
137
+ judged: boolean;
138
+ homeScore: {
139
+ score: number;
140
+ status: string;
141
+ gameAmount: number;
142
+ gameWins: number;
143
+ gameTies: number;
144
+ gameLosses: number;
145
+ ownPoints: number;
146
+ enemyPoints: number;
147
+ minPoints: number;
148
+ maxPoints: number;
149
+ place: null;
150
+ };
151
+ awayScore: {
152
+ score: number;
153
+ status: string;
154
+ gameAmount: number;
155
+ gameWins: number;
156
+ gameTies: number;
157
+ gameLosses: number;
158
+ ownPoints: number;
159
+ enemyPoints: number;
160
+ minPoints: number;
161
+ maxPoints: number;
162
+ place: null;
163
+ };
164
+ tournamentGroup: null;
165
+ tournament: {
166
+ id: string;
167
+ title: string;
168
+ shortTitle: string;
169
+ slug: string;
170
+ status: string;
171
+ };
172
+ round: {
173
+ id: string;
174
+ date: string;
175
+ displayName: string;
176
+ number: number;
177
+ state: string;
178
+ };
179
+ winningSide: string;
180
+ matchType: string;
181
+ isCompletedByReferee: boolean;
182
+ matchCategory: number;
183
+ }[];
184
+ }[];
@@ -0,0 +1,214 @@
1
+ export declare const ET_DUMMY_DATA_SWISS: {
2
+ round: {
3
+ id: string;
4
+ date: string;
5
+ name: string;
6
+ number: number;
7
+ status: string;
8
+ type: string;
9
+ };
10
+ matches: {
11
+ id: string;
12
+ status: string;
13
+ slug: string;
14
+ number: number;
15
+ type: string;
16
+ startTime: string;
17
+ videoRecording: null;
18
+ home: {
19
+ name: string;
20
+ gamerTag: string;
21
+ image: {
22
+ id: number;
23
+ name: string;
24
+ contentType: string;
25
+ big: string;
26
+ small: string;
27
+ original: string;
28
+ path: string;
29
+ bigWebp: string;
30
+ smallWebp: string;
31
+ pathWebp: string;
32
+ providerName: string;
33
+ copyright: null;
34
+ description: null;
35
+ providerReference: string;
36
+ awsWorkflowStatus: null;
37
+ awsMp4Url: null;
38
+ awsThumbnailUrl: null;
39
+ };
40
+ team: {
41
+ id: string;
42
+ name: string;
43
+ image: {
44
+ id: number;
45
+ name: string;
46
+ contentType: string;
47
+ big: string;
48
+ small: string;
49
+ original: string;
50
+ path: string;
51
+ bigWebp: string;
52
+ smallWebp: string;
53
+ pathWebp: string;
54
+ providerName: string;
55
+ copyright: null;
56
+ description: null;
57
+ providerReference: string;
58
+ awsWorkflowStatus: null;
59
+ awsMp4Url: null;
60
+ awsThumbnailUrl: null;
61
+ };
62
+ };
63
+ type: string;
64
+ code: string;
65
+ slug: string;
66
+ };
67
+ away: {
68
+ name: string;
69
+ gamerTag: string;
70
+ image: {
71
+ id: number;
72
+ name: string;
73
+ contentType: string;
74
+ big: string;
75
+ small: string;
76
+ original: string;
77
+ path: string;
78
+ bigWebp: string;
79
+ smallWebp: string;
80
+ pathWebp: string;
81
+ providerName: string;
82
+ copyright: null;
83
+ description: null;
84
+ providerReference: string;
85
+ awsWorkflowStatus: null;
86
+ awsMp4Url: null;
87
+ awsThumbnailUrl: null;
88
+ };
89
+ team: {
90
+ id: string;
91
+ name: string;
92
+ image: {
93
+ id: number;
94
+ name: string;
95
+ contentType: string;
96
+ big: string;
97
+ small: string;
98
+ original: string;
99
+ path: string;
100
+ bigWebp: string;
101
+ smallWebp: string;
102
+ pathWebp: string;
103
+ providerName: string;
104
+ copyright: null;
105
+ description: null;
106
+ providerReference: string;
107
+ awsWorkflowStatus: null;
108
+ awsMp4Url: null;
109
+ awsThumbnailUrl: null;
110
+ };
111
+ };
112
+ type: string;
113
+ code: string;
114
+ slug: string;
115
+ };
116
+ games: {
117
+ id: string;
118
+ status: string;
119
+ match: string;
120
+ homePlayers: never[];
121
+ awayPlayers: never[];
122
+ homeScore: {
123
+ status: string;
124
+ score: number;
125
+ };
126
+ awayScore: {
127
+ status: string;
128
+ score: number;
129
+ };
130
+ judged: boolean;
131
+ resultType: string;
132
+ gameType: string;
133
+ platform: {
134
+ id: string;
135
+ title: string;
136
+ logo: {
137
+ id: number;
138
+ name: string;
139
+ contentType: string;
140
+ big: string;
141
+ small: string;
142
+ original: null;
143
+ path: string;
144
+ bigWebp: string;
145
+ smallWebp: string;
146
+ pathWebp: string;
147
+ providerName: string;
148
+ copyright: null;
149
+ description: null;
150
+ providerReference: string;
151
+ awsWorkflowStatus: null;
152
+ awsMp4Url: null;
153
+ awsThumbnailUrl: null;
154
+ };
155
+ identifier: string;
156
+ };
157
+ }[];
158
+ judged: boolean;
159
+ homeScore: {
160
+ score: number;
161
+ status: string;
162
+ gameAmount: number;
163
+ gameWins: number;
164
+ gameTies: number;
165
+ gameLosses: number;
166
+ ownPoints: number;
167
+ enemyPoints: number;
168
+ minPoints: number;
169
+ maxPoints: number;
170
+ place: null;
171
+ };
172
+ awayScore: {
173
+ score: number;
174
+ status: string;
175
+ gameAmount: number;
176
+ gameWins: number;
177
+ gameTies: number;
178
+ gameLosses: number;
179
+ ownPoints: number;
180
+ enemyPoints: number;
181
+ minPoints: number;
182
+ maxPoints: number;
183
+ place: null;
184
+ };
185
+ tournamentGroup: {
186
+ id: string;
187
+ title: string;
188
+ shortTitle: string;
189
+ slug: string;
190
+ current: boolean;
191
+ season: {
192
+ id: string;
193
+ name: string;
194
+ identifier: string;
195
+ };
196
+ };
197
+ tournament: {
198
+ id: string;
199
+ title: string;
200
+ shortTitle: string;
201
+ slug: string;
202
+ status: string;
203
+ };
204
+ round: {
205
+ id: string;
206
+ date: string;
207
+ displayName: string;
208
+ number: number;
209
+ state: string;
210
+ };
211
+ winningSide: string;
212
+ matchType: string;
213
+ }[];
214
+ }[];
@@ -0,0 +1,149 @@
1
+ export declare const ET_DUMMY_DATA_DOUBLE_ASYNC: ({
2
+ round: {
3
+ id: string;
4
+ status: string;
5
+ name: string;
6
+ number: number;
7
+ countMatches: number;
8
+ type: string;
9
+ };
10
+ matches: {
11
+ id: string;
12
+ status: string;
13
+ number: number;
14
+ type: string;
15
+ startTime: string;
16
+ home: null;
17
+ away: null;
18
+ games: {
19
+ id: string;
20
+ status: string;
21
+ match: string;
22
+ homePlayers: never[];
23
+ awayPlayers: never[];
24
+ homeScore: {
25
+ status: string;
26
+ score: number;
27
+ };
28
+ awayScore: {
29
+ status: string;
30
+ score: number;
31
+ };
32
+ judged: boolean;
33
+ resultType: string;
34
+ gameType: string;
35
+ platform: {
36
+ id: string;
37
+ title: string;
38
+ logo: null;
39
+ identifier: string;
40
+ };
41
+ }[];
42
+ judged: boolean;
43
+ homeScore: null;
44
+ awayScore: null;
45
+ tournamentGroup: {
46
+ id: string;
47
+ title: string;
48
+ shortTitle: string;
49
+ slug: string;
50
+ current: boolean;
51
+ season: {
52
+ id: string;
53
+ name: string;
54
+ identifier: string;
55
+ };
56
+ };
57
+ tournament: {
58
+ id: string;
59
+ title: string;
60
+ shortTitle: string;
61
+ slug: string;
62
+ status: string;
63
+ };
64
+ round: {
65
+ id: string;
66
+ date: string;
67
+ displayName: string;
68
+ number: number;
69
+ state: string;
70
+ };
71
+ winningSide: null;
72
+ matchType: string;
73
+ isCompletedByReferee: boolean;
74
+ }[];
75
+ } | {
76
+ round: {
77
+ id: string;
78
+ status: string;
79
+ name: string;
80
+ number: number;
81
+ countMatches: number;
82
+ type: string;
83
+ };
84
+ matches: {
85
+ id: string;
86
+ status: string;
87
+ number: number;
88
+ type: string;
89
+ startTime: string;
90
+ home: null;
91
+ away: null;
92
+ games: {
93
+ id: string;
94
+ status: string;
95
+ match: string;
96
+ homePlayers: never[];
97
+ awayPlayers: never[];
98
+ homeScore: {
99
+ status: null;
100
+ score: null;
101
+ };
102
+ awayScore: {
103
+ status: null;
104
+ score: null;
105
+ };
106
+ judged: boolean;
107
+ resultType: string;
108
+ gameType: string;
109
+ platform: {
110
+ id: string;
111
+ title: string;
112
+ logo: null;
113
+ identifier: string;
114
+ };
115
+ }[];
116
+ judged: boolean;
117
+ homeScore: null;
118
+ awayScore: null;
119
+ tournamentGroup: {
120
+ id: string;
121
+ title: string;
122
+ shortTitle: string;
123
+ slug: string;
124
+ current: boolean;
125
+ season: {
126
+ id: string;
127
+ name: string;
128
+ identifier: string;
129
+ };
130
+ };
131
+ tournament: {
132
+ id: string;
133
+ title: string;
134
+ shortTitle: string;
135
+ slug: string;
136
+ status: string;
137
+ };
138
+ round: {
139
+ id: string;
140
+ date: string;
141
+ displayName: string;
142
+ number: number;
143
+ state: string;
144
+ };
145
+ winningSide: null;
146
+ matchType: string;
147
+ isCompletedByReferee: boolean;
148
+ }[];
149
+ })[];