summaryrefslogtreecommitdiffstatshomepage
path: root/frontend/src/gql
diff options
context:
space:
mode:
authorWolfgang Müller2024-03-05 18:08:09 +0100
committerWolfgang Müller2024-03-05 19:25:59 +0100
commitd1d654ebac2d51e3841675faeb56480e440f622f (patch)
tree56ef123c1a15a10dfd90836e4038e27efde950c6 /frontend/src/gql
downloadhircine-d1d654ebac2d51e3841675faeb56480e440f622f.tar.gz
Initial commit0.1.0
Diffstat (limited to 'frontend/src/gql')
-rw-r--r--frontend/src/gql/Mutations.ts244
-rw-r--r--frontend/src/gql/Queries.ts243
-rw-r--r--frontend/src/gql/Utils.ts74
-rw-r--r--frontend/src/gql/graphql.ts1764
4 files changed, 2325 insertions, 0 deletions
diff --git a/frontend/src/gql/Mutations.ts b/frontend/src/gql/Mutations.ts
new file mode 100644
index 0000000..d669b25
--- /dev/null
+++ b/frontend/src/gql/Mutations.ts
@@ -0,0 +1,244 @@
+import { toastSuccess } from '$lib/Toasts';
+import {
+ Client,
+ type AnyVariables,
+ type OperationResult,
+ type OperationResultSource
+} from '@urql/svelte';
+import { isError, isSuccess, type RequiredName } from './Utils';
+import * as gql from './graphql';
+
+export type DeleteMutation = (client: Client, args: { ids: number | number[] }) => Promise<unknown>;
+
+const comicTypes = ['Comic'];
+const comicUpsertTypes = comicTypes.concat([
+ 'Artist',
+ 'Character',
+ 'Circle',
+ 'Namespace',
+ 'Collection',
+ 'Tag',
+ 'World'
+]);
+
+function handleResult<D, I extends AnyVariables>(result: OperationResult<D, I>): Promise<D> {
+ return new Promise((resolve, reject) => {
+ if (result.error) {
+ return reject(`${result.error.name}: ${result.error.message}`);
+ }
+
+ if (!result.data) {
+ return reject('Mutation resolved, but result contains no data.');
+ }
+
+ const obj = Object.values(result.data)[0];
+
+ if (isError(obj)) {
+ reject(obj.message);
+ } else if (isSuccess(obj)) {
+ toastSuccess(obj.message);
+ resolve(result.data);
+ }
+
+ reject('This should not happen.');
+ });
+}
+
+async function handleMutation<D, V extends AnyVariables>(
+ mutation: OperationResultSource<OperationResult<D, V>>
+) {
+ return await mutation.toPromise().then(handleResult);
+}
+
+export async function addComic(client: Client, args: gql.AddComicMutationVariables) {
+ return await handleMutation(
+ client.mutation(gql.AddComicDocument, args, {
+ additionalTypenames: comicTypes.concat('Archive', 'Page')
+ })
+ );
+}
+
+export async function updateComics(client: Client, args: gql.UpdateComicsMutationVariables) {
+ return await handleMutation(
+ client.mutation(gql.UpdateComicsDocument, args, {
+ additionalTypenames: comicTypes
+ })
+ );
+}
+
+export async function upsertComics(client: Client, args: gql.UpsertComicsMutationVariables) {
+ return await handleMutation(
+ client.mutation(gql.UpsertComicsDocument, args, {
+ additionalTypenames: comicUpsertTypes
+ })
+ );
+}
+
+export async function updateArchives(client: Client, args: gql.UpdateArchivesMutationVariables) {
+ return await handleMutation(
+ client.mutation(gql.UpdateArchivesDocument, args, {
+ additionalTypenames: ['Archive']
+ })
+ );
+}
+
+export async function deleteArchives(client: Client, args: gql.DeleteArchivesMutationVariables) {
+ return await handleMutation(
+ client.mutation(gql.DeleteArchivesDocument, args, {
+ additionalTypenames: comicTypes.concat('Archive')
+ })
+ );
+}
+
+export async function deleteComics(client: Client, args: gql.DeleteComicsMutationVariables) {
+ return await handleMutation(
+ client.mutation(gql.DeleteComicsDocument, args, { additionalTypenames: comicTypes })
+ );
+}
+
+export async function addArtist(client: Client, args: gql.AddArtistMutationVariables) {
+ return await handleMutation(
+ client.mutation(gql.AddArtistDocument, args, { additionalTypenames: ['ArtistFilterResult'] })
+ );
+}
+
+export async function updateArtists(client: Client, args: gql.UpdateArtistsMutationVariables) {
+ return await handleMutation(
+ client.mutation(gql.UpdateArtistsDocument, args, { additionalTypenames: ['Artist'] })
+ );
+}
+
+export async function deleteArtists(client: Client, args: gql.DeleteArtistsMutationVariables) {
+ return await handleMutation(
+ client.mutation(gql.DeleteArtistsDocument, args, {
+ additionalTypenames: ['Artist']
+ })
+ );
+}
+
+export async function addCharacter(client: Client, args: gql.AddCharacterMutationVariables) {
+ return await handleMutation(
+ client.mutation(gql.AddCharacterDocument, args, {
+ additionalTypenames: ['CharacterFilterResult']
+ })
+ );
+}
+
+export async function updateCharacters(
+ client: Client,
+ args: gql.UpdateCharactersMutationVariables
+) {
+ return await handleMutation(
+ client.mutation(gql.UpdateCharactersDocument, args, { additionalTypenames: ['Character'] })
+ );
+}
+
+export async function deleteCharacters(
+ client: Client,
+ args: gql.DeleteCharactersMutationVariables
+) {
+ return await handleMutation(
+ client.mutation(gql.DeleteCharactersDocument, args, {
+ additionalTypenames: ['Character']
+ })
+ );
+}
+
+export async function addCircle(client: Client, args: gql.AddCircleMutationVariables) {
+ return await handleMutation(
+ client.mutation(gql.AddCircleDocument, args, { additionalTypenames: ['CircleFilterResult'] })
+ );
+}
+
+export async function updateCircles(client: Client, args: gql.UpdateCirclesMutationVariables) {
+ return await handleMutation(
+ client.mutation(gql.UpdateCirclesDocument, args, { additionalTypenames: ['Circle'] })
+ );
+}
+
+export async function deleteCircles(client: Client, args: gql.DeleteCirclesMutationVariables) {
+ return await handleMutation(
+ client.mutation(gql.DeleteCirclesDocument, args, {
+ additionalTypenames: ['Circle']
+ })
+ );
+}
+
+export async function addNamespace(client: Client, args: gql.AddNamespaceMutationVariables) {
+ return await handleMutation(
+ client.mutation(gql.AddNamespaceDocument, args, {
+ additionalTypenames: ['NamespaceFilterResult', 'ComicTagFilterResult']
+ })
+ );
+}
+
+export async function updateNamespaces(
+ client: Client,
+ args: gql.UpdateNamespacesMutationVariables
+) {
+ return await handleMutation(
+ client.mutation(gql.UpdateNamespacesDocument, args, {
+ additionalTypenames: ['Namespace', 'ComicTag']
+ })
+ );
+}
+
+export async function deleteNamespaces(
+ client: Client,
+ args: gql.DeleteNamespacesMutationVariables
+) {
+ return await handleMutation(
+ client.mutation(gql.DeleteNamespacesDocument, args, {
+ additionalTypenames: ['NamespaceFilterResult', 'ComicTag']
+ })
+ );
+}
+
+export async function addTag(client: Client, args: gql.AddTagMutationVariables) {
+ return await handleMutation(
+ client.mutation(gql.AddTagDocument, args, {
+ additionalTypenames: ['TagFilterResult', 'ComicTagFilterResult']
+ })
+ );
+}
+
+export async function updateTags(client: Client, args: gql.UpdateTagsMutationVariables) {
+ return await handleMutation(
+ client.mutation(gql.UpdateTagsDocument, args, {
+ additionalTypenames: ['Tag', 'ComicTag']
+ })
+ );
+}
+
+export async function deleteTags(client: Client, args: gql.DeleteTagsMutationVariables) {
+ return await handleMutation(
+ client.mutation(gql.DeleteTagsDocument, args, {
+ additionalTypenames: ['TagFilterResult', 'ComicTag']
+ })
+ );
+}
+
+export async function addWorld(client: Client, args: gql.AddWorldMutationVariables) {
+ return await handleMutation(
+ client.mutation(gql.AddWorldDocument, args, { additionalTypenames: ['WorldFilterResult'] })
+ );
+}
+
+export async function updateWorlds(client: Client, args: gql.UpdateWorldsMutationVariables) {
+ return await handleMutation(
+ client.mutation(gql.UpdateWorldsDocument, args, { additionalTypenames: ['World'] })
+ );
+}
+
+export async function deleteWorlds(client: Client, args: gql.DeleteWorldsMutationVariables) {
+ return await handleMutation(
+ client.mutation(gql.DeleteWorldsDocument, args, { additionalTypenames: ['World'] })
+ );
+}
+
+export type ArtistInput = RequiredName<gql.UpdateArtistInput>;
+export type CharacterInput = RequiredName<gql.UpdateCharacterInput>;
+export type CircleInput = RequiredName<gql.UpdateCircleInput>;
+export type NamespaceInput = RequiredName<gql.UpdateNamespaceInput>;
+export type TagInput = RequiredName<gql.UpdateTagInput>;
+export type WorldInput = RequiredName<gql.UpdateWorldInput>;
diff --git a/frontend/src/gql/Queries.ts b/frontend/src/gql/Queries.ts
new file mode 100644
index 0000000..cc9dd4c
--- /dev/null
+++ b/frontend/src/gql/Queries.ts
@@ -0,0 +1,243 @@
+import { Client, queryStore, type OperationResult } from '@urql/svelte';
+import { isError } from './Utils';
+import * as gql from './graphql';
+
+function handleResult<D, T>(result: OperationResult<D>): Promise<T> {
+ return new Promise((resolve, reject) => {
+ if (result.error) {
+ return reject(`${result.error.name}: ${result.error.message}`);
+ }
+
+ if (!result.data) {
+ return reject('Query resolved, but result contains no data.');
+ }
+
+ const data = Object.values<T>(result.data)[0];
+
+ if (isError(data)) {
+ reject(data.message);
+ } else {
+ resolve(data);
+ }
+
+ reject('This should not happen.');
+ });
+}
+
+export function comicTagList(client: Client, args?: gql.ComicTagListQueryVariables) {
+ return queryStore({
+ client: client,
+ query: gql.ComicTagListDocument,
+ context: {
+ additionalTypenames: ['Namespace', 'Tag']
+ },
+ variables: args
+ });
+}
+
+export function artistList(client: Client) {
+ return queryStore({
+ client: client,
+ query: gql.ArtistListDocument,
+ context: {
+ additionalTypenames: ['Artist']
+ }
+ });
+}
+
+export function characterList(client: Client) {
+ return queryStore({
+ client: client,
+ query: gql.CharacterListDocument,
+ context: {
+ additionalTypenames: ['Character']
+ }
+ });
+}
+
+export function circleList(client: Client) {
+ return queryStore({
+ client: client,
+ query: gql.CircleListDocument,
+ context: {
+ additionalTypenames: ['Circle']
+ }
+ });
+}
+
+export function worldList(client: Client) {
+ return queryStore({
+ client: client,
+ query: gql.WorldListDocument,
+ context: {
+ additionalTypenames: ['World']
+ }
+ });
+}
+
+export function namespaceList(client: Client) {
+ return queryStore({
+ client: client,
+ query: gql.NamespaceListDocument,
+ context: {
+ additionalTypenames: ['Namespace']
+ }
+ });
+}
+
+export function comicScrapersQuery(client: Client, args: gql.ComicScrapersQueryVariables) {
+ return queryStore({
+ client: client,
+ query: gql.ComicScrapersDocument,
+ variables: args,
+ context: {
+ additionalTypenames: ['Comic']
+ }
+ });
+}
+
+export async function scrapeComic(client: Client, args: gql.ScrapeComicQueryVariables) {
+ return await client
+ .query(gql.ScrapeComicDocument, args, { additionalTypenames: ['Comic'] })
+ .toPromise();
+}
+
+export function archiveQuery(client: Client, args: gql.ArchiveQueryVariables) {
+ return queryStore({
+ client: client,
+ query: gql.ArchiveDocument,
+ variables: args,
+ context: { additionalTypenames: ['Archive'] }
+ });
+}
+
+export function archivesQuery(client: Client, args: gql.ArchivesQueryVariables) {
+ return queryStore({
+ client: client,
+ query: gql.ArchivesDocument,
+ variables: args,
+ context: { additionalTypenames: ['Archive'] }
+ });
+}
+
+export function artistsQuery(client: Client, args?: gql.ArtistsQueryVariables) {
+ return queryStore({
+ client: client,
+ query: gql.ArtistsDocument,
+ variables: args,
+ context: { additionalTypenames: ['Artist'] }
+ });
+}
+
+export function charactersQuery(client: Client, args?: gql.CharactersQueryVariables) {
+ return queryStore({
+ client: client,
+ query: gql.CharactersDocument,
+ variables: args,
+ context: { additionalTypenames: ['Character'] }
+ });
+}
+
+export function circlesQuery(client: Client, args?: gql.CirclesQueryVariables) {
+ return queryStore({
+ client: client,
+ query: gql.CirclesDocument,
+ variables: args,
+ context: { additionalTypenames: ['Circle'] }
+ });
+}
+
+export function comicQuery(client: Client, args: gql.ComicQueryVariables) {
+ return queryStore({
+ client: client,
+ query: gql.ComicDocument,
+ variables: args,
+ context: { additionalTypenames: ['Comic'] }
+ });
+}
+
+export function comicsQuery(client: Client, args?: gql.ComicsQueryVariables) {
+ return queryStore({
+ client: client,
+ query: gql.ComicsDocument,
+ variables: args,
+ context: { additionalTypenames: ['Comic'] }
+ });
+}
+
+export function namespacesQuery(client: Client, args?: gql.NamespacesQueryVariables) {
+ return queryStore({
+ client: client,
+ query: gql.NamespacesDocument,
+ variables: args,
+ context: { additionalTypenames: ['Namespace'] }
+ });
+}
+
+export function tagsQuery(client: Client, args?: gql.TagsQueryVariables) {
+ return queryStore({
+ client: client,
+ query: gql.TagsDocument,
+ variables: args,
+ context: { additionalTypenames: ['Tag'] }
+ });
+}
+
+export function worldsQuery(client: Client, args?: gql.WorldsQueryVariables) {
+ return queryStore({
+ client: client,
+ query: gql.WorldsDocument,
+ variables: args,
+ context: { additionalTypenames: ['World'] }
+ });
+}
+
+export function frontpageQuery(client: Client) {
+ return queryStore({
+ client: client,
+ query: gql.FrontpageDocument,
+ requestPolicy: 'network-only'
+ });
+}
+
+export function fetchArtist(client: Client, id: number) {
+ return client
+ .query(gql.ArtistDocument, { id }, { requestPolicy: 'cache-and-network' })
+ .toPromise()
+ .then(handleResult<gql.ArtistQuery, gql.Artist>);
+}
+
+export function fetchCharacter(client: Client, id: number) {
+ return client
+ .query(gql.CharacterDocument, { id }, { requestPolicy: 'cache-and-network' })
+ .toPromise()
+ .then(handleResult<gql.CharacterQuery, gql.Character>);
+}
+
+export function fetchCircle(client: Client, id: number) {
+ return client
+ .query(gql.CircleDocument, { id }, { requestPolicy: 'cache-and-network' })
+ .toPromise()
+ .then(handleResult<gql.CircleQuery, gql.Circle>);
+}
+
+export function fetchNamespace(client: Client, id: number) {
+ return client
+ .query(gql.NamespaceDocument, { id }, { requestPolicy: 'cache-and-network' })
+ .toPromise()
+ .then(handleResult<gql.NamespaceQuery, gql.Namespace>);
+}
+
+export function fetchTag(client: Client, id: number) {
+ return client
+ .query(gql.TagDocument, { id }, { requestPolicy: 'cache-and-network' })
+ .toPromise()
+ .then(handleResult<gql.TagQuery, gql.FullTag>);
+}
+
+export function fetchWorld(client: Client, id: number) {
+ return client
+ .query(gql.WorldDocument, { id }, { requestPolicy: 'cache-and-network' })
+ .toPromise()
+ .then(handleResult<gql.WorldQuery, gql.World>);
+}
diff --git a/frontend/src/gql/Utils.ts b/frontend/src/gql/Utils.ts
new file mode 100644
index 0000000..dd21bbe
--- /dev/null
+++ b/frontend/src/gql/Utils.ts
@@ -0,0 +1,74 @@
+import equal from 'fast-deep-equal';
+import * as gql from './graphql';
+
+export type OmitIdentifiers<T> = Omit<T, 'id' | '__typename'>;
+export type RequiredName<T> = T & { name: string };
+
+export function isSuccess(object: any): object is gql.Success {
+ if (object.__typename === undefined) {
+ return false;
+ }
+
+ return object.__typename.endsWith('Success') && (object as gql.Success).message !== undefined;
+}
+
+export function isError(object: any): object is gql.Error {
+ if (object.__typename === undefined) {
+ return false;
+ }
+ return object.__typename.endsWith('Error') && (object as gql.Error).message !== undefined;
+}
+
+type Item = {
+ id: number | string;
+ name: string;
+};
+
+export function itemEquals(a: Item, b: Item) {
+ return a.name == b.name;
+}
+
+function assocEquals(as: Item[], bs: Item[]) {
+ return equal(
+ as.map((a) => a.id),
+ bs.map((b) => b.id)
+ );
+}
+
+function stringEquals(a: string | null | undefined, b: string | null | undefined) {
+ return (a ? a : null) == (b ? b : null);
+}
+
+export function tagEquals(a: gql.FullTag, b: gql.FullTag) {
+ return (
+ itemEquals(a, b) &&
+ stringEquals(a.description, b.description) &&
+ assocEquals(a.namespaces, b.namespaces)
+ );
+}
+
+export function comicEquals(
+ a: gql.FullComicFragment | undefined,
+ b: gql.FullComicFragment | undefined
+) {
+ if (a === undefined) return b === undefined;
+ if (b === undefined) return a === undefined;
+
+ return (
+ stringEquals(a.title, b.title) &&
+ stringEquals(a.originalTitle, b.originalTitle) &&
+ stringEquals(a.url, b.url) &&
+ stringEquals(a.date, b.date) &&
+ a.category == b.category &&
+ a.rating == b.rating &&
+ a.censorship == b.censorship &&
+ a.language == b.language &&
+ a.direction == b.direction &&
+ a.layout == b.layout &&
+ assocEquals(a.artists, b.artists) &&
+ assocEquals(a.circles, b.circles) &&
+ assocEquals(a.characters, b.characters) &&
+ assocEquals(a.tags, b.tags) &&
+ assocEquals(a.worlds, b.worlds)
+ );
+}
diff --git a/frontend/src/gql/graphql.ts b/frontend/src/gql/graphql.ts
new file mode 100644
index 0000000..139068c
--- /dev/null
+++ b/frontend/src/gql/graphql.ts
@@ -0,0 +1,1764 @@
+import type { TypedDocumentNode as DocumentNode } from '@graphql-typed-document-node/core';
+export type Maybe<T> = T | null;
+export type InputMaybe<T> = Maybe<T>;
+export type Exact<T extends { [key: string]: unknown }> = { [K in keyof T]: T[K] };
+export type MakeOptional<T, K extends keyof T> = Omit<T, K> & { [SubKey in K]?: Maybe<T[SubKey]> };
+export type MakeMaybe<T, K extends keyof T> = Omit<T, K> & { [SubKey in K]: Maybe<T[SubKey]> };
+export type MakeEmpty<T extends { [key: string]: unknown }, K extends keyof T> = { [_ in K]?: never };
+export type Incremental<T> = T | { [P in keyof T]?: P extends ' $fragmentName' | '__typename' ? T[P] : never };
+/** All built-in and custom scalars, mapped to their actual values */
+export type Scalars = {
+ ID: { input: string; output: string; }
+ String: { input: string; output: string; }
+ Boolean: { input: boolean; output: boolean; }
+ Int: { input: number; output: number; }
+ Float: { input: number; output: number; }
+ Date: { input: string; output: string; }
+ DateTime: { input: string; output: string; }
+};
+
+export type AddArtistInput = {
+ name: Scalars['String']['input'];
+};
+
+export type AddCharacterInput = {
+ name: Scalars['String']['input'];
+};
+
+export type AddCircleInput = {
+ name: Scalars['String']['input'];
+};
+
+export type AddComicInput = {
+ archive: ArchiveInput;
+ cover: CoverInput;
+ pages: UniquePagesInput;
+ title: Scalars['String']['input'];
+};
+
+export type AddComicResponse = AddComicSuccess | IdNotFoundError | InvalidParameterError | PageClaimedError | PageRemoteError;
+
+export type AddComicSuccess = Success & {
+ __typename?: 'AddComicSuccess';
+ archivePagesRemaining: Scalars['Boolean']['output'];
+ id: Scalars['Int']['output'];
+ message: Scalars['String']['output'];
+};
+
+export type AddNamespaceInput = {
+ name: Scalars['String']['input'];
+ sortName?: InputMaybe<Scalars['String']['input']>;
+};
+
+export type AddResponse = AddSuccess | IdNotFoundError | InvalidParameterError | NameExistsError;
+
+export type AddSuccess = Success & {
+ __typename?: 'AddSuccess';
+ id: Scalars['Int']['output'];
+ message: Scalars['String']['output'];
+};
+
+export type AddTagInput = {
+ description?: InputMaybe<Scalars['String']['input']>;
+ name: Scalars['String']['input'];
+ namespaces?: InputMaybe<NamespacesInput>;
+};
+
+export type AddWorldInput = {
+ name: Scalars['String']['input'];
+};
+
+export type Archive = {
+ __typename?: 'Archive';
+ cover: Image;
+ id: Scalars['Int']['output'];
+ name: Scalars['String']['output'];
+ organized: Scalars['Boolean']['output'];
+ pageCount: Scalars['Int']['output'];
+ path: Scalars['String']['output'];
+ size: Scalars['Int']['output'];
+};
+
+export type ArchiveFilter = {
+ organized?: InputMaybe<Scalars['Boolean']['input']>;
+ path?: InputMaybe<StringFilter>;
+};
+
+export type ArchiveFilterInput = {
+ exclude?: InputMaybe<ArchiveFilter>;
+ include?: InputMaybe<ArchiveFilter>;
+};
+
+export type ArchiveFilterResult = {
+ __typename?: 'ArchiveFilterResult';
+ count: Scalars['Int']['output'];
+ edges: Array<Archive>;
+};
+
+export type ArchiveInput = {
+ id: Scalars['Int']['input'];
+};
+
+export type ArchiveResponse = FullArchive | IdNotFoundError;
+
+export enum ArchiveSort {
+ CreatedAt = 'CREATED_AT',
+ PageCount = 'PAGE_COUNT',
+ Path = 'PATH',
+ Random = 'RANDOM',
+ Size = 'SIZE'
+}
+
+export type ArchiveSortInput = {
+ direction?: InputMaybe<SortDirection>;
+ on: ArchiveSort;
+ seed?: InputMaybe<Scalars['Int']['input']>;
+};
+
+export type Artist = {
+ __typename?: 'Artist';
+ id: Scalars['Int']['output'];
+ name: Scalars['String']['output'];
+};
+
+export type ArtistFilter = {
+ name?: InputMaybe<StringFilter>;
+};
+
+export type ArtistFilterInput = {
+ exclude?: InputMaybe<ArtistFilter>;
+ include?: InputMaybe<ArtistFilter>;
+};
+
+export type ArtistFilterResult = {
+ __typename?: 'ArtistFilterResult';
+ count: Scalars['Int']['output'];
+ edges: Array<Artist>;
+};
+
+export type ArtistResponse = Artist | IdNotFoundError;
+
+export enum ArtistSort {
+ CreatedAt = 'CREATED_AT',
+ Name = 'NAME',
+ Random = 'RANDOM',
+ UpdatedAt = 'UPDATED_AT'
+}
+
+export type ArtistSortInput = {
+ direction?: InputMaybe<SortDirection>;
+ on: ArtistSort;
+ seed?: InputMaybe<Scalars['Int']['input']>;
+};
+
+export type ArtistsUpdateInput = {
+ ids: Array<Scalars['Int']['input']>;
+ options?: InputMaybe<UpdateOptions>;
+};
+
+export type ArtistsUpsertInput = {
+ names?: Array<Scalars['String']['input']>;
+ options?: InputMaybe<UpsertOptions>;
+};
+
+export type AssociationFilter = {
+ all?: InputMaybe<Array<Scalars['Int']['input']>>;
+ any?: InputMaybe<Array<Scalars['Int']['input']>>;
+ empty?: InputMaybe<Scalars['Boolean']['input']>;
+ exact?: InputMaybe<Array<Scalars['Int']['input']>>;
+};
+
+export enum Category {
+ Artbook = 'ARTBOOK',
+ Comic = 'COMIC',
+ Doujinshi = 'DOUJINSHI',
+ GameCg = 'GAME_CG',
+ ImageSet = 'IMAGE_SET',
+ Manga = 'MANGA',
+ VariantSet = 'VARIANT_SET',
+ Webtoon = 'WEBTOON'
+}
+
+export type CategoryFilter = {
+ any?: InputMaybe<Array<Category>>;
+ empty?: InputMaybe<Scalars['Boolean']['input']>;
+};
+
+export enum Censorship {
+ Bar = 'BAR',
+ Full = 'FULL',
+ Mosaic = 'MOSAIC',
+ None = 'NONE'
+}
+
+export type CensorshipFilter = {
+ any?: InputMaybe<Array<Censorship>>;
+ empty?: InputMaybe<Scalars['Boolean']['input']>;
+};
+
+export type Character = {
+ __typename?: 'Character';
+ id: Scalars['Int']['output'];
+ name: Scalars['String']['output'];
+};
+
+export type CharacterFilter = {
+ name?: InputMaybe<StringFilter>;
+};
+
+export type CharacterFilterInput = {
+ exclude?: InputMaybe<CharacterFilter>;
+ include?: InputMaybe<CharacterFilter>;
+};
+
+export type CharacterFilterResult = {
+ __typename?: 'CharacterFilterResult';
+ count: Scalars['Int']['output'];
+ edges: Array<Character>;
+};
+
+export type CharacterResponse = Character | IdNotFoundError;
+
+export enum CharacterSort {
+ CreatedAt = 'CREATED_AT',
+ Name = 'NAME',
+ Random = 'RANDOM',
+ UpdatedAt = 'UPDATED_AT'
+}
+
+export type CharacterSortInput = {
+ direction?: InputMaybe<SortDirection>;
+ on: CharacterSort;
+ seed?: InputMaybe<Scalars['Int']['input']>;
+};
+
+export type CharactersUpdateInput = {
+ ids: Array<Scalars['Int']['input']>;
+ options?: InputMaybe<UpdateOptions>;
+};
+
+export type CharactersUpsertInput = {
+ names?: Array<Scalars['String']['input']>;
+ options?: InputMaybe<UpsertOptions>;
+};
+
+export type Circle = {
+ __typename?: 'Circle';
+ id: Scalars['Int']['output'];
+ name: Scalars['String']['output'];
+};
+
+export type CircleFilter = {
+ name?: InputMaybe<StringFilter>;
+};
+
+export type CircleFilterInput = {
+ exclude?: InputMaybe<CircleFilter>;
+ include?: InputMaybe<CircleFilter>;
+};
+
+export type CircleFilterResult = {
+ __typename?: 'CircleFilterResult';
+ count: Scalars['Int']['output'];
+ edges: Array<Circle>;
+};
+
+export type CircleResponse = Circle | IdNotFoundError;
+
+export enum CircleSort {
+ CreatedAt = 'CREATED_AT',
+ Name = 'NAME',
+ Random = 'RANDOM',
+ UpdatedAt = 'UPDATED_AT'
+}
+
+export type CircleSortInput = {
+ direction?: InputMaybe<SortDirection>;
+ on: CircleSort;
+ seed?: InputMaybe<Scalars['Int']['input']>;
+};
+
+export type CirclesUpdateInput = {
+ ids: Array<Scalars['Int']['input']>;
+ options?: InputMaybe<UpdateOptions>;
+};
+
+export type CirclesUpsertInput = {
+ names?: Array<Scalars['String']['input']>;
+ options?: InputMaybe<UpsertOptions>;
+};
+
+export type Comic = {
+ __typename?: 'Comic';
+ artists: Array<Artist>;
+ bookmarked: Scalars['Boolean']['output'];
+ category?: Maybe<Category>;
+ censorship?: Maybe<Censorship>;
+ characters: Array<Character>;
+ circles: Array<Circle>;
+ cover: Image;
+ date?: Maybe<Scalars['Date']['output']>;
+ favourite: Scalars['Boolean']['output'];
+ id: Scalars['Int']['output'];
+ language?: Maybe<Language>;
+ organized: Scalars['Boolean']['output'];
+ originalTitle?: Maybe<Scalars['String']['output']>;
+ pageCount: Scalars['Int']['output'];
+ rating?: Maybe<Rating>;
+ tags: Array<ComicTag>;
+ title: Scalars['String']['output'];
+ worlds: Array<World>;
+};
+
+export type ComicFilter = {
+ artists?: InputMaybe<AssociationFilter>;
+ bookmarked?: InputMaybe<Scalars['Boolean']['input']>;
+ category?: InputMaybe<CategoryFilter>;
+ censorship?: InputMaybe<CensorshipFilter>;
+ characters?: InputMaybe<AssociationFilter>;
+ circles?: InputMaybe<AssociationFilter>;
+ favourite?: InputMaybe<Scalars['Boolean']['input']>;
+ language?: InputMaybe<LanguageFilter>;
+ organized?: InputMaybe<Scalars['Boolean']['input']>;
+ originalTitle?: InputMaybe<StringFilter>;
+ rating?: InputMaybe<RatingFilter>;
+ tags?: InputMaybe<TagAssociationFilter>;
+ title?: InputMaybe<StringFilter>;
+ url?: InputMaybe<StringFilter>;
+ worlds?: InputMaybe<AssociationFilter>;
+};
+
+export type ComicFilterInput = {
+ exclude?: InputMaybe<ComicFilter>;
+ include?: InputMaybe<ComicFilter>;
+};
+
+export type ComicFilterResult = {
+ __typename?: 'ComicFilterResult';
+ count: Scalars['Int']['output'];
+ edges: Array<Comic>;
+};
+
+export type ComicResponse = FullComic | IdNotFoundError;
+
+export type ComicScraper = {
+ __typename?: 'ComicScraper';
+ id: Scalars['String']['output'];
+ name: Scalars['String']['output'];
+};
+
+export enum ComicSort {
+ CreatedAt = 'CREATED_AT',
+ Date = 'DATE',
+ OriginalTitle = 'ORIGINAL_TITLE',
+ PageCount = 'PAGE_COUNT',
+ Random = 'RANDOM',
+ TagCount = 'TAG_COUNT',
+ Title = 'TITLE',
+ UpdatedAt = 'UPDATED_AT'
+}
+
+export type ComicSortInput = {
+ direction?: InputMaybe<SortDirection>;
+ on: ComicSort;
+ seed?: InputMaybe<Scalars['Int']['input']>;
+};
+
+export type ComicTag = {
+ __typename?: 'ComicTag';
+ description?: Maybe<Scalars['String']['output']>;
+ id: Scalars['String']['output'];
+ name: Scalars['String']['output'];
+};
+
+export type ComicTagFilterResult = {
+ __typename?: 'ComicTagFilterResult';
+ count: Scalars['Int']['output'];
+ edges: Array<ComicTag>;
+};
+
+export type ComicTagsUpdateInput = {
+ ids?: Array<Scalars['String']['input']>;
+ options?: InputMaybe<UpdateOptions>;
+};
+
+export type ComicTagsUpsertInput = {
+ names?: Array<Scalars['String']['input']>;
+ options?: InputMaybe<UpsertOptions>;
+};
+
+export type CoverInput = {
+ id: Scalars['Int']['input'];
+};
+
+export type CoverUpdateInput = {
+ id: Scalars['Int']['input'];
+};
+
+export type DeleteResponse = DeleteSuccess | IdNotFoundError;
+
+export type DeleteSuccess = Success & {
+ __typename?: 'DeleteSuccess';
+ message: Scalars['String']['output'];
+};
+
+export enum Direction {
+ LeftToRight = 'LEFT_TO_RIGHT',
+ RightToLeft = 'RIGHT_TO_LEFT'
+}
+
+export type Error = {
+ message: Scalars['String']['output'];
+};
+
+export type FullArchive = {
+ __typename?: 'FullArchive';
+ comics: Array<Comic>;
+ cover: Image;
+ createdAt: Scalars['DateTime']['output'];
+ id: Scalars['Int']['output'];
+ mtime: Scalars['DateTime']['output'];
+ name: Scalars['String']['output'];
+ organized: Scalars['Boolean']['output'];
+ pageCount: Scalars['Int']['output'];
+ pages: Array<Page>;
+ path: Scalars['String']['output'];
+ size: Scalars['Int']['output'];
+};
+
+export type FullComic = {
+ __typename?: 'FullComic';
+ archive: Archive;
+ artists: Array<Artist>;
+ bookmarked: Scalars['Boolean']['output'];
+ category?: Maybe<Category>;
+ censorship?: Maybe<Censorship>;
+ characters: Array<Character>;
+ circles: Array<Circle>;
+ cover: Image;
+ createdAt: Scalars['DateTime']['output'];
+ date?: Maybe<Scalars['Date']['output']>;
+ direction: Direction;
+ favourite: Scalars['Boolean']['output'];
+ id: Scalars['Int']['output'];
+ language?: Maybe<Language>;
+ layout: Layout;
+ organized: Scalars['Boolean']['output'];
+ originalTitle?: Maybe<Scalars['String']['output']>;
+ pageCount: Scalars['Int']['output'];
+ pages: Array<Page>;
+ rating?: Maybe<Rating>;
+ tags: Array<ComicTag>;
+ title: Scalars['String']['output'];
+ updatedAt: Scalars['DateTime']['output'];
+ url?: Maybe<Scalars['String']['output']>;
+ worlds: Array<World>;
+};
+
+export type FullTag = {
+ __typename?: 'FullTag';
+ description?: Maybe<Scalars['String']['output']>;
+ id: Scalars['Int']['output'];
+ name: Scalars['String']['output'];
+ namespaces: Array<Namespace>;
+};
+
+export type IdNotFoundError = Error & {
+ __typename?: 'IDNotFoundError';
+ id: Scalars['Int']['output'];
+ message: Scalars['String']['output'];
+};
+
+export type Image = {
+ __typename?: 'Image';
+ aspectRatio: Scalars['Float']['output'];
+ hash: Scalars['String']['output'];
+ height: Scalars['Int']['output'];
+ id: Scalars['Int']['output'];
+ width: Scalars['Int']['output'];
+};
+
+export type InvalidParameterError = Error & {
+ __typename?: 'InvalidParameterError';
+ message: Scalars['String']['output'];
+ parameter: Scalars['String']['output'];
+};
+
+export enum Language {
+ Aa = 'AA',
+ Ab = 'AB',
+ Ae = 'AE',
+ Af = 'AF',
+ Ak = 'AK',
+ Am = 'AM',
+ An = 'AN',
+ Ar = 'AR',
+ As = 'AS',
+ Av = 'AV',
+ Ay = 'AY',
+ Az = 'AZ',
+ Ba = 'BA',
+ Be = 'BE',
+ Bg = 'BG',
+ Bh = 'BH',
+ Bi = 'BI',
+ Bm = 'BM',
+ Bn = 'BN',
+ Bo = 'BO',
+ Br = 'BR',
+ Bs = 'BS',
+ Ca = 'CA',
+ Ce = 'CE',
+ Ch = 'CH',
+ Co = 'CO',
+ Cr = 'CR',
+ Cs = 'CS',
+ Cu = 'CU',
+ Cv = 'CV',
+ Cy = 'CY',
+ Da = 'DA',
+ De = 'DE',
+ Dv = 'DV',
+ Dz = 'DZ',
+ Ee = 'EE',
+ El = 'EL',
+ En = 'EN',
+ Eo = 'EO',
+ Es = 'ES',
+ Et = 'ET',
+ Eu = 'EU',
+ Fa = 'FA',
+ Ff = 'FF',
+ Fi = 'FI',
+ Fj = 'FJ',
+ Fo = 'FO',
+ Fr = 'FR',
+ Fy = 'FY',
+ Ga = 'GA',
+ Gd = 'GD',
+ Gl = 'GL',
+ Gn = 'GN',
+ Gu = 'GU',
+ Gv = 'GV',
+ Ha = 'HA',
+ He = 'HE',
+ Hi = 'HI',
+ Ho = 'HO',
+ Hr = 'HR',
+ Ht = 'HT',
+ Hu = 'HU',
+ Hy = 'HY',
+ Hz = 'HZ',
+ Ia = 'IA',
+ Id = 'ID',
+ Ie = 'IE',
+ Ig = 'IG',
+ Ii = 'II',
+ Ik = 'IK',
+ Io = 'IO',
+ Is = 'IS',
+ It = 'IT',
+ Iu = 'IU',
+ Ja = 'JA',
+ Jv = 'JV',
+ Ka = 'KA',
+ Kg = 'KG',
+ Ki = 'KI',
+ Kj = 'KJ',
+ Kk = 'KK',
+ Kl = 'KL',
+ Km = 'KM',
+ Kn = 'KN',
+ Ko = 'KO',
+ Kr = 'KR',
+ Ks = 'KS',
+ Ku = 'KU',
+ Kv = 'KV',
+ Kw = 'KW',
+ Ky = 'KY',
+ La = 'LA',
+ Lb = 'LB',
+ Lg = 'LG',
+ Li = 'LI',
+ Ln = 'LN',
+ Lo = 'LO',
+ Lt = 'LT',
+ Lu = 'LU',
+ Lv = 'LV',
+ Mg = 'MG',
+ Mh = 'MH',
+ Mi = 'MI',
+ Mk = 'MK',
+ Ml = 'ML',
+ Mn = 'MN',
+ Mr = 'MR',
+ Ms = 'MS',
+ Mt = 'MT',
+ My = 'MY',
+ Na = 'NA',
+ Nb = 'NB',
+ Nd = 'ND',
+ Ne = 'NE',
+ Ng = 'NG',
+ Nl = 'NL',
+ Nn = 'NN',
+ No = 'NO',
+ Nr = 'NR',
+ Nv = 'NV',
+ Ny = 'NY',
+ Oc = 'OC',
+ Oj = 'OJ',
+ Om = 'OM',
+ Or = 'OR',
+ Os = 'OS',
+ Pa = 'PA',
+ Pi = 'PI',
+ Pl = 'PL',
+ Ps = 'PS',
+ Pt = 'PT',
+ Qu = 'QU',
+ Rm = 'RM',
+ Rn = 'RN',
+ Ro = 'RO',
+ Ru = 'RU',
+ Rw = 'RW',
+ Sa = 'SA',
+ Sc = 'SC',
+ Sd = 'SD',
+ Se = 'SE',
+ Sg = 'SG',
+ Si = 'SI',
+ Sk = 'SK',
+ Sl = 'SL',
+ Sm = 'SM',
+ Sn = 'SN',
+ So = 'SO',
+ Sq = 'SQ',
+ Sr = 'SR',
+ Ss = 'SS',
+ St = 'ST',
+ Su = 'SU',
+ Sv = 'SV',
+ Sw = 'SW',
+ Ta = 'TA',
+ Te = 'TE',
+ Tg = 'TG',
+ Th = 'TH',
+ Ti = 'TI',
+ Tk = 'TK',
+ Tl = 'TL',
+ Tn = 'TN',
+ To = 'TO',
+ Tr = 'TR',
+ Ts = 'TS',
+ Tt = 'TT',
+ Tw = 'TW',
+ Ty = 'TY',
+ Ug = 'UG',
+ Uk = 'UK',
+ Ur = 'UR',
+ Uz = 'UZ',
+ Ve = 'VE',
+ Vi = 'VI',
+ Vo = 'VO',
+ Wa = 'WA',
+ Wo = 'WO',
+ Xh = 'XH',
+ Yi = 'YI',
+ Yo = 'YO',
+ Za = 'ZA',
+ Zh = 'ZH',
+ Zu = 'ZU'
+}
+
+export type LanguageFilter = {
+ any?: InputMaybe<Array<Language>>;
+ empty?: InputMaybe<Scalars['Boolean']['input']>;
+};
+
+export enum Layout {
+ Double = 'DOUBLE',
+ DoubleOffset = 'DOUBLE_OFFSET',
+ Single = 'SINGLE'
+}
+
+export type Mutation = {
+ __typename?: 'Mutation';
+ addArtist: AddResponse;
+ addCharacter: AddResponse;
+ addCircle: AddResponse;
+ addComic: AddComicResponse;
+ addNamespace: AddResponse;
+ addTag: AddResponse;
+ addWorld: AddResponse;
+ deleteArchives: DeleteResponse;
+ deleteArtists: DeleteResponse;
+ deleteCharacters: DeleteResponse;
+ deleteCircles: DeleteResponse;
+ deleteComics: DeleteResponse;
+ deleteNamespaces: DeleteResponse;
+ deleteTags: DeleteResponse;
+ deleteWorlds: DeleteResponse;
+ updateArchives: UpdateResponse;
+ updateArtists: UpdateResponse;
+ updateCharacters: UpdateResponse;
+ updateCircles: UpdateResponse;
+ updateComics: UpdateResponse;
+ updateNamespaces: UpdateResponse;
+ updateTags: UpdateResponse;
+ updateWorlds: UpdateResponse;
+ upsertComics: UpsertResponse;
+};
+
+
+export type MutationAddArtistArgs = {
+ input: AddArtistInput;
+};
+
+
+export type MutationAddCharacterArgs = {
+ input: AddCharacterInput;
+};
+
+
+export type MutationAddCircleArgs = {
+ input: AddCircleInput;
+};
+
+
+export type MutationAddComicArgs = {
+ input: AddComicInput;
+};
+
+
+export type MutationAddNamespaceArgs = {
+ input: AddNamespaceInput;
+};
+
+
+export type MutationAddTagArgs = {
+ input: AddTagInput;
+};
+
+
+export type MutationAddWorldArgs = {
+ input: AddWorldInput;
+};
+
+
+export type MutationDeleteArchivesArgs = {
+ ids: Array<Scalars['Int']['input']>;
+};
+
+
+export type MutationDeleteArtistsArgs = {
+ ids: Array<Scalars['Int']['input']>;
+};
+
+
+export type MutationDeleteCharactersArgs = {
+ ids: Array<Scalars['Int']['input']>;
+};
+
+
+export type MutationDeleteCirclesArgs = {
+ ids: Array<Scalars['Int']['input']>;
+};
+
+
+export type MutationDeleteComicsArgs = {
+ ids: Array<Scalars['Int']['input']>;
+};
+
+
+export type MutationDeleteNamespacesArgs = {
+ ids: Array<Scalars['Int']['input']>;
+};
+
+
+export type MutationDeleteTagsArgs = {
+ ids: Array<Scalars['Int']['input']>;
+};
+
+
+export type MutationDeleteWorldsArgs = {
+ ids: Array<Scalars['Int']['input']>;
+};
+
+
+export type MutationUpdateArchivesArgs = {
+ ids: Array<Scalars['Int']['input']>;
+ input: UpdateArchiveInput;
+};
+
+
+export type MutationUpdateArtistsArgs = {
+ ids: Array<Scalars['Int']['input']>;
+ input: UpdateArtistInput;
+};
+
+
+export type MutationUpdateCharactersArgs = {
+ ids: Array<Scalars['Int']['input']>;
+ input: UpdateCharacterInput;
+};
+
+
+export type MutationUpdateCirclesArgs = {
+ ids: Array<Scalars['Int']['input']>;
+ input: UpdateCircleInput;
+};
+
+
+export type MutationUpdateComicsArgs = {
+ ids: Array<Scalars['Int']['input']>;
+ input: UpdateComicInput;
+};
+
+
+export type MutationUpdateNamespacesArgs = {
+ ids: Array<Scalars['Int']['input']>;
+ input: UpdateNamespaceInput;
+};
+
+
+export type MutationUpdateTagsArgs = {
+ ids: Array<Scalars['Int']['input']>;
+ input: UpdateTagInput;
+};
+
+
+export type MutationUpdateWorldsArgs = {
+ ids: Array<Scalars['Int']['input']>;
+ input: UpdateWorldInput;
+};
+
+
+export type MutationUpsertComicsArgs = {
+ ids: Array<Scalars['Int']['input']>;
+ input: UpsertComicInput;
+};
+
+export type NameExistsError = Error & {
+ __typename?: 'NameExistsError';
+ message: Scalars['String']['output'];
+};
+
+export type Namespace = {
+ __typename?: 'Namespace';
+ id: Scalars['Int']['output'];
+ name: Scalars['String']['output'];
+ sortName?: Maybe<Scalars['String']['output']>;
+};
+
+export type NamespaceFilter = {
+ name?: InputMaybe<StringFilter>;
+};
+
+export type NamespaceFilterInput = {
+ exclude?: InputMaybe<NamespaceFilter>;
+ include?: InputMaybe<NamespaceFilter>;
+};
+
+export type NamespaceFilterResult = {
+ __typename?: 'NamespaceFilterResult';
+ count: Scalars['Int']['output'];
+ edges: Array<Namespace>;
+};
+
+export type NamespaceResponse = IdNotFoundError | Namespace;
+
+export enum NamespaceSort {
+ CreatedAt = 'CREATED_AT',
+ Name = 'NAME',
+ Random = 'RANDOM',
+ SortName = 'SORT_NAME',
+ UpdatedAt = 'UPDATED_AT'
+}
+
+export type NamespaceSortInput = {
+ direction?: InputMaybe<SortDirection>;
+ on: NamespaceSort;
+ seed?: InputMaybe<Scalars['Int']['input']>;
+};
+
+export type NamespacesInput = {
+ ids: Array<Scalars['Int']['input']>;
+};
+
+export type NamespacesUpdateInput = {
+ ids: Array<Scalars['Int']['input']>;
+ options?: InputMaybe<UpdateOptions>;
+};
+
+export enum OnMissing {
+ Create = 'CREATE',
+ Ignore = 'IGNORE'
+}
+
+export type Page = {
+ __typename?: 'Page';
+ comicId?: Maybe<Scalars['Int']['output']>;
+ id: Scalars['Int']['output'];
+ image: Image;
+ path: Scalars['String']['output'];
+};
+
+export type PageClaimedError = Error & {
+ __typename?: 'PageClaimedError';
+ comicId: Scalars['Int']['output'];
+ id: Scalars['Int']['output'];
+ message: Scalars['String']['output'];
+};
+
+export type PageRemoteError = Error & {
+ __typename?: 'PageRemoteError';
+ archiveId: Scalars['Int']['output'];
+ id: Scalars['Int']['output'];
+ message: Scalars['String']['output'];
+};
+
+export type Pagination = {
+ items?: Scalars['Int']['input'];
+ page?: Scalars['Int']['input'];
+};
+
+export type Query = {
+ __typename?: 'Query';
+ archive: ArchiveResponse;
+ archives: ArchiveFilterResult;
+ artist: ArtistResponse;
+ artists: ArtistFilterResult;
+ character: CharacterResponse;
+ characters: CharacterFilterResult;
+ circle: CircleResponse;
+ circles: CircleFilterResult;
+ comic: ComicResponse;
+ comicScrapers: Array<ComicScraper>;
+ comicTags: ComicTagFilterResult;
+ comics: ComicFilterResult;
+ namespace: NamespaceResponse;
+ namespaces: NamespaceFilterResult;
+ scrapeComic: ScrapeComicResponse;
+ tag: TagResponse;
+ tags: TagFilterResult;
+ world: WorldResponse;
+ worlds: WorldFilterResult;
+};
+
+
+export type QueryArchiveArgs = {
+ id: Scalars['Int']['input'];
+};
+
+
+export type QueryArchivesArgs = {
+ filter?: InputMaybe<ArchiveFilterInput>;
+ pagination?: InputMaybe<Pagination>;
+ sort?: InputMaybe<ArchiveSortInput>;
+};
+
+
+export type QueryArtistArgs = {
+ id: Scalars['Int']['input'];
+};
+
+
+export type QueryArtistsArgs = {
+ filter?: InputMaybe<ArtistFilterInput>;
+ pagination?: InputMaybe<Pagination>;
+ sort?: InputMaybe<ArtistSortInput>;
+};
+
+
+export type QueryCharacterArgs = {
+ id: Scalars['Int']['input'];
+};
+
+
+export type QueryCharactersArgs = {
+ filter?: InputMaybe<CharacterFilterInput>;
+ pagination?: InputMaybe<Pagination>;
+ sort?: InputMaybe<CharacterSortInput>;
+};
+
+
+export type QueryCircleArgs = {
+ id: Scalars['Int']['input'];
+};
+
+
+export type QueryCirclesArgs = {
+ filter?: InputMaybe<CircleFilterInput>;
+ pagination?: InputMaybe<Pagination>;
+ sort?: InputMaybe<CircleSortInput>;
+};
+
+
+export type QueryComicArgs = {
+ id: Scalars['Int']['input'];
+};
+
+
+export type QueryComicScrapersArgs = {
+ id: Scalars['Int']['input'];
+};
+
+
+export type QueryComicTagsArgs = {
+ forFilter?: Scalars['Boolean']['input'];
+};
+
+
+export type QueryComicsArgs = {
+ filter?: InputMaybe<ComicFilterInput>;
+ pagination?: InputMaybe<Pagination>;
+ sort?: InputMaybe<ComicSortInput>;
+};
+
+
+export type QueryNamespaceArgs = {
+ id: Scalars['Int']['input'];
+};
+
+
+export type QueryNamespacesArgs = {
+ filter?: InputMaybe<NamespaceFilterInput>;
+ pagination?: InputMaybe<Pagination>;
+ sort?: InputMaybe<NamespaceSortInput>;
+};
+
+
+export type QueryScrapeComicArgs = {
+ id: Scalars['Int']['input'];
+ scraper: Scalars['String']['input'];
+};
+
+
+export type QueryTagArgs = {
+ id: Scalars['Int']['input'];
+};
+
+
+export type QueryTagsArgs = {
+ filter?: InputMaybe<TagFilterInput>;
+ pagination?: InputMaybe<Pagination>;
+ sort?: InputMaybe<TagSortInput>;
+};
+
+
+export type QueryWorldArgs = {
+ id: Scalars['Int']['input'];
+};
+
+
+export type QueryWorldsArgs = {
+ filter?: InputMaybe<WorldFilterInput>;
+ pagination?: InputMaybe<Pagination>;
+ sort?: InputMaybe<WorldSortInput>;
+};
+
+export enum Rating {
+ Explicit = 'EXPLICIT',
+ Questionable = 'QUESTIONABLE',
+ Safe = 'SAFE'
+}
+
+export type RatingFilter = {
+ any?: InputMaybe<Array<Rating>>;
+ empty?: InputMaybe<Scalars['Boolean']['input']>;
+};
+
+export type ScrapeComicResponse = IdNotFoundError | ScrapeComicResult | ScraperError | ScraperNotAvailableError | ScraperNotFoundError;
+
+export type ScrapeComicResult = {
+ __typename?: 'ScrapeComicResult';
+ data: ScrapedComic;
+ warnings: Array<Scalars['String']['output']>;
+};
+
+export type ScrapedComic = {
+ __typename?: 'ScrapedComic';
+ artists: Array<Scalars['String']['output']>;
+ category?: Maybe<Category>;
+ censorship?: Maybe<Censorship>;
+ characters: Array<Scalars['String']['output']>;
+ circles: Array<Scalars['String']['output']>;
+ date?: Maybe<Scalars['Date']['output']>;
+ direction?: Maybe<Direction>;
+ language?: Maybe<Language>;
+ layout?: Maybe<Layout>;
+ originalTitle?: Maybe<Scalars['String']['output']>;
+ rating?: Maybe<Rating>;
+ tags: Array<Scalars['String']['output']>;
+ title?: Maybe<Scalars['String']['output']>;
+ url?: Maybe<Scalars['String']['output']>;
+ worlds: Array<Scalars['String']['output']>;
+};
+
+export type ScraperError = Error & {
+ __typename?: 'ScraperError';
+ error: Scalars['String']['output'];
+ message: Scalars['String']['output'];
+};
+
+export type ScraperNotAvailableError = Error & {
+ __typename?: 'ScraperNotAvailableError';
+ comicId: Scalars['Int']['output'];
+ message: Scalars['String']['output'];
+ scraper: Scalars['String']['output'];
+};
+
+export type ScraperNotFoundError = Error & {
+ __typename?: 'ScraperNotFoundError';
+ message: Scalars['String']['output'];
+ name: Scalars['String']['output'];
+};
+
+export enum SortDirection {
+ Ascending = 'ASCENDING',
+ Descending = 'DESCENDING'
+}
+
+export type StringFilter = {
+ contains?: InputMaybe<Scalars['String']['input']>;
+};
+
+export type Success = {
+ message: Scalars['String']['output'];
+};
+
+export type Tag = {
+ __typename?: 'Tag';
+ description?: Maybe<Scalars['String']['output']>;
+ id: Scalars['Int']['output'];
+ name: Scalars['String']['output'];
+};
+
+export type TagAssociationFilter = {
+ all?: InputMaybe<Array<Scalars['String']['input']>>;
+ any?: InputMaybe<Array<Scalars['String']['input']>>;
+ empty?: InputMaybe<Scalars['Boolean']['input']>;
+ exact?: InputMaybe<Array<Scalars['String']['input']>>;
+};
+
+export type TagFilter = {
+ name?: InputMaybe<StringFilter>;
+ namespaces?: InputMaybe<AssociationFilter>;
+};
+
+export type TagFilterInput = {
+ exclude?: InputMaybe<TagFilter>;
+ include?: InputMaybe<TagFilter>;
+};
+
+export type TagFilterResult = {
+ __typename?: 'TagFilterResult';
+ count: Scalars['Int']['output'];
+ edges: Array<Tag>;
+};
+
+export type TagResponse = FullTag | IdNotFoundError;
+
+export enum TagSort {
+ CreatedAt = 'CREATED_AT',
+ Name = 'NAME',
+ Random = 'RANDOM',
+ UpdatedAt = 'UPDATED_AT'
+}
+
+export type TagSortInput = {
+ direction?: InputMaybe<SortDirection>;
+ on: TagSort;
+ seed?: InputMaybe<Scalars['Int']['input']>;
+};
+
+export type UniquePagesInput = {
+ ids: Array<Scalars['Int']['input']>;
+};
+
+export type UniquePagesUpdateInput = {
+ ids: Array<Scalars['Int']['input']>;
+ options?: InputMaybe<UpdateOptions>;
+};
+
+export type UpdateArchiveInput = {
+ cover?: InputMaybe<CoverUpdateInput>;
+ organized?: InputMaybe<Scalars['Boolean']['input']>;
+};
+
+export type UpdateArtistInput = {
+ name?: InputMaybe<Scalars['String']['input']>;
+};
+
+export type UpdateCharacterInput = {
+ name?: InputMaybe<Scalars['String']['input']>;
+};
+
+export type UpdateCircleInput = {
+ name?: InputMaybe<Scalars['String']['input']>;
+};
+
+export type UpdateComicInput = {
+ artists?: InputMaybe<ArtistsUpdateInput>;
+ bookmarked?: InputMaybe<Scalars['Boolean']['input']>;
+ category?: InputMaybe<Category>;
+ censorship?: InputMaybe<Censorship>;
+ characters?: InputMaybe<CharactersUpdateInput>;
+ circles?: InputMaybe<CirclesUpdateInput>;
+ cover?: InputMaybe<CoverUpdateInput>;
+ date?: InputMaybe<Scalars['Date']['input']>;
+ direction?: InputMaybe<Direction>;
+ favourite?: InputMaybe<Scalars['Boolean']['input']>;
+ language?: InputMaybe<Language>;
+ layout?: InputMaybe<Layout>;
+ organized?: InputMaybe<Scalars['Boolean']['input']>;
+ originalTitle?: InputMaybe<Scalars['String']['input']>;
+ pages?: InputMaybe<UniquePagesUpdateInput>;
+ rating?: InputMaybe<Rating>;
+ tags?: InputMaybe<ComicTagsUpdateInput>;
+ title?: InputMaybe<Scalars['String']['input']>;
+ url?: InputMaybe<Scalars['String']['input']>;
+ worlds?: InputMaybe<WorldsUpdateInput>;
+};
+
+export enum UpdateMode {
+ Add = 'ADD',
+ Remove = 'REMOVE',
+ Replace = 'REPLACE'
+}
+
+export type UpdateNamespaceInput = {
+ name?: InputMaybe<Scalars['String']['input']>;
+ sortName?: InputMaybe<Scalars['String']['input']>;
+};
+
+export type UpdateOptions = {
+ mode?: UpdateMode;
+};
+
+export type UpdateResponse = IdNotFoundError | InvalidParameterError | NameExistsError | PageClaimedError | PageRemoteError | UpdateSuccess;
+
+export type UpdateSuccess = Success & {
+ __typename?: 'UpdateSuccess';
+ message: Scalars['String']['output'];
+};
+
+export type UpdateTagInput = {
+ description?: InputMaybe<Scalars['String']['input']>;
+ name?: InputMaybe<Scalars['String']['input']>;
+ namespaces?: InputMaybe<NamespacesUpdateInput>;
+};
+
+export type UpdateWorldInput = {
+ name?: InputMaybe<Scalars['String']['input']>;
+};
+
+export type UpsertComicInput = {
+ artists?: InputMaybe<ArtistsUpsertInput>;
+ bookmarked?: InputMaybe<Scalars['Boolean']['input']>;
+ category?: InputMaybe<Category>;
+ censorship?: InputMaybe<Censorship>;
+ characters?: InputMaybe<CharactersUpsertInput>;
+ circles?: InputMaybe<CirclesUpsertInput>;
+ date?: InputMaybe<Scalars['Date']['input']>;
+ direction?: InputMaybe<Direction>;
+ favourite?: InputMaybe<Scalars['Boolean']['input']>;
+ language?: InputMaybe<Language>;
+ layout?: InputMaybe<Layout>;
+ organized?: InputMaybe<Scalars['Boolean']['input']>;
+ originalTitle?: InputMaybe<Scalars['String']['input']>;
+ rating?: InputMaybe<Rating>;
+ tags?: InputMaybe<ComicTagsUpsertInput>;
+ title?: InputMaybe<Scalars['String']['input']>;
+ url?: InputMaybe<Scalars['String']['input']>;
+ worlds?: InputMaybe<WorldsUpsertInput>;
+};
+
+export type UpsertOptions = {
+ onMissing?: OnMissing;
+};
+
+export type UpsertResponse = InvalidParameterError | NameExistsError | UpsertSuccess;
+
+export type UpsertSuccess = Success & {
+ __typename?: 'UpsertSuccess';
+ message: Scalars['String']['output'];
+};
+
+export type World = {
+ __typename?: 'World';
+ id: Scalars['Int']['output'];
+ name: Scalars['String']['output'];
+};
+
+export type WorldFilter = {
+ name?: InputMaybe<StringFilter>;
+};
+
+export type WorldFilterInput = {
+ exclude?: InputMaybe<WorldFilter>;
+ include?: InputMaybe<WorldFilter>;
+};
+
+export type WorldFilterResult = {
+ __typename?: 'WorldFilterResult';
+ count: Scalars['Int']['output'];
+ edges: Array<World>;
+};
+
+export type WorldResponse = IdNotFoundError | World;
+
+export enum WorldSort {
+ CreatedAt = 'CREATED_AT',
+ Name = 'NAME',
+ Random = 'RANDOM',
+ UpdatedAt = 'UPDATED_AT'
+}
+
+export type WorldSortInput = {
+ direction?: InputMaybe<SortDirection>;
+ on: WorldSort;
+ seed?: InputMaybe<Scalars['Int']['input']>;
+};
+
+export type WorldsUpdateInput = {
+ ids: Array<Scalars['Int']['input']>;
+ options?: InputMaybe<UpdateOptions>;
+};
+
+export type WorldsUpsertInput = {
+ names?: Array<Scalars['String']['input']>;
+ options?: InputMaybe<UpsertOptions>;
+};
+
+export type ImageFragment = { __typename?: 'Image', hash: string, width: number, height: number };
+
+export type PageFragment = { __typename?: 'Page', id: number, path: string, comicId?: number | null, image: { __typename?: 'Image', id: number, hash: string, aspectRatio: number, width: number, height: number } };
+
+export type ComicFragment = { __typename?: 'Comic', id: number, title: string, originalTitle?: string | null, favourite: boolean, cover: { __typename?: 'Image', hash: string, width: number, height: number }, tags: Array<{ __typename?: 'ComicTag', name: string, description?: string | null }>, artists: Array<{ __typename?: 'Artist', name: string }>, characters: Array<{ __typename?: 'Character', name: string }>, worlds: Array<{ __typename?: 'World', name: string }>, circles: Array<{ __typename?: 'Circle', name: string }> };
+
+export type FullArchiveFragment = { __typename?: 'FullArchive', id: number, name: string, path: string, size: number, createdAt: string, mtime: string, organized: boolean, pageCount: number, pages: Array<{ __typename?: 'Page', id: number, path: string, comicId?: number | null, image: { __typename?: 'Image', id: number, hash: string, aspectRatio: number, width: number, height: number } }>, comics: Array<{ __typename?: 'Comic', id: number, title: string, originalTitle?: string | null, favourite: boolean, cover: { __typename?: 'Image', hash: string, width: number, height: number }, tags: Array<{ __typename?: 'ComicTag', name: string, description?: string | null }>, artists: Array<{ __typename?: 'Artist', name: string }>, characters: Array<{ __typename?: 'Character', name: string }>, worlds: Array<{ __typename?: 'World', name: string }>, circles: Array<{ __typename?: 'Circle', name: string }> }> };
+
+export type ArchiveFragment = { __typename?: 'Archive', id: number, name: string, size: number, pageCount: number, cover: { __typename?: 'Image', hash: string, width: number, height: number } };
+
+export type FullComicFragment = { __typename?: 'FullComic', id: number, title: string, originalTitle?: string | null, url?: string | null, language?: Language | null, direction: Direction, date?: string | null, layout: Layout, rating?: Rating | null, category?: Category | null, censorship?: Censorship | null, favourite: boolean, createdAt: string, updatedAt: string, organized: boolean, bookmarked: boolean, pages: Array<{ __typename?: 'Page', id: number, path: string, comicId?: number | null, image: { __typename?: 'Image', id: number, hash: string, aspectRatio: number, width: number, height: number } }>, archive: { __typename?: 'Archive', id: number }, tags: Array<{ __typename?: 'ComicTag', id: string, name: string, description?: string | null }>, artists: Array<{ __typename?: 'Artist', id: number, name: string }>, characters: Array<{ __typename?: 'Character', id: number, name: string }>, worlds: Array<{ __typename?: 'World', id: number, name: string }>, circles: Array<{ __typename?: 'Circle', id: number, name: string }> };
+
+export type ComicScraperFragment = { __typename?: 'ComicScraper', id: string, name: string };
+
+export type ScrapeComicResultFragment = { __typename?: 'ScrapeComicResult', warnings: Array<string>, data: { __typename?: 'ScrapedComic', artists: Array<string>, category?: Category | null, censorship?: Censorship | null, characters: Array<string>, circles: Array<string>, date?: string | null, direction?: Direction | null, language?: Language | null, layout?: Layout | null, originalTitle?: string | null, url?: string | null, rating?: Rating | null, tags: Array<string>, title?: string | null, worlds: Array<string> } };
+
+export type ComicsQueryVariables = Exact<{
+ pagination: Pagination;
+ filter?: InputMaybe<ComicFilterInput>;
+ sort?: InputMaybe<ComicSortInput>;
+}>;
+
+
+export type ComicsQuery = { __typename?: 'Query', comics: { __typename?: 'ComicFilterResult', count: number, edges: Array<{ __typename?: 'Comic', id: number, title: string, originalTitle?: string | null, favourite: boolean, cover: { __typename?: 'Image', hash: string, width: number, height: number }, tags: Array<{ __typename?: 'ComicTag', name: string, description?: string | null }>, artists: Array<{ __typename?: 'Artist', name: string }>, characters: Array<{ __typename?: 'Character', name: string }>, worlds: Array<{ __typename?: 'World', name: string }>, circles: Array<{ __typename?: 'Circle', name: string }> }> } };
+
+export type ArchivesQueryVariables = Exact<{
+ pagination: Pagination;
+ filter?: InputMaybe<ArchiveFilterInput>;
+ sort?: InputMaybe<ArchiveSortInput>;
+}>;
+
+
+export type ArchivesQuery = { __typename?: 'Query', archives: { __typename?: 'ArchiveFilterResult', count: number, edges: Array<{ __typename?: 'Archive', id: number, name: string, size: number, pageCount: number, cover: { __typename?: 'Image', hash: string, width: number, height: number } }> } };
+
+export type ArchiveQueryVariables = Exact<{
+ id: Scalars['Int']['input'];
+}>;
+
+
+export type ArchiveQuery = { __typename?: 'Query', archive: { __typename?: 'FullArchive', id: number, name: string, path: string, size: number, createdAt: string, mtime: string, organized: boolean, pageCount: number, pages: Array<{ __typename?: 'Page', id: number, path: string, comicId?: number | null, image: { __typename?: 'Image', id: number, hash: string, aspectRatio: number, width: number, height: number } }>, comics: Array<{ __typename?: 'Comic', id: number, title: string, originalTitle?: string | null, favourite: boolean, cover: { __typename?: 'Image', hash: string, width: number, height: number }, tags: Array<{ __typename?: 'ComicTag', name: string, description?: string | null }>, artists: Array<{ __typename?: 'Artist', name: string }>, characters: Array<{ __typename?: 'Character', name: string }>, worlds: Array<{ __typename?: 'World', name: string }>, circles: Array<{ __typename?: 'Circle', name: string }> }> } | { __typename?: 'IDNotFoundError', message: string } };
+
+export type ComicQueryVariables = Exact<{
+ id: Scalars['Int']['input'];
+}>;
+
+
+export type ComicQuery = { __typename?: 'Query', comic: { __typename?: 'FullComic', id: number, title: string, originalTitle?: string | null, url?: string | null, language?: Language | null, direction: Direction, date?: string | null, layout: Layout, rating?: Rating | null, category?: Category | null, censorship?: Censorship | null, favourite: boolean, createdAt: string, updatedAt: string, organized: boolean, bookmarked: boolean, pages: Array<{ __typename?: 'Page', id: number, path: string, comicId?: number | null, image: { __typename?: 'Image', id: number, hash: string, aspectRatio: number, width: number, height: number } }>, archive: { __typename?: 'Archive', id: number }, tags: Array<{ __typename?: 'ComicTag', id: string, name: string, description?: string | null }>, artists: Array<{ __typename?: 'Artist', id: number, name: string }>, characters: Array<{ __typename?: 'Character', id: number, name: string }>, worlds: Array<{ __typename?: 'World', id: number, name: string }>, circles: Array<{ __typename?: 'Circle', id: number, name: string }> } | { __typename?: 'IDNotFoundError', message: string } };
+
+export type TagQueryVariables = Exact<{
+ id: Scalars['Int']['input'];
+}>;
+
+
+export type TagQuery = { __typename?: 'Query', tag: { __typename?: 'FullTag', id: number, name: string, description?: string | null, namespaces: Array<{ __typename?: 'Namespace', id: number, name: string }> } | { __typename?: 'IDNotFoundError', message: string } };
+
+export type TagsQueryVariables = Exact<{
+ pagination: Pagination;
+ filter?: InputMaybe<TagFilterInput>;
+ sort?: InputMaybe<TagSortInput>;
+}>;
+
+
+export type TagsQuery = { __typename?: 'Query', tags: { __typename?: 'TagFilterResult', count: number, edges: Array<{ __typename?: 'Tag', id: number, name: string, description?: string | null }> } };
+
+export type NamespaceQueryVariables = Exact<{
+ id: Scalars['Int']['input'];
+}>;
+
+
+export type NamespaceQuery = { __typename?: 'Query', namespace: { __typename?: 'IDNotFoundError', message: string } | { __typename?: 'Namespace', id: number, name: string, sortName?: string | null } };
+
+export type NamespacesQueryVariables = Exact<{
+ pagination: Pagination;
+ filter?: InputMaybe<NamespaceFilterInput>;
+ sort?: InputMaybe<NamespaceSortInput>;
+}>;
+
+
+export type NamespacesQuery = { __typename?: 'Query', namespaces: { __typename?: 'NamespaceFilterResult', count: number, edges: Array<{ __typename?: 'Namespace', id: number, name: string }> } };
+
+export type ComicTagListQueryVariables = Exact<{
+ forFilter?: InputMaybe<Scalars['Boolean']['input']>;
+}>;
+
+
+export type ComicTagListQuery = { __typename?: 'Query', comicTags: { __typename?: 'ComicTagFilterResult', edges: Array<{ __typename?: 'ComicTag', id: string, name: string }> } };
+
+export type ArtistListQueryVariables = Exact<{ [key: string]: never; }>;
+
+
+export type ArtistListQuery = { __typename?: 'Query', artists: { __typename?: 'ArtistFilterResult', edges: Array<{ __typename?: 'Artist', id: number, name: string }> } };
+
+export type CharacterListQueryVariables = Exact<{ [key: string]: never; }>;
+
+
+export type CharacterListQuery = { __typename?: 'Query', characters: { __typename?: 'CharacterFilterResult', edges: Array<{ __typename?: 'Character', id: number, name: string }> } };
+
+export type CircleListQueryVariables = Exact<{ [key: string]: never; }>;
+
+
+export type CircleListQuery = { __typename?: 'Query', circles: { __typename?: 'CircleFilterResult', edges: Array<{ __typename?: 'Circle', id: number, name: string }> } };
+
+export type WorldListQueryVariables = Exact<{ [key: string]: never; }>;
+
+
+export type WorldListQuery = { __typename?: 'Query', worlds: { __typename?: 'WorldFilterResult', edges: Array<{ __typename?: 'World', id: number, name: string }> } };
+
+export type NamespaceListQueryVariables = Exact<{ [key: string]: never; }>;
+
+
+export type NamespaceListQuery = { __typename?: 'Query', namespaces: { __typename?: 'NamespaceFilterResult', edges: Array<{ __typename?: 'Namespace', id: number, name: string }> } };
+
+export type ArtistsQueryVariables = Exact<{
+ pagination: Pagination;
+ filter?: InputMaybe<ArtistFilterInput>;
+ sort?: InputMaybe<ArtistSortInput>;
+}>;
+
+
+export type ArtistsQuery = { __typename?: 'Query', artists: { __typename?: 'ArtistFilterResult', count: number, edges: Array<{ __typename?: 'Artist', id: number, name: string }> } };
+
+export type ArtistQueryVariables = Exact<{
+ id: Scalars['Int']['input'];
+}>;
+
+
+export type ArtistQuery = { __typename?: 'Query', artist: { __typename?: 'Artist', id: number, name: string } | { __typename?: 'IDNotFoundError', message: string } };
+
+export type CharactersQueryVariables = Exact<{
+ pagination: Pagination;
+ filter?: InputMaybe<CharacterFilterInput>;
+ sort?: InputMaybe<CharacterSortInput>;
+}>;
+
+
+export type CharactersQuery = { __typename?: 'Query', characters: { __typename?: 'CharacterFilterResult', count: number, edges: Array<{ __typename?: 'Character', id: number, name: string }> } };
+
+export type CharacterQueryVariables = Exact<{
+ id: Scalars['Int']['input'];
+}>;
+
+
+export type CharacterQuery = { __typename?: 'Query', character: { __typename?: 'Character', id: number, name: string } | { __typename?: 'IDNotFoundError', message: string } };
+
+export type CirclesQueryVariables = Exact<{
+ pagination: Pagination;
+ filter?: InputMaybe<CircleFilterInput>;
+ sort?: InputMaybe<CircleSortInput>;
+}>;
+
+
+export type CirclesQuery = { __typename?: 'Query', circles: { __typename?: 'CircleFilterResult', count: number, edges: Array<{ __typename?: 'Circle', id: number, name: string }> } };
+
+export type CircleQueryVariables = Exact<{
+ id: Scalars['Int']['input'];
+}>;
+
+
+export type CircleQuery = { __typename?: 'Query', circle: { __typename?: 'Circle', id: number, name: string } | { __typename?: 'IDNotFoundError', message: string } };
+
+export type WorldsQueryVariables = Exact<{
+ pagination: Pagination;
+ filter?: InputMaybe<WorldFilterInput>;
+ sort?: InputMaybe<WorldSortInput>;
+}>;
+
+
+export type WorldsQuery = { __typename?: 'Query', worlds: { __typename?: 'WorldFilterResult', count: number, edges: Array<{ __typename?: 'World', id: number, name: string }> } };
+
+export type WorldQueryVariables = Exact<{
+ id: Scalars['Int']['input'];
+}>;
+
+
+export type WorldQuery = { __typename?: 'Query', world: { __typename?: 'IDNotFoundError', message: string } | { __typename?: 'World', id: number, name: string } };
+
+export type ComicScrapersQueryVariables = Exact<{
+ id: Scalars['Int']['input'];
+}>;
+
+
+export type ComicScrapersQuery = { __typename?: 'Query', comicScrapers: Array<{ __typename?: 'ComicScraper', id: string, name: string }> };
+
+export type ScrapeComicQueryVariables = Exact<{
+ id: Scalars['Int']['input'];
+ scraper: Scalars['String']['input'];
+}>;
+
+
+export type ScrapeComicQuery = { __typename?: 'Query', scrapeComic: { __typename?: 'IDNotFoundError', message: string } | { __typename?: 'ScrapeComicResult', warnings: Array<string>, data: { __typename?: 'ScrapedComic', artists: Array<string>, category?: Category | null, censorship?: Censorship | null, characters: Array<string>, circles: Array<string>, date?: string | null, direction?: Direction | null, language?: Language | null, layout?: Layout | null, originalTitle?: string | null, url?: string | null, rating?: Rating | null, tags: Array<string>, title?: string | null, worlds: Array<string> } } | { __typename?: 'ScraperError', message: string } | { __typename?: 'ScraperNotAvailableError', message: string } | { __typename?: 'ScraperNotFoundError', message: string } };
+
+export type FrontpageQueryVariables = Exact<{ [key: string]: never; }>;
+
+
+export type FrontpageQuery = { __typename?: 'Query', recent: { __typename?: 'ComicFilterResult', count: number, edges: Array<{ __typename?: 'Comic', id: number, title: string, originalTitle?: string | null, favourite: boolean, cover: { __typename?: 'Image', hash: string, width: number, height: number }, tags: Array<{ __typename?: 'ComicTag', name: string, description?: string | null }>, artists: Array<{ __typename?: 'Artist', name: string }>, characters: Array<{ __typename?: 'Character', name: string }>, worlds: Array<{ __typename?: 'World', name: string }>, circles: Array<{ __typename?: 'Circle', name: string }> }> }, favourites: { __typename?: 'ComicFilterResult', count: number, edges: Array<{ __typename?: 'Comic', id: number, title: string, originalTitle?: string | null, favourite: boolean, cover: { __typename?: 'Image', hash: string, width: number, height: number }, tags: Array<{ __typename?: 'ComicTag', name: string, description?: string | null }>, artists: Array<{ __typename?: 'Artist', name: string }>, characters: Array<{ __typename?: 'Character', name: string }>, worlds: Array<{ __typename?: 'World', name: string }>, circles: Array<{ __typename?: 'Circle', name: string }> }> }, bookmarked: { __typename?: 'ComicFilterResult', count: number, edges: Array<{ __typename?: 'Comic', id: number, title: string, originalTitle?: string | null, favourite: boolean, cover: { __typename?: 'Image', hash: string, width: number, height: number }, tags: Array<{ __typename?: 'ComicTag', name: string, description?: string | null }>, artists: Array<{ __typename?: 'Artist', name: string }>, characters: Array<{ __typename?: 'Character', name: string }>, worlds: Array<{ __typename?: 'World', name: string }>, circles: Array<{ __typename?: 'Circle', name: string }> }> } };
+
+export type AddComicMutationVariables = Exact<{
+ input: AddComicInput;
+}>;
+
+
+export type AddComicMutation = { __typename?: 'Mutation', addComic: { __typename?: 'AddComicSuccess', message: string, archivePagesRemaining: boolean } | { __typename?: 'IDNotFoundError', message: string } | { __typename?: 'InvalidParameterError', message: string } | { __typename?: 'PageClaimedError', message: string } | { __typename?: 'PageRemoteError', message: string } };
+
+export type UpdateArchivesMutationVariables = Exact<{
+ ids: Array<Scalars['Int']['input']> | Scalars['Int']['input'];
+ input: UpdateArchiveInput;
+}>;
+
+
+export type UpdateArchivesMutation = { __typename?: 'Mutation', updateArchives: { __typename?: 'IDNotFoundError', message: string } | { __typename?: 'InvalidParameterError', message: string } | { __typename?: 'NameExistsError', message: string } | { __typename?: 'PageClaimedError', message: string } | { __typename?: 'PageRemoteError', message: string } | { __typename?: 'UpdateSuccess', message: string } };
+
+export type UpdateComicsMutationVariables = Exact<{
+ ids: Array<Scalars['Int']['input']> | Scalars['Int']['input'];
+ input: UpdateComicInput;
+}>;
+
+
+export type UpdateComicsMutation = { __typename?: 'Mutation', updateComics: { __typename?: 'IDNotFoundError', message: string } | { __typename?: 'InvalidParameterError', message: string } | { __typename?: 'NameExistsError', message: string } | { __typename?: 'PageClaimedError', message: string } | { __typename?: 'PageRemoteError', message: string } | { __typename?: 'UpdateSuccess', message: string } };
+
+export type UpsertComicsMutationVariables = Exact<{
+ ids: Array<Scalars['Int']['input']> | Scalars['Int']['input'];
+ input: UpsertComicInput;
+}>;
+
+
+export type UpsertComicsMutation = { __typename?: 'Mutation', upsertComics: { __typename?: 'InvalidParameterError', message: string } | { __typename?: 'NameExistsError', message: string } | { __typename?: 'UpsertSuccess', message: string } };
+
+export type DeleteArchivesMutationVariables = Exact<{
+ ids: Array<Scalars['Int']['input']> | Scalars['Int']['input'];
+}>;
+
+
+export type DeleteArchivesMutation = { __typename?: 'Mutation', deleteArchives: { __typename?: 'DeleteSuccess', message: string } | { __typename?: 'IDNotFoundError', message: string } };
+
+export type DeleteComicsMutationVariables = Exact<{
+ ids: Array<Scalars['Int']['input']> | Scalars['Int']['input'];
+}>;
+
+
+export type DeleteComicsMutation = { __typename?: 'Mutation', deleteComics: { __typename?: 'DeleteSuccess', message: string } | { __typename?: 'IDNotFoundError', message: string } };
+
+export type AddTagMutationVariables = Exact<{
+ input: AddTagInput;
+}>;
+
+
+export type AddTagMutation = { __typename?: 'Mutation', addTag: { __typename?: 'AddSuccess', message: string } | { __typename?: 'IDNotFoundError', message: string } | { __typename?: 'InvalidParameterError', message: string } | { __typename?: 'NameExistsError', message: string } };
+
+export type UpdateTagsMutationVariables = Exact<{
+ ids: Array<Scalars['Int']['input']> | Scalars['Int']['input'];
+ input: UpdateTagInput;
+}>;
+
+
+export type UpdateTagsMutation = { __typename?: 'Mutation', updateTags: { __typename?: 'IDNotFoundError', message: string } | { __typename?: 'InvalidParameterError', message: string } | { __typename?: 'NameExistsError', message: string } | { __typename?: 'PageClaimedError', message: string } | { __typename?: 'PageRemoteError', message: string } | { __typename?: 'UpdateSuccess', message: string } };
+
+export type DeleteTagsMutationVariables = Exact<{
+ ids: Array<Scalars['Int']['input']> | Scalars['Int']['input'];
+}>;
+
+
+export type DeleteTagsMutation = { __typename?: 'Mutation', deleteTags: { __typename?: 'DeleteSuccess', message: string } | { __typename?: 'IDNotFoundError', message: string } };
+
+export type AddNamespaceMutationVariables = Exact<{
+ input: AddNamespaceInput;
+}>;
+
+
+export type AddNamespaceMutation = { __typename?: 'Mutation', addNamespace: { __typename?: 'AddSuccess', message: string } | { __typename?: 'IDNotFoundError', message: string } | { __typename?: 'InvalidParameterError', message: string } | { __typename?: 'NameExistsError', message: string } };
+
+export type UpdateNamespacesMutationVariables = Exact<{
+ ids: Array<Scalars['Int']['input']> | Scalars['Int']['input'];
+ input: UpdateNamespaceInput;
+}>;
+
+
+export type UpdateNamespacesMutation = { __typename?: 'Mutation', updateNamespaces: { __typename?: 'IDNotFoundError', message: string } | { __typename?: 'InvalidParameterError', message: string } | { __typename?: 'NameExistsError', message: string } | { __typename?: 'PageClaimedError', message: string } | { __typename?: 'PageRemoteError', message: string } | { __typename?: 'UpdateSuccess', message: string } };
+
+export type DeleteNamespacesMutationVariables = Exact<{
+ ids: Array<Scalars['Int']['input']> | Scalars['Int']['input'];
+}>;
+
+
+export type DeleteNamespacesMutation = { __typename?: 'Mutation', deleteNamespaces: { __typename?: 'DeleteSuccess', message: string } | { __typename?: 'IDNotFoundError', message: string } };
+
+export type AddArtistMutationVariables = Exact<{
+ input: AddArtistInput;
+}>;
+
+
+export type AddArtistMutation = { __typename?: 'Mutation', addArtist: { __typename?: 'AddSuccess', message: string } | { __typename?: 'IDNotFoundError', message: string } | { __typename?: 'InvalidParameterError', message: string } | { __typename?: 'NameExistsError', message: string } };
+
+export type UpdateArtistsMutationVariables = Exact<{
+ ids: Array<Scalars['Int']['input']> | Scalars['Int']['input'];
+ input: UpdateArtistInput;
+}>;
+
+
+export type UpdateArtistsMutation = { __typename?: 'Mutation', updateArtists: { __typename?: 'IDNotFoundError', message: string } | { __typename?: 'InvalidParameterError', message: string } | { __typename?: 'NameExistsError', message: string } | { __typename?: 'PageClaimedError', message: string } | { __typename?: 'PageRemoteError', message: string } | { __typename?: 'UpdateSuccess', message: string } };
+
+export type DeleteArtistsMutationVariables = Exact<{
+ ids: Array<Scalars['Int']['input']> | Scalars['Int']['input'];
+}>;
+
+
+export type DeleteArtistsMutation = { __typename?: 'Mutation', deleteArtists: { __typename?: 'DeleteSuccess', message: string } | { __typename?: 'IDNotFoundError', message: string } };
+
+export type AddCharacterMutationVariables = Exact<{
+ input: AddCharacterInput;
+}>;
+
+
+export type AddCharacterMutation = { __typename?: 'Mutation', addCharacter: { __typename?: 'AddSuccess', message: string } | { __typename?: 'IDNotFoundError', message: string } | { __typename?: 'InvalidParameterError', message: string } | { __typename?: 'NameExistsError', message: string } };
+
+export type UpdateCharactersMutationVariables = Exact<{
+ ids: Array<Scalars['Int']['input']> | Scalars['Int']['input'];
+ input: UpdateCharacterInput;
+}>;
+
+
+export type UpdateCharactersMutation = { __typename?: 'Mutation', updateCharacters: { __typename?: 'IDNotFoundError', message: string } | { __typename?: 'InvalidParameterError', message: string } | { __typename?: 'NameExistsError', message: string } | { __typename?: 'PageClaimedError', message: string } | { __typename?: 'PageRemoteError', message: string } | { __typename?: 'UpdateSuccess', message: string } };
+
+export type DeleteCharactersMutationVariables = Exact<{
+ ids: Array<Scalars['Int']['input']> | Scalars['Int']['input'];
+}>;
+
+
+export type DeleteCharactersMutation = { __typename?: 'Mutation', deleteCharacters: { __typename?: 'DeleteSuccess', message: string } | { __typename?: 'IDNotFoundError', message: string } };
+
+export type AddCircleMutationVariables = Exact<{
+ input: AddCircleInput;
+}>;
+
+
+export type AddCircleMutation = { __typename?: 'Mutation', addCircle: { __typename?: 'AddSuccess', message: string } | { __typename?: 'IDNotFoundError', message: string } | { __typename?: 'InvalidParameterError', message: string } | { __typename?: 'NameExistsError', message: string } };
+
+export type UpdateCirclesMutationVariables = Exact<{
+ ids: Array<Scalars['Int']['input']> | Scalars['Int']['input'];
+ input: UpdateCircleInput;
+}>;
+
+
+export type UpdateCirclesMutation = { __typename?: 'Mutation', updateCircles: { __typename?: 'IDNotFoundError', message: string } | { __typename?: 'InvalidParameterError', message: string } | { __typename?: 'NameExistsError', message: string } | { __typename?: 'PageClaimedError', message: string } | { __typename?: 'PageRemoteError', message: string } | { __typename?: 'UpdateSuccess', message: string } };
+
+export type DeleteCirclesMutationVariables = Exact<{
+ ids: Array<Scalars['Int']['input']> | Scalars['Int']['input'];
+}>;
+
+
+export type DeleteCirclesMutation = { __typename?: 'Mutation', deleteCircles: { __typename?: 'DeleteSuccess', message: string } | { __typename?: 'IDNotFoundError', message: string } };
+
+export type AddWorldMutationVariables = Exact<{
+ input: AddWorldInput;
+}>;
+
+
+export type AddWorldMutation = { __typename?: 'Mutation', addWorld: { __typename?: 'AddSuccess', message: string } | { __typename?: 'IDNotFoundError', message: string } | { __typename?: 'InvalidParameterError', message: string } | { __typename?: 'NameExistsError', message: string } };
+
+export type UpdateWorldsMutationVariables = Exact<{
+ ids: Array<Scalars['Int']['input']> | Scalars['Int']['input'];
+ input: UpdateWorldInput;
+}>;
+
+
+export type UpdateWorldsMutation = { __typename?: 'Mutation', updateWorlds: { __typename?: 'IDNotFoundError', message: string } | { __typename?: 'InvalidParameterError', message: string } | { __typename?: 'NameExistsError', message: string } | { __typename?: 'PageClaimedError', message: string } | { __typename?: 'PageRemoteError', message: string } | { __typename?: 'UpdateSuccess', message: string } };
+
+export type DeleteWorldsMutationVariables = Exact<{
+ ids: Array<Scalars['Int']['input']> | Scalars['Int']['input'];
+}>;
+
+
+export type DeleteWorldsMutation = { __typename?: 'Mutation', deleteWorlds: { __typename?: 'DeleteSuccess', message: string } | { __typename?: 'IDNotFoundError', message: string } };
+
+export const PageFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Page"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Page"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"path"}},{"kind":"Field","name":{"kind":"Name","value":"image"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"hash"}},{"kind":"Field","name":{"kind":"Name","value":"aspectRatio"}},{"kind":"Field","name":{"kind":"Name","value":"width"}},{"kind":"Field","name":{"kind":"Name","value":"height"}}]}},{"kind":"Field","name":{"kind":"Name","value":"comicId"}}]}}]} as unknown as DocumentNode<PageFragment, unknown>;
+export const ImageFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Image"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Image"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"hash"}},{"kind":"Field","name":{"kind":"Name","value":"width"}},{"kind":"Field","name":{"kind":"Name","value":"height"}}]}}]} as unknown as DocumentNode<ImageFragment, unknown>;
+export const ComicFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Comic"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Comic"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"title"}},{"kind":"Field","name":{"kind":"Name","value":"originalTitle"}},{"kind":"Field","name":{"kind":"Name","value":"favourite"}},{"kind":"Field","name":{"kind":"Name","value":"cover"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Image"}}]}},{"kind":"Field","name":{"kind":"Name","value":"tags"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"description"}}]}},{"kind":"Field","name":{"kind":"Name","value":"artists"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"characters"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"worlds"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"circles"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Image"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Image"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"hash"}},{"kind":"Field","name":{"kind":"Name","value":"width"}},{"kind":"Field","name":{"kind":"Name","value":"height"}}]}}]} as unknown as DocumentNode<ComicFragment, unknown>;
+export const FullArchiveFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"FullArchive"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"FullArchive"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"path"}},{"kind":"Field","name":{"kind":"Name","value":"size"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"mtime"}},{"kind":"Field","name":{"kind":"Name","value":"organized"}},{"kind":"Field","name":{"kind":"Name","value":"pageCount"}},{"kind":"Field","name":{"kind":"Name","value":"pages"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Page"}}]}},{"kind":"Field","name":{"kind":"Name","value":"comics"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Comic"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Image"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Image"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"hash"}},{"kind":"Field","name":{"kind":"Name","value":"width"}},{"kind":"Field","name":{"kind":"Name","value":"height"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Page"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Page"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"path"}},{"kind":"Field","name":{"kind":"Name","value":"image"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"hash"}},{"kind":"Field","name":{"kind":"Name","value":"aspectRatio"}},{"kind":"Field","name":{"kind":"Name","value":"width"}},{"kind":"Field","name":{"kind":"Name","value":"height"}}]}},{"kind":"Field","name":{"kind":"Name","value":"comicId"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Comic"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Comic"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"title"}},{"kind":"Field","name":{"kind":"Name","value":"originalTitle"}},{"kind":"Field","name":{"kind":"Name","value":"favourite"}},{"kind":"Field","name":{"kind":"Name","value":"cover"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Image"}}]}},{"kind":"Field","name":{"kind":"Name","value":"tags"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"description"}}]}},{"kind":"Field","name":{"kind":"Name","value":"artists"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"characters"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"worlds"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"circles"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}}]} as unknown as DocumentNode<FullArchiveFragment, unknown>;
+export const ArchiveFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Archive"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Archive"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"size"}},{"kind":"Field","name":{"kind":"Name","value":"pageCount"}},{"kind":"Field","name":{"kind":"Name","value":"cover"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Image"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Image"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Image"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"hash"}},{"kind":"Field","name":{"kind":"Name","value":"width"}},{"kind":"Field","name":{"kind":"Name","value":"height"}}]}}]} as unknown as DocumentNode<ArchiveFragment, unknown>;
+export const FullComicFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"FullComic"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"FullComic"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"title"}},{"kind":"Field","name":{"kind":"Name","value":"originalTitle"}},{"kind":"Field","name":{"kind":"Name","value":"url"}},{"kind":"Field","name":{"kind":"Name","value":"language"}},{"kind":"Field","name":{"kind":"Name","value":"direction"}},{"kind":"Field","name":{"kind":"Name","value":"date"}},{"kind":"Field","name":{"kind":"Name","value":"layout"}},{"kind":"Field","name":{"kind":"Name","value":"rating"}},{"kind":"Field","name":{"kind":"Name","value":"category"}},{"kind":"Field","name":{"kind":"Name","value":"censorship"}},{"kind":"Field","name":{"kind":"Name","value":"favourite"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"organized"}},{"kind":"Field","name":{"kind":"Name","value":"bookmarked"}},{"kind":"Field","name":{"kind":"Name","value":"pages"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Page"}}]}},{"kind":"Field","name":{"kind":"Name","value":"archive"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}},{"kind":"Field","name":{"kind":"Name","value":"tags"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"description"}}]}},{"kind":"Field","name":{"kind":"Name","value":"artists"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"characters"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"worlds"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"circles"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Page"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Page"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"path"}},{"kind":"Field","name":{"kind":"Name","value":"image"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"hash"}},{"kind":"Field","name":{"kind":"Name","value":"aspectRatio"}},{"kind":"Field","name":{"kind":"Name","value":"width"}},{"kind":"Field","name":{"kind":"Name","value":"height"}}]}},{"kind":"Field","name":{"kind":"Name","value":"comicId"}}]}}]} as unknown as DocumentNode<FullComicFragment, unknown>;
+export const ComicScraperFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ComicScraper"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ComicScraper"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]} as unknown as DocumentNode<ComicScraperFragment, unknown>;
+export const ScrapeComicResultFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ScrapeComicResult"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ScrapeComicResult"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"data"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"artists"}},{"kind":"Field","name":{"kind":"Name","value":"category"}},{"kind":"Field","name":{"kind":"Name","value":"censorship"}},{"kind":"Field","name":{"kind":"Name","value":"characters"}},{"kind":"Field","name":{"kind":"Name","value":"circles"}},{"kind":"Field","name":{"kind":"Name","value":"date"}},{"kind":"Field","name":{"kind":"Name","value":"direction"}},{"kind":"Field","name":{"kind":"Name","value":"language"}},{"kind":"Field","name":{"kind":"Name","value":"layout"}},{"kind":"Field","name":{"kind":"Name","value":"originalTitle"}},{"kind":"Field","name":{"kind":"Name","value":"url"}},{"kind":"Field","name":{"kind":"Name","value":"rating"}},{"kind":"Field","name":{"kind":"Name","value":"tags"}},{"kind":"Field","name":{"kind":"Name","value":"title"}},{"kind":"Field","name":{"kind":"Name","value":"worlds"}}]}},{"kind":"Field","name":{"kind":"Name","value":"warnings"}}]}}]} as unknown as DocumentNode<ScrapeComicResultFragment, unknown>;
+export const ComicsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"comics"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"pagination"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"Pagination"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"filter"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"ComicFilterInput"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"sort"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"ComicSortInput"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"comics"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"pagination"},"value":{"kind":"Variable","name":{"kind":"Name","value":"pagination"}}},{"kind":"Argument","name":{"kind":"Name","value":"filter"},"value":{"kind":"Variable","name":{"kind":"Name","value":"filter"}}},{"kind":"Argument","name":{"kind":"Name","value":"sort"},"value":{"kind":"Variable","name":{"kind":"Name","value":"sort"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"edges"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Comic"}}]}},{"kind":"Field","name":{"kind":"Name","value":"count"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Image"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Image"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"hash"}},{"kind":"Field","name":{"kind":"Name","value":"width"}},{"kind":"Field","name":{"kind":"Name","value":"height"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Comic"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Comic"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"title"}},{"kind":"Field","name":{"kind":"Name","value":"originalTitle"}},{"kind":"Field","name":{"kind":"Name","value":"favourite"}},{"kind":"Field","name":{"kind":"Name","value":"cover"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Image"}}]}},{"kind":"Field","name":{"kind":"Name","value":"tags"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"description"}}]}},{"kind":"Field","name":{"kind":"Name","value":"artists"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"characters"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"worlds"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"circles"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}}]} as unknown as DocumentNode<ComicsQuery, ComicsQueryVariables>;
+export const ArchivesDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"archives"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"pagination"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"Pagination"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"filter"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"ArchiveFilterInput"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"sort"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"ArchiveSortInput"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"archives"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"pagination"},"value":{"kind":"Variable","name":{"kind":"Name","value":"pagination"}}},{"kind":"Argument","name":{"kind":"Name","value":"filter"},"value":{"kind":"Variable","name":{"kind":"Name","value":"filter"}}},{"kind":"Argument","name":{"kind":"Name","value":"sort"},"value":{"kind":"Variable","name":{"kind":"Name","value":"sort"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"edges"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Archive"}}]}},{"kind":"Field","name":{"kind":"Name","value":"count"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Image"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Image"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"hash"}},{"kind":"Field","name":{"kind":"Name","value":"width"}},{"kind":"Field","name":{"kind":"Name","value":"height"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Archive"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Archive"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"size"}},{"kind":"Field","name":{"kind":"Name","value":"pageCount"}},{"kind":"Field","name":{"kind":"Name","value":"cover"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Image"}}]}}]}}]} as unknown as DocumentNode<ArchivesQuery, ArchivesQueryVariables>;
+export const ArchiveDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"archive"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"id"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"archive"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"id"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"FullArchive"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"FullArchive"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Error"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"message"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Image"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Image"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"hash"}},{"kind":"Field","name":{"kind":"Name","value":"width"}},{"kind":"Field","name":{"kind":"Name","value":"height"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Page"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Page"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"path"}},{"kind":"Field","name":{"kind":"Name","value":"image"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"hash"}},{"kind":"Field","name":{"kind":"Name","value":"aspectRatio"}},{"kind":"Field","name":{"kind":"Name","value":"width"}},{"kind":"Field","name":{"kind":"Name","value":"height"}}]}},{"kind":"Field","name":{"kind":"Name","value":"comicId"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Comic"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Comic"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"title"}},{"kind":"Field","name":{"kind":"Name","value":"originalTitle"}},{"kind":"Field","name":{"kind":"Name","value":"favourite"}},{"kind":"Field","name":{"kind":"Name","value":"cover"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Image"}}]}},{"kind":"Field","name":{"kind":"Name","value":"tags"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"description"}}]}},{"kind":"Field","name":{"kind":"Name","value":"artists"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"characters"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"worlds"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"circles"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"FullArchive"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"FullArchive"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"path"}},{"kind":"Field","name":{"kind":"Name","value":"size"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"mtime"}},{"kind":"Field","name":{"kind":"Name","value":"organized"}},{"kind":"Field","name":{"kind":"Name","value":"pageCount"}},{"kind":"Field","name":{"kind":"Name","value":"pages"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Page"}}]}},{"kind":"Field","name":{"kind":"Name","value":"comics"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Comic"}}]}}]}}]} as unknown as DocumentNode<ArchiveQuery, ArchiveQueryVariables>;
+export const ComicDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"comic"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"id"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"comic"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"id"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"FullComic"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"FullComic"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Error"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"message"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Page"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Page"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"path"}},{"kind":"Field","name":{"kind":"Name","value":"image"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"hash"}},{"kind":"Field","name":{"kind":"Name","value":"aspectRatio"}},{"kind":"Field","name":{"kind":"Name","value":"width"}},{"kind":"Field","name":{"kind":"Name","value":"height"}}]}},{"kind":"Field","name":{"kind":"Name","value":"comicId"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"FullComic"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"FullComic"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"title"}},{"kind":"Field","name":{"kind":"Name","value":"originalTitle"}},{"kind":"Field","name":{"kind":"Name","value":"url"}},{"kind":"Field","name":{"kind":"Name","value":"language"}},{"kind":"Field","name":{"kind":"Name","value":"direction"}},{"kind":"Field","name":{"kind":"Name","value":"date"}},{"kind":"Field","name":{"kind":"Name","value":"layout"}},{"kind":"Field","name":{"kind":"Name","value":"rating"}},{"kind":"Field","name":{"kind":"Name","value":"category"}},{"kind":"Field","name":{"kind":"Name","value":"censorship"}},{"kind":"Field","name":{"kind":"Name","value":"favourite"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"organized"}},{"kind":"Field","name":{"kind":"Name","value":"bookmarked"}},{"kind":"Field","name":{"kind":"Name","value":"pages"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Page"}}]}},{"kind":"Field","name":{"kind":"Name","value":"archive"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}},{"kind":"Field","name":{"kind":"Name","value":"tags"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"description"}}]}},{"kind":"Field","name":{"kind":"Name","value":"artists"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"characters"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"worlds"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"circles"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}}]} as unknown as DocumentNode<ComicQuery, ComicQueryVariables>;
+export const TagDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"tag"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"id"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"tag"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"id"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"FullTag"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"namespaces"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Error"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"message"}}]}}]}}]}}]} as unknown as DocumentNode<TagQuery, TagQueryVariables>;
+export const TagsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"tags"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"pagination"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"Pagination"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"filter"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"TagFilterInput"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"sort"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"TagSortInput"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"tags"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"pagination"},"value":{"kind":"Variable","name":{"kind":"Name","value":"pagination"}}},{"kind":"Argument","name":{"kind":"Name","value":"filter"},"value":{"kind":"Variable","name":{"kind":"Name","value":"filter"}}},{"kind":"Argument","name":{"kind":"Name","value":"sort"},"value":{"kind":"Variable","name":{"kind":"Name","value":"sort"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"edges"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"description"}}]}},{"kind":"Field","name":{"kind":"Name","value":"count"}}]}}]}}]} as unknown as DocumentNode<TagsQuery, TagsQueryVariables>;
+export const NamespaceDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"namespace"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"id"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"namespace"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"id"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Namespace"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"sortName"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Error"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"message"}}]}}]}}]}}]} as unknown as DocumentNode<NamespaceQuery, NamespaceQueryVariables>;
+export const NamespacesDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"namespaces"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"pagination"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"Pagination"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"filter"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"NamespaceFilterInput"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"sort"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"NamespaceSortInput"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"namespaces"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"pagination"},"value":{"kind":"Variable","name":{"kind":"Name","value":"pagination"}}},{"kind":"Argument","name":{"kind":"Name","value":"filter"},"value":{"kind":"Variable","name":{"kind":"Name","value":"filter"}}},{"kind":"Argument","name":{"kind":"Name","value":"sort"},"value":{"kind":"Variable","name":{"kind":"Name","value":"sort"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"count"}},{"kind":"Field","name":{"kind":"Name","value":"edges"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}}]}}]} as unknown as DocumentNode<NamespacesQuery, NamespacesQueryVariables>;
+export const ComicTagListDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"comicTagList"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"forFilter"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"Boolean"}},"defaultValue":{"kind":"BooleanValue","value":false}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"comicTags"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"forFilter"},"value":{"kind":"Variable","name":{"kind":"Name","value":"forFilter"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"edges"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}}]}}]} as unknown as DocumentNode<ComicTagListQuery, ComicTagListQueryVariables>;
+export const ArtistListDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"artistList"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"artists"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"edges"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}}]}}]} as unknown as DocumentNode<ArtistListQuery, ArtistListQueryVariables>;
+export const CharacterListDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"characterList"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"characters"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"edges"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}}]}}]} as unknown as DocumentNode<CharacterListQuery, CharacterListQueryVariables>;
+export const CircleListDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"circleList"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"circles"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"edges"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}}]}}]} as unknown as DocumentNode<CircleListQuery, CircleListQueryVariables>;
+export const WorldListDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"worldList"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"worlds"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"edges"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}}]}}]} as unknown as DocumentNode<WorldListQuery, WorldListQueryVariables>;
+export const NamespaceListDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"namespaceList"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"namespaces"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"edges"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}}]}}]} as unknown as DocumentNode<NamespaceListQuery, NamespaceListQueryVariables>;
+export const ArtistsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"artists"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"pagination"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"Pagination"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"filter"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"ArtistFilterInput"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"sort"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"ArtistSortInput"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"artists"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"pagination"},"value":{"kind":"Variable","name":{"kind":"Name","value":"pagination"}}},{"kind":"Argument","name":{"kind":"Name","value":"filter"},"value":{"kind":"Variable","name":{"kind":"Name","value":"filter"}}},{"kind":"Argument","name":{"kind":"Name","value":"sort"},"value":{"kind":"Variable","name":{"kind":"Name","value":"sort"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"count"}},{"kind":"Field","name":{"kind":"Name","value":"edges"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}}]}}]} as unknown as DocumentNode<ArtistsQuery, ArtistsQueryVariables>;
+export const ArtistDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"artist"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"id"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"artist"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"id"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Artist"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Error"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"message"}}]}}]}}]}}]} as unknown as DocumentNode<ArtistQuery, ArtistQueryVariables>;
+export const CharactersDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"characters"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"pagination"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"Pagination"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"filter"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"CharacterFilterInput"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"sort"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"CharacterSortInput"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"characters"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"pagination"},"value":{"kind":"Variable","name":{"kind":"Name","value":"pagination"}}},{"kind":"Argument","name":{"kind":"Name","value":"filter"},"value":{"kind":"Variable","name":{"kind":"Name","value":"filter"}}},{"kind":"Argument","name":{"kind":"Name","value":"sort"},"value":{"kind":"Variable","name":{"kind":"Name","value":"sort"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"count"}},{"kind":"Field","name":{"kind":"Name","value":"edges"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}}]}}]} as unknown as DocumentNode<CharactersQuery, CharactersQueryVariables>;
+export const CharacterDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"character"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"id"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"character"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"id"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Character"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Error"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"message"}}]}}]}}]}}]} as unknown as DocumentNode<CharacterQuery, CharacterQueryVariables>;
+export const CirclesDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"circles"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"pagination"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"Pagination"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"filter"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"CircleFilterInput"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"sort"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"CircleSortInput"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"circles"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"pagination"},"value":{"kind":"Variable","name":{"kind":"Name","value":"pagination"}}},{"kind":"Argument","name":{"kind":"Name","value":"filter"},"value":{"kind":"Variable","name":{"kind":"Name","value":"filter"}}},{"kind":"Argument","name":{"kind":"Name","value":"sort"},"value":{"kind":"Variable","name":{"kind":"Name","value":"sort"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"count"}},{"kind":"Field","name":{"kind":"Name","value":"edges"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}}]}}]} as unknown as DocumentNode<CirclesQuery, CirclesQueryVariables>;
+export const CircleDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"circle"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"id"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"circle"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"id"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Circle"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Error"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"message"}}]}}]}}]}}]} as unknown as DocumentNode<CircleQuery, CircleQueryVariables>;
+export const WorldsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"worlds"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"pagination"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"Pagination"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"filter"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"WorldFilterInput"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"sort"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"WorldSortInput"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"worlds"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"pagination"},"value":{"kind":"Variable","name":{"kind":"Name","value":"pagination"}}},{"kind":"Argument","name":{"kind":"Name","value":"filter"},"value":{"kind":"Variable","name":{"kind":"Name","value":"filter"}}},{"kind":"Argument","name":{"kind":"Name","value":"sort"},"value":{"kind":"Variable","name":{"kind":"Name","value":"sort"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"count"}},{"kind":"Field","name":{"kind":"Name","value":"edges"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}}]}}]} as unknown as DocumentNode<WorldsQuery, WorldsQueryVariables>;
+export const WorldDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"world"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"id"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"world"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"id"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"World"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Error"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"message"}}]}}]}}]}}]} as unknown as DocumentNode<WorldQuery, WorldQueryVariables>;
+export const ComicScrapersDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"comicScrapers"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"id"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"comicScrapers"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"id"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}}]} as unknown as DocumentNode<ComicScrapersQuery, ComicScrapersQueryVariables>;
+export const ScrapeComicDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"scrapeComic"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"id"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"scraper"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"scrapeComic"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"id"}}},{"kind":"Argument","name":{"kind":"Name","value":"scraper"},"value":{"kind":"Variable","name":{"kind":"Name","value":"scraper"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ScrapeComicResult"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"ScrapeComicResult"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Error"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"message"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ScrapeComicResult"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ScrapeComicResult"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"data"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"artists"}},{"kind":"Field","name":{"kind":"Name","value":"category"}},{"kind":"Field","name":{"kind":"Name","value":"censorship"}},{"kind":"Field","name":{"kind":"Name","value":"characters"}},{"kind":"Field","name":{"kind":"Name","value":"circles"}},{"kind":"Field","name":{"kind":"Name","value":"date"}},{"kind":"Field","name":{"kind":"Name","value":"direction"}},{"kind":"Field","name":{"kind":"Name","value":"language"}},{"kind":"Field","name":{"kind":"Name","value":"layout"}},{"kind":"Field","name":{"kind":"Name","value":"originalTitle"}},{"kind":"Field","name":{"kind":"Name","value":"url"}},{"kind":"Field","name":{"kind":"Name","value":"rating"}},{"kind":"Field","name":{"kind":"Name","value":"tags"}},{"kind":"Field","name":{"kind":"Name","value":"title"}},{"kind":"Field","name":{"kind":"Name","value":"worlds"}}]}},{"kind":"Field","name":{"kind":"Name","value":"warnings"}}]}}]} as unknown as DocumentNode<ScrapeComicQuery, ScrapeComicQueryVariables>;
+export const FrontpageDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"frontpage"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","alias":{"kind":"Name","value":"recent"},"name":{"kind":"Name","value":"comics"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"pagination"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"items"},"value":{"kind":"IntValue","value":"6"}}]}},{"kind":"Argument","name":{"kind":"Name","value":"sort"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"on"},"value":{"kind":"EnumValue","value":"CREATED_AT"}},{"kind":"ObjectField","name":{"kind":"Name","value":"direction"},"value":{"kind":"EnumValue","value":"DESCENDING"}}]}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"edges"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Comic"}}]}},{"kind":"Field","name":{"kind":"Name","value":"count"}}]}},{"kind":"Field","alias":{"kind":"Name","value":"favourites"},"name":{"kind":"Name","value":"comics"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"pagination"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"items"},"value":{"kind":"IntValue","value":"6"}}]}},{"kind":"Argument","name":{"kind":"Name","value":"filter"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"include"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"favourite"},"value":{"kind":"BooleanValue","value":true}}]}}]}},{"kind":"Argument","name":{"kind":"Name","value":"sort"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"on"},"value":{"kind":"EnumValue","value":"RANDOM"}}]}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"edges"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Comic"}}]}},{"kind":"Field","name":{"kind":"Name","value":"count"}}]}},{"kind":"Field","alias":{"kind":"Name","value":"bookmarked"},"name":{"kind":"Name","value":"comics"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"pagination"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"items"},"value":{"kind":"IntValue","value":"6"}}]}},{"kind":"Argument","name":{"kind":"Name","value":"filter"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"include"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"bookmarked"},"value":{"kind":"BooleanValue","value":true}}]}}]}},{"kind":"Argument","name":{"kind":"Name","value":"sort"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"on"},"value":{"kind":"EnumValue","value":"RANDOM"}}]}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"edges"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Comic"}}]}},{"kind":"Field","name":{"kind":"Name","value":"count"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Image"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Image"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"hash"}},{"kind":"Field","name":{"kind":"Name","value":"width"}},{"kind":"Field","name":{"kind":"Name","value":"height"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Comic"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Comic"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"title"}},{"kind":"Field","name":{"kind":"Name","value":"originalTitle"}},{"kind":"Field","name":{"kind":"Name","value":"favourite"}},{"kind":"Field","name":{"kind":"Name","value":"cover"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Image"}}]}},{"kind":"Field","name":{"kind":"Name","value":"tags"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"description"}}]}},{"kind":"Field","name":{"kind":"Name","value":"artists"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"characters"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"worlds"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"circles"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}}]} as unknown as DocumentNode<FrontpageQuery, FrontpageQueryVariables>;
+export const AddComicDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"addComic"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"AddComicInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"addComic"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"Variable","name":{"kind":"Name","value":"input"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"AddComicSuccess"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"message"}},{"kind":"Field","name":{"kind":"Name","value":"archivePagesRemaining"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Error"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"message"}}]}}]}}]}}]} as unknown as DocumentNode<AddComicMutation, AddComicMutationVariables>;
+export const UpdateArchivesDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"updateArchives"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"ids"}},"type":{"kind":"NonNullType","type":{"kind":"ListType","type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"UpdateArchiveInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"updateArchives"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"ids"},"value":{"kind":"Variable","name":{"kind":"Name","value":"ids"}}},{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"Variable","name":{"kind":"Name","value":"input"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Success"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"message"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Error"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"message"}}]}}]}}]}}]} as unknown as DocumentNode<UpdateArchivesMutation, UpdateArchivesMutationVariables>;
+export const UpdateComicsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"updateComics"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"ids"}},"type":{"kind":"NonNullType","type":{"kind":"ListType","type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"UpdateComicInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"updateComics"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"ids"},"value":{"kind":"Variable","name":{"kind":"Name","value":"ids"}}},{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"Variable","name":{"kind":"Name","value":"input"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Success"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"message"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Error"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"message"}}]}}]}}]}}]} as unknown as DocumentNode<UpdateComicsMutation, UpdateComicsMutationVariables>;
+export const UpsertComicsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"upsertComics"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"ids"}},"type":{"kind":"NonNullType","type":{"kind":"ListType","type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"UpsertComicInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"upsertComics"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"ids"},"value":{"kind":"Variable","name":{"kind":"Name","value":"ids"}}},{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"Variable","name":{"kind":"Name","value":"input"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Success"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"message"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Error"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"message"}}]}}]}}]}}]} as unknown as DocumentNode<UpsertComicsMutation, UpsertComicsMutationVariables>;
+export const DeleteArchivesDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"deleteArchives"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"ids"}},"type":{"kind":"NonNullType","type":{"kind":"ListType","type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"deleteArchives"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"ids"},"value":{"kind":"Variable","name":{"kind":"Name","value":"ids"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Success"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"message"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Error"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"message"}}]}}]}}]}}]} as unknown as DocumentNode<DeleteArchivesMutation, DeleteArchivesMutationVariables>;
+export const DeleteComicsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"deleteComics"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"ids"}},"type":{"kind":"NonNullType","type":{"kind":"ListType","type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"deleteComics"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"ids"},"value":{"kind":"Variable","name":{"kind":"Name","value":"ids"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Success"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"message"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Error"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"message"}}]}}]}}]}}]} as unknown as DocumentNode<DeleteComicsMutation, DeleteComicsMutationVariables>;
+export const AddTagDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"addTag"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"AddTagInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"addTag"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"Variable","name":{"kind":"Name","value":"input"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Success"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"message"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Error"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"message"}}]}}]}}]}}]} as unknown as DocumentNode<AddTagMutation, AddTagMutationVariables>;
+export const UpdateTagsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"updateTags"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"ids"}},"type":{"kind":"NonNullType","type":{"kind":"ListType","type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"UpdateTagInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"updateTags"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"ids"},"value":{"kind":"Variable","name":{"kind":"Name","value":"ids"}}},{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"Variable","name":{"kind":"Name","value":"input"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Success"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"message"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Error"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"message"}}]}}]}}]}}]} as unknown as DocumentNode<UpdateTagsMutation, UpdateTagsMutationVariables>;
+export const DeleteTagsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"deleteTags"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"ids"}},"type":{"kind":"NonNullType","type":{"kind":"ListType","type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"deleteTags"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"ids"},"value":{"kind":"Variable","name":{"kind":"Name","value":"ids"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Success"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"message"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Error"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"message"}}]}}]}}]}}]} as unknown as DocumentNode<DeleteTagsMutation, DeleteTagsMutationVariables>;
+export const AddNamespaceDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"addNamespace"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"AddNamespaceInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"addNamespace"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"Variable","name":{"kind":"Name","value":"input"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Success"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"message"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Error"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"message"}}]}}]}}]}}]} as unknown as DocumentNode<AddNamespaceMutation, AddNamespaceMutationVariables>;
+export const UpdateNamespacesDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"updateNamespaces"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"ids"}},"type":{"kind":"NonNullType","type":{"kind":"ListType","type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"UpdateNamespaceInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"updateNamespaces"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"ids"},"value":{"kind":"Variable","name":{"kind":"Name","value":"ids"}}},{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"Variable","name":{"kind":"Name","value":"input"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Success"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"message"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Error"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"message"}}]}}]}}]}}]} as unknown as DocumentNode<UpdateNamespacesMutation, UpdateNamespacesMutationVariables>;
+export const DeleteNamespacesDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"deleteNamespaces"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"ids"}},"type":{"kind":"NonNullType","type":{"kind":"ListType","type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"deleteNamespaces"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"ids"},"value":{"kind":"Variable","name":{"kind":"Name","value":"ids"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Success"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"message"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Error"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"message"}}]}}]}}]}}]} as unknown as DocumentNode<DeleteNamespacesMutation, DeleteNamespacesMutationVariables>;
+export const AddArtistDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"addArtist"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"AddArtistInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"addArtist"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"Variable","name":{"kind":"Name","value":"input"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Success"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"message"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Error"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"message"}}]}}]}}]}}]} as unknown as DocumentNode<AddArtistMutation, AddArtistMutationVariables>;
+export const UpdateArtistsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"updateArtists"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"ids"}},"type":{"kind":"NonNullType","type":{"kind":"ListType","type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"UpdateArtistInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"updateArtists"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"ids"},"value":{"kind":"Variable","name":{"kind":"Name","value":"ids"}}},{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"Variable","name":{"kind":"Name","value":"input"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Success"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"message"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Error"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"message"}}]}}]}}]}}]} as unknown as DocumentNode<UpdateArtistsMutation, UpdateArtistsMutationVariables>;
+export const DeleteArtistsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"deleteArtists"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"ids"}},"type":{"kind":"NonNullType","type":{"kind":"ListType","type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"deleteArtists"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"ids"},"value":{"kind":"Variable","name":{"kind":"Name","value":"ids"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Success"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"message"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Error"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"message"}}]}}]}}]}}]} as unknown as DocumentNode<DeleteArtistsMutation, DeleteArtistsMutationVariables>;
+export const AddCharacterDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"addCharacter"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"AddCharacterInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"addCharacter"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"Variable","name":{"kind":"Name","value":"input"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Success"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"message"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Error"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"message"}}]}}]}}]}}]} as unknown as DocumentNode<AddCharacterMutation, AddCharacterMutationVariables>;
+export const UpdateCharactersDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"updateCharacters"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"ids"}},"type":{"kind":"NonNullType","type":{"kind":"ListType","type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"UpdateCharacterInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"updateCharacters"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"ids"},"value":{"kind":"Variable","name":{"kind":"Name","value":"ids"}}},{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"Variable","name":{"kind":"Name","value":"input"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Success"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"message"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Error"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"message"}}]}}]}}]}}]} as unknown as DocumentNode<UpdateCharactersMutation, UpdateCharactersMutationVariables>;
+export const DeleteCharactersDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"deleteCharacters"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"ids"}},"type":{"kind":"NonNullType","type":{"kind":"ListType","type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"deleteCharacters"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"ids"},"value":{"kind":"Variable","name":{"kind":"Name","value":"ids"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Success"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"message"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Error"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"message"}}]}}]}}]}}]} as unknown as DocumentNode<DeleteCharactersMutation, DeleteCharactersMutationVariables>;
+export const AddCircleDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"addCircle"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"AddCircleInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"addCircle"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"Variable","name":{"kind":"Name","value":"input"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Success"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"message"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Error"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"message"}}]}}]}}]}}]} as unknown as DocumentNode<AddCircleMutation, AddCircleMutationVariables>;
+export const UpdateCirclesDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"updateCircles"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"ids"}},"type":{"kind":"NonNullType","type":{"kind":"ListType","type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"UpdateCircleInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"updateCircles"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"ids"},"value":{"kind":"Variable","name":{"kind":"Name","value":"ids"}}},{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"Variable","name":{"kind":"Name","value":"input"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Success"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"message"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Error"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"message"}}]}}]}}]}}]} as unknown as DocumentNode<UpdateCirclesMutation, UpdateCirclesMutationVariables>;
+export const DeleteCirclesDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"deleteCircles"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"ids"}},"type":{"kind":"NonNullType","type":{"kind":"ListType","type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"deleteCircles"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"ids"},"value":{"kind":"Variable","name":{"kind":"Name","value":"ids"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Success"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"message"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Error"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"message"}}]}}]}}]}}]} as unknown as DocumentNode<DeleteCirclesMutation, DeleteCirclesMutationVariables>;
+export const AddWorldDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"addWorld"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"AddWorldInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"addWorld"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"Variable","name":{"kind":"Name","value":"input"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Success"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"message"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Error"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"message"}}]}}]}}]}}]} as unknown as DocumentNode<AddWorldMutation, AddWorldMutationVariables>;
+export const UpdateWorldsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"updateWorlds"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"ids"}},"type":{"kind":"NonNullType","type":{"kind":"ListType","type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"UpdateWorldInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"updateWorlds"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"ids"},"value":{"kind":"Variable","name":{"kind":"Name","value":"ids"}}},{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"Variable","name":{"kind":"Name","value":"input"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Success"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"message"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Error"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"message"}}]}}]}}]}}]} as unknown as DocumentNode<UpdateWorldsMutation, UpdateWorldsMutationVariables>;
+export const DeleteWorldsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"deleteWorlds"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"ids"}},"type":{"kind":"NonNullType","type":{"kind":"ListType","type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"deleteWorlds"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"ids"},"value":{"kind":"Variable","name":{"kind":"Name","value":"ids"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Success"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"message"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Error"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"message"}}]}}]}}]}}]} as unknown as DocumentNode<DeleteWorldsMutation, DeleteWorldsMutationVariables>; \ No newline at end of file