@levrbet/shared 0.1.45 → 0.1.46
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/core/types/index.d.ts +1 -0
- package/dist/core/types/index.js +1 -0
- package/dist/core/types/index.js.map +1 -1
- package/dist/core/types/oracle/game.types.d.ts +2 -28
- package/dist/core/types/oracle/game.types.js +9 -0
- package/dist/core/types/oracle/game.types.js.map +1 -1
- package/dist/core/types/oracle/index.d.ts +1 -0
- package/dist/core/types/oracle/index.js +18 -0
- package/dist/core/types/oracle/index.js.map +1 -0
- package/package.json +1 -1
package/dist/core/types/index.js
CHANGED
|
@@ -17,5 +17,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
17
17
|
__exportStar(require("./blockchain"), exports);
|
|
18
18
|
__exportStar(require("./indexers.types"), exports);
|
|
19
19
|
__exportStar(require("./misc.types"), exports);
|
|
20
|
+
__exportStar(require("./oracle"), exports);
|
|
20
21
|
__exportStar(require("./privy.types"), exports);
|
|
21
22
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/core/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,+CAA4B;AAC5B,mDAAgC;AAChC,+CAA4B;AAC5B,gDAA6B"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/core/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,+CAA4B;AAC5B,mDAAgC;AAChC,+CAA4B;AAC5B,2CAAwB;AACxB,gDAA6B"}
|
|
@@ -1,28 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
gameId: number;
|
|
4
|
-
txHash: string;
|
|
5
|
-
chainId: number;
|
|
6
|
-
seasonType: string;
|
|
7
|
-
venue: string;
|
|
8
|
-
eventName: string;
|
|
9
|
-
location: string;
|
|
10
|
-
venueLocation: string;
|
|
11
|
-
gameClock: string;
|
|
12
|
-
paused: boolean;
|
|
13
|
-
fixtureDate: Date;
|
|
14
|
-
wentLiveAt: Date | null;
|
|
15
|
-
homeTeam: object;
|
|
16
|
-
awayTeam: object;
|
|
17
|
-
currentPeriod: number;
|
|
18
|
-
actualDuration: number;
|
|
19
|
-
normalizationFactor: number;
|
|
20
|
-
levrFixtureId: string;
|
|
21
|
-
opticOddsFixtureId: string | null;
|
|
22
|
-
lsportsFixtureId: string | null;
|
|
23
|
-
fixtureObjectId: string;
|
|
24
|
-
tournamentObjectId: string;
|
|
25
|
-
leagueObjectId: string;
|
|
26
|
-
createdAt: Date;
|
|
27
|
-
updatedAt: Date;
|
|
28
|
-
}
|
|
1
|
+
import { MarketTypes } from "../../prisma";
|
|
2
|
+
export declare const formattedMarketType: (market: MarketTypes) => string;
|
|
@@ -1,3 +1,12 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.formattedMarketType = void 0;
|
|
4
|
+
const prisma_1 = require("../../prisma");
|
|
5
|
+
const formattedMarketType = (market) => {
|
|
6
|
+
return {
|
|
7
|
+
[prisma_1.MarketTypes.FullTimeWinner]: "Full Time Winner",
|
|
8
|
+
[prisma_1.MarketTypes.OverUnder]: "Over/Under",
|
|
9
|
+
}[market];
|
|
10
|
+
};
|
|
11
|
+
exports.formattedMarketType = formattedMarketType;
|
|
3
12
|
//# sourceMappingURL=game.types.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"game.types.js","sourceRoot":"","sources":["../../../../src/core/types/oracle/game.types.ts"],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"game.types.js","sourceRoot":"","sources":["../../../../src/core/types/oracle/game.types.ts"],"names":[],"mappings":";;;AAAA,yCAA0C;AAEnC,MAAM,mBAAmB,GAAG,CAAC,MAAmB,EAAE,EAAE;IACvD,OAAO;QACH,CAAC,oBAAW,CAAC,cAAc,CAAC,EAAE,kBAAkB;QAChD,CAAC,oBAAW,CAAC,SAAS,CAAC,EAAE,YAAY;KACxC,CAAC,MAAM,CAAC,CAAA;AACb,CAAC,CAAA;AALY,QAAA,mBAAmB,uBAK/B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./game.types";
|
|
@@ -0,0 +1,18 @@
|
|
|
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("./game.types"), exports);
|
|
18
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/core/types/oracle/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,+CAA4B"}
|