@azuro-org/toolkit 6.0.0-beta.9 → 6.0.1
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/README.md +1 -2
- package/dist/docs/bets/bets.d.ts +2 -1
- package/dist/docs/bets/bettors.d.ts +1 -1
- package/dist/docs/bets/fragments/bet.d.ts +2 -1
- package/dist/docs/bets/fragments/bettor.d.ts +1 -1
- package/dist/docs/bets/fragments/legacyLiveBet.d.ts +1 -1
- package/dist/docs/bets/fragments/legacyPrematchBet.d.ts +1 -1
- package/dist/docs/bets/gameBets.d.ts +2 -2
- package/dist/docs/bets/legacyBets.d.ts +1 -1
- package/dist/docs/bets/types.d.ts +10 -10
- package/dist/docs/legacy-live-feed/games.d.ts +1 -1
- package/dist/docs/legacy-live-feed/types.d.ts +10 -10
- package/dist/index.js +31 -30
- package/dist/index.js.map +1 -1
- package/dist/utils/bet/createBet.d.ts +1 -1
- package/dist/utils/bet/createComboBet.d.ts +1 -1
- package/dist/utils/bet/getBet.d.ts +1 -1
- package/dist/utils/bet/getBetCalculation.d.ts +1 -1
- package/dist/utils/bet/getBetFee.d.ts +1 -1
- package/dist/utils/bet/getBetStatus.d.ts +1 -1
- package/dist/utils/bet/getBetTypedData.d.ts +1 -1
- package/dist/utils/bet/getBetsByBettor.d.ts +1 -1
- package/dist/utils/bet/getComboBetTypedData.d.ts +1 -1
- package/dist/utils/bonus/getAvailableFreebets.d.ts +1 -1
- package/dist/utils/bonus/getBonuses.d.ts +1 -1
- package/dist/utils/calcMinOdds.d.ts +1 -1
- package/dist/utils/cashout/createCashout.d.ts +1 -1
- package/dist/utils/cashout/getCalculatedCashout.d.ts +1 -1
- package/dist/utils/cashout/getCashout.d.ts +1 -1
- package/dist/utils/cashout/getCashoutTypedData.d.ts +1 -1
- package/dist/utils/cashout/getPrecalculatedCashouts.d.ts +1 -1
- package/dist/utils/feed/getConditionsByGameIds.d.ts +1 -1
- package/dist/utils/feed/getConditionsState.d.ts +1 -1
- package/dist/utils/feed/getGamesByFilters.d.ts +1 -1
- package/dist/utils/feed/getGamesByIds.d.ts +1 -1
- package/dist/utils/feed/getNavigation.d.ts +1 -1
- package/dist/utils/feed/getSports.d.ts +1 -1
- package/dist/utils/feed/searchGames.d.ts +1 -1
- package/dist/utils/getIsPendingResolution.d.ts +1 -1
- package/dist/utils/groupConditionsByMarket.d.ts +1 -1
- package/package.json +11 -12
- package/dist/docs/feed/condition.d.ts +0 -33
- package/dist/docs/feed/conditions.d.ts +0 -36
- package/dist/docs/feed/conditionsBatch.d.ts +0 -19
- package/dist/docs/feed/fragments/condition.d.ts +0 -27
- package/dist/docs/feed/fragments/gameInfo.d.ts +0 -40
- package/dist/docs/feed/game.d.ts +0 -46
- package/dist/docs/feed/games.d.ts +0 -50
- package/dist/docs/feed/navigation.d.ts +0 -45
- package/dist/docs/feed/sports.d.ts +0 -72
- package/dist/docs/feed/sportsNavigation.d.ts +0 -23
- package/dist/docs/feed/types.d.ts +0 -2415
- package/dist/helpers/gqlRequest.d.ts +0 -8
|
@@ -12,7 +12,7 @@ export type GetCashoutTypedDataParams = {
|
|
|
12
12
|
* Generates EIP-712 typed data for signing a cashout order.
|
|
13
13
|
* This typed data must be signed by the user before submitting the cashout.
|
|
14
14
|
*
|
|
15
|
-
* - Docs: https://
|
|
15
|
+
* - Docs: https://gem.azuro.org/hub/apps/toolkit/utils/cashout/getCashoutTypedData
|
|
16
16
|
*
|
|
17
17
|
* @example
|
|
18
18
|
* import { getCashoutTypedData } from '@azuro-org/toolkit'
|
|
@@ -22,7 +22,7 @@ export type GetPrecalculatedCashoutsParams = {
|
|
|
22
22
|
* Retrieves precalculated cashout availability and prices for specified conditions.
|
|
23
23
|
* Returns margin information and outcome prices for each available condition.
|
|
24
24
|
*
|
|
25
|
-
* - Docs: https://
|
|
25
|
+
* - Docs: https://gem.azuro.org/hub/apps/toolkit/utils/cashout/getPrecalculatedCashouts
|
|
26
26
|
*
|
|
27
27
|
* @example
|
|
28
28
|
* import { getPrecalculatedCashouts } from '@azuro-org/toolkit'
|
|
@@ -34,7 +34,7 @@ export type GetConditionsByGameIdsResponseResult = GetConditionsByGameIdsRespons
|
|
|
34
34
|
* Fetches detailed conditions data for a given list of game IDs.
|
|
35
35
|
* Returns comprehensive condition information including outcomes, odds, and game relationships.
|
|
36
36
|
*
|
|
37
|
-
* - Docs: https://
|
|
37
|
+
* - Docs: https://gem.azuro.org/hub/apps/toolkit/feed/getConditionsByGameIds
|
|
38
38
|
*
|
|
39
39
|
* @example
|
|
40
40
|
* import { getConditionsByGameIds } from '@azuro-org/toolkit'
|
|
@@ -20,7 +20,7 @@ export type GetConditionsStateResult = ConditionsStateResponse['conditions'];
|
|
|
20
20
|
/**
|
|
21
21
|
* Fetches up-to-date condition states and outcome odds for a list of conditions.
|
|
22
22
|
*
|
|
23
|
-
* - Docs: https://
|
|
23
|
+
* - Docs: https://gem.azuro.org/hub/apps/toolkit/feed/getConditionsState
|
|
24
24
|
*
|
|
25
25
|
* @example
|
|
26
26
|
* import { getConditionsState } from '@azuro-org/toolkit'
|
|
@@ -20,7 +20,7 @@ export type GetGamesByFiltersResult = PaginatedGamesResponse;
|
|
|
20
20
|
* Fetches games by applying various filters such as sport, league, or game state.
|
|
21
21
|
* Returns paginated results ideal for building sport/country/league listing pages.
|
|
22
22
|
*
|
|
23
|
-
* - Docs: https://
|
|
23
|
+
* - Docs: https://gem.azuro.org/hub/apps/toolkit/feed/getGamesByFilters
|
|
24
24
|
*
|
|
25
25
|
* @example
|
|
26
26
|
* import { GameState, getGamesByFilters } from '@azuro-org/toolkit'
|
|
@@ -12,7 +12,7 @@ export type GetGamesByIdsResult = GetGamesByIdsResponse['games'];
|
|
|
12
12
|
* Fetches game data for a specific list of game IDs.
|
|
13
13
|
* Returns detailed information for each requested game including participants, timing, and league data.
|
|
14
14
|
*
|
|
15
|
-
* - Docs: https://
|
|
15
|
+
* - Docs: https://gem.azuro.org/hub/apps/toolkit/feed/getGamesByIds
|
|
16
16
|
*
|
|
17
17
|
* @example
|
|
18
18
|
* import { getGamesByIds } from '@azuro-org/toolkit'
|
|
@@ -47,7 +47,7 @@ export type GetNavigationResult = NavigationSportData[];
|
|
|
47
47
|
* Fetches navigation structure with sports, countries, and leagues hierarchy.
|
|
48
48
|
* Returns active game counts at each level for building navigation menus.
|
|
49
49
|
*
|
|
50
|
-
* - Docs: https://
|
|
50
|
+
* - Docs: https://gem.azuro.org/hub/apps/toolkit/feed/getNavigation
|
|
51
51
|
*
|
|
52
52
|
* @example
|
|
53
53
|
* import { getNavigation } from '@azuro-org/toolkit'
|
|
@@ -39,7 +39,7 @@ export type GetSportsResult = GetSportsResponse['sports'];
|
|
|
39
39
|
* Fetches a complete sports hierarchy including countries, leagues, and games.
|
|
40
40
|
* Returns nested structure with all games organized by sport, country, and league.
|
|
41
41
|
*
|
|
42
|
-
* - Docs: https://
|
|
42
|
+
* - Docs: https://gem.azuro.org/hub/apps/toolkit/feed/getSports
|
|
43
43
|
*
|
|
44
44
|
* @example
|
|
45
45
|
* import { GameState, getSports } from '@azuro-org/toolkit'
|
|
@@ -14,7 +14,7 @@ export type SearchGamesResult = PaginatedGamesResponse;
|
|
|
14
14
|
* Searches for games by text query across game titles, leagues, and countries.
|
|
15
15
|
* The minimum query length is 3 characters. Returns paginated results.
|
|
16
16
|
*
|
|
17
|
-
* - Docs: https://
|
|
17
|
+
* - Docs: https://gem.azuro.org/hub/apps/toolkit/feed/searchGames
|
|
18
18
|
*
|
|
19
19
|
* @example
|
|
20
20
|
* import { searchGames } from '@azuro-org/toolkit'
|
|
@@ -7,7 +7,7 @@ export type GetIsPendingResolutionParams = {
|
|
|
7
7
|
* Determines if a game is pending resolution after completion.
|
|
8
8
|
* Returns true if the game is in Live state but has exceeded the expected resolution window (100 minutes after start).
|
|
9
9
|
*
|
|
10
|
-
* - Docs: https://
|
|
10
|
+
* - Docs: https://gem.azuro.org/hub/apps/toolkit/utils/getIsPendingResolution
|
|
11
11
|
*
|
|
12
12
|
* @example
|
|
13
13
|
* import { getIsPendingResolution, GameState } from '@azuro-org/toolkit'
|
|
@@ -26,7 +26,7 @@ export type GameMarkets = Market[];
|
|
|
26
26
|
* Groups game conditions by their market types and sorts them according to sport-specific ordering.
|
|
27
27
|
* It processes outcomes to include selection names, handles duplicate conditions, and organizes data for display.
|
|
28
28
|
*
|
|
29
|
-
* - Docs: https://
|
|
29
|
+
* - Docs: https://gem.azuro.org/hub/apps/toolkit/utils/groupConditionsByMarket
|
|
30
30
|
*
|
|
31
31
|
* @example
|
|
32
32
|
* import { groupConditionsByMarket } from '@azuro-org/toolkit'
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@azuro-org/toolkit",
|
|
3
|
-
"version": "6.0.
|
|
3
|
+
"version": "6.0.1",
|
|
4
4
|
"description": "This framework-agnostic package provides essential utilities for building applications on the Azuro Protocol.",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -41,30 +41,29 @@
|
|
|
41
41
|
"homepage": "https://github.com/Azuro-protocol/toolkit#readme",
|
|
42
42
|
"peerDependencies": {
|
|
43
43
|
"@azuro-org/dictionaries": "^3.0.28",
|
|
44
|
-
"@wagmi/core": "^2.20.3",
|
|
45
44
|
"graphql-tag": "^2.12.6",
|
|
46
45
|
"viem": "^2.37.4"
|
|
47
46
|
},
|
|
48
47
|
"devDependencies": {
|
|
49
48
|
"@babel/core": "^7.17.0",
|
|
50
49
|
"@graphql-codegen/cli": "^4.0.1",
|
|
51
|
-
"@graphql-codegen/near-operation-file-preset": "^
|
|
50
|
+
"@graphql-codegen/near-operation-file-preset": "^5.0.0",
|
|
52
51
|
"@graphql-codegen/typescript": "^4.1.2",
|
|
53
52
|
"@graphql-codegen/typescript-document-nodes": "^4.0.12",
|
|
54
53
|
"@graphql-codegen/typescript-operations": "^4.4.0",
|
|
55
54
|
"@rollup/plugin-commonjs": "^29.0.0",
|
|
56
|
-
"@rollup/plugin-json": "^
|
|
57
|
-
"@types/node": "^
|
|
58
|
-
"@typescript-eslint/eslint-plugin": "^8.
|
|
55
|
+
"@rollup/plugin-json": "^6.1.0",
|
|
56
|
+
"@types/node": "^22.13.14",
|
|
57
|
+
"@typescript-eslint/eslint-plugin": "^8.57.0",
|
|
59
58
|
"builtin-modules": "^3.3.0",
|
|
60
|
-
"eslint": "9.39.
|
|
61
|
-
"eslint-import-resolver-typescript": "^
|
|
62
|
-
"eslint-plugin-import": "^
|
|
59
|
+
"eslint": "9.39.4",
|
|
60
|
+
"eslint-import-resolver-typescript": "^4.4.4",
|
|
61
|
+
"eslint-plugin-import": "^2.32.0",
|
|
63
62
|
"minimist": "^1.2.8",
|
|
64
63
|
"rimraf": "^6.1.3",
|
|
65
|
-
"rollup": "^
|
|
66
|
-
"rollup-plugin-typescript2": "^0.
|
|
67
|
-
"tslib": "^2.
|
|
64
|
+
"rollup": "^4.59.0",
|
|
65
|
+
"rollup-plugin-typescript2": "^0.36.0",
|
|
66
|
+
"tslib": "^2.8.1",
|
|
68
67
|
"typescript": "^5.8.3"
|
|
69
68
|
}
|
|
70
69
|
}
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import * as Types from './types';
|
|
2
|
-
export type ConditionQueryVariables = Types.Exact<{
|
|
3
|
-
id: Types.Scalars['ID']['input'];
|
|
4
|
-
}>;
|
|
5
|
-
export type ConditionQuery = {
|
|
6
|
-
__typename?: 'Query';
|
|
7
|
-
condition?: {
|
|
8
|
-
__typename?: 'Condition';
|
|
9
|
-
id: string;
|
|
10
|
-
conditionId: string;
|
|
11
|
-
state: Types.ConditionState;
|
|
12
|
-
title?: string | null;
|
|
13
|
-
isExpressForbidden: boolean;
|
|
14
|
-
isPrematchEnabled: boolean;
|
|
15
|
-
isLiveEnabled: boolean;
|
|
16
|
-
margin: string;
|
|
17
|
-
outcomes: Array<{
|
|
18
|
-
__typename?: 'Outcome';
|
|
19
|
-
title?: string | null;
|
|
20
|
-
outcomeId: string;
|
|
21
|
-
odds: string;
|
|
22
|
-
}>;
|
|
23
|
-
game: {
|
|
24
|
-
__typename?: 'Game';
|
|
25
|
-
gameId: string;
|
|
26
|
-
sport: {
|
|
27
|
-
__typename?: 'Sport';
|
|
28
|
-
sportId: string;
|
|
29
|
-
};
|
|
30
|
-
};
|
|
31
|
-
} | null;
|
|
32
|
-
};
|
|
33
|
-
export declare const ConditionDocument: import("graphql").DocumentNode;
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import * as Types from './types';
|
|
2
|
-
export type ConditionsQueryVariables = Types.Exact<{
|
|
3
|
-
where: Types.Condition_Filter;
|
|
4
|
-
orderBy?: Types.InputMaybe<Types.Condition_OrderBy>;
|
|
5
|
-
orderDirection?: Types.InputMaybe<Types.OrderDirection>;
|
|
6
|
-
}>;
|
|
7
|
-
export type ConditionsQuery = {
|
|
8
|
-
__typename?: 'Query';
|
|
9
|
-
conditions: Array<{
|
|
10
|
-
__typename?: 'Condition';
|
|
11
|
-
wonOutcomeIds?: Array<string> | null;
|
|
12
|
-
id: string;
|
|
13
|
-
conditionId: string;
|
|
14
|
-
state: Types.ConditionState;
|
|
15
|
-
title?: string | null;
|
|
16
|
-
isExpressForbidden: boolean;
|
|
17
|
-
isPrematchEnabled: boolean;
|
|
18
|
-
isLiveEnabled: boolean;
|
|
19
|
-
margin: string;
|
|
20
|
-
outcomes: Array<{
|
|
21
|
-
__typename?: 'Outcome';
|
|
22
|
-
title?: string | null;
|
|
23
|
-
outcomeId: string;
|
|
24
|
-
odds: string;
|
|
25
|
-
}>;
|
|
26
|
-
game: {
|
|
27
|
-
__typename?: 'Game';
|
|
28
|
-
gameId: string;
|
|
29
|
-
sport: {
|
|
30
|
-
__typename?: 'Sport';
|
|
31
|
-
sportId: string;
|
|
32
|
-
};
|
|
33
|
-
};
|
|
34
|
-
}>;
|
|
35
|
-
};
|
|
36
|
-
export declare const ConditionsDocument: import("graphql").DocumentNode;
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import * as Types from './types';
|
|
2
|
-
export type ConditionsBatchQueryVariables = Types.Exact<{
|
|
3
|
-
conditionFilter?: Types.InputMaybe<Types.Condition_Filter>;
|
|
4
|
-
}>;
|
|
5
|
-
export type ConditionsBatchQuery = {
|
|
6
|
-
__typename?: 'Query';
|
|
7
|
-
conditions: Array<{
|
|
8
|
-
__typename?: 'Condition';
|
|
9
|
-
state: Types.ConditionState;
|
|
10
|
-
conditionId: string;
|
|
11
|
-
outcomes: Array<{
|
|
12
|
-
__typename?: 'Outcome';
|
|
13
|
-
id: string;
|
|
14
|
-
outcomeId: string;
|
|
15
|
-
odds: string;
|
|
16
|
-
}>;
|
|
17
|
-
}>;
|
|
18
|
-
};
|
|
19
|
-
export declare const ConditionsBatchDocument: import("graphql").DocumentNode;
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import * as Types from '../types';
|
|
2
|
-
export type ConditionFragment = {
|
|
3
|
-
__typename?: 'Condition';
|
|
4
|
-
id: string;
|
|
5
|
-
conditionId: string;
|
|
6
|
-
state: Types.ConditionState;
|
|
7
|
-
title?: string | null;
|
|
8
|
-
isExpressForbidden: boolean;
|
|
9
|
-
isPrematchEnabled: boolean;
|
|
10
|
-
isLiveEnabled: boolean;
|
|
11
|
-
margin: string;
|
|
12
|
-
outcomes: Array<{
|
|
13
|
-
__typename?: 'Outcome';
|
|
14
|
-
title?: string | null;
|
|
15
|
-
outcomeId: string;
|
|
16
|
-
odds: string;
|
|
17
|
-
}>;
|
|
18
|
-
game: {
|
|
19
|
-
__typename?: 'Game';
|
|
20
|
-
gameId: string;
|
|
21
|
-
sport: {
|
|
22
|
-
__typename?: 'Sport';
|
|
23
|
-
sportId: string;
|
|
24
|
-
};
|
|
25
|
-
};
|
|
26
|
-
};
|
|
27
|
-
export declare const ConditionFragmentDoc: import("graphql").DocumentNode;
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
import * as Types from '../types';
|
|
2
|
-
export type GameInfoFragment = {
|
|
3
|
-
__typename?: 'Game';
|
|
4
|
-
id: string;
|
|
5
|
-
gameId: string;
|
|
6
|
-
slug: string;
|
|
7
|
-
title: string;
|
|
8
|
-
startsAt: string;
|
|
9
|
-
state: Types.GameState;
|
|
10
|
-
turnover: string;
|
|
11
|
-
sport: {
|
|
12
|
-
__typename?: 'Sport';
|
|
13
|
-
sportId: string;
|
|
14
|
-
slug: string;
|
|
15
|
-
name: string;
|
|
16
|
-
sporthub: {
|
|
17
|
-
__typename?: 'SportHub';
|
|
18
|
-
id: string;
|
|
19
|
-
slug: string;
|
|
20
|
-
};
|
|
21
|
-
};
|
|
22
|
-
league: {
|
|
23
|
-
__typename?: 'League';
|
|
24
|
-
id: string;
|
|
25
|
-
slug: string;
|
|
26
|
-
name: string;
|
|
27
|
-
};
|
|
28
|
-
country: {
|
|
29
|
-
__typename?: 'Country';
|
|
30
|
-
id: string;
|
|
31
|
-
slug: string;
|
|
32
|
-
name: string;
|
|
33
|
-
};
|
|
34
|
-
participants: Array<{
|
|
35
|
-
__typename?: 'Participant';
|
|
36
|
-
image?: string | null;
|
|
37
|
-
name: string;
|
|
38
|
-
}>;
|
|
39
|
-
};
|
|
40
|
-
export declare const GameInfoFragmentDoc: import("graphql").DocumentNode;
|
package/dist/docs/feed/game.d.ts
DELETED
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
import * as Types from './types';
|
|
2
|
-
export type GameQueryVariables = Types.Exact<{
|
|
3
|
-
id: Types.Scalars['ID']['input'];
|
|
4
|
-
}>;
|
|
5
|
-
export type GameQuery = {
|
|
6
|
-
__typename?: 'Query';
|
|
7
|
-
game?: {
|
|
8
|
-
__typename?: 'Game';
|
|
9
|
-
id: string;
|
|
10
|
-
gameId: string;
|
|
11
|
-
slug: string;
|
|
12
|
-
title: string;
|
|
13
|
-
startsAt: string;
|
|
14
|
-
state: Types.GameState;
|
|
15
|
-
turnover: string;
|
|
16
|
-
sport: {
|
|
17
|
-
__typename?: 'Sport';
|
|
18
|
-
sportId: string;
|
|
19
|
-
slug: string;
|
|
20
|
-
name: string;
|
|
21
|
-
sporthub: {
|
|
22
|
-
__typename?: 'SportHub';
|
|
23
|
-
id: string;
|
|
24
|
-
slug: string;
|
|
25
|
-
};
|
|
26
|
-
};
|
|
27
|
-
league: {
|
|
28
|
-
__typename?: 'League';
|
|
29
|
-
id: string;
|
|
30
|
-
slug: string;
|
|
31
|
-
name: string;
|
|
32
|
-
};
|
|
33
|
-
country: {
|
|
34
|
-
__typename?: 'Country';
|
|
35
|
-
id: string;
|
|
36
|
-
slug: string;
|
|
37
|
-
name: string;
|
|
38
|
-
};
|
|
39
|
-
participants: Array<{
|
|
40
|
-
__typename?: 'Participant';
|
|
41
|
-
image?: string | null;
|
|
42
|
-
name: string;
|
|
43
|
-
}>;
|
|
44
|
-
} | null;
|
|
45
|
-
};
|
|
46
|
-
export declare const GameDocument: import("graphql").DocumentNode;
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
import * as Types from './types';
|
|
2
|
-
export type GamesQueryVariables = Types.Exact<{
|
|
3
|
-
first?: Types.InputMaybe<Types.Scalars['Int']['input']>;
|
|
4
|
-
skip?: Types.InputMaybe<Types.Scalars['Int']['input']>;
|
|
5
|
-
where: Types.Game_Filter;
|
|
6
|
-
orderBy?: Types.InputMaybe<Types.Game_OrderBy>;
|
|
7
|
-
orderDirection?: Types.InputMaybe<Types.OrderDirection>;
|
|
8
|
-
}>;
|
|
9
|
-
export type GamesQuery = {
|
|
10
|
-
__typename?: 'Query';
|
|
11
|
-
games: Array<{
|
|
12
|
-
__typename?: 'Game';
|
|
13
|
-
id: string;
|
|
14
|
-
gameId: string;
|
|
15
|
-
slug: string;
|
|
16
|
-
title: string;
|
|
17
|
-
startsAt: string;
|
|
18
|
-
state: Types.GameState;
|
|
19
|
-
turnover: string;
|
|
20
|
-
sport: {
|
|
21
|
-
__typename?: 'Sport';
|
|
22
|
-
sportId: string;
|
|
23
|
-
slug: string;
|
|
24
|
-
name: string;
|
|
25
|
-
sporthub: {
|
|
26
|
-
__typename?: 'SportHub';
|
|
27
|
-
id: string;
|
|
28
|
-
slug: string;
|
|
29
|
-
};
|
|
30
|
-
};
|
|
31
|
-
league: {
|
|
32
|
-
__typename?: 'League';
|
|
33
|
-
id: string;
|
|
34
|
-
slug: string;
|
|
35
|
-
name: string;
|
|
36
|
-
};
|
|
37
|
-
country: {
|
|
38
|
-
__typename?: 'Country';
|
|
39
|
-
id: string;
|
|
40
|
-
slug: string;
|
|
41
|
-
name: string;
|
|
42
|
-
};
|
|
43
|
-
participants: Array<{
|
|
44
|
-
__typename?: 'Participant';
|
|
45
|
-
image?: string | null;
|
|
46
|
-
name: string;
|
|
47
|
-
}>;
|
|
48
|
-
}>;
|
|
49
|
-
};
|
|
50
|
-
export declare const GamesDocument: import("graphql").DocumentNode;
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
import * as Types from './types';
|
|
2
|
-
export type NavigationQueryVariables = Types.Exact<{
|
|
3
|
-
sportFilter?: Types.InputMaybe<Types.Sport_Filter>;
|
|
4
|
-
countryFilter?: Types.InputMaybe<Types.Country_Filter>;
|
|
5
|
-
leagueFilter?: Types.InputMaybe<Types.League_Filter>;
|
|
6
|
-
}>;
|
|
7
|
-
export type NavigationQuery = {
|
|
8
|
-
__typename?: 'Query';
|
|
9
|
-
sports: Array<{
|
|
10
|
-
__typename?: 'Sport';
|
|
11
|
-
id: string;
|
|
12
|
-
slug: string;
|
|
13
|
-
name: string;
|
|
14
|
-
sportId: string;
|
|
15
|
-
activeGamesCount: number;
|
|
16
|
-
activeLiveGamesCount: number;
|
|
17
|
-
activePrematchGamesCount: number;
|
|
18
|
-
sporthub: {
|
|
19
|
-
__typename?: 'SportHub';
|
|
20
|
-
id: string;
|
|
21
|
-
slug: string;
|
|
22
|
-
};
|
|
23
|
-
countries: Array<{
|
|
24
|
-
__typename?: 'Country';
|
|
25
|
-
id: string;
|
|
26
|
-
slug: string;
|
|
27
|
-
name: string;
|
|
28
|
-
turnover: string;
|
|
29
|
-
activeGamesCount: number;
|
|
30
|
-
activeLiveGamesCount: number;
|
|
31
|
-
activePrematchGamesCount: number;
|
|
32
|
-
leagues: Array<{
|
|
33
|
-
__typename?: 'League';
|
|
34
|
-
id: string;
|
|
35
|
-
slug: string;
|
|
36
|
-
name: string;
|
|
37
|
-
turnover: string;
|
|
38
|
-
activeGamesCount: number;
|
|
39
|
-
activeLiveGamesCount: number;
|
|
40
|
-
activePrematchGamesCount: number;
|
|
41
|
-
}>;
|
|
42
|
-
}>;
|
|
43
|
-
}>;
|
|
44
|
-
};
|
|
45
|
-
export declare const NavigationDocument: import("graphql").DocumentNode;
|
|
@@ -1,72 +0,0 @@
|
|
|
1
|
-
import * as Types from './types';
|
|
2
|
-
export type SportsQueryVariables = Types.Exact<{
|
|
3
|
-
first?: Types.InputMaybe<Types.Scalars['Int']['input']>;
|
|
4
|
-
sportFilter?: Types.InputMaybe<Types.Sport_Filter>;
|
|
5
|
-
countryFilter?: Types.InputMaybe<Types.Country_Filter>;
|
|
6
|
-
leagueFilter?: Types.InputMaybe<Types.League_Filter>;
|
|
7
|
-
gameFilter?: Types.InputMaybe<Types.Game_Filter>;
|
|
8
|
-
gameOrderBy?: Types.InputMaybe<Types.Game_OrderBy>;
|
|
9
|
-
gameOrderDirection?: Types.InputMaybe<Types.OrderDirection>;
|
|
10
|
-
}>;
|
|
11
|
-
export type SportsQuery = {
|
|
12
|
-
__typename?: 'Query';
|
|
13
|
-
sports: Array<{
|
|
14
|
-
__typename?: 'Sport';
|
|
15
|
-
id: string;
|
|
16
|
-
slug: string;
|
|
17
|
-
name: string;
|
|
18
|
-
sportId: string;
|
|
19
|
-
turnover: string;
|
|
20
|
-
countries: Array<{
|
|
21
|
-
__typename?: 'Country';
|
|
22
|
-
slug: string;
|
|
23
|
-
name: string;
|
|
24
|
-
turnover: string;
|
|
25
|
-
leagues: Array<{
|
|
26
|
-
__typename?: 'League';
|
|
27
|
-
slug: string;
|
|
28
|
-
name: string;
|
|
29
|
-
turnover: string;
|
|
30
|
-
games: Array<{
|
|
31
|
-
__typename?: 'Game';
|
|
32
|
-
id: string;
|
|
33
|
-
gameId: string;
|
|
34
|
-
slug: string;
|
|
35
|
-
title: string;
|
|
36
|
-
startsAt: string;
|
|
37
|
-
state: Types.GameState;
|
|
38
|
-
turnover: string;
|
|
39
|
-
sport: {
|
|
40
|
-
__typename?: 'Sport';
|
|
41
|
-
sportId: string;
|
|
42
|
-
slug: string;
|
|
43
|
-
name: string;
|
|
44
|
-
sporthub: {
|
|
45
|
-
__typename?: 'SportHub';
|
|
46
|
-
id: string;
|
|
47
|
-
slug: string;
|
|
48
|
-
};
|
|
49
|
-
};
|
|
50
|
-
league: {
|
|
51
|
-
__typename?: 'League';
|
|
52
|
-
id: string;
|
|
53
|
-
slug: string;
|
|
54
|
-
name: string;
|
|
55
|
-
};
|
|
56
|
-
country: {
|
|
57
|
-
__typename?: 'Country';
|
|
58
|
-
id: string;
|
|
59
|
-
slug: string;
|
|
60
|
-
name: string;
|
|
61
|
-
};
|
|
62
|
-
participants: Array<{
|
|
63
|
-
__typename?: 'Participant';
|
|
64
|
-
image?: string | null;
|
|
65
|
-
name: string;
|
|
66
|
-
}>;
|
|
67
|
-
}>;
|
|
68
|
-
}>;
|
|
69
|
-
}>;
|
|
70
|
-
}>;
|
|
71
|
-
};
|
|
72
|
-
export declare const SportsDocument: import("graphql").DocumentNode;
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import * as Types from './types';
|
|
2
|
-
export type SportsNavigationQueryVariables = Types.Exact<{
|
|
3
|
-
sportFilter?: Types.InputMaybe<Types.Sport_Filter>;
|
|
4
|
-
}>;
|
|
5
|
-
export type SportsNavigationQuery = {
|
|
6
|
-
__typename?: 'Query';
|
|
7
|
-
sports: Array<{
|
|
8
|
-
__typename?: 'Sport';
|
|
9
|
-
id: string;
|
|
10
|
-
slug: string;
|
|
11
|
-
name: string;
|
|
12
|
-
sportId: string;
|
|
13
|
-
activeGamesCount: number;
|
|
14
|
-
activeLiveGamesCount: number;
|
|
15
|
-
activePrematchGamesCount: number;
|
|
16
|
-
sporthub: {
|
|
17
|
-
__typename?: 'SportHub';
|
|
18
|
-
id: string;
|
|
19
|
-
slug: string;
|
|
20
|
-
};
|
|
21
|
-
}>;
|
|
22
|
-
};
|
|
23
|
-
export declare const SportsNavigationDocument: import("graphql").DocumentNode;
|