From 6116b7affb47ec863c3375d6c1ca2a49dc8531b7 Mon Sep 17 00:00:00 2001 From: robonau <30987265+Robonau@users.noreply.github.com> Date: Sat, 2 Mar 2024 03:11:03 +0000 Subject: [PATCH 1/3] version mapping --- versionToServerVersionMapping.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" } ] From a4c19ec879b7d6ae2665e89bd191a095f6792b4c Mon Sep 17 00:00:00 2001 From: robonau <30987265+Robonau@users.noreply.github.com> Date: Sat, 2 Mar 2024 03:15:59 +0000 Subject: [PATCH 2/3] update change-string-case-action to v6 --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 From 1a3c1aff93beaadd3efcd7cb4f9ffbfae88fdf5c Mon Sep 17 00:00:00 2001 From: robonau <30987265+Robonau@users.noreply.github.com> Date: Sun, 3 Mar 2024 19:35:44 +0000 Subject: [PATCH 3/3] fix source browsing --- src/lib/gql/graphqlClient.ts | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) 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({