@sportsbroker/firebase-structure 3.49.0 → 3.50.0
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/firestore/match.d.ts +0 -44
- package/package.json +1 -1
package/firestore/match.d.ts
CHANGED
|
@@ -82,13 +82,6 @@ export type MatchTeam = {
|
|
|
82
82
|
logo?: Image;
|
|
83
83
|
};
|
|
84
84
|
|
|
85
|
-
// TODO unused to delete
|
|
86
|
-
export type Share = {
|
|
87
|
-
price: number;
|
|
88
|
-
openingPrice: number;
|
|
89
|
-
priceChangePercentage: number;
|
|
90
|
-
};
|
|
91
|
-
|
|
92
85
|
export type EventStatus = {
|
|
93
86
|
matchStatus: MatchStatusEnum;
|
|
94
87
|
period: MatchPeriodEnum;
|
|
@@ -124,40 +117,3 @@ export type Opponent = {
|
|
|
124
117
|
abbreviation: string;
|
|
125
118
|
logo?: Image;
|
|
126
119
|
};
|
|
127
|
-
|
|
128
|
-
export type MatchPair = {
|
|
129
|
-
home?: Team;
|
|
130
|
-
away?: Team;
|
|
131
|
-
};
|
|
132
|
-
|
|
133
|
-
export type Team = {
|
|
134
|
-
_id: string;
|
|
135
|
-
teamId: string;
|
|
136
|
-
name: string;
|
|
137
|
-
displayName: string;
|
|
138
|
-
shortName: string;
|
|
139
|
-
officialName: string;
|
|
140
|
-
code: string;
|
|
141
|
-
type: TeamType;
|
|
142
|
-
countryId: string;
|
|
143
|
-
status: TeamStatus;
|
|
144
|
-
city: string | null;
|
|
145
|
-
createdAt: Date;
|
|
146
|
-
updatedAt: Date;
|
|
147
|
-
tournaments: string[];
|
|
148
|
-
logo: {
|
|
149
|
-
default: string;
|
|
150
|
-
};
|
|
151
|
-
isCurrentlyPlaying: boolean;
|
|
152
|
-
currentlyPlayedMatch: string | null;
|
|
153
|
-
};
|
|
154
|
-
|
|
155
|
-
export enum TeamType {
|
|
156
|
-
NATIONAL = "national",
|
|
157
|
-
CLUB = "club",
|
|
158
|
-
}
|
|
159
|
-
|
|
160
|
-
export enum TeamStatus {
|
|
161
|
-
ACTIVE = "active",
|
|
162
|
-
DEFUNCT = "defunct",
|
|
163
|
-
}
|