@sportsbroker/firebase-structure 3.22.0-RC2 → 3.22.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/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,32 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
|
|
4
4
|
|
|
5
|
+
## [3.22.0](https://github.com/SportsBroker-HQ/firebase-structure/compare/v3.21.0-2...v3.22.0) (2021-03-17)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Features
|
|
9
|
+
|
|
10
|
+
* added currentlyPlayedMatch to TeamOverview ([#134](https://github.com/SportsBroker-HQ/firebase-structure/issues/134)) ([f9dced3](https://github.com/SportsBroker-HQ/firebase-structure/commit/f9dced39b0d5f4019da97ecd308871fa1d917baa))
|
|
11
|
+
* added player shirt name to match events ([e8ba9a6](https://github.com/SportsBroker-HQ/firebase-structure/commit/e8ba9a685d90ee825438add9794b0c058044cb1b))
|
|
12
|
+
* new firebase structure for notifications ([4ffa0c0](https://github.com/SportsBroker-HQ/firebase-structure/commit/4ffa0c08d55289ab1b8711e65142f963e357bcbe))
|
|
13
|
+
|
|
14
|
+
## [3.21.0-2](https://github.com/SportsBroker-HQ/firebase-structure/compare/v3.21.0-1...v3.21.0-2) (2021-03-08)
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
### Features
|
|
18
|
+
|
|
19
|
+
* decouple split div from match ([322aa09](https://github.com/SportsBroker-HQ/firebase-structure/commit/322aa098af8c7809d0e246c35435ac89a9623466))
|
|
20
|
+
|
|
21
|
+
## [3.21.0-1](https://github.com/SportsBroker-HQ/firebase-structure/compare/v3.21.0-0...v3.21.0-1) (2021-02-04)
|
|
22
|
+
|
|
23
|
+
## [3.21.0-0](https://github.com/SportsBroker-HQ/firebase-structure/compare/v3.19.0...v3.21.0-0) (2021-02-04)
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
### Features
|
|
27
|
+
|
|
28
|
+
* change split div to scope ([eb8111d](https://github.com/SportsBroker-HQ/firebase-structure/commit/eb8111d2e2ba62b1bd234da9ffe8179b54a506f5))
|
|
29
|
+
* new match centre [ch11877] ([#133](https://github.com/SportsBroker-HQ/firebase-structure/issues/133)) ([2d9d499](https://github.com/SportsBroker-HQ/firebase-structure/commit/2d9d499eb85c92e59cdb7e36f3fd3b15da8771eb))
|
|
30
|
+
|
|
5
31
|
## [3.19.0](https://github.com/SportsBroker-HQ/firebase-structure/compare/v3.18.0...v3.19.0) (2020-09-02)
|
|
6
32
|
|
|
7
33
|
|
|
@@ -20,6 +20,7 @@ interface RedCardEvent extends BaseEvent {
|
|
|
20
20
|
isSecondYellow?: boolean;
|
|
21
21
|
playerId: NumericID;
|
|
22
22
|
playerName: string;
|
|
23
|
+
playerShirtName: string;
|
|
23
24
|
playerUniform: string;
|
|
24
25
|
}
|
|
25
26
|
|
|
@@ -27,6 +28,7 @@ interface YellowCardEvent extends BaseEvent {
|
|
|
27
28
|
type: "YELLOW_CARD";
|
|
28
29
|
playerId: NumericID;
|
|
29
30
|
playerName: string;
|
|
31
|
+
playerShirtName: string;
|
|
30
32
|
playerUniform: string;
|
|
31
33
|
}
|
|
32
34
|
|
|
@@ -34,12 +36,14 @@ interface GoalEvent extends BaseEvent {
|
|
|
34
36
|
type: "GOAL";
|
|
35
37
|
assistingPlayerId?: NumericID;
|
|
36
38
|
assistingPlayerName?: string;
|
|
39
|
+
assistingPlayerShirtName?: string;
|
|
37
40
|
assistingPlayerUniform?: string;
|
|
38
41
|
goalNumber: number;
|
|
39
42
|
penalty?: boolean;
|
|
40
43
|
ownGoal?: boolean;
|
|
41
44
|
playerId: NumericID;
|
|
42
45
|
playerName: string;
|
|
46
|
+
playerShirtName: string;
|
|
43
47
|
playerUniform: string;
|
|
44
48
|
}
|
|
45
49
|
|
|
@@ -47,9 +51,11 @@ interface SubstitutionEvent extends BaseEvent {
|
|
|
47
51
|
type: "SUBSTITUTION";
|
|
48
52
|
playerInId: NumericID;
|
|
49
53
|
playerInName: string;
|
|
54
|
+
playerInShirtName: string;
|
|
50
55
|
playerInUniform: string;
|
|
51
56
|
playerOutId: NumericID;
|
|
52
57
|
playerOutName: string;
|
|
58
|
+
playerOutShirtName: string;
|
|
53
59
|
playerOutUniform: string;
|
|
54
60
|
}
|
|
55
61
|
|
|
@@ -23,14 +23,16 @@ export interface OwnedShares {
|
|
|
23
23
|
}
|
|
24
24
|
|
|
25
25
|
export interface OwnedSharesSplits {
|
|
26
|
-
[
|
|
26
|
+
[splitId: string]: OwnedSharesSplit;
|
|
27
27
|
}
|
|
28
28
|
|
|
29
29
|
export interface OwnedSharesSplit {
|
|
30
|
-
|
|
31
|
-
teamType: TeamSide;
|
|
30
|
+
splitId: string;
|
|
32
31
|
date: ISODate;
|
|
33
|
-
|
|
32
|
+
postSplitAmount: number;
|
|
33
|
+
preSplitAmount: number;
|
|
34
34
|
sharesAmountDiff: number;
|
|
35
|
-
|
|
35
|
+
preSplitPrice: number;
|
|
36
|
+
postSplitPrice: number;
|
|
37
|
+
balanceAdjustment: number
|
|
36
38
|
}
|