Move "Fragments" file into "fragments" folder

This commit is contained in:
schroda
2024-07-09 00:40:35 +02:00
parent c1e92b3256
commit b70c404fb1
10 changed files with 12 additions and 12 deletions

View File

@@ -2584,10 +2584,6 @@ export type WebUiUpdateStatus = {
state: UpdateState; state: UpdateState;
}; };
export type PageInfoFragment = { __typename?: 'PageInfo', endCursor?: string | null, hasNextPage: boolean, hasPreviousPage: boolean, startCursor?: string | null };
export type GlobalMetadataFragment = { __typename?: 'GlobalMetaType', key: string, value: string };
export type CategoryBaseFieldsFragment = { __typename?: 'CategoryType', id: number, name: string, default: boolean, order: number }; export type CategoryBaseFieldsFragment = { __typename?: 'CategoryType', id: number, name: string, default: boolean, order: number };
export type CategoryLibraryFieldsFragment = { __typename?: 'CategoryType', id: number, name: string, default: boolean, order: number, mangas: { __typename?: 'MangaNodeList', totalCount: number } }; export type CategoryLibraryFieldsFragment = { __typename?: 'CategoryType', id: number, name: string, default: boolean, order: number, mangas: { __typename?: 'MangaNodeList', totalCount: number } };
@@ -2608,6 +2604,10 @@ export type DownloadStatusFieldsFragment = { __typename?: 'DownloadStatus', stat
export type ExtensionListFieldsFragment = { __typename?: 'ExtensionType', pkgName: string, name: string, lang: string, versionCode: number, versionName: string, iconUrl: string, repo?: string | null, isNsfw: boolean, isInstalled: boolean, isObsolete: boolean, hasUpdate: boolean }; export type ExtensionListFieldsFragment = { __typename?: 'ExtensionType', pkgName: string, name: string, lang: string, versionCode: number, versionName: string, iconUrl: string, repo?: string | null, isNsfw: boolean, isInstalled: boolean, isObsolete: boolean, hasUpdate: boolean };
export type PageInfoFragment = { __typename?: 'PageInfo', endCursor?: string | null, hasNextPage: boolean, hasPreviousPage: boolean, startCursor?: string | null };
export type GlobalMetadataFragment = { __typename?: 'GlobalMetaType', key: string, value: string };
export type AboutWebuiFragment = { __typename?: 'AboutWebUI', channel: string, tag: string }; export type AboutWebuiFragment = { __typename?: 'AboutWebUI', channel: string, tag: string };
export type WebuiUpdateCheckFragment = { __typename?: 'WebUIUpdateCheck', channel: string, tag: string, updateAvailable: boolean }; export type WebuiUpdateCheckFragment = { __typename?: 'WebUIUpdateCheck', channel: string, tag: string, updateAvailable: boolean };

View File

@@ -7,7 +7,7 @@
*/ */
import gql from 'graphql-tag'; import gql from 'graphql-tag';
import { GLOBAL_METADATA } from '@/lib/graphql/Fragments'; import { GLOBAL_METADATA } from '@/lib/graphql/fragments/Fragments.ts';
export const DELETE_GLOBAL_METADATA = gql` export const DELETE_GLOBAL_METADATA = gql`
${GLOBAL_METADATA} ${GLOBAL_METADATA}

View File

@@ -7,7 +7,7 @@
*/ */
import gql from 'graphql-tag'; import gql from 'graphql-tag';
import { PAGE_INFO } from '@/lib/graphql/Fragments'; import { PAGE_INFO } from '@/lib/graphql/fragments/Fragments.ts';
import { import {
CATEGORY_BASE_FIELDS, CATEGORY_BASE_FIELDS,
CATEGORY_LIBRARY_FIELDS, CATEGORY_LIBRARY_FIELDS,

View File

@@ -7,7 +7,7 @@
*/ */
import gql from 'graphql-tag'; import gql from 'graphql-tag';
import { PAGE_INFO } from '@/lib/graphql/Fragments'; import { PAGE_INFO } from '@/lib/graphql/fragments/Fragments.ts';
import { import {
CHAPTER_LIST_FIELDS, CHAPTER_LIST_FIELDS,
CHAPTER_READER_FIELDS, CHAPTER_READER_FIELDS,

View File

@@ -7,7 +7,7 @@
*/ */
import gql from 'graphql-tag'; import gql from 'graphql-tag';
import { PAGE_INFO } from '@/lib/graphql/Fragments'; import { PAGE_INFO } from '@/lib/graphql/fragments/Fragments.ts';
import { EXTENSION_LIST_FIELDS } from '@/lib/graphql/fragments/ExtensionFragments.ts'; import { EXTENSION_LIST_FIELDS } from '@/lib/graphql/fragments/ExtensionFragments.ts';
// returns the current extensions from the database // returns the current extensions from the database

View File

@@ -7,7 +7,7 @@
*/ */
import gql from 'graphql-tag'; import gql from 'graphql-tag';
import { GLOBAL_METADATA, PAGE_INFO } from '@/lib/graphql/Fragments.ts'; import { GLOBAL_METADATA, PAGE_INFO } from '@/lib/graphql/fragments/Fragments.ts';
export const GET_GLOBAL_METADATA = gql` export const GET_GLOBAL_METADATA = gql`
${GLOBAL_METADATA} ${GLOBAL_METADATA}

View File

@@ -7,7 +7,7 @@
*/ */
import gql from 'graphql-tag'; import gql from 'graphql-tag';
import { PAGE_INFO } from '@/lib/graphql/Fragments'; import { PAGE_INFO } from '@/lib/graphql/fragments/Fragments.ts';
import { import {
MANGA_BASE_FIELDS, MANGA_BASE_FIELDS,
MANGA_LIBRARY_DUPLICATE_SCREEN_FIELDS, MANGA_LIBRARY_DUPLICATE_SCREEN_FIELDS,

View File

@@ -7,7 +7,7 @@
*/ */
import gql from 'graphql-tag'; import gql from 'graphql-tag';
import { PAGE_INFO } from '@/lib/graphql/Fragments.ts'; import { PAGE_INFO } from '@/lib/graphql/fragments/Fragments.ts';
import { TRACKER_BIND_FIELDS, TRACKER_SETTING_FIELDS } from '@/lib/graphql/fragments/TrackFragments.ts'; import { TRACKER_BIND_FIELDS, TRACKER_SETTING_FIELDS } from '@/lib/graphql/fragments/TrackFragments.ts';
import { TRACK_RECORD_SEARCH_FIELDS } from '@/lib/graphql/fragments/TrackRecordFragments.ts'; import { TRACK_RECORD_SEARCH_FIELDS } from '@/lib/graphql/fragments/TrackRecordFragments.ts';

View File

@@ -281,7 +281,7 @@ import { DOWNLOAD_STATUS_SUBSCRIPTION } from '@/lib/graphql/subscriptions/Downlo
import { UPDATER_SUBSCRIPTION } from '@/lib/graphql/subscriptions/UpdaterSubscription.ts'; import { UPDATER_SUBSCRIPTION } from '@/lib/graphql/subscriptions/UpdaterSubscription.ts';
import { GET_SERVER_SETTINGS } from '@/lib/graphql/queries/SettingsQuery.ts'; import { GET_SERVER_SETTINGS } from '@/lib/graphql/queries/SettingsQuery.ts';
import { UPDATE_SERVER_SETTINGS } from '@/lib/graphql/mutations/SettingsMutation.ts'; import { UPDATE_SERVER_SETTINGS } from '@/lib/graphql/mutations/SettingsMutation.ts';
import { GLOBAL_METADATA } from '@/lib/graphql/Fragments.ts'; import { GLOBAL_METADATA } from '@/lib/graphql/fragments/Fragments.ts';
import { CLEAR_SERVER_CACHE } from '@/lib/graphql/mutations/ImageMutation.ts'; import { CLEAR_SERVER_CACHE } from '@/lib/graphql/mutations/ImageMutation.ts';
import { RESET_WEBUI_UPDATE_STATUS, UPDATE_WEBUI } from '@/lib/graphql/mutations/ServerInfoMutation.ts'; import { RESET_WEBUI_UPDATE_STATUS, UPDATE_WEBUI } from '@/lib/graphql/mutations/ServerInfoMutation.ts';
import { WEBUI_UPDATE_SUBSCRIPTION } from '@/lib/graphql/subscriptions/ServerInfoSubscription.ts'; import { WEBUI_UPDATE_SUBSCRIPTION } from '@/lib/graphql/subscriptions/ServerInfoSubscription.ts';