@sportsbroker/firebase-structure 6.4.0 → 7.0.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.
Files changed (34) hide show
  1. package/firestore/bet-events/bet-events.model.ts +0 -2
  2. package/firestore/bets/bets.model.ts +5 -2
  3. package/firestore/common.d.ts +0 -2
  4. package/firestore/events/events.model.ts +0 -2
  5. package/firestore/fixtures/fixtures.model.ts +0 -2
  6. package/firestore/leaderboard/leaderboard.d.ts +1 -3
  7. package/firestore/pools/pools.model.ts +0 -2
  8. package/firestore/question-sets/question-sets.model.ts +1 -3
  9. package/firestore/score-predictor/score-predictor.d.ts +0 -2
  10. package/models/details/users/notifications.d.ts +0 -4
  11. package/models/details/users/orders.d.ts +0 -2
  12. package/models/details/users/transactions.d.ts +0 -2
  13. package/models/queries/orders.d.ts +0 -2
  14. package/package.json +1 -1
  15. package/firestore/bet-events/bet-events.model.js +0 -41
  16. package/firestore/bet-events/index.js +0 -17
  17. package/firestore/bets/bets.model.js +0 -23
  18. package/firestore/bets/index.js +0 -17
  19. package/firestore/events/events.model.js +0 -37
  20. package/firestore/events/index.js +0 -17
  21. package/firestore/fixtures/fixtures.model.js +0 -2
  22. package/firestore/fixtures/index.js +0 -17
  23. package/firestore/leaderboard/index.js +0 -17
  24. package/firestore/matches/index.js +0 -23
  25. package/firestore/pools/index.js +0 -17
  26. package/firestore/pools/pools.model.js +0 -9
  27. package/firestore/question-sets/index.js +0 -18
  28. package/firestore/question-sets/question-sets.model.js +0 -9
  29. package/firestore/question-sets/question.model.js +0 -2
  30. package/firestore/score-predictor/index.js +0 -17
  31. package/firestore/teams/index.js +0 -17
  32. package/firestore/user/index.js +0 -17
  33. package/realtimedb/cms/index.js +0 -18
  34. package/realtimedb/index.js +0 -17
@@ -11,8 +11,6 @@ export type BetEvent = {
11
11
  gameSpecificData: EventGameSpecificData;
12
12
  resultsData: ResultsData;
13
13
  poolData: Pool;
14
- createdAt: ISODate;
15
- updatedAt: ISODate;
16
14
  };
17
15
 
18
16
  export type ResultsData = EventResultsData;
@@ -18,8 +18,11 @@ export type Bet = {
18
18
  * before this field existed omit it and MUST be treated as `"real"`. New projections always set it.
19
19
  */
20
20
  track?: PoolTrack;
21
- createdAt: ISODate;
22
- updatedAt: ISODate;
21
+ /**
22
+ * When the user placed this bet. Replaces the removed `createdAt`/`updatedAt` pair:
23
+ * bets are immutable once placed, so a single placement timestamp is enough.
24
+ */
25
+ betPlaceDate: ISODate;
23
26
  };
24
27
 
