@bondsports/types 2.3.65-b-1 → 2.3.65
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/dist/tsconfig.build.tsbuildinfo +1 -1
- package/dist/types/index.d.ts +0 -2
- package/dist/types/index.js +0 -2
- package/dist/types/index.js.map +1 -1
- package/dist/types/programs-seasons/dto/program-session.dto.d.ts +0 -1
- package/dist/types/programs-seasons/dto/program-session.dto.js.map +1 -1
- package/dist/types/programs-seasons/entities/ProgramSeason.d.ts +0 -1
- package/dist/types/programs-seasons/entities/ProgramSeason.js.map +1 -1
- package/package.json +1 -1
- package/dist/types/league-standings/dto/competition-public-settings.dto.d.ts +0 -8
- package/dist/types/league-standings/dto/competition-public-settings.dto.js +0 -7
- package/dist/types/league-standings/dto/competition-public-settings.dto.js.map +0 -1
- package/dist/types/league-standings/dto/competition.dto.d.ts +0 -33
- package/dist/types/league-standings/dto/competition.dto.js +0 -16
- package/dist/types/league-standings/dto/competition.dto.js.map +0 -1
- package/dist/types/league-standings/dto/division.dto.d.ts +0 -10
- package/dist/types/league-standings/dto/division.dto.js +0 -10
- package/dist/types/league-standings/dto/division.dto.js.map +0 -1
- package/dist/types/league-standings/dto/game.dto.d.ts +0 -51
- package/dist/types/league-standings/dto/game.dto.js +0 -16
- package/dist/types/league-standings/dto/game.dto.js.map +0 -1
- package/dist/types/league-standings/dto/index.d.ts +0 -13
- package/dist/types/league-standings/dto/index.js +0 -30
- package/dist/types/league-standings/dto/index.js.map +0 -1
- package/dist/types/league-standings/dto/stage.dto.d.ts +0 -26
- package/dist/types/league-standings/dto/stage.dto.js +0 -16
- package/dist/types/league-standings/dto/stage.dto.js.map +0 -1
- package/dist/types/league-standings/dto/standings-ruleset.dto.d.ts +0 -53
- package/dist/types/league-standings/dto/standings-ruleset.dto.js +0 -19
- package/dist/types/league-standings/dto/standings-ruleset.dto.js.map +0 -1
- package/dist/types/league-standings/entities/competition-public-settings.entity.d.ts +0 -14
- package/dist/types/league-standings/entities/competition-public-settings.entity.js +0 -14
- package/dist/types/league-standings/entities/competition-public-settings.entity.js.map +0 -1
- package/dist/types/league-standings/entities/competition.entity.d.ts +0 -20
- package/dist/types/league-standings/entities/competition.entity.js +0 -16
- package/dist/types/league-standings/entities/competition.entity.js.map +0 -1
- package/dist/types/league-standings/entities/division.entity.d.ts +0 -10
- package/dist/types/league-standings/entities/division.entity.js +0 -8
- package/dist/types/league-standings/entities/division.entity.js.map +0 -1
- package/dist/types/league-standings/entities/game.entity.d.ts +0 -30
- package/dist/types/league-standings/entities/game.entity.js +0 -8
- package/dist/types/league-standings/entities/game.entity.js.map +0 -1
- package/dist/types/league-standings/entities/index.d.ts +0 -21
- package/dist/types/league-standings/entities/index.js +0 -38
- package/dist/types/league-standings/entities/index.js.map +0 -1
- package/dist/types/league-standings/entities/stage-division-team.entity.d.ts +0 -10
- package/dist/types/league-standings/entities/stage-division-team.entity.js +0 -8
- package/dist/types/league-standings/entities/stage-division-team.entity.js.map +0 -1
- package/dist/types/league-standings/entities/stage-division.entity.d.ts +0 -17
- package/dist/types/league-standings/entities/stage-division.entity.js +0 -14
- package/dist/types/league-standings/entities/stage-division.entity.js.map +0 -1
- package/dist/types/league-standings/entities/stage.entity.d.ts +0 -16
- package/dist/types/league-standings/entities/stage.entity.js +0 -13
- package/dist/types/league-standings/entities/stage.entity.js.map +0 -1
- package/dist/types/league-standings/entities/standings-ruleset.entity.d.ts +0 -23
- package/dist/types/league-standings/entities/standings-ruleset.entity.js +0 -8
- package/dist/types/league-standings/entities/standings-ruleset.entity.js.map +0 -1
- package/dist/types/league-standings/entities/standings.entity.d.ts +0 -30
- package/dist/types/league-standings/entities/standings.entity.js +0 -8
- package/dist/types/league-standings/entities/standings.entity.js.map +0 -1
- package/dist/types/league-standings/entities/team.entity.d.ts +0 -9
- package/dist/types/league-standings/entities/team.entity.js +0 -8
- package/dist/types/league-standings/entities/team.entity.js.map +0 -1
- package/dist/types/league-standings/index.d.ts +0 -4
- package/dist/types/league-standings/index.js +0 -21
- package/dist/types/league-standings/index.js.map +0 -1
- package/dist/types/league-standings/interfaces/index.d.ts +0 -3
- package/dist/types/league-standings/interfaces/index.js +0 -20
- package/dist/types/league-standings/interfaces/index.js.map +0 -1
- package/dist/types/league-standings/interfaces/ruleset-defaults.interface.d.ts +0 -17
- package/dist/types/league-standings/interfaces/ruleset-defaults.interface.js +0 -3
- package/dist/types/league-standings/interfaces/ruleset-defaults.interface.js.map +0 -1
- package/dist/types/league-standings/types/consts/competition.consts.d.ts +0 -6
- package/dist/types/league-standings/types/consts/competition.consts.js +0 -10
- package/dist/types/league-standings/types/consts/competition.consts.js.map +0 -1
- package/dist/types/league-standings/types/consts/index.d.ts +0 -3
- package/dist/types/league-standings/types/consts/index.js +0 -20
- package/dist/types/league-standings/types/consts/index.js.map +0 -1
- package/dist/types/league-standings/types/game.enums.d.ts +0 -23
- package/dist/types/league-standings/types/game.enums.js +0 -29
- package/dist/types/league-standings/types/game.enums.js.map +0 -1
- package/dist/types/league-standings/types/index.d.ts +0 -9
- package/dist/types/league-standings/types/index.js +0 -26
- package/dist/types/league-standings/types/index.js.map +0 -1
- package/dist/types/league-standings/types/standings-contribution.interface.d.ts +0 -43
- package/dist/types/league-standings/types/standings-contribution.interface.js +0 -3
- package/dist/types/league-standings/types/standings-contribution.interface.js.map +0 -1
- package/dist/types/league-standings/types/standings.enums.d.ts +0 -118
- package/dist/types/league-standings/types/standings.enums.js +0 -143
- package/dist/types/league-standings/types/standings.enums.js.map +0 -1
- package/dist/types/standings-integration/dto/game-score.dto.d.ts +0 -53
- package/dist/types/standings-integration/dto/game-score.dto.js +0 -22
- package/dist/types/standings-integration/dto/game-score.dto.js.map +0 -1
- package/dist/types/standings-integration/dto/index.d.ts +0 -9
- package/dist/types/standings-integration/dto/index.js +0 -26
- package/dist/types/standings-integration/dto/index.js.map +0 -1
- package/dist/types/standings-integration/dto/onboarding.dto.d.ts +0 -35
- package/dist/types/standings-integration/dto/onboarding.dto.js +0 -28
- package/dist/types/standings-integration/dto/onboarding.dto.js.map +0 -1
- package/dist/types/standings-integration/dto/program-season.dto.d.ts +0 -3
- package/dist/types/standings-integration/dto/program-season.dto.js +0 -7
- package/dist/types/standings-integration/dto/program-season.dto.js.map +0 -1
- package/dist/types/standings-integration/dto/standings.dto.d.ts +0 -36
- package/dist/types/standings-integration/dto/standings.dto.js +0 -22
- package/dist/types/standings-integration/dto/standings.dto.js.map +0 -1
- package/dist/types/standings-integration/index.d.ts +0 -1
- package/dist/types/standings-integration/index.js +0 -18
- package/dist/types/standings-integration/index.js.map +0 -1
|
@@ -1,38 +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("./competition.entity"), exports);
|
|
18
|
-
__exportStar(require("./division.entity"), exports);
|
|
19
|
-
__exportStar(require("./team.entity"), exports);
|
|
20
|
-
__exportStar(require("./stage.entity"), exports);
|
|
21
|
-
__exportStar(require("./stage-division.entity"), exports);
|
|
22
|
-
__exportStar(require("./stage-division-team.entity"), exports);
|
|
23
|
-
__exportStar(require("./standings-ruleset.entity"), exports);
|
|
24
|
-
__exportStar(require("./standings.entity"), exports);
|
|
25
|
-
__exportStar(require("./game.entity"), exports);
|
|
26
|
-
__exportStar(require("./competition-public-settings.entity"), exports);
|
|
27
|
-
__exportStar(require("./competition-public-settings.entity"), exports);
|
|
28
|
-
__exportStar(require("./competition.entity"), exports);
|
|
29
|
-
__exportStar(require("./division.entity"), exports);
|
|
30
|
-
__exportStar(require("./game.entity"), exports);
|
|
31
|
-
__exportStar(require("./index"), exports);
|
|
32
|
-
__exportStar(require("./stage-division-team.entity"), exports);
|
|
33
|
-
__exportStar(require("./stage-division.entity"), exports);
|
|
34
|
-
__exportStar(require("./stage.entity"), exports);
|
|
35
|
-
__exportStar(require("./standings-ruleset.entity"), exports);
|
|
36
|
-
__exportStar(require("./standings.entity"), exports);
|
|
37
|
-
__exportStar(require("./team.entity"), exports);
|
|
38
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/league-standings/entities/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,uDAAqC;AACrC,oDAAkC;AAClC,gDAA8B;AAC9B,iDAA+B;AAC/B,0DAAwC;AACxC,+DAA6C;AAC7C,6DAA2C;AAC3C,qDAAmC;AACnC,gDAA8B;AAC9B,uEAAqD;AAErD,uEAAqD;AACrD,uDAAqC;AACrC,oDAAkC;AAClC,gDAA8B;AAC9B,0CAAwB;AACxB,+DAA6C;AAC7C,0DAAwC;AACxC,iDAA+B;AAC/B,6DAA2C;AAC3C,qDAAmC;AACnC,gDAA8B"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { BondBaseEntity } from '../../entity/BondBaseEntity';
|
|
2
|
-
import { StageDivision } from './stage-division.entity';
|
|
3
|
-
import { CompetitionTeam } from './team.entity';
|
|
4
|
-
export declare class StageDivisionTeam extends BondBaseEntity {
|
|
5
|
-
stageDivisionId: number;
|
|
6
|
-
stageDivision: StageDivision;
|
|
7
|
-
teamId: number;
|
|
8
|
-
team: CompetitionTeam;
|
|
9
|
-
seed?: number;
|
|
10
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.StageDivisionTeam = void 0;
|
|
4
|
-
const BondBaseEntity_1 = require("../../entity/BondBaseEntity");
|
|
5
|
-
class StageDivisionTeam extends BondBaseEntity_1.BondBaseEntity {
|
|
6
|
-
}
|
|
7
|
-
exports.StageDivisionTeam = StageDivisionTeam;
|
|
8
|
-
//# sourceMappingURL=stage-division-team.entity.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"stage-division-team.entity.js","sourceRoot":"","sources":["../../../../src/types/league-standings/entities/stage-division-team.entity.ts"],"names":[],"mappings":";;;AAEA,gEAA6D;AAK7D,MAAa,iBAAkB,SAAQ,+BAAc;CAUpD;AAVD,8CAUC"}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { BondBaseEntity } from '../../entity/BondBaseEntity';
|
|
2
|
-
import { CompetitionDivision } from './division.entity';
|
|
3
|
-
import { Stage } from './stage.entity';
|
|
4
|
-
export declare enum StageDivisionStatusEnum {
|
|
5
|
-
SCHEDULED = "scheduled",
|
|
6
|
-
IN_PROGRESS = "in_progress",
|
|
7
|
-
COMPLETE = "complete"
|
|
8
|
-
}
|
|
9
|
-
export declare class StageDivision extends BondBaseEntity {
|
|
10
|
-
stageId: number;
|
|
11
|
-
stage: Stage;
|
|
12
|
-
divisionId: number;
|
|
13
|
-
division: CompetitionDivision;
|
|
14
|
-
status: StageDivisionStatusEnum;
|
|
15
|
-
format?: string;
|
|
16
|
-
standingsVersion: number;
|
|
17
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.StageDivision = exports.StageDivisionStatusEnum = void 0;
|
|
4
|
-
const BondBaseEntity_1 = require("../../entity/BondBaseEntity");
|
|
5
|
-
var StageDivisionStatusEnum;
|
|
6
|
-
(function (StageDivisionStatusEnum) {
|
|
7
|
-
StageDivisionStatusEnum["SCHEDULED"] = "scheduled";
|
|
8
|
-
StageDivisionStatusEnum["IN_PROGRESS"] = "in_progress";
|
|
9
|
-
StageDivisionStatusEnum["COMPLETE"] = "complete";
|
|
10
|
-
})(StageDivisionStatusEnum = exports.StageDivisionStatusEnum || (exports.StageDivisionStatusEnum = {}));
|
|
11
|
-
class StageDivision extends BondBaseEntity_1.BondBaseEntity {
|
|
12
|
-
}
|
|
13
|
-
exports.StageDivision = StageDivision;
|
|
14
|
-
//# sourceMappingURL=stage-division.entity.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"stage-division.entity.js","sourceRoot":"","sources":["../../../../src/types/league-standings/entities/stage-division.entity.ts"],"names":[],"mappings":";;;AAEA,gEAA6D;AAK7D,IAAY,uBAIX;AAJD,WAAY,uBAAuB;IAClC,kDAAuB,CAAA;IACvB,sDAA2B,CAAA;IAC3B,gDAAqB,CAAA;AACtB,CAAC,EAJW,uBAAuB,GAAvB,+BAAuB,KAAvB,+BAAuB,QAIlC;AAED,MAAa,aAAc,SAAQ,+BAAc;CAchD;AAdD,sCAcC"}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { BondBaseEntity } from '../../entity/BondBaseEntity';
|
|
2
|
-
import { Competition } from './competition.entity';
|
|
3
|
-
export declare enum StageTypeEnum {
|
|
4
|
-
REGULAR_SEASON = "regular_season",
|
|
5
|
-
PLAYOFFS = "playoffs"
|
|
6
|
-
}
|
|
7
|
-
export declare class Stage extends BondBaseEntity {
|
|
8
|
-
competitionId: number;
|
|
9
|
-
competition: Competition;
|
|
10
|
-
parentStageId?: number;
|
|
11
|
-
parentStage?: Stage;
|
|
12
|
-
name: string;
|
|
13
|
-
stageType: StageTypeEnum;
|
|
14
|
-
startsOn?: Date;
|
|
15
|
-
endsOn?: Date;
|
|
16
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.Stage = exports.StageTypeEnum = void 0;
|
|
4
|
-
const BondBaseEntity_1 = require("../../entity/BondBaseEntity");
|
|
5
|
-
var StageTypeEnum;
|
|
6
|
-
(function (StageTypeEnum) {
|
|
7
|
-
StageTypeEnum["REGULAR_SEASON"] = "regular_season";
|
|
8
|
-
StageTypeEnum["PLAYOFFS"] = "playoffs";
|
|
9
|
-
})(StageTypeEnum = exports.StageTypeEnum || (exports.StageTypeEnum = {}));
|
|
10
|
-
class Stage extends BondBaseEntity_1.BondBaseEntity {
|
|
11
|
-
}
|
|
12
|
-
exports.Stage = Stage;
|
|
13
|
-
//# sourceMappingURL=stage.entity.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"stage.entity.js","sourceRoot":"","sources":["../../../../src/types/league-standings/entities/stage.entity.ts"],"names":[],"mappings":";;;AAEA,gEAA6D;AAI7D,IAAY,aAGX;AAHD,WAAY,aAAa;IACxB,kDAAiC,CAAA;IACjC,sCAAqB,CAAA;AACtB,CAAC,EAHW,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAGxB;AAED,MAAa,KAAM,SAAQ,+BAAc;CAgBxC;AAhBD,sBAgBC"}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { BondBaseEntity } from '../../entity/BondBaseEntity';
|
|
2
|
-
import { Stage } from './stage.entity';
|
|
3
|
-
import { StandingsColumnsEnum, TeamStatisticEnum, TiebreakerEnum } from '../types';
|
|
4
|
-
export declare class StandingsRuleset extends BondBaseEntity {
|
|
5
|
-
stageId: number;
|
|
6
|
-
stage: Stage;
|
|
7
|
-
pointsForWin: number;
|
|
8
|
-
pointsForLoss: number;
|
|
9
|
-
tiesEnabled: boolean;
|
|
10
|
-
pointsForTie: number;
|
|
11
|
-
overtimeEnabled: boolean;
|
|
12
|
-
pointsForOvertimeWin: number;
|
|
13
|
-
pointsForOvertimeLoss: number;
|
|
14
|
-
shootoutEnabled: boolean;
|
|
15
|
-
pointsForShootoutWin: number;
|
|
16
|
-
pointsForShootoutLoss: number;
|
|
17
|
-
forfeitEnabled: boolean;
|
|
18
|
-
pointsForForfeitWin: number;
|
|
19
|
-
pointsForForfeitLoss: number;
|
|
20
|
-
rankingCriteria?: TiebreakerEnum[];
|
|
21
|
-
standingsColumns?: StandingsColumnsEnum[];
|
|
22
|
-
teamStatistics?: TeamStatisticEnum[];
|
|
23
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.StandingsRuleset = void 0;
|
|
4
|
-
const BondBaseEntity_1 = require("../../entity/BondBaseEntity");
|
|
5
|
-
class StandingsRuleset extends BondBaseEntity_1.BondBaseEntity {
|
|
6
|
-
}
|
|
7
|
-
exports.StandingsRuleset = StandingsRuleset;
|
|
8
|
-
//# sourceMappingURL=standings-ruleset.entity.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"standings-ruleset.entity.js","sourceRoot":"","sources":["../../../../src/types/league-standings/entities/standings-ruleset.entity.ts"],"names":[],"mappings":";;;AAEA,gEAA6D;AAK7D,MAAa,gBAAiB,SAAQ,+BAAc;CAoCnD;AApCD,4CAoCC"}
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import { BondBaseEntity } from '../../entity/BondBaseEntity';
|
|
2
|
-
import { CompetitionDivision } from './division.entity';
|
|
3
|
-
import { Stage } from './stage.entity';
|
|
4
|
-
import { CompetitionTeam } from './team.entity';
|
|
5
|
-
export declare class Standings extends BondBaseEntity {
|
|
6
|
-
stageId: number;
|
|
7
|
-
stage: Stage;
|
|
8
|
-
divisionId: number;
|
|
9
|
-
division: CompetitionDivision;
|
|
10
|
-
teamId: number;
|
|
11
|
-
team: CompetitionTeam;
|
|
12
|
-
rank: number;
|
|
13
|
-
points: number;
|
|
14
|
-
gamesPlayed: number;
|
|
15
|
-
wins: number;
|
|
16
|
-
losses: number;
|
|
17
|
-
winPercentage: number;
|
|
18
|
-
overtimeWins: number;
|
|
19
|
-
overtimeLosses: number;
|
|
20
|
-
forfeitWins: number;
|
|
21
|
-
forfeitLosses: number;
|
|
22
|
-
shootoutWins: number;
|
|
23
|
-
shootoutLosses: number;
|
|
24
|
-
shutouts: number;
|
|
25
|
-
pointsScored: number;
|
|
26
|
-
pointsAgainst: number;
|
|
27
|
-
pointsScoredDifferential: number;
|
|
28
|
-
sportSpecificStats?: Record<string, unknown>;
|
|
29
|
-
version: number;
|
|
30
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.Standings = void 0;
|
|
4
|
-
const BondBaseEntity_1 = require("../../entity/BondBaseEntity");
|
|
5
|
-
class Standings extends BondBaseEntity_1.BondBaseEntity {
|
|
6
|
-
}
|
|
7
|
-
exports.Standings = Standings;
|
|
8
|
-
//# sourceMappingURL=standings.entity.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"standings.entity.js","sourceRoot":"","sources":["../../../../src/types/league-standings/entities/standings.entity.ts"],"names":[],"mappings":";;;AAEA,gEAA6D;AAM7D,MAAa,SAAU,SAAQ,+BAAc;CAgD5C;AAhDD,8BAgDC"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { BondBaseEntity } from '../../entity/BondBaseEntity';
|
|
2
|
-
import { CompetitionDivision } from './division.entity';
|
|
3
|
-
export declare class CompetitionTeam extends BondBaseEntity {
|
|
4
|
-
divisionId: number;
|
|
5
|
-
division: CompetitionDivision;
|
|
6
|
-
name: string;
|
|
7
|
-
folderId?: number;
|
|
8
|
-
logoUrl?: string;
|
|
9
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.CompetitionTeam = void 0;
|
|
4
|
-
const BondBaseEntity_1 = require("../../entity/BondBaseEntity");
|
|
5
|
-
class CompetitionTeam extends BondBaseEntity_1.BondBaseEntity {
|
|
6
|
-
}
|
|
7
|
-
exports.CompetitionTeam = CompetitionTeam;
|
|
8
|
-
//# sourceMappingURL=team.entity.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"team.entity.js","sourceRoot":"","sources":["../../../../src/types/league-standings/entities/team.entity.ts"],"names":[],"mappings":";;;AAEA,gEAA6D;AAI7D,MAAa,eAAgB,SAAQ,+BAAc;CAUlD;AAVD,0CAUC"}
|
|
@@ -1,21 +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("./dto"), exports);
|
|
18
|
-
__exportStar(require("./entities"), exports);
|
|
19
|
-
__exportStar(require("./interfaces"), exports);
|
|
20
|
-
__exportStar(require("./types"), exports);
|
|
21
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/types/league-standings/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,wCAAsB;AACtB,6CAA2B;AAC3B,+CAA6B;AAC7B,0CAAwB"}
|
|
@@ -1,20 +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("./ruleset-defaults.interface"), exports);
|
|
18
|
-
__exportStar(require("./index"), exports);
|
|
19
|
-
__exportStar(require("./ruleset-defaults.interface"), exports);
|
|
20
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/league-standings/interfaces/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,+DAA6C;AAE7C,0CAAwB;AACxB,+DAA6C"}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { StandingsRuleset } from '../entities/standings-ruleset.entity';
|
|
2
|
-
import { StandingsColumnsEnum, TeamStatisticEnum, TiebreakerEnum } from '../types';
|
|
3
|
-
export interface IRulesetOptions {
|
|
4
|
-
rankingCriteria: TiebreakerEnum[];
|
|
5
|
-
standingsColumns: StandingsColumnsEnum[];
|
|
6
|
-
teamStatistics: TeamStatisticEnum[];
|
|
7
|
-
}
|
|
8
|
-
/**
|
|
9
|
-
* Interface for sport-specific standings ruleset defaults
|
|
10
|
-
*/
|
|
11
|
-
export interface ISportRuleset {
|
|
12
|
-
/**
|
|
13
|
-
* Returns the default standings ruleset configuration for a specific sport
|
|
14
|
-
*/
|
|
15
|
-
getDefaults(stageId: number): Partial<StandingsRuleset>;
|
|
16
|
-
getOptions(): IRulesetOptions;
|
|
17
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ruleset-defaults.interface.js","sourceRoot":"","sources":["../../../../src/types/league-standings/interfaces/ruleset-defaults.interface.ts"],"names":[],"mappings":""}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
export declare const COMPETITION_TABLE_NAME: "Competition";
|
|
2
|
-
export declare const DIVISION_TABLE_NAME: "Division";
|
|
3
|
-
export declare const TEAM_TABLE_NAME: "Team";
|
|
4
|
-
export declare const STAGE_TABLE_NAME: "Stage";
|
|
5
|
-
export declare const STAGE_DIVISION_TABLE_NAME: "StageDivision";
|
|
6
|
-
export declare const STAGE_DIVISION_TEAM_TABLE_NAME: "StageDivisionTeam";
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.STAGE_DIVISION_TEAM_TABLE_NAME = exports.STAGE_DIVISION_TABLE_NAME = exports.STAGE_TABLE_NAME = exports.TEAM_TABLE_NAME = exports.DIVISION_TABLE_NAME = exports.COMPETITION_TABLE_NAME = void 0;
|
|
4
|
-
exports.COMPETITION_TABLE_NAME = 'Competition';
|
|
5
|
-
exports.DIVISION_TABLE_NAME = 'Division';
|
|
6
|
-
exports.TEAM_TABLE_NAME = 'Team';
|
|
7
|
-
exports.STAGE_TABLE_NAME = 'Stage';
|
|
8
|
-
exports.STAGE_DIVISION_TABLE_NAME = 'StageDivision';
|
|
9
|
-
exports.STAGE_DIVISION_TEAM_TABLE_NAME = 'StageDivisionTeam';
|
|
10
|
-
//# sourceMappingURL=competition.consts.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"competition.consts.js","sourceRoot":"","sources":["../../../../../src/types/league-standings/types/consts/competition.consts.ts"],"names":[],"mappings":";;;AAAa,QAAA,sBAAsB,GAAG,aAAsB,CAAC;AAChD,QAAA,mBAAmB,GAAG,UAAmB,CAAC;AAC1C,QAAA,eAAe,GAAG,MAAe,CAAC;AAClC,QAAA,gBAAgB,GAAG,OAAgB,CAAC;AACpC,QAAA,yBAAyB,GAAG,eAAwB,CAAC;AACrD,QAAA,8BAA8B,GAAG,mBAA4B,CAAC"}
|
|
@@ -1,20 +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("./competition.consts"), exports);
|
|
18
|
-
__exportStar(require("./competition.consts"), exports);
|
|
19
|
-
__exportStar(require("./index"), exports);
|
|
20
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/types/league-standings/types/consts/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,uDAAqC;AAGrC,uDAAqC;AACrC,0CAAwB"}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Enum for game status values
|
|
3
|
-
*/
|
|
4
|
-
export declare enum GameStatusEnum {
|
|
5
|
-
SCHEDULED = "scheduled",
|
|
6
|
-
LIVE = "live",
|
|
7
|
-
FINAL = "final",
|
|
8
|
-
REOPEN = "reopen",
|
|
9
|
-
POSTPONED = "postponed",
|
|
10
|
-
SUSPENDED = "suspended",
|
|
11
|
-
CANCELLED = "cancelled",
|
|
12
|
-
HOME_FORFEIT = "homeForfeit",
|
|
13
|
-
AWAY_FORFEIT = "awayForfeit",
|
|
14
|
-
DOUBLE_FORFEIT = "doubleForfeit"
|
|
15
|
-
}
|
|
16
|
-
/**
|
|
17
|
-
* Enum for game outcome from a team's perspective
|
|
18
|
-
*/
|
|
19
|
-
export declare enum GameOutcome {
|
|
20
|
-
WIN = "win",
|
|
21
|
-
LOSS = "loss",
|
|
22
|
-
TIE = "tie"
|
|
23
|
-
}
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.GameOutcome = exports.GameStatusEnum = void 0;
|
|
4
|
-
/**
|
|
5
|
-
* Enum for game status values
|
|
6
|
-
*/
|
|
7
|
-
var GameStatusEnum;
|
|
8
|
-
(function (GameStatusEnum) {
|
|
9
|
-
GameStatusEnum["SCHEDULED"] = "scheduled";
|
|
10
|
-
GameStatusEnum["LIVE"] = "live";
|
|
11
|
-
GameStatusEnum["FINAL"] = "final";
|
|
12
|
-
GameStatusEnum["REOPEN"] = "reopen";
|
|
13
|
-
GameStatusEnum["POSTPONED"] = "postponed";
|
|
14
|
-
GameStatusEnum["SUSPENDED"] = "suspended";
|
|
15
|
-
GameStatusEnum["CANCELLED"] = "cancelled";
|
|
16
|
-
GameStatusEnum["HOME_FORFEIT"] = "homeForfeit";
|
|
17
|
-
GameStatusEnum["AWAY_FORFEIT"] = "awayForfeit";
|
|
18
|
-
GameStatusEnum["DOUBLE_FORFEIT"] = "doubleForfeit";
|
|
19
|
-
})(GameStatusEnum = exports.GameStatusEnum || (exports.GameStatusEnum = {}));
|
|
20
|
-
/**
|
|
21
|
-
* Enum for game outcome from a team's perspective
|
|
22
|
-
*/
|
|
23
|
-
var GameOutcome;
|
|
24
|
-
(function (GameOutcome) {
|
|
25
|
-
GameOutcome["WIN"] = "win";
|
|
26
|
-
GameOutcome["LOSS"] = "loss";
|
|
27
|
-
GameOutcome["TIE"] = "tie";
|
|
28
|
-
})(GameOutcome = exports.GameOutcome || (exports.GameOutcome = {}));
|
|
29
|
-
//# sourceMappingURL=game.enums.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"game.enums.js","sourceRoot":"","sources":["../../../../src/types/league-standings/types/game.enums.ts"],"names":[],"mappings":";;;AAAA;;GAEG;AACH,IAAY,cAWX;AAXD,WAAY,cAAc;IACzB,yCAAuB,CAAA;IACvB,+BAAa,CAAA;IACb,iCAAe,CAAA;IACf,mCAAiB,CAAA;IACjB,yCAAuB,CAAA;IACvB,yCAAuB,CAAA;IACvB,yCAAuB,CAAA;IACvB,8CAA4B,CAAA;IAC5B,8CAA4B,CAAA;IAC5B,kDAAgC,CAAA;AACjC,CAAC,EAXW,cAAc,GAAd,sBAAc,KAAd,sBAAc,QAWzB;AAED;;GAEG;AACH,IAAY,WAIX;AAJD,WAAY,WAAW;IACtB,0BAAW,CAAA;IACX,4BAAa,CAAA;IACb,0BAAW,CAAA;AACZ,CAAC,EAJW,WAAW,GAAX,mBAAW,KAAX,mBAAW,QAItB"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
export * from './consts';
|
|
2
|
-
export * from './game.enums';
|
|
3
|
-
export * from './standings.enums';
|
|
4
|
-
export * from './standings-contribution.interface';
|
|
5
|
-
export * from './consts';
|
|
6
|
-
export * from './game.enums';
|
|
7
|
-
export * from './index';
|
|
8
|
-
export * from './standings-contribution.interface';
|
|
9
|
-
export * from './standings.enums';
|
|
@@ -1,26 +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("./consts"), exports);
|
|
18
|
-
__exportStar(require("./game.enums"), exports);
|
|
19
|
-
__exportStar(require("./standings.enums"), exports);
|
|
20
|
-
__exportStar(require("./standings-contribution.interface"), exports);
|
|
21
|
-
__exportStar(require("./consts"), exports);
|
|
22
|
-
__exportStar(require("./game.enums"), exports);
|
|
23
|
-
__exportStar(require("./index"), exports);
|
|
24
|
-
__exportStar(require("./standings-contribution.interface"), exports);
|
|
25
|
-
__exportStar(require("./standings.enums"), exports);
|
|
26
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/league-standings/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2CAAyB;AACzB,+CAA6B;AAC7B,oDAAkC;AAClC,qEAAmD;AAEnD,2CAAyB;AACzB,+CAA6B;AAC7B,0CAAwB;AACxB,qEAAmD;AACnD,oDAAkC"}
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Represents the contribution a single game makes to a team's standings.
|
|
3
|
-
* Stored on the Game entity to enable precise rollback when games are updated.
|
|
4
|
-
*/
|
|
5
|
-
export interface IStandingsContribution {
|
|
6
|
-
/** The standings record ID this contribution applies to */
|
|
7
|
-
standingsId: number;
|
|
8
|
-
/** Points earned (based on win/loss/tie and game type) */
|
|
9
|
-
points: number;
|
|
10
|
-
/** Games played increment (always 1 if game affects standings) */
|
|
11
|
-
gamesPlayed: number;
|
|
12
|
-
/** Win increment (1 if team won, 0 otherwise) */
|
|
13
|
-
wins: number;
|
|
14
|
-
/** Loss increment (1 if team lost, 0 otherwise) */
|
|
15
|
-
losses: number;
|
|
16
|
-
/** Tie increment (1 if game was a tie, 0 otherwise) */
|
|
17
|
-
ties: number;
|
|
18
|
-
/** Overtime win increment */
|
|
19
|
-
overtimeWins: number;
|
|
20
|
-
/** Overtime loss increment */
|
|
21
|
-
overtimeLosses: number;
|
|
22
|
-
/** Shootout win increment */
|
|
23
|
-
shootoutWins: number;
|
|
24
|
-
/** Shootout loss increment */
|
|
25
|
-
shootoutLosses: number;
|
|
26
|
-
/** Forfeit win increment */
|
|
27
|
-
forfeitWins: number;
|
|
28
|
-
/** Forfeit loss increment */
|
|
29
|
-
forfeitLosses: number;
|
|
30
|
-
/** Shutout increment (1 if team won and opponent scored 0) */
|
|
31
|
-
shutouts: number;
|
|
32
|
-
/** Points/goals scored by this team */
|
|
33
|
-
pointsScored: number;
|
|
34
|
-
/** Points/goals scored against this team */
|
|
35
|
-
pointsAgainst: number;
|
|
36
|
-
}
|
|
37
|
-
/**
|
|
38
|
-
* Map of teamId -> contribution for that team.
|
|
39
|
-
* Stored as JSONB on the Game entity.
|
|
40
|
-
*/
|
|
41
|
-
export interface IGameStandingsContributions {
|
|
42
|
-
[teamId: number]: IStandingsContribution;
|
|
43
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"standings-contribution.interface.js","sourceRoot":"","sources":["../../../../src/types/league-standings/types/standings-contribution.interface.ts"],"names":[],"mappings":""}
|