diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index f4e3d457..8a345858 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -108,7 +108,7 @@ jobs: username: ${{ secrets.DOCKERHUB_USERNAME }} password: ${{ secrets.DOCKERHUB_TOKEN }} - id: string - uses: ASzc/change-string-case-action@v5 + uses: ASzc/change-string-case-action@v6 with: string: ${{ github.repository_owner }}/${{ github.event.repository.name }} - name: Build and push Docker image diff --git a/src/lib/gql/graphqlClient.ts b/src/lib/gql/graphqlClient.ts index a4f8de4c..d236d7ca 100644 --- a/src/lib/gql/graphqlClient.ts +++ b/src/lib/gql/graphqlClient.ts @@ -43,6 +43,7 @@ import type { ResultOf, VariablesOf } from '$lib/gql/graphql'; import { get } from 'svelte/store'; import { lastFetched } from '../../../src/routes/(app)/browse/extensions/ExtensionsStores'; import { Meta } from '$lib/simpleStores'; +import { introspection } from '../../graphql-env'; // import type { downloadChanged } from './Subscriptions'; const wsClient = createWSClient({ @@ -126,14 +127,14 @@ export const client = new Client({ const variables = info.variables as VariablesOf; bindTrackUpdater(res, variables, cache); }, - fetchMangaInfo(result, _, cache, info) { + fetchManga(result, _, cache, info) { const res = result as ResultOf; const variables = info.variables as VariablesOf< typeof fetchMangaInfo >; fetchMangaInfoUpdater(res, variables, cache); }, - fetchMangaChapters(result, _, cache, info) { + fetchChapters(result, _, cache, info) { const res = result as ResultOf; const variables = info.variables as VariablesOf< typeof fetchMangaChapters @@ -147,7 +148,7 @@ export const client = new Client({ >; createCategoryUpdater(res, variables, cache); }, - setServerSettings(result, _, cache, info) { + setSettings(result, _, cache, info) { const res = result as ResultOf; const variables = info.variables as VariablesOf< typeof setServerSettings @@ -191,7 +192,7 @@ export const client = new Client({ } }, Query: { - getSingleChapter(result, _, cache, info) { + chapter(result, _, cache, info) { const res = result as ResultOf; const variables = info.variables as VariablesOf< typeof getSingleChapter @@ -206,7 +207,8 @@ export const client = new Client({ // downloadChangedUpdater(res, variables, cache); // } } - } + }, + schema: introspection }), fetchExchange, subscriptionExchange({ diff --git a/versionToServerVersionMapping.json b/versionToServerVersionMapping.json index c2c83c1c..d3f05fd3 100644 --- a/versionToServerVersionMapping.json +++ b/versionToServerVersionMapping.json @@ -5,7 +5,7 @@ }, { "tag": "v1.0.0", - "uiVersion": "r567", + "uiVersion": "r573", "serverVersion": "r1498" } ]