Skip to content

Commit ae3ac24

Browse files
committed
v4.3.0
1 parent 1188d98 commit ae3ac24

File tree

5 files changed

+22
-10
lines changed

5 files changed

+22
-10
lines changed

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@azuro-org/toolkit",
3-
"version": "4.2.2",
3+
"version": "4.3.0",
44
"description": "Set of helpers to work with Azuro protocol",
55
"main": "dist/index.js",
66
"types": "dist/index.d.ts",

src/docs/prematch/navigation.graphql

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,26 @@
11
query Navigation(
22
$first: Int,
3-
$where: Game_filter
3+
$sportFilter: Sport_filter,
4+
$gameFilter: Game_filter,
45
$withGameCount: Boolean!,
56
) {
6-
sports(subgraphError: allow) {
7+
sports(
8+
where: $sportFilter,
9+
subgraphError: allow
10+
) {
711
id
812
slug
913
name
14+
sportId
1015
countries(where: { hasActiveLeagues: true }) {
1116
id
1217
slug
1318
name
14-
leagues(where: { games_: $where }) {
19+
leagues(where: { games_: $gameFilter }) {
1520
id
1621
slug
1722
name
18-
games(first: $first, where: $where) @include(if: $withGameCount) {
23+
games(first: $first, where: $gameFilter) @include(if: $withGameCount) {
1924
id
2025
}
2126
}

src/docs/prematch/sports.graphql

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,10 @@ query Sports(
1111
where: $sportFilter,
1212
subgraphError: allow
1313
) {
14+
id
1415
slug
1516
name
17+
sportId
1618
countries(
1719
where: $countryFilter,
1820
orderBy: turnover,

src/docs/prematch/sportsNavigation.graphql

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,18 @@
11
query SportsNavigation(
22
$first: Int,
3-
$where: Game_filter
3+
$sportFilter: Sport_filter,
4+
$gameFilter: Game_filter,
45
$withGameCount: Boolean!,
56
) {
6-
sports(subgraphError: allow) {
7+
sports(
8+
where: $sportFilter,
9+
subgraphError: allow
10+
) {
711
id
812
slug
913
name
10-
games(first: $first, where: $where) @include(if: $withGameCount) {
14+
sportId
15+
games(first: $first, where: $gameFilter) @include(if: $withGameCount) {
1116
id
1217
}
1318
}

0 commit comments

Comments
 (0)