@sportsbroker/firebase-structure 3.67.6 → 3.67.8

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sportsbroker/firebase-structure",
3
- "version": "3.67.6",
3
+ "version": "3.67.8",
4
4
  "description": "Firebase structure typings",
5
5
  "main": "index.d.ts",
6
6
  "repository": {
@@ -1,5 +1,5 @@
1
1
  export type TournamentsSortOrder = {
2
- [key in SortOrderDay]?: { [key: TournamentId]: SortOrderItem };
2
+ [key in DayOfWeek]?: { [key: TournamentId]: SortOrderItem };
3
3
  };
4
4
 
5
5
  export interface SortOrderItem {
@@ -7,7 +7,16 @@ export interface SortOrderItem {
7
7
  order: number;
8
8
  }
9
9
 
10
- export enum SortOrderDay {
10
+ export type SortOrderDay =
11
+ | DayOfWeek.MONDAY
12
+ | DayOfWeek.TUESDAY
13
+ | DayOfWeek.WEDNESDAY
14
+ | DayOfWeek.THURSDAY
15
+ | DayOfWeek.FRIDAY
16
+ | DayOfWeek.SATURDAY
17
+ | DayOfWeek.SUNDAY;
18
+
19
+ export enum DayOfWeek {
11
20
  MONDAY = "monday",
12
21
  TUESDAY = "tuesday",
13
22
  WEDNESDAY = "wednesday",