@levrbet/shared 0.1.58 → 0.1.60
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/config/urls.d.ts +0 -4
- package/dist/core/config/urls.js +14 -18
- package/dist/core/config/urls.js.map +1 -1
- package/dist/server/config/urls.d.ts +0 -4
- package/dist/server/oracle/types/game/fixture.types.d.ts +13 -2
- package/dist/server/oracle/types/game/fixture.types.js.map +1 -1
- package/package.json +1 -1
|
@@ -2,7 +2,6 @@ import { LevrIndexer } from "../types/indexers.types";
|
|
|
2
2
|
export declare const allUrls: {
|
|
3
3
|
local: {
|
|
4
4
|
auth: string;
|
|
5
|
-
oracle: string;
|
|
6
5
|
oracleCore: string;
|
|
7
6
|
oraclePeriphery: string;
|
|
8
7
|
oracleProcessors: string;
|
|
@@ -24,7 +23,6 @@ export declare const allUrls: {
|
|
|
24
23
|
};
|
|
25
24
|
dev: {
|
|
26
25
|
auth: string;
|
|
27
|
-
oracle: string;
|
|
28
26
|
oracleCore: string;
|
|
29
27
|
oraclePeriphery: string;
|
|
30
28
|
oracleProcessors: string;
|
|
@@ -46,7 +44,6 @@ export declare const allUrls: {
|
|
|
46
44
|
};
|
|
47
45
|
staging: {
|
|
48
46
|
auth: string;
|
|
49
|
-
oracle: string;
|
|
50
47
|
oracleCore: string;
|
|
51
48
|
oraclePeriphery: string;
|
|
52
49
|
oracleProcessors: string;
|
|
@@ -68,7 +65,6 @@ export declare const allUrls: {
|
|
|
68
65
|
};
|
|
69
66
|
prod: {
|
|
70
67
|
auth: string;
|
|
71
|
-
oracle: string;
|
|
72
68
|
oracleCore: string;
|
|
73
69
|
oraclePeriphery: string;
|
|
74
70
|
oracleProcessors: string;
|
package/dist/core/config/urls.js
CHANGED
|
@@ -6,12 +6,11 @@ const indexers_types_1 = require("../types/indexers.types");
|
|
|
6
6
|
// TODO: set all urls
|
|
7
7
|
exports.allUrls = {
|
|
8
8
|
[types_1.LevrEnv.LOCAL]: {
|
|
9
|
-
auth: "
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
relayer: "http://localhost:3001",
|
|
9
|
+
auth: "https://auth.dev.levr.bet",
|
|
10
|
+
oracleCore: "https://oracle-core.dev.levr.bet",
|
|
11
|
+
oraclePeriphery: "https://oracle-periphery.dev.levr.bet",
|
|
12
|
+
oracleProcessors: "https://oracle-processors.dev.levr.bet",
|
|
13
|
+
relayer: "https://relayer.dev.levr.bet",
|
|
15
14
|
indexers: {
|
|
16
15
|
[types_1.LevrChain.AVAX_MAINNET]: [
|
|
17
16
|
{ type: indexers_types_1.LevrIndexer.SENTIO, url: "http://localhost:8083" },
|
|
@@ -28,11 +27,10 @@ exports.allUrls = {
|
|
|
28
27
|
},
|
|
29
28
|
},
|
|
30
29
|
[types_1.LevrEnv.DEV]: {
|
|
31
|
-
auth: "https://auth.dev.levr.
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
oracleProcessors: "http://localhost:3003",
|
|
30
|
+
auth: "https://auth.dev.levr.bet",
|
|
31
|
+
oracleCore: "https://oracle-core.dev.levr.bet",
|
|
32
|
+
oraclePeriphery: "https://oracle-periphery.dev.levr.bet",
|
|
33
|
+
oracleProcessors: "https://oracle-processors.dev.levr.bet",
|
|
36
34
|
relayer: "http://levr-v1-openzeppeline-1018367603.ap-south-1.elb.amazonaws.com",
|
|
37
35
|
indexers: {
|
|
38
36
|
[types_1.LevrChain.AVAX_MAINNET]: [
|
|
@@ -50,12 +48,11 @@ exports.allUrls = {
|
|
|
50
48
|
},
|
|
51
49
|
},
|
|
52
50
|
[types_1.LevrEnv.STAGING]: {
|
|
53
|
-
auth: "https://auth.staging.levr.
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
relayer: "https://relayer.dev.levr.app",
|
|
51
|
+
auth: "https://auth.staging.levr.bet",
|
|
52
|
+
oracleCore: "https://oracle-core.staging.levr.bet",
|
|
53
|
+
oraclePeriphery: "https://oracle-periphery.staging.levr.bet",
|
|
54
|
+
oracleProcessors: "https://oracle-processors.staging.levr.bet",
|
|
55
|
+
relayer: "https://relayer.staging.levr.bet",
|
|
59
56
|
indexers: {
|
|
60
57
|
[types_1.LevrChain.AVAX_MAINNET]: [
|
|
61
58
|
{ type: indexers_types_1.LevrIndexer.SENTIO, url: "https://indexer.staging.levr.app" },
|
|
@@ -73,7 +70,6 @@ exports.allUrls = {
|
|
|
73
70
|
},
|
|
74
71
|
[types_1.LevrEnv.PROD]: {
|
|
75
72
|
auth: "https://auth.levr.app",
|
|
76
|
-
oracle: "https://oracle.levr.app",
|
|
77
73
|
oracleCore: "https://oracle-core.levr.app",
|
|
78
74
|
oraclePeriphery: "https://oracle-periphery.levr.app",
|
|
79
75
|
oracleProcessors: "https://oracle-processors.levr.app",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"urls.js","sourceRoot":"","sources":["../../../src/core/config/urls.ts"],"names":[],"mappings":";;;AAAA,oCAA6C;AAC7C,4DAAqD;AAErD,qBAAqB;AAER,QAAA,OAAO,GAAG;IACnB,CAAC,eAAO,CAAC,KAAK,CAAC,EAAE;QACb,IAAI,EAAE,
|
|
1
|
+
{"version":3,"file":"urls.js","sourceRoot":"","sources":["../../../src/core/config/urls.ts"],"names":[],"mappings":";;;AAAA,oCAA6C;AAC7C,4DAAqD;AAErD,qBAAqB;AAER,QAAA,OAAO,GAAG;IACnB,CAAC,eAAO,CAAC,KAAK,CAAC,EAAE;QACb,IAAI,EAAE,2BAA2B;QACjC,UAAU,EAAE,kCAAkC;QAC9C,eAAe,EAAE,uCAAuC;QACxD,gBAAgB,EAAE,wCAAwC;QAC1D,OAAO,EAAE,8BAA8B;QACvC,QAAQ,EAAE;YACN,CAAC,iBAAS,CAAC,YAAY,CAAC,EAAE;gBACtB,EAAE,IAAI,EAAE,4BAAW,CAAC,MAAM,EAAE,GAAG,EAAE,uBAAuB,EAAE;gBAC1D,EAA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,EAAE,IAAI,EAAE,4BAAW,CAAC,QAAQ,EAAE,GAAG,EAAE,0BAA0B,EAAE;aAClE;YACD,CAAC,iBAAS,CAAC,YAAY,CAAC,EAAE;gBACtB,EAAE,IAAI,EAAE,4BAAW,CAAC,MAAM,EAAE,GAAG,EAAE,0BAA0B,EAAE;gBAC7D,EAAE,IAAI,EAAE,4BAAW,CAAC,QAAQ,EAAE,GAAG,EAAE,0BAA0B,EAAE;aAClE;YACD,CAAC,iBAAS,CAAC,aAAa,CAAC,EAAE;gBACvB,EAAE,IAAI,EAAE,4BAAW,CAAC,MAAM,EAAE,GAAG,EAAE,0BAA0B,EAAE;gBAC7D,EAAE,IAAI,EAAE,4BAAW,CAAC,QAAQ,EAAE,GAAG,EAAE,0BAA0B,EAAE;aAClE;SACJ;KACJ;CACJ,CAAA"}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
export declare const urls: {
|
|
2
2
|
auth: string;
|
|
3
|
-
oracle: string;
|
|
4
3
|
oracleCore: string;
|
|
5
4
|
oraclePeriphery: string;
|
|
6
5
|
oracleProcessors: string;
|
|
@@ -21,7 +20,6 @@ export declare const urls: {
|
|
|
21
20
|
};
|
|
22
21
|
} | {
|
|
23
22
|
auth: string;
|
|
24
|
-
oracle: string;
|
|
25
23
|
oracleCore: string;
|
|
26
24
|
oraclePeriphery: string;
|
|
27
25
|
oracleProcessors: string;
|
|
@@ -42,7 +40,6 @@ export declare const urls: {
|
|
|
42
40
|
};
|
|
43
41
|
} | {
|
|
44
42
|
auth: string;
|
|
45
|
-
oracle: string;
|
|
46
43
|
oracleCore: string;
|
|
47
44
|
oraclePeriphery: string;
|
|
48
45
|
oracleProcessors: string;
|
|
@@ -63,7 +60,6 @@ export declare const urls: {
|
|
|
63
60
|
};
|
|
64
61
|
} | {
|
|
65
62
|
auth: string;
|
|
66
|
-
oracle: string;
|
|
67
63
|
oracleCore: string;
|
|
68
64
|
oraclePeriphery: string;
|
|
69
65
|
oracleProcessors: string;
|
|
@@ -4,11 +4,22 @@ export interface FixtureOddsData {
|
|
|
4
4
|
oddB: number;
|
|
5
5
|
oddC: number | null;
|
|
6
6
|
}
|
|
7
|
-
export interface
|
|
7
|
+
export interface FixtureWithSportAndLeague extends Prisma.FixtureGetPayload<{
|
|
8
8
|
include: {
|
|
9
|
-
league:
|
|
9
|
+
league: {
|
|
10
|
+
include: {
|
|
11
|
+
sport: {
|
|
12
|
+
select: {
|
|
13
|
+
sportGroup: true;
|
|
14
|
+
name: true;
|
|
15
|
+
};
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
};
|
|
10
19
|
};
|
|
11
20
|
}> {
|
|
21
|
+
}
|
|
22
|
+
export interface DashBoardFixtures extends FixtureWithSportAndLeague {
|
|
12
23
|
odds: {
|
|
13
24
|
[MarketTypes.FullTimeWinner]: FixtureOddsData;
|
|
14
25
|
[MarketTypes.OverUnder]: FixtureOddsData;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fixture.types.js","sourceRoot":"","sources":["../../../../../src/server/oracle/types/game/fixture.types.ts"],"names":[],"mappings":";;
|
|
1
|
+
{"version":3,"file":"fixture.types.js","sourceRoot":"","sources":["../../../../../src/server/oracle/types/game/fixture.types.ts"],"names":[],"mappings":";;AACA,4CAAsD"}
|