25
28
  export enum BetStatusEnum {
@@ -1,7 +1,5 @@
1
1
  export type Doc = {
2
2
  docId: UUID;
3
- createdAt: ISODate;
4
- updatedAt: ISODate;
5
3
  };
6
4
 
7
5
  export type ISODate = string;
@@ -16,8 +16,6 @@ export type Event = {
16
16
  questions: EventQuestion[];
17
17
  resultsData: EventResultsData;
18
18
  resultsUpdateReason: string | null;
19
- createdAt: ISODate;
20
- updatedAt: ISODate;
21
19
  matchIds?: UUID[];
22
20
  };
23
21
 
@@ -6,8 +6,6 @@ export type Fixture = {
6
6
  homeTeam: MatchTeam;
7
7
  awayTeam: MatchTeam;
8
8
  status: FixtureStatus;
9
- createdAt: ISODate;
10
- updatedAt: ISODate;
11
9
  };
12
10
 
13
11
  export type MatchTeam = {
@@ -1,4 +1,4 @@
1
- import { Doc, ISODate, UUID } from "../common";
1
+ import { Doc, UUID } from "../common";
2
2
 
3
3
  export type LeaderboardDoc = Leaderboard & Doc;
4
4
 
@@ -7,8 +7,6 @@ export type Leaderboard = {
7
7
  betEventId: UUID;
8
8
  poolId: UUID;
9
9
  entries: LeaderboardEntry[];
10
- createdAt: ISODate;
11
- updatedAt: ISODate;
12
10
  };
13
11
 
14
12
  export type LeaderboardEntry = {
@@ -56,6 +56,4 @@ export type Pool = {
56
56
  * field existed omit it and MUST be treated as `"real"`. New projections always set it.
57
57
  */
58
58
  track?: PoolTrack;
59
- createdAt: ISODate;
60
- updatedAt: ISODate;
61
59
  };
@@ -1,4 +1,4 @@
1
- import type { ISODate, UUID } from "../common";
1
+ import type { UUID } from "../common";
2
2
  import type { InGameEventKey, QuestionTypeEnum } from "../events";
3
3
 
4
4
  export type QuestionSet = {
@@ -7,8 +7,6 @@ export type QuestionSet = {
7
7
  questions: QuestionTemplate[];
8
8
  rules: string;
9
9
  status: QuestionSetStatusEnum;
10
- createdAt: ISODate;
11
- updatedAt: ISODate;
12
10
  };
13
11
 
14
12
  export type QuestionTemplate = {
@@ -12,8 +12,6 @@ export interface SPEvent {
12
12
  pools: { [key: string]: SPEventPool };
13
13
  jackpot: Jackpot | null;
14
14
  miniJackpot?: boolean;
15
- createdAt: ISODate;
16
- updatedAt: ISODate;
17
15
  }
18
16
  export type SPEventMatchStatusType =
19
17
  | "pre-event"
@@ -1,5 +1,3 @@
1
- import { ISODate } from "../../global";
2
-
3
1
  export type NotificationID = string;
4
2
 
5
3
  export type OrderType = "MARKET" | "LIMIT";
@@ -102,8 +100,6 @@ export interface Notification<T extends NotificationType> {
102
100
  description?: string;
103
101
  variables?: VariablesMap[T];
104
102
  shown: boolean;
105
- createdAt: ISODate;
106
- updatedAt: ISODate;
107
103
  id: NotificationID;
108
104
  }
109
105
 
@@ -25,7 +25,6 @@ export interface Order {
25
25
  action: OrderActionType;
26
26
  allOrNothing: boolean;
27
27
  amount: number;
28
- createdAt: ISODate;
29
28
  executedAt?: ISODate;
30
29
  limit?: number;
31
30
  processedAmount: number;
@@ -35,7 +34,6 @@ export interface Order {
35
34
  teamId: TeamID;
36
35
  transactionFee: Percentage;
37
36
  type: OrderTransactionType;
38
- updatedAt: ISODate;
39
37
  status: OrderStatus;
40
38
  id: OrderID;
41
39
  totalPrice: number;
@@ -13,8 +13,6 @@ export type TransactionPaymentMethod = 'SKRILL' | 'SPORTSBROKER' | 'PAY360';
13
13
  export type TransactionStatus = "PREPARED" | "PENDING" | "SUCCEED" | "FAILED" | "CANCELLED" | "IN_REVIEW";
14
14
 
15
15
  export interface Transaction {
16
- createdAt: ISODate;
17
- updatedAt: ISODate;
18
16
  executedAt?: ISODate;
19
17
  id: TransactionID,
20
18
  status: TransactionStatus;
@@ -3,8 +3,6 @@ import { OrderStatus } from "../details/users/orders";
3
3
 
4
4
  interface OrderQueryData {
5
5
  status: OrderStatus;
6
- createdAt: ISODate;
7
- updatedAt: ISODate;
8
6
  executedAt?: ISODate;
9
7
  id: string;
10
8
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sportsbroker/firebase-structure",
3
- "version": "6.4.0",
3
+ "version": "7.0.0",
4
4
  "description": "Firebase structure typings",
5
5
  "main": "index.d.ts",
6
6
  "repository": {
@@ -1,41 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.QuestionResultTypeEnum = exports.YesNoResultEnum = exports.MatchSideResultEnum = exports.QuestionKeyEnum = exports.GameEngineEnum = void 0;
4
- var GameEngineEnum;
5
- (function (GameEngineEnum) {
6
- GameEngineEnum["MATCH_PREDICTOR"] = "match-predictor";
7
- GameEngineEnum["EDGE"] = "edge";
8
- })(GameEngineEnum = exports.GameEngineEnum || (exports.GameEngineEnum = {}));
9
- var QuestionKeyEnum;
10
- (function (QuestionKeyEnum) {
11
- QuestionKeyEnum["MATCH_SCORE"] = "match-score";
12
- QuestionKeyEnum["TOTAL_SHOTS_ON_TARGET"] = "total-shots-on-target";
13
- QuestionKeyEnum["TOTAL_CARDS"] = "total-cards";
14
- // MATCH_RESULT = 'match-result',
15
- QuestionKeyEnum["RED_CARD_IS_GIVEN"] = "red-card-is-given";
16
- QuestionKeyEnum["PENALTY_AWARDED"] = "penalty-awarded";
17
- // BOTH_TEAM_SCORE = 'both-team-score',
18
- // GOAL_IN_BOTH_HALVES = 'goal-in-both-halves',
19
- QuestionKeyEnum["GOAL_IN_FIRST_15"] = "goal-in-first-15";
20
- QuestionKeyEnum["MOST_TACKLES_WON"] = "most-tackles-won";
21
- QuestionKeyEnum["CORNERS_10_OR_MORE"] = "corners-10-or-more";
22
- })(QuestionKeyEnum = exports.QuestionKeyEnum || (exports.QuestionKeyEnum = {}));
23
- var MatchSideResultEnum;
24
- (function (MatchSideResultEnum) {
25
- MatchSideResultEnum["HOME"] = "home";
26
- MatchSideResultEnum["AWAY"] = "away";
27
- MatchSideResultEnum["DRAW"] = "draw";
28
- })(MatchSideResultEnum = exports.MatchSideResultEnum || (exports.MatchSideResultEnum = {}));
29
- var YesNoResultEnum;
30
- (function (YesNoResultEnum) {
31
- YesNoResultEnum["YES"] = "yes";
32
- YesNoResultEnum["NO"] = "no";
33
- })(YesNoResultEnum = exports.YesNoResultEnum || (exports.YesNoResultEnum = {}));
34
- var QuestionResultTypeEnum;
35
- (function (QuestionResultTypeEnum) {
36
- QuestionResultTypeEnum["BOTH_SIDES_POSITIVE_INTEGER"] = "both-sides-positive-integer";
37
- QuestionResultTypeEnum["POSITIVE_INTEGER"] = "positive-integer";
38
- QuestionResultTypeEnum["MATCH_SIDE_RESULT"] = "match-side-result";
39
- QuestionResultTypeEnum["YES_NO"] = "yes-no";
40
- })(QuestionResultTypeEnum = exports.QuestionResultTypeEnum || (exports.QuestionResultTypeEnum = {}));
41
- ////////////////////////////////////////////////////////////////////////////////////////////////////////////
@@ -1,17 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
- };
16
- Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./bet-events.model"), exports);
@@ -1,23 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.YesNoResultEnum = exports.MatchSideResultEnum = exports.BetStatusEnum = void 0;
4
- var BetStatusEnum;
5
- (function (BetStatusEnum) {
6
- BetStatusEnum["OPEN"] = "open";
7
- BetStatusEnum["PENDING"] = "pending";
8
- BetStatusEnum["WON"] = "won";
9
- BetStatusEnum["LOST"] = "lost";
10
- BetStatusEnum["CANCELLED"] = "cancelled";
11
- BetStatusEnum["LOCKED"] = "locked";
12
- })(BetStatusEnum = exports.BetStatusEnum || (exports.BetStatusEnum = {}));
13
- var MatchSideResultEnum;
14
- (function (MatchSideResultEnum) {
15
- MatchSideResultEnum["HOME"] = "home";
16
- MatchSideResultEnum["AWAY"] = "away";
17
- MatchSideResultEnum["DRAW"] = "draw";
18
- })(MatchSideResultEnum = exports.MatchSideResultEnum || (exports.MatchSideResultEnum = {}));
19
- var YesNoResultEnum;
20
- (function (YesNoResultEnum) {
21
- YesNoResultEnum["YES"] = "yes";
22
- YesNoResultEnum["NO"] = "no";
23
- })(YesNoResultEnum = exports.YesNoResultEnum || (exports.YesNoResultEnum = {}));
@@ -1,17 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
- };
16
- Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./bets.model"), exports);
@@ -1,37 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.InGameEventKey = exports.QuestionTypeEnum = void 0;
4
- var QuestionTypeEnum;
5
- (function (QuestionTypeEnum) {
6
- QuestionTypeEnum["OCCURRENCE_COUNT_FOR_SIDES"] = "occurrence-count-for-sides";
7
- QuestionTypeEnum["MOST_OCCURRENCE_RESULT"] = "most-occurrence-result";
8
- QuestionTypeEnum["TOTAL_OCCURRENCE_COUNT"] = "total-occurrence-count";
9
- QuestionTypeEnum["OCCURRED_OR_NOT"] = "occurred-or-not";
10
- })(QuestionTypeEnum = exports.QuestionTypeEnum || (exports.QuestionTypeEnum = {}));
11
- var InGameEventKey;
12
- (function (InGameEventKey) {
13
- InGameEventKey["SCORE"] = "score";
14
- InGameEventKey["GOAL"] = "goal";
15
- InGameEventKey["CORNERS"] = "corners";
16
- InGameEventKey["CORNERS_TOTAL"] = "corners_total";
17
- InGameEventKey["CORNERS_10_OR_MORE"] = "corners_10_or_more";
18
- InGameEventKey["RED_CARD"] = "red_card";
19
- InGameEventKey["RED_CARD_TOTAL"] = "red_card_total";
20
- InGameEventKey["YELLOW_CARD"] = "yellow_card";
21
- InGameEventKey["YELLOW_CARD_TOTAL"] = "yellow_card_total";
22
- InGameEventKey["TOTAL_CARDS"] = "total_cards";
23
- InGameEventKey["PENALTY"] = "penalty";
24
- InGameEventKey["TOTAL_GOALS"] = "total_goals";
25
- InGameEventKey["SHOTS_ON_TARGET"] = "shots_on_target";
26
- InGameEventKey["SHOTS_TOTAL"] = "shots_total";
27
- InGameEventKey["TACKLES"] = "tackles";
28
- InGameEventKey["TACKLES_TOTAL"] = "tackles_total";
29
- InGameEventKey["GOAL_IN_FIRST_15"] = "goal_in_first_15";
30
- InGameEventKey["OFFSIDES"] = "offsides";
31
- InGameEventKey["OFFSIDES_TOTAL"] = "offsides_total";
32
- InGameEventKey["FOULS"] = "fouls";
33
- InGameEventKey["FOULS_TOTAL"] = "fouls_total";
34
- InGameEventKey["POSSESSION"] = "possession";
35
- InGameEventKey["SAVES"] = "saves";
36
- InGameEventKey["SAVES_TOTAL"] = "saves_total";
37
- })(InGameEventKey = exports.InGameEventKey || (exports.InGameEventKey = {}));
@@ -1,17 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
- };
16
- Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./events.model"), exports);
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,17 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
- };
16
- Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./fixtures.model"), exports);
@@ -1,17 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
- };
16
- Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./leaderboard"), exports);
@@ -1,23 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
- };
16
- Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./match-common"), exports);
18
- __exportStar(require("./match"), exports);
19
- __exportStar(require("./match-commentary"), exports);
20
- __exportStar(require("./match-event"), exports);
21
- __exportStar(require("./match-h2h-stats"), exports);
22
- __exportStar(require("./match-lineup"), exports);
23
- __exportStar(require("./match-stats"), exports);
@@ -1,17 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
- };
16
- Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./pools.model"), exports);
@@ -1,9 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.PrizeDistributionStrategyEnum = void 0;
4
- var PrizeDistributionStrategyEnum;
5
- (function (PrizeDistributionStrategyEnum) {
6
- PrizeDistributionStrategyEnum["WINNER_TAKES_ALL"] = "winner-takes-all";
7
- PrizeDistributionStrategyEnum["TOP_3"] = "top-3";
8
- PrizeDistributionStrategyEnum["TOP_5"] = "top-5";
9
- })(PrizeDistributionStrategyEnum = exports.PrizeDistributionStrategyEnum || (exports.PrizeDistributionStrategyEnum = {}));
@@ -1,18 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
- };
16
- Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./question-sets.model"), exports);
18
- __exportStar(require("./question.model"), exports);
@@ -1,9 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.QuestionSetStatusEnum = void 0;
4
- var QuestionSetStatusEnum;
5
- (function (QuestionSetStatusEnum) {
6
- QuestionSetStatusEnum["DRAFT"] = "draft";
7
- QuestionSetStatusEnum["PUBLISHED"] = "published";
8
- QuestionSetStatusEnum["ARCHIVED"] = "archived";
9
- })(QuestionSetStatusEnum = exports.QuestionSetStatusEnum || (exports.QuestionSetStatusEnum = {}));
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,17 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
- };
16
- Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./score-predictor"), exports);
@@ -1,17 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
- };
16
- Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./teams"), exports);
@@ -1,17 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
- };
16
- Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./user"), exports);
@@ -1,18 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
- };
16
- Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./onboarding"), exports);
18
- __exportStar(require("./tournament-sort-order"), exports);
@@ -1,17 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
- };
16
- Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./cms"), exports);