@azuro-org/toolkit 4.2.2 → 4.3.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.
|
@@ -2,7 +2,8 @@ import * as Types from './types';
|
|
|
2
2
|
import * as Apollo from '@apollo/client';
|
|
3
3
|
export type NavigationQueryVariables = Types.Exact<{
|
|
4
4
|
first?: Types.InputMaybe<Types.Scalars['Int']['input']>;
|
|
5
|
-
|
|
5
|
+
sportFilter?: Types.InputMaybe<Types.Sport_Filter>;
|
|
6
|
+
gameFilter?: Types.InputMaybe<Types.Game_Filter>;
|
|
6
7
|
withGameCount: Types.Scalars['Boolean']['input'];
|
|
7
8
|
}>;
|
|
8
9
|
export type NavigationQuery = {
|
|
@@ -12,6 +13,7 @@ export type NavigationQuery = {
|
|
|
12
13
|
id: string;
|
|
13
14
|
slug: string;
|
|
14
15
|
name: string;
|
|
16
|
+
sportId: string;
|
|
15
17
|
countries: Array<{
|
|
16
18
|
__typename?: 'Country';
|
|
17
19
|
id: string;
|
|
@@ -2,7 +2,8 @@ import * as Types from './types';
|
|
|
2
2
|
import * as Apollo from '@apollo/client';
|
|
3
3
|
export type SportsNavigationQueryVariables = Types.Exact<{
|
|
4
4
|
first?: Types.InputMaybe<Types.Scalars['Int']['input']>;
|
|
5
|
-
|
|
5
|
+
sportFilter?: Types.InputMaybe<Types.Sport_Filter>;
|
|
6
|
+
gameFilter?: Types.InputMaybe<Types.Game_Filter>;
|
|
6
7
|
withGameCount: Types.Scalars['Boolean']['input'];
|
|
7
8
|
}>;
|
|
8
9
|
export type SportsNavigationQuery = {
|
|
@@ -12,6 +13,7 @@ export type SportsNavigationQuery = {
|
|
|
12
13
|
id: string;
|
|
13
14
|
slug: string;
|
|
14
15
|
name: string;
|
|
16
|
+
sportId: string;
|
|
15
17
|
games?: Array<{
|
|
16
18
|
__typename?: 'Game';
|
|
17
19
|
id: string;
|
package/dist/index.js
CHANGED
|
@@ -4379,20 +4379,21 @@ const chainsDataByEnv = {
|
|
|
4379
4379
|
}
|
|
4380
4380
|
}
|
|
4381
4381
|
${LiveBetFragmentDoc}`;const NavigationDocument = gql `
|
|
4382
|
-
query Navigation($first: Int, $
|
|
4383
|
-
sports(subgraphError: allow) {
|
|
4382
|
+
query Navigation($first: Int, $sportFilter: Sport_filter, $gameFilter: Game_filter, $withGameCount: Boolean!) {
|
|
4383
|
+
sports(where: $sportFilter, subgraphError: allow) {
|
|
4384
4384
|
id
|
|
4385
4385
|
slug
|
|
4386
4386
|
name
|
|
4387
|
+
sportId
|
|
4387
4388
|
countries(where: {hasActiveLeagues: true}) {
|
|
4388
4389
|
id
|
|
4389
4390
|
slug
|
|
4390
4391
|
name
|
|
4391
|
-
leagues(where: {games_: $
|
|
4392
|
+
leagues(where: {games_: $gameFilter}) {
|
|
4392
4393
|
id
|
|
4393
4394
|
slug
|
|
4394
4395
|
name
|
|
4395
|
-
games(first: $first, where: $
|
|
4396
|
+
games(first: $first, where: $gameFilter) @include(if: $withGameCount) {
|
|
4396
4397
|
id
|
|
4397
4398
|
}
|
|
4398
4399
|
}
|
|
@@ -4415,8 +4416,10 @@ const chainsDataByEnv = {
|
|
|
4415
4416
|
${PrematchBetFragmentDoc}`;const SportsDocument = gql `
|
|
4416
4417
|
query Sports($first: Int, $sportFilter: Sport_filter, $countryFilter: Country_filter, $leagueFilter: League_filter, $gameFilter: Game_filter, $gameOrderBy: Game_orderBy, $gameOrderDirection: OrderDirection) {
|
|
4417
4418
|
sports(where: $sportFilter, subgraphError: allow) {
|
|
4419
|
+
id
|
|
4418
4420
|
slug
|
|
4419
4421
|
name
|
|
4422
|
+
sportId
|
|
4420
4423
|
countries(where: $countryFilter, orderBy: turnover, orderDirection: desc) {
|
|
4421
4424
|
slug
|
|
4422
4425
|
name
|
|
@@ -4439,12 +4442,13 @@ const chainsDataByEnv = {
|
|
|
4439
4442
|
}
|
|
4440
4443
|
}
|
|
4441
4444
|
${MainGameInfoFragmentDoc}`;const SportsNavigationDocument = gql `
|
|
4442
|
-
query SportsNavigation($first: Int, $
|
|
4443
|
-
sports(subgraphError: allow) {
|
|
4445
|
+
query SportsNavigation($first: Int, $sportFilter: Sport_filter, $gameFilter: Game_filter, $withGameCount: Boolean!) {
|
|
4446
|
+
sports(where: $sportFilter, subgraphError: allow) {
|
|
4444
4447
|
id
|
|
4445
4448
|
slug
|
|
4446
4449
|
name
|
|
4447
|
-
|
|
4450
|
+
sportId
|
|
4451
|
+
games(first: $first, where: $gameFilter) @include(if: $withGameCount) {
|
|
4448
4452
|
id
|
|
4449
4453
|
}
|
|
4450
4454
|
}
|