-
Notifications
You must be signed in to change notification settings - Fork 0
/
types.ts
58 lines (48 loc) · 1.17 KB
/
types.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
import { Element } from './interfaces';
export type GameweekType = 'GW' | 'DGW' | 'TGW' | 'BGW';
export type FormationType =
| '3-5-2'
| '3-4-3'
| '4-4-2'
| '4-3-3'
| '4-5-1'
| '5-3-2'
| '5-2-3'
| '5-4-1';
export type ElementStatus = 'a' | 'u' | 'i' | 's' | 'n' | 'd';
export type ChipName = 'bboost' | '3xc' | 'freehit' | 'wildcard';
export type EventDataType = 'goal' | 'onTarget' | '';
export type StatIdentifier =
| 'minutes'
| 'goals_scored'
| 'assists'
| 'clean_sheets'
| 'goals_conceded'
| 'own_goals'
| 'penalties_saved'
| 'penalties_missed'
| 'yellow_cards'
| 'red_cards'
| 'saves'
| 'bonus'
| 'bps';
export type SquadDataType = Element | undefined;
export type MoreScreenButton = {
title: string;
iconName: string;
onPress: () => void;
expandable: boolean;
expandedHeight?: number;
expandedContent: JSX.Element | null;
};
export type EventIndex = 0 | 1;
export type InfoViewType =
| 'Better Fixture'
| 'Player Form'
| 'Games To Play'
| 'Expected Goals(xG)'
| 'Expected Assists(xA)'
| 'Chances of Starting'
| 'Expected Goals(xG) per match'
| 'Expected Assists(xA) per match'
| 'Expected Saves per match';