@ethlete/cdk 4.47.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.
- package/CHANGELOG.md +12 -0
- package/esm2022/lib/components/bracket/components/new-bracket/bracket-new.mjs +170 -69
- package/esm2022/lib/components/bracket/components/new-bracket/draw-man.mjs +75 -32
- package/esm2022/lib/components/bracket/components/new-bracket/grid-placements.mjs +8 -3
- package/esm2022/lib/components/bracket/components/new-bracket/journey-highlight.mjs +18 -0
- package/esm2022/lib/components/bracket/components/new-bracket/new-bracket.component.mjs +47 -9
- package/esm2022/lib/components/bracket/stories/dummy-data/ET_DUMMY_DATA_DOUBLE_SYNC.mjs +1116 -0
- package/esm2022/lib/components/bracket/stories/dummy-data/ET_DUMMY_DATA_SINGLE.mjs +2691 -0
- package/esm2022/lib/components/bracket/stories/dummy-data/ET_DUMMY_DATA_SWISS.mjs +72479 -0
- package/esm2022/lib/components/bracket/stories/dummy-data/ET_DUMMY_DATE_DOUBLE_ASYNC.mjs +1275 -0
- package/esm2022/lib/components/bracket/stories/dummy-data/FIFA_DUMMY_DATA_DOUBLE.mjs +2453 -0
- package/esm2022/lib/components/bracket/stories/dummy-data/FIFA_DUMMY_DATA_SINGLE.mjs +2570 -0
- package/esm2022/lib/components/bracket/stories/dummy-data/index.mjs +7 -0
- package/fesm2022/ethlete-cdk.mjs +315 -109
- package/fesm2022/ethlete-cdk.mjs.map +1 -1
- package/lib/components/bracket/components/new-bracket/bracket-new.d.ts +1632 -18
- package/lib/components/bracket/components/new-bracket/draw-man.d.ts +5 -3
- package/lib/components/bracket/components/new-bracket/grid-placements.d.ts +4 -0
- package/lib/components/bracket/components/new-bracket/journey-highlight.d.ts +2 -0
- package/lib/components/bracket/components/new-bracket/new-bracket.component.d.ts +7 -2
- package/lib/components/bracket/stories/dummy-data/ET_DUMMY_DATA_DOUBLE_SYNC.d.ts +149 -0
- package/lib/components/bracket/stories/dummy-data/ET_DUMMY_DATA_SINGLE.d.ts +184 -0
- package/lib/components/bracket/stories/dummy-data/ET_DUMMY_DATA_SWISS.d.ts +214 -0
- package/lib/components/bracket/stories/dummy-data/ET_DUMMY_DATE_DOUBLE_ASYNC.d.ts +149 -0
- package/lib/components/bracket/stories/dummy-data/FIFA_DUMMY_DATA_DOUBLE.d.ts +1640 -0
- package/lib/components/bracket/stories/dummy-data/FIFA_DUMMY_DATA_SINGLE.d.ts +2388 -0
- package/lib/components/bracket/stories/dummy-data/index.d.ts +6 -0
- package/lib/components/query-error/directives/query-error/query-error.directive.d.ts +1 -1
- package/package.json +1 -1
|
@@ -8,16 +8,18 @@ export type DrawManDimensions = {
|
|
|
8
8
|
columnGap: number;
|
|
9
9
|
rowGap: number;
|
|
10
10
|
gridDefinitions: BracketGridDefinitions;
|
|
11
|
-
path: PathOptions
|
|
12
|
-
curve: Omit<CurveOptions, 'path'>;
|
|
11
|
+
path: Omit<PathOptions, 'className'>;
|
|
12
|
+
curve: Omit<CurveOptions, 'path' | 'inverted'>;
|
|
13
13
|
};
|
|
14
14
|
type PathOptions = {
|
|
15
15
|
width: number;
|
|
16
16
|
dashArray: number;
|
|
17
17
|
dashOffset: number;
|
|
18
|
+
className: string;
|
|
18
19
|
};
|
|
19
20
|
type CurveOptions = {
|
|
20
|
-
|
|
21
|
+
lineStartingCurveAmount: number;
|
|
22
|
+
lineEndingCurveAmount: number;
|
|
21
23
|
path: PathOptions;
|
|
22
24
|
};
|
|
23
25
|
export declare const drawMan: <TRoundData, TMatchData>(items: Map<BracketRoundId, BracketGridRoundItem<TRoundData, TMatchData>>, firstRounds: FirstRounds<TRoundData, TMatchData>, dimensions: DrawManDimensions) => string;
|
|
@@ -25,6 +25,7 @@ export type BracketGridRoundHeaderItem<TRoundData, TMatchData> = {
|
|
|
25
25
|
layoutId: string;
|
|
26
26
|
rowStart: number;
|
|
27
27
|
rowEnd: number;
|
|
28
|
+
className: string;
|
|
28
29
|
component: BracketRoundHeaderComponent<TRoundData, TMatchData>;
|
|
29
30
|
roundRelation: BracketRoundRelation<TRoundData, TMatchData>;
|
|
30
31
|
data: {
|
|
@@ -37,6 +38,7 @@ export type BracketGridMatchItem<TRoundData, TMatchData> = {
|
|
|
37
38
|
layoutId: string;
|
|
38
39
|
rowStart: number;
|
|
39
40
|
rowEnd: number;
|
|
41
|
+
className: string;
|
|
40
42
|
component: BracketMatchComponent<TRoundData, TMatchData>;
|
|
41
43
|
matchRelation: BracketMatchRelation<TRoundData, TMatchData>;
|
|
42
44
|
roundRelation: BracketRoundRelation<TRoundData, TMatchData>;
|
|
@@ -50,10 +52,12 @@ export type GenerateBracketGridItemsOptions<TRoundData, TMatchData> = {
|
|
|
50
52
|
includeRoundHeaders: boolean;
|
|
51
53
|
headerComponent?: BracketRoundHeaderComponent<TRoundData, TMatchData>;
|
|
52
54
|
matchComponent?: BracketMatchComponent<TRoundData, TMatchData>;
|
|
55
|
+
finalMatchComponent?: BracketMatchComponent<TRoundData, TMatchData>;
|
|
53
56
|
};
|
|
54
57
|
export type GenerateBracketGridItemsOptionsWithDefaults<TRoundData, TMatchData> = {
|
|
55
58
|
includeRoundHeaders: boolean;
|
|
56
59
|
headerComponent: BracketRoundHeaderComponent<TRoundData, TMatchData>;
|
|
57
60
|
matchComponent: BracketMatchComponent<TRoundData, TMatchData>;
|
|
61
|
+
finalMatchComponent: BracketMatchComponent<TRoundData, TMatchData>;
|
|
58
62
|
};
|
|
59
63
|
export declare const generateBracketGridItems: <TRoundData, TMatchData>(bracketData: BracketData<TRoundData, TMatchData>, roundTypeMap: BracketRoundTypeMap<TRoundData, TMatchData>, swissGroups: BracketRoundMapWithSwissData<TRoundData, TMatchData> | null, roundRelations: BracketRoundRelations<TRoundData, TMatchData>, matchRelations: BracketMatchRelationsMap<TRoundData, TMatchData>, options: GenerateBracketGridItemsOptions<TRoundData, TMatchData>) => Map<BracketRoundId, BracketGridRoundItem<TRoundData, TMatchData>>;
|
|
@@ -9,14 +9,17 @@ export declare class NewBracketComponent<TRoundData = unknown, TMatchData = unkn
|
|
|
9
9
|
roundHeaderHeight: import("@angular/core").InputSignalWithTransform<number, unknown>;
|
|
10
10
|
columnGap: import("@angular/core").InputSignalWithTransform<number, unknown>;
|
|
11
11
|
rowGap: import("@angular/core").InputSignalWithTransform<number, unknown>;
|
|
12
|
-
|
|
12
|
+
lineStartingCurveAmount: import("@angular/core").InputSignalWithTransform<number, unknown>;
|
|
13
|
+
lineEndingCurveAmount: import("@angular/core").InputSignalWithTransform<number, unknown>;
|
|
13
14
|
lineWidth: import("@angular/core").InputSignalWithTransform<number, unknown>;
|
|
14
15
|
lineDashArray: import("@angular/core").InputSignalWithTransform<number, unknown>;
|
|
15
16
|
lineDashOffset: import("@angular/core").InputSignalWithTransform<number, unknown>;
|
|
17
|
+
disableJourneyHighlight: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
16
18
|
layout: import("@angular/core").InputSignal<BracketDataLayout>;
|
|
17
19
|
hideRoundHeaders: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
18
20
|
roundHeaderComponent: import("@angular/core").InputSignal<BracketRoundHeaderComponent<TRoundData, TMatchData> | undefined>;
|
|
19
21
|
matchComponent: import("@angular/core").InputSignal<BracketMatchComponent<TRoundData, TMatchData> | undefined>;
|
|
22
|
+
finalMatchComponent: import("@angular/core").InputSignal<BracketMatchComponent<TRoundData, TMatchData> | undefined>;
|
|
20
23
|
bracketData: import("@angular/core").Signal<import("./bracket-new").BracketData<TRoundData, TMatchData>>;
|
|
21
24
|
roundTypeMap: import("@angular/core").Signal<import("./bracket-new").BracketRoundTypeMap<TRoundData, TMatchData>>;
|
|
22
25
|
matchParticipantMap: import("@angular/core").Signal<import("./bracket-new").MatchParticipantMap<TRoundData, TMatchData>>;
|
|
@@ -28,6 +31,8 @@ export declare class NewBracketComponent<TRoundData = unknown, TMatchData = unkn
|
|
|
28
31
|
definitions: import("@angular/core").Signal<import("./grid-definitions").BracketGridDefinitions>;
|
|
29
32
|
firstRounds: import("@angular/core").Signal<import("./bracket-new").FirstRounds<TRoundData, TMatchData>>;
|
|
30
33
|
drawManData: import("@angular/core").Signal<import("@angular/platform-browser").SafeHtml>;
|
|
34
|
+
journeyHighlight: import("@angular/core").Signal<string | null>;
|
|
35
|
+
constructor();
|
|
31
36
|
static ɵfac: i0.ɵɵFactoryDeclaration<NewBracketComponent<any, any>, never>;
|
|
32
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<NewBracketComponent<any, any>, "et-new-bracket", never, { "source": { "alias": "source"; "required": true; "isSignal": true; }; "columnWidth": { "alias": "columnWidth"; "required": false; "isSignal": true; }; "matchHeight": { "alias": "matchHeight"; "required": false; "isSignal": true; }; "roundHeaderHeight": { "alias": "roundHeaderHeight"; "required": false; "isSignal": true; }; "columnGap": { "alias": "columnGap"; "required": false; "isSignal": true; }; "rowGap": { "alias": "rowGap"; "required": false; "isSignal": true; }; "
|
|
37
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NewBracketComponent<any, any>, "et-new-bracket", never, { "source": { "alias": "source"; "required": true; "isSignal": true; }; "columnWidth": { "alias": "columnWidth"; "required": false; "isSignal": true; }; "matchHeight": { "alias": "matchHeight"; "required": false; "isSignal": true; }; "roundHeaderHeight": { "alias": "roundHeaderHeight"; "required": false; "isSignal": true; }; "columnGap": { "alias": "columnGap"; "required": false; "isSignal": true; }; "rowGap": { "alias": "rowGap"; "required": false; "isSignal": true; }; "lineStartingCurveAmount": { "alias": "lineStartingCurveAmount"; "required": false; "isSignal": true; }; "lineEndingCurveAmount": { "alias": "lineEndingCurveAmount"; "required": false; "isSignal": true; }; "lineWidth": { "alias": "lineWidth"; "required": false; "isSignal": true; }; "lineDashArray": { "alias": "lineDashArray"; "required": false; "isSignal": true; }; "lineDashOffset": { "alias": "lineDashOffset"; "required": false; "isSignal": true; }; "disableJourneyHighlight": { "alias": "disableJourneyHighlight"; "required": false; "isSignal": true; }; "layout": { "alias": "layout"; "required": false; "isSignal": true; }; "hideRoundHeaders": { "alias": "hideRoundHeaders"; "required": false; "isSignal": true; }; "roundHeaderComponent": { "alias": "roundHeaderComponent"; "required": false; "isSignal": true; }; "matchComponent": { "alias": "matchComponent"; "required": false; "isSignal": true; }; "finalMatchComponent": { "alias": "finalMatchComponent"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
33
38
|
}
|
|
@@ -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
|
+
}[];
|