Feature/add vui as webui flavor (#609)

* Remove unused "downloadAhead" function

* [Codegen] Update generated files

* Add "VUI" as webui flavor

* Add info about changing the webUI channel or flavor
This commit is contained in:
schroda
2024-02-17 20:16:51 +01:00
committed by GitHub
parent 05077b4a2b
commit fd651b6165
6 changed files with 123 additions and 62 deletions

View File

@@ -400,6 +400,19 @@ export type DeleteMangaMetaPayload = {
meta?: Maybe<MangaMetaType>;
};
export type DeleteSourceMetaInput = {
clientMutationId?: InputMaybe<Scalars['String']['input']>;
key: Scalars['String']['input'];
sourceId: Scalars['LongString']['input'];
};
export type DeleteSourceMetaPayload = {
__typename?: 'DeleteSourceMetaPayload';
clientMutationId?: Maybe<Scalars['String']['output']>;
meta?: Maybe<SourceMetaType>;
source?: Maybe<SourceType>;
};
export type DequeueChapterDownloadInput = {
clientMutationId?: InputMaybe<Scalars['String']['input']>;
id: Scalars['Int']['input'];
@@ -436,17 +449,6 @@ export type DoubleFilterInput = {
notIn?: InputMaybe<Array<Scalars['Float']['input']>>;
};
export type DownloadAheadInput = {
clientMutationId?: InputMaybe<Scalars['String']['input']>;
latestReadChapterIds?: InputMaybe<Array<Scalars['Int']['input']>>;
mangaIds: Array<Scalars['Int']['input']>;
};
export type DownloadAheadPayload = {
__typename?: 'DownloadAheadPayload';
clientMutationId?: Maybe<Scalars['String']['output']>;
};
export type DownloadEdge = Edge & {
__typename?: 'DownloadEdge';
cursor: Scalars['Cursor']['output'];
@@ -952,6 +954,7 @@ export type MangaType = {
sourceId: Scalars['LongString']['output'];
status: MangaStatus;
thumbnailUrl?: Maybe<Scalars['String']['output']>;
thumbnailUrlLastFetched?: Maybe<Scalars['LongString']['output']>;
title: Scalars['String']['output'];
trackRecords: TrackRecordNodeList;
unreadCount: Scalars['Int']['output'];
@@ -1016,9 +1019,9 @@ export type Mutation = {
deleteDownloadedChapters: DeleteDownloadedChaptersPayload;
deleteGlobalMeta: DeleteGlobalMetaPayload;
deleteMangaMeta: DeleteMangaMetaPayload;
deleteSourceMeta: DeleteSourceMetaPayload;
dequeueChapterDownload: DequeueChapterDownloadPayload;
dequeueChapterDownloads: DequeueChapterDownloadsPayload;
downloadAhead: DownloadAheadPayload;
enqueueChapterDownload: EnqueueChapterDownloadPayload;
enqueueChapterDownloads: EnqueueChapterDownloadsPayload;
fetchChapterPages: FetchChapterPagesPayload;
@@ -1039,6 +1042,7 @@ export type Mutation = {
setGlobalMeta: SetGlobalMetaPayload;
setMangaMeta: SetMangaMetaPayload;
setSettings: SetSettingsPayload;
setSourceMeta: SetSourceMetaPayload;
startDownloader: StartDownloaderPayload;
stopDownloader: StopDownloaderPayload;
updateCategories: UpdateCategoriesPayload;
@@ -1121,6 +1125,11 @@ export type MutationDeleteMangaMetaArgs = {
};
export type MutationDeleteSourceMetaArgs = {
input: DeleteSourceMetaInput;
};
export type MutationDequeueChapterDownloadArgs = {
input: DequeueChapterDownloadInput;
};
@@ -1131,11 +1140,6 @@ export type MutationDequeueChapterDownloadsArgs = {
};
export type MutationDownloadAheadArgs = {
input: DownloadAheadInput;
};
export type MutationEnqueueChapterDownloadArgs = {
input: EnqueueChapterDownloadInput;
};
@@ -1231,6 +1235,11 @@ export type MutationSetSettingsArgs = {
};
export type MutationSetSourceMetaArgs = {
input: SetSourceMetaInput;
};
export type MutationStartDownloaderArgs = {
input: StartDownloaderInput;
};
@@ -1325,7 +1334,7 @@ export type MutationUpdateWebUiArgs = {
input: WebUiUpdateInput;
};
export type Node = CategoryMetaType | CategoryType | ChapterMetaType | ChapterType | DownloadType | ExtensionType | GlobalMetaType | MangaMetaType | MangaType | PartialSettingsType | SettingsType | SourceType | TrackRecordType | TrackerType;
export type Node = CategoryMetaType | CategoryType | ChapterMetaType | ChapterType | DownloadType | ExtensionType | GlobalMetaType | MangaMetaType | MangaType | PartialSettingsType | SettingsType | SourceMetaType | SourceType | TrackRecordType | TrackerType;
export type NodeList = {
/** A list of edges which contains the [T] and cursor to aid in pagination. */
@@ -1352,8 +1361,10 @@ export type PageInfo = {
export type PartialSettingsType = Settings & {
__typename?: 'PartialSettingsType';
/** @deprecated Replaced with autoDownloadNewChaptersLimit, replace with autoDownloadNewChaptersLimit */
autoDownloadAheadLimit?: Maybe<Scalars['Int']['output']>;
autoDownloadNewChapters?: Maybe<Scalars['Boolean']['output']>;
autoDownloadNewChaptersLimit?: Maybe<Scalars['Int']['output']>;
backupInterval?: Maybe<Scalars['Int']['output']>;
backupPath?: Maybe<Scalars['String']['output']>;
backupTTL?: Maybe<Scalars['Int']['output']>;
@@ -1394,8 +1405,8 @@ export type PartialSettingsType = Settings & {
};
export type PartialSettingsTypeInput = {
autoDownloadAheadLimit?: InputMaybe<Scalars['Int']['input']>;
autoDownloadNewChapters?: InputMaybe<Scalars['Boolean']['input']>;
autoDownloadNewChaptersLimit?: InputMaybe<Scalars['Int']['input']>;
backupInterval?: InputMaybe<Scalars['Int']['input']>;
backupPath?: InputMaybe<Scalars['String']['input']>;
backupTTL?: InputMaybe<Scalars['Int']['input']>;
@@ -1738,9 +1749,22 @@ export type SetSettingsPayload = {
settings: SettingsType;
};
export type SetSourceMetaInput = {
clientMutationId?: InputMaybe<Scalars['String']['input']>;
meta: SourceMetaTypeInput;
};
export type SetSourceMetaPayload = {
__typename?: 'SetSourceMetaPayload';
clientMutationId?: Maybe<Scalars['String']['output']>;
meta: SourceMetaType;
};
export type Settings = {
/** @deprecated Replaced with autoDownloadNewChaptersLimit, replace with autoDownloadNewChaptersLimit */
autoDownloadAheadLimit?: Maybe<Scalars['Int']['output']>;
autoDownloadNewChapters?: Maybe<Scalars['Boolean']['output']>;
autoDownloadNewChaptersLimit?: Maybe<Scalars['Int']['output']>;
backupInterval?: Maybe<Scalars['Int']['output']>;
backupPath?: Maybe<Scalars['String']['output']>;
backupTTL?: Maybe<Scalars['Int']['output']>;
@@ -1782,8 +1806,10 @@ export type Settings = {
export type SettingsType = Settings & {
__typename?: 'SettingsType';
/** @deprecated Replaced with autoDownloadNewChaptersLimit, replace with autoDownloadNewChaptersLimit */
autoDownloadAheadLimit: Scalars['Int']['output'];
autoDownloadNewChapters: Scalars['Boolean']['output'];
autoDownloadNewChaptersLimit: Scalars['Int']['output'];
backupInterval: Scalars['Int']['output'];
backupPath: Scalars['String']['output'];
backupTTL: Scalars['Int']['output'];
@@ -1873,6 +1899,20 @@ export type SourceFilterInput = {
or?: InputMaybe<Array<SourceFilterInput>>;
};
export type SourceMetaType = MetaType & {
__typename?: 'SourceMetaType';
key: Scalars['String']['output'];
source: SourceType;
sourceId: Scalars['LongString']['output'];
value: Scalars['String']['output'];
};
export type SourceMetaTypeInput = {
key: Scalars['String']['input'];
sourceId: Scalars['LongString']['input'];
value: Scalars['String']['input'];
};
export type SourceNodeList = NodeList & {
__typename?: 'SourceNodeList';
edges: Array<SourceEdge>;
@@ -1907,6 +1947,7 @@ export type SourceType = {
isNsfw: Scalars['Boolean']['output'];
lang: Scalars['String']['output'];
manga: MangaNodeList;
meta: Array<SourceMetaType>;
name: Scalars['String']['output'];
preferences: Array<Preference>;
supportsLatest: Scalars['Boolean']['output'];
@@ -2426,6 +2467,7 @@ export enum WebUiChannel {
export enum WebUiFlavor {
Custom = 'CUSTOM',
Vui = 'VUI',
Webui = 'WEBUI'
}
@@ -2697,13 +2739,6 @@ export type StopDownloaderMutationVariables = Exact<{
export type StopDownloaderMutation = { __typename?: 'Mutation', stopDownloader: { __typename?: 'StopDownloaderPayload', clientMutationId?: string | null, downloadStatus: { __typename?: 'DownloadStatus', state: DownloaderState } } };
export type DownloadAheadMutationVariables = Exact<{
input: DownloadAheadInput;
}>;
export type DownloadAheadMutation = { __typename?: 'Mutation', downloadAhead: { __typename?: 'DownloadAheadPayload', clientMutationId?: string | null } };
export type GetExtensionsFetchMutationVariables = Exact<{
input?: InputMaybe<FetchExtensionsInput>;
}>;