@azuro-org/toolkit 5.0.0-beta.5 → 5.0.0-beta.7

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.
@@ -3,6 +3,7 @@ export type GameInfoFragment = {
3
3
  __typename?: 'Game';
4
4
  id: string;
5
5
  gameId: string;
6
+ slug: string;
6
7
  title: string;
7
8
  startsAt: string;
8
9
  state: Types.GameState;
@@ -12,6 +13,11 @@ export type GameInfoFragment = {
12
13
  sportId: string;
13
14
  slug: string;
14
15
  name: string;
16
+ sporthub: {
17
+ __typename?: 'SportHub';
18
+ id: string;
19
+ slug: string;
20
+ };
15
21
  };
16
22
  league: {
17
23
  __typename?: 'League';
@@ -8,6 +8,7 @@ export type GameQuery = {
8
8
  __typename?: 'Game';
9
9
  id: string;
10
10
  gameId: string;
11
+ slug: string;
11
12
  title: string;
12
13
  startsAt: string;
13
14
  state: Types.GameState;
@@ -17,6 +18,11 @@ export type GameQuery = {
17
18
  sportId: string;
18
19
  slug: string;
19
20
  name: string;
21
+ sporthub: {
22
+ __typename?: 'SportHub';
23
+ id: string;
24
+ slug: string;
25
+ };
20
26
  };
21
27
  league: {
22
28
  __typename?: 'League';
@@ -12,6 +12,7 @@ export type GamesQuery = {
12
12
  __typename?: 'Game';
13
13
  id: string;
14
14
  gameId: string;
15
+ slug: string;
15
16
  title: string;
16
17
  startsAt: string;
17
18
  state: Types.GameState;
@@ -21,6 +22,11 @@ export type GamesQuery = {
21
22
  sportId: string;
22
23
  slug: string;
23
24
  name: string;
25
+ sporthub: {
26
+ __typename?: 'SportHub';
27
+ id: string;
28
+ slug: string;
29
+ };
24
30
  };
25
31
  league: {
26
32
  __typename?: 'League';
@@ -16,6 +16,11 @@ export type NavigationQuery = {
16
16
  activeGamesCount: number;
17
17
  activeLiveGamesCount: number;
18
18
  activePrematchGamesCount: number;
19
+ sporthub: {
20
+ __typename?: 'SportHub';
21
+ id: string;
22
+ slug: string;
23
+ };
19
24
  countries: Array<{
20
25
  __typename?: 'Country';
21
26
  id: string;
@@ -31,6 +31,7 @@ export type SportsQuery = {
31
31
  __typename?: 'Game';
32
32
  id: string;
33
33
  gameId: string;
34
+ slug: string;
34
35
  title: string;
35
36
  startsAt: string;
36
37
  state: Types.GameState;
@@ -40,6 +41,11 @@ export type SportsQuery = {
40
41
  sportId: string;
41
42
  slug: string;
42
43
  name: string;
44
+ sporthub: {
45
+ __typename?: 'SportHub';
46
+ id: string;
47
+ slug: string;
48
+ };
43
49
  };
44
50
  league: {
45
51
  __typename?: 'League';
@@ -14,6 +14,11 @@ export type SportsNavigationQuery = {
14
14
  activeGamesCount: number;
15
15
  activeLiveGamesCount: number;
16
16
  activePrematchGamesCount: number;
17
+ sporthub: {
18
+ __typename?: 'SportHub';
19
+ id: string;
20
+ slug: string;
21
+ };
17
22
  }>;
18
23
  };
19
24
  export declare const SportsNavigationDocument: import("graphql/language/ast").DocumentNode;
@@ -12,6 +12,7 @@ export type LegacyLiveGamesQuery = {
12
12
  __typename?: 'Game';
13
13
  id: string;
14
14
  gameId: string;
15
+ slug?: string | null;
15
16
  title?: string | null;
16
17
  startsAt: string;
17
18
  status: Types.GameStatus;
@@ -20,6 +21,11 @@ export type LegacyLiveGamesQuery = {
20
21
  sportId: string;
21
22
  slug: string;
22
23
  name: string;
24
+ sporthub: {
25
+ __typename?: 'SportHub';
26
+ id: string;
27
+ slug: string;
28
+ };
23
29
  };
24
30
  league: {
25
31
  __typename?: 'League';
package/dist/index.js CHANGED
@@ -5130,6 +5130,7 @@ ${LegacyLiveBetFragmentDoc}`;const GameBetsDocument = gql `
5130
5130
  fragment GameInfo on Game {
5131
5131
  id
5132
5132
  gameId
5133
+ slug
5133
5134
  title
5134
5135
  startsAt
5135
5136
  state
@@ -5138,6 +5139,10 @@ ${LegacyLiveBetFragmentDoc}`;const GameBetsDocument = gql `
5138
5139
  sportId
5139
5140
  slug
5140
5141
  name
5142
+ sporthub {
5143
+ id
5144
+ slug
5145
+ }
5141
5146
  }
5142
5147
  league {
5143
5148
  slug
@@ -5209,6 +5214,10 @@ ${LegacyLiveBetFragmentDoc}`;const GameBetsDocument = gql `
5209
5214
  slug
5210
5215
  name
5211
5216
  sportId
5217
+ sporthub {
5218
+ id
5219
+ slug
5220
+ }
5212
5221
  activeGamesCount
5213
5222
  activeLiveGamesCount
5214
5223
  activePrematchGamesCount
@@ -5234,7 +5243,12 @@ ${LegacyLiveBetFragmentDoc}`;const GameBetsDocument = gql `
5234
5243
  }
5235
5244
  `;const SportsDocument = gql `
5236
5245
  query Sports($first: Int, $sportFilter: Sport_filter, $countryFilter: Country_filter, $leagueFilter: League_filter, $gameFilter: Game_filter, $gameOrderBy: Game_orderBy, $gameOrderDirection: OrderDirection) {
5237
- sports(where: $sportFilter, subgraphError: allow) {
5246
+ sports(
5247
+ where: $sportFilter
5248
+ orderBy: turnover
5249
+ orderDirection: desc
5250
+ subgraphError: allow
5251
+ ) {
5238
5252
  id
5239
5253
  slug
5240
5254
  name
@@ -5267,6 +5281,10 @@ ${LegacyLiveBetFragmentDoc}`;const GameBetsDocument = gql `
5267
5281
  slug
5268
5282
  name
5269
5283
  sportId
5284
+ sporthub {
5285
+ id
5286
+ slug
5287
+ }
5270
5288
  activeGamesCount
5271
5289
  activeLiveGamesCount
5272
5290
  activePrematchGamesCount
@@ -5284,6 +5302,7 @@ ${LegacyLiveBetFragmentDoc}`;const GameBetsDocument = gql `
5284
5302
  ) {
5285
5303
  id
5286
5304
  gameId
5305
+ slug
5287
5306
  title
5288
5307
  startsAt
5289
5308
  status
@@ -5291,6 +5310,10 @@ ${LegacyLiveBetFragmentDoc}`;const GameBetsDocument = gql `
5291
5310
  sportId
5292
5311
  slug
5293
5312
  name
5313
+ sporthub {
5314
+ id
5315
+ slug
5316
+ }
5294
5317
  }
5295
5318
  league {
5296
5319
  slug
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@azuro-org/toolkit",
3
- "version": "5.0.0-beta.5",
3
+ "version": "5.0.0-beta.7",
4
4
  "description": "Set of helpers to work with Azuro protocol",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",