Show info about hosted WebUI in "About" (#482)

This commit is contained in:
schroda
2023-11-27 19:14:43 +01:00
committed by GitHub
parent ee9811bf53
commit 259d1d87df
5 changed files with 93 additions and 32 deletions

View File

@@ -2604,7 +2604,7 @@ export type GetMangasQuery = { __typename?: 'Query', mangas: { __typename?: 'Man
export type GetAboutQueryVariables = Exact<{ [key: string]: never; }>;
export type GetAboutQuery = { __typename?: 'Query', aboutServer: { __typename?: 'AboutServerPayload', buildTime: any, buildType: string, discord: string, github: string, name: string, revision: string, version: string } };
export type GetAboutQuery = { __typename?: 'Query', aboutServer: { __typename?: 'AboutServerPayload', buildTime: any, buildType: string, discord: string, github: string, name: string, revision: string, version: string }, aboutWebUI: { __typename?: 'WebUIUpdateInfo', channel: string, tag: string, updateAvailable: boolean } };
export type CheckForServerUpdatesQueryVariables = Exact<{ [key: string]: never; }>;

View File

@@ -20,6 +20,11 @@ export const GET_ABOUT = gql`
revision
version
}
aboutWebUI {
channel
tag
updateAvailable
}
}
`;