@sportsbroker/firebase-structure 3.0.0 → 3.0.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.
@@ -1,6 +1,6 @@
1
1
  import { TeamID } from "../../global";
2
2
 
3
- interface MarketIndicators {
3
+ export interface MarketIndicators {
4
4
  weeklyHigh: number;
5
5
  weeklyLow: number;
6
6
  weeklyVolume: number;
@@ -26,7 +26,7 @@ export interface Notification {
26
26
  export interface Notifications {
27
27
  [userId: string]: {
28
28
  unreadCount: number;
29
- [language: string]: {
29
+ [language: string]: number | { // It can't be number - this is workaround because TS can't handle dynamic keys here
30
30
  entries: {
31
31
  [notificationId: string]: Notification;
32
32
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sportsbroker/firebase-structure",
3
- "version": "3.0.0",
3
+ "version": "3.0.1",
4
4
  "description": "Firebase structure typings",
5
5
  "main": "index.d.ts",
6
6
  "repository": {