@sportsbroker/firebase-structure 6.4.0 → 7.1.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/.claude/settings.local.json +34 -0
- package/firestore/bet-events/bet-events.model.ts +0 -2
- package/firestore/bets/bets.model.ts +25 -9
- package/firestore/common.d.ts +0 -2
- package/firestore/events/events.model.ts +0 -2
- package/firestore/fixtures/fixtures.model.ts +0 -2
- package/firestore/leaderboard/leaderboard.d.ts +1 -3
- package/firestore/pools/pools.model.ts +0 -2
- package/firestore/question-sets/question-sets.model.ts +1 -3
- package/firestore/score-predictor/score-predictor.d.ts +0 -2
- package/models/details/users/notifications.d.ts +0 -4
- package/models/details/users/orders.d.ts +0 -2
- package/models/details/users/transactions.d.ts +0 -2
- package/models/queries/orders.d.ts +0 -2
- package/package.json +1 -1
- package/firestore/bet-events/bet-events.model.js +0 -41
- package/firestore/bet-events/index.js +0 -17
- package/firestore/bets/bets.model.js +0 -23
- package/firestore/bets/index.js +0 -17
- package/firestore/events/events.model.js +0 -37
- package/firestore/events/index.js +0 -17
- package/firestore/fixtures/fixtures.model.js +0 -2
- package/firestore/fixtures/index.js +0 -17
- package/firestore/leaderboard/index.js +0 -17
- package/firestore/matches/index.js +0 -23
- package/firestore/pools/index.js +0 -17
- package/firestore/pools/pools.model.js +0 -9
- package/firestore/question-sets/index.js +0 -18
- package/firestore/question-sets/question-sets.model.js +0 -9
- package/firestore/question-sets/question.model.js +0 -2
- package/firestore/score-predictor/index.js +0 -17
- package/firestore/teams/index.js +0 -17
- package/firestore/user/index.js +0 -17
- package/realtimedb/cms/index.js +0 -18
- package/realtimedb/index.js +0 -17
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
{
|
|
2
|
+
"permissions": {
|
|
3
|
+
"allow": [
|
|
4
|
+
"Bash(npx standard-version *)",
|
|
5
|
+
"Bash(npm view *)",
|
|
6
|
+
"Bash(git checkout *)",
|
|
7
|
+
"Bash(npx tsc *)",
|
|
8
|
+
"Bash(echo \"exit: $?\")",
|
|
9
|
+
"Bash(git --no-pager diff)",
|
|
10
|
+
"Bash(git add *)",
|
|
11
|
+
"Bash(git commit *)",
|
|
12
|
+
"Bash(git --no-pager log --oneline -2)",
|
|
13
|
+
"Bash(echo \"tsc exit: $?\")",
|
|
14
|
+
"Bash(git --no-pager show --stat --oneline HEAD)",
|
|
15
|
+
"Bash(npm pack *)",
|
|
16
|
+
"Bash(git --no-pager log --oneline --decorate -3)",
|
|
17
|
+
"Bash(node -p \"require\\('./package.json'\\).version\")",
|
|
18
|
+
"Bash(node -p \"require\\('./package-lock.json'\\).version\")",
|
|
19
|
+
"Bash(gh auth *)",
|
|
20
|
+
"Bash(git --no-pager log --oneline -1 origin/master)",
|
|
21
|
+
"Bash(git fetch *)",
|
|
22
|
+
"Bash(git ls-remote *)",
|
|
23
|
+
"Bash(git --no-pager log --oneline --decorate -1)",
|
|
24
|
+
"Bash(git --no-pager log --oneline --decorate --graph -6)",
|
|
25
|
+
"Bash(git --no-pager reflog -12)",
|
|
26
|
+
"Bash(git --no-pager log -1 --format='%H%n parent: %p%n author: %an %ad%n committer: %cn %cd%n subject: %s' 5c39828)",
|
|
27
|
+
"Bash(git --no-pager log -1 --format='%H%n parent: %p%n committer: %cn %cd%n subject: %s' 0d7cbf5)",
|
|
28
|
+
"Bash(git --no-pager log -1 --format='%H%n parent: %p%n committer: %cn %cd%n subject: %s' master)",
|
|
29
|
+
"Bash(git tag *)",
|
|
30
|
+
"Bash(git check-ignore *)",
|
|
31
|
+
"Bash(git --no-pager log --oneline -- .claude/)"
|
|
32
|
+
]
|
|
33
|
+
}
|
|
34
|
+
}
|
|
@@ -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
|
-
|
|
22
|
-
|
|
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 {
|
|
@@ -33,15 +36,28 @@ export enum BetStatusEnum {
|
|
|
33
36
|
|
|
34
37
|
export type BetPredictionType = Prediction;
|
|
35
38
|
|
|
36
|
-
|
|
39
|
+
/**
|
|
40
|
+
* A prediction is in exactly one of two shapes: pending or settled.
|
|
41
|
+
* Pending = no final result yet, or a doc projected before the settlement fields existed.
|
|
42
|
+
* Consumers MUST treat the pending shape as pending, never as "wrong".
|
|
43
|
+
*/
|
|
44
|
+
export type Prediction = PendingPrediction | SettledPrediction;
|
|
45
|
+
|
|
46
|
+
export type BasePrediction = {
|
|
37
47
|
eventQuestionId: UUID;
|
|
38
48
|
predictionValue: QuestionResultValue;
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
49
|
+
};
|
|
50
|
+
|
|
51
|
+
export type PendingPrediction = BasePrediction & {
|
|
52
|
+
correct?: never;
|
|
53
|
+
pointsAwarded?: never;
|
|
54
|
+
};
|
|
55
|
+
|
|
56
|
+
export type SettledPrediction = BasePrediction & {
|
|
57
|
+
/** Whether this answer was correct. Set only once the bet is settled (won/lost). */
|
|
58
|
+
correct: boolean;
|
|
59
|
+
/** Points this answer contributed to the bet score. */
|
|
60
|
+
pointsAwarded: number;
|
|
45
61
|
};
|
|
46
62
|
|
|
47
63
|
export enum MatchSideResultEnum {
|
package/firestore/common.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Doc,
|
|
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 = {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type {
|
|
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 = {
|
|
@@ -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;
|
package/package.json
CHANGED
|
@@ -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 = {}));
|
package/firestore/bets/index.js
DELETED
|
@@ -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,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);
|
package/firestore/pools/index.js
DELETED
|
@@ -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,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);
|
package/firestore/teams/index.js
DELETED
|
@@ -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);
|
package/firestore/user/index.js
DELETED
|
@@ -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);
|
package/realtimedb/cms/index.js
DELETED
|
@@ -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);
|
package/realtimedb/index.js
DELETED
|
@@ -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);
|