diff --git a/pkg/api/resolver_query_configuration.go b/pkg/api/resolver_query_configuration.go index 6b96efcd6..78ad91a35 100644 --- a/pkg/api/resolver_query_configuration.go +++ b/pkg/api/resolver_query_configuration.go @@ -68,6 +68,6 @@ func makeConfigInterfaceResult() *models.ConfigInterfaceResult { ShowStudioAsText: &showStudioAsText, CSS: &css, CSSEnabled: &cssEnabled, - Language: &language, + Language: &language, } } diff --git a/ui/v2.5/src/components/Performers/PerformerDetails/PerformerDetailsPanel.tsx b/ui/v2.5/src/components/Performers/PerformerDetails/PerformerDetailsPanel.tsx index 2439f4250..4622d7340 100644 --- a/ui/v2.5/src/components/Performers/PerformerDetails/PerformerDetailsPanel.tsx +++ b/ui/v2.5/src/components/Performers/PerformerDetails/PerformerDetailsPanel.tsx @@ -222,13 +222,15 @@ export const PerformerDetailsPanel: React.FC = ({
{queryableScrapers ? queryableScrapers.map(s => ( - +
+ +
)) : ""}
@@ -237,7 +239,7 @@ export const PerformerDetailsPanel: React.FC = ({ ); return ( - + ); diff --git a/ui/v2.5/src/core/generated-graphql.tsx b/ui/v2.5/src/core/generated-graphql.tsx deleted file mode 100644 index c2b807090..000000000 --- a/ui/v2.5/src/core/generated-graphql.tsx +++ /dev/null @@ -1,5192 +0,0 @@ -/* eslint-disable */ -import gql from 'graphql-tag'; -import * as ApolloReactCommon from '@apollo/react-common'; -import * as React from 'react'; -import * as ApolloReactComponents from '@apollo/react-components'; -import * as ApolloReactHooks from '@apollo/react-hooks'; -export type Maybe = T | null; -export type Omit = Pick>; - -// Generated in 2020-02-08T21:46:36+01:00 - -/** All built-in and custom scalars, mapped to their actual values */ -export type Scalars = { - ID: string, - String: string, - Boolean: boolean, - Int: number, - Float: number, - /** Log entries */ - Time: any, -}; - -export type AutoTagMetadataInput = { - /** IDs of performers to tag files with, or "*" for all */ - performers?: Maybe>, - /** IDs of studios to tag files with, or "*" for all */ - studios?: Maybe>, - /** IDs of tags to tag files with, or "*" for all */ - tags?: Maybe>, -}; - -export type BulkSceneUpdateInput = { - clientMutationId?: Maybe, - ids?: Maybe>, - title?: Maybe, - details?: Maybe, - url?: Maybe, - date?: Maybe, - rating?: Maybe, - studio_id?: Maybe, - gallery_id?: Maybe, - performer_ids?: Maybe>, - tag_ids?: Maybe>, -}; - -export type ConfigGeneralInput = { - /** Array of file paths to content */ - stashes?: Maybe>, - /** Path to the SQLite database */ - databasePath?: Maybe, - /** Path to generated files */ - generatedPath?: Maybe, - /** Max generated transcode size */ - maxTranscodeSize?: Maybe, - /** Max streaming transcode size */ - maxStreamingTranscodeSize?: Maybe, - /** Username */ - username?: Maybe, - /** Password */ - password?: Maybe, - /** Name of the log file */ - logFile?: Maybe, - /** Whether to also output to stderr */ - logOut: Scalars['Boolean'], - /** Minimum log level */ - logLevel: Scalars['String'], - /** Whether to log http access */ - logAccess: Scalars['Boolean'], - /** Array of file regexp to exclude from Scan */ - excludes?: Maybe>, -}; - -export type ConfigGeneralResult = { - __typename?: 'ConfigGeneralResult', - /** Array of file paths to content */ - stashes: Array, - /** Path to the SQLite database */ - databasePath: Scalars['String'], - /** Path to generated files */ - generatedPath: Scalars['String'], - /** Max generated transcode size */ - maxTranscodeSize?: Maybe, - /** Max streaming transcode size */ - maxStreamingTranscodeSize?: Maybe, - /** Username */ - username: Scalars['String'], - /** Password */ - password: Scalars['String'], - /** Name of the log file */ - logFile?: Maybe, - /** Whether to also output to stderr */ - logOut: Scalars['Boolean'], - /** Minimum log level */ - logLevel: Scalars['String'], - /** Whether to log http access */ - logAccess: Scalars['Boolean'], - /** Array of file regexp to exclude from Scan */ - excludes: Array, -}; - -export type ConfigInterfaceInput = { - /** Enable sound on mouseover previews */ - soundOnPreview?: Maybe, - /** Show title and tags in wall view */ - wallShowTitle?: Maybe, - /** Maximum duration (in seconds) in which a scene video will loop in the scene player */ - maximumLoopDuration?: Maybe, - /** If true, video will autostart on load in the scene player */ - autostartVideo?: Maybe, - /** If true, studio overlays will be shown as text instead of logo images */ - showStudioAsText?: Maybe, - /** Custom CSS */ - css?: Maybe, - cssEnabled?: Maybe, - language?: Maybe, -}; - -export type ConfigInterfaceResult = { - __typename?: 'ConfigInterfaceResult', - /** Enable sound on mouseover previews */ - soundOnPreview?: Maybe, - /** Show title and tags in wall view */ - wallShowTitle?: Maybe, - /** Maximum duration (in seconds) in which a scene video will loop in the scene player */ - maximumLoopDuration?: Maybe, - /** If true, video will autostart on load in the scene player */ - autostartVideo?: Maybe, - /** If true, studio overlays will be shown as text instead of logo images */ - showStudioAsText?: Maybe, - /** Custom CSS */ - css?: Maybe, - cssEnabled?: Maybe, - /** Interface language */ - language?: Maybe, -}; - -/** All configuration settings */ -export type ConfigResult = { - __typename?: 'ConfigResult', - general: ConfigGeneralResult, - interface: ConfigInterfaceResult, -}; - -export enum CriterionModifier { - /** = */ - Equals = 'EQUALS', - /** != */ - NotEquals = 'NOT_EQUALS', - /** > */ - GreaterThan = 'GREATER_THAN', - /** < */ - LessThan = 'LESS_THAN', - /** IS NULL */ - IsNull = 'IS_NULL', - /** IS NOT NULL */ - NotNull = 'NOT_NULL', - /** INCLUDES ALL */ - IncludesAll = 'INCLUDES_ALL', - Includes = 'INCLUDES', - Excludes = 'EXCLUDES' -} - -export type FindFilterType = { - q?: Maybe, - page?: Maybe, - per_page?: Maybe, - sort?: Maybe, - direction?: Maybe, -}; - -export type FindGalleriesResultType = { - __typename?: 'FindGalleriesResultType', - count: Scalars['Int'], - galleries: Array, -}; - -export type FindPerformersResultType = { - __typename?: 'FindPerformersResultType', - count: Scalars['Int'], - performers: Array, -}; - -export type FindSceneMarkersResultType = { - __typename?: 'FindSceneMarkersResultType', - count: Scalars['Int'], - scene_markers: Array, -}; - -export type FindScenesResultType = { - __typename?: 'FindScenesResultType', - count: Scalars['Int'], - scenes: Array, -}; - -export type FindStudiosResultType = { - __typename?: 'FindStudiosResultType', - count: Scalars['Int'], - studios: Array, -}; - -/** Gallery type */ -export type Gallery = { - __typename?: 'Gallery', - id: Scalars['ID'], - checksum: Scalars['String'], - path: Scalars['String'], - title?: Maybe, - /** The files in the gallery */ - files: Array, -}; - -export type GalleryFilesType = { - __typename?: 'GalleryFilesType', - index: Scalars['Int'], - name?: Maybe, - path?: Maybe, -}; - -export type GenerateMetadataInput = { - sprites: Scalars['Boolean'], - previews: Scalars['Boolean'], - markers: Scalars['Boolean'], - transcodes: Scalars['Boolean'], -}; - -export type IntCriterionInput = { - value: Scalars['Int'], - modifier: CriterionModifier, -}; - -export type LogEntry = { - __typename?: 'LogEntry', - time: Scalars['Time'], - level: LogLevel, - message: Scalars['String'], -}; - -export enum LogLevel { - Debug = 'Debug', - Info = 'Info', - Progress = 'Progress', - Warning = 'Warning', - Error = 'Error' -} - -export type MarkerStringsResultType = { - __typename?: 'MarkerStringsResultType', - count: Scalars['Int'], - id: Scalars['ID'], - title: Scalars['String'], -}; - -export type MetadataUpdateStatus = { - __typename?: 'MetadataUpdateStatus', - progress: Scalars['Float'], - status: Scalars['String'], - message: Scalars['String'], -}; - -export type MultiCriterionInput = { - value?: Maybe>, - modifier: CriterionModifier, -}; - -export type Mutation = { - __typename?: 'Mutation', - sceneUpdate?: Maybe, - bulkSceneUpdate?: Maybe>, - sceneDestroy: Scalars['Boolean'], - scenesUpdate?: Maybe>>, - /** Increments the o-counter for a scene. Returns the new value */ - sceneIncrementO: Scalars['Int'], - /** Decrements the o-counter for a scene. Returns the new value */ - sceneDecrementO: Scalars['Int'], - /** Resets the o-counter for a scene to 0. Returns the new value */ - sceneResetO: Scalars['Int'], - sceneMarkerCreate?: Maybe, - sceneMarkerUpdate?: Maybe, - sceneMarkerDestroy: Scalars['Boolean'], - performerCreate?: Maybe, - performerUpdate?: Maybe, - performerDestroy: Scalars['Boolean'], - studioCreate?: Maybe, - studioUpdate?: Maybe, - studioDestroy: Scalars['Boolean'], - tagCreate?: Maybe, - tagUpdate?: Maybe, - tagDestroy: Scalars['Boolean'], - /** Change general configuration options */ - configureGeneral: ConfigGeneralResult, - configureInterface: ConfigInterfaceResult, -}; - - -export type MutationSceneUpdateArgs = { - input: SceneUpdateInput -}; - - -export type MutationBulkSceneUpdateArgs = { - input: BulkSceneUpdateInput -}; - - -export type MutationSceneDestroyArgs = { - input: SceneDestroyInput -}; - - -export type MutationScenesUpdateArgs = { - input: Array -}; - - -export type MutationSceneIncrementOArgs = { - id: Scalars['ID'] -}; - - -export type MutationSceneDecrementOArgs = { - id: Scalars['ID'] -}; - - -export type MutationSceneResetOArgs = { - id: Scalars['ID'] -}; - - -export type MutationSceneMarkerCreateArgs = { - input: SceneMarkerCreateInput -}; - - -export type MutationSceneMarkerUpdateArgs = { - input: SceneMarkerUpdateInput -}; - - -export type MutationSceneMarkerDestroyArgs = { - id: Scalars['ID'] -}; - - -export type MutationPerformerCreateArgs = { - input: PerformerCreateInput -}; - - -export type MutationPerformerUpdateArgs = { - input: PerformerUpdateInput -}; - - -export type MutationPerformerDestroyArgs = { - input: PerformerDestroyInput -}; - - -export type MutationStudioCreateArgs = { - input: StudioCreateInput -}; - - -export type MutationStudioUpdateArgs = { - input: StudioUpdateInput -}; - - -export type MutationStudioDestroyArgs = { - input: StudioDestroyInput -}; - - -export type MutationTagCreateArgs = { - input: TagCreateInput -}; - - -export type MutationTagUpdateArgs = { - input: TagUpdateInput -}; - - -export type MutationTagDestroyArgs = { - input: TagDestroyInput -}; - - -export type MutationConfigureGeneralArgs = { - input: ConfigGeneralInput -}; - - -export type MutationConfigureInterfaceArgs = { - input: ConfigInterfaceInput -}; - -export type Performer = { - __typename?: 'Performer', - id: Scalars['ID'], - checksum: Scalars['String'], - name?: Maybe, - url?: Maybe, - twitter?: Maybe, - instagram?: Maybe, - birthdate?: Maybe, - ethnicity?: Maybe, - country?: Maybe, - eye_color?: Maybe, - height?: Maybe, - measurements?: Maybe, - fake_tits?: Maybe, - career_length?: Maybe, - tattoos?: Maybe, - piercings?: Maybe, - aliases?: Maybe, - favorite: Scalars['Boolean'], - image_path?: Maybe, - scene_count?: Maybe, - scenes: Array, -}; - -export type PerformerCreateInput = { - name?: Maybe, - url?: Maybe, - birthdate?: Maybe, - ethnicity?: Maybe, - country?: Maybe, - eye_color?: Maybe, - height?: Maybe, - measurements?: Maybe, - fake_tits?: Maybe, - career_length?: Maybe, - tattoos?: Maybe, - piercings?: Maybe, - aliases?: Maybe, - twitter?: Maybe, - instagram?: Maybe, - favorite?: Maybe, - /** This should be base64 encoded */ - image?: Maybe, -}; - -export type PerformerDestroyInput = { - id: Scalars['ID'], -}; - -export type PerformerFilterType = { - /** Filter by favorite */ - filter_favorites?: Maybe, - /** Filter by birth year */ - birth_year?: Maybe, - /** Filter by age */ - age?: Maybe, - /** Filter by ethnicity */ - ethnicity?: Maybe, - /** Filter by country */ - country?: Maybe, - /** Filter by eye color */ - eye_color?: Maybe, - /** Filter by height */ - height?: Maybe, - /** Filter by measurements */ - measurements?: Maybe, - /** Filter by fake tits value */ - fake_tits?: Maybe, - /** Filter by career length */ - career_length?: Maybe, - /** Filter by tattoos */ - tattoos?: Maybe, - /** Filter by piercings */ - piercings?: Maybe, - /** Filter by aliases */ - aliases?: Maybe, -}; - -export type PerformerUpdateInput = { - id: Scalars['ID'], - name?: Maybe, - url?: Maybe, - birthdate?: Maybe, - ethnicity?: Maybe, - country?: Maybe, - eye_color?: Maybe, - height?: Maybe, - measurements?: Maybe, - fake_tits?: Maybe, - career_length?: Maybe, - tattoos?: Maybe, - piercings?: Maybe, - aliases?: Maybe, - twitter?: Maybe, - instagram?: Maybe, - favorite?: Maybe, - /** This should be base64 encoded */ - image?: Maybe, -}; - -/** The query root for this schema */ -export type Query = { - __typename?: 'Query', - /** Find a scene by ID or Checksum */ - findScene?: Maybe, - /** A function which queries Scene objects */ - findScenes: FindScenesResultType, - findScenesByPathRegex: FindScenesResultType, - parseSceneFilenames: SceneParserResultType, - /** A function which queries SceneMarker objects */ - findSceneMarkers: FindSceneMarkersResultType, - /** Find a performer by ID */ - findPerformer?: Maybe, - /** A function which queries Performer objects */ - findPerformers: FindPerformersResultType, - /** Find a studio by ID */ - findStudio?: Maybe, - /** A function which queries Studio objects */ - findStudios: FindStudiosResultType, - findGallery?: Maybe, - findGalleries: FindGalleriesResultType, - findTag?: Maybe, - /** Retrieve random scene markers for the wall */ - markerWall: Array, - /** Retrieve random scenes for the wall */ - sceneWall: Array, - /** Get marker strings */ - markerStrings: Array>, - /** Get the list of valid galleries for a given scene ID */ - validGalleriesForScene: Array, - /** Get stats */ - stats: StatsResultType, - /** Organize scene markers by tag for a given scene ID */ - sceneMarkerTags: Array, - logs: Array, - /** List available scrapers */ - listPerformerScrapers: Array, - listSceneScrapers: Array, - /** Scrape a list of performers based on name */ - scrapePerformerList: Array, - /** Scrapes a complete performer record based on a scrapePerformerList result */ - scrapePerformer?: Maybe, - /** Scrapes a complete performer record based on a URL */ - scrapePerformerURL?: Maybe, - /** Scrapes a complete scene record based on an existing scene */ - scrapeScene?: Maybe, - /** Scrapes a complete performer record based on a URL */ - scrapeSceneURL?: Maybe, - /** Scrape a performer using Freeones */ - scrapeFreeones?: Maybe, - /** Scrape a list of performers from a query */ - scrapeFreeonesPerformerList: Array, - /** Returns the current, complete configuration */ - configuration: ConfigResult, - /** Returns an array of paths for the given path */ - directories: Array, - /** Start an import. Returns the job ID */ - metadataImport: Scalars['String'], - /** Start an export. Returns the job ID */ - metadataExport: Scalars['String'], - /** Start a scan. Returns the job ID */ - metadataScan: Scalars['String'], - /** Start generating content. Returns the job ID */ - metadataGenerate: Scalars['String'], - /** Start auto-tagging. Returns the job ID */ - metadataAutoTag: Scalars['String'], - /** Clean metadata. Returns the job ID */ - metadataClean: Scalars['String'], - jobStatus: MetadataUpdateStatus, - stopJob: Scalars['Boolean'], - allPerformers: Array, - allStudios: Array, - allTags: Array, - /** Version */ - version: Version, - /** LatestVersion */ - latestversion: ShortVersion, -}; - - -/** The query root for this schema */ -export type QueryFindSceneArgs = { - id?: Maybe, - checksum?: Maybe -}; - - -/** The query root for this schema */ -export type QueryFindScenesArgs = { - scene_filter?: Maybe, - scene_ids?: Maybe>, - filter?: Maybe -}; - - -/** The query root for this schema */ -export type QueryFindScenesByPathRegexArgs = { - filter?: Maybe -}; - - -/** The query root for this schema */ -export type QueryParseSceneFilenamesArgs = { - filter?: Maybe, - config: SceneParserInput -}; - - -/** The query root for this schema */ -export type QueryFindSceneMarkersArgs = { - scene_marker_filter?: Maybe, - filter?: Maybe -}; - - -/** The query root for this schema */ -export type QueryFindPerformerArgs = { - id: Scalars['ID'] -}; - - -/** The query root for this schema */ -export type QueryFindPerformersArgs = { - performer_filter?: Maybe, - filter?: Maybe -}; - - -/** The query root for this schema */ -export type QueryFindStudioArgs = { - id: Scalars['ID'] -}; - - -/** The query root for this schema */ -export type QueryFindStudiosArgs = { - filter?: Maybe -}; - - -/** The query root for this schema */ -export type QueryFindGalleryArgs = { - id: Scalars['ID'] -}; - - -/** The query root for this schema */ -export type QueryFindGalleriesArgs = { - filter?: Maybe -}; - - -/** The query root for this schema */ -export type QueryFindTagArgs = { - id: Scalars['ID'] -}; - - -/** The query root for this schema */ -export type QueryMarkerWallArgs = { - q?: Maybe -}; - - -/** The query root for this schema */ -export type QuerySceneWallArgs = { - q?: Maybe -}; - - -/** The query root for this schema */ -export type QueryMarkerStringsArgs = { - q?: Maybe, - sort?: Maybe -}; - - -/** The query root for this schema */ -export type QueryValidGalleriesForSceneArgs = { - scene_id?: Maybe -}; - - -/** The query root for this schema */ -export type QuerySceneMarkerTagsArgs = { - scene_id: Scalars['ID'] -}; - - -/** The query root for this schema */ -export type QueryScrapePerformerListArgs = { - scraper_id: Scalars['ID'], - query: Scalars['String'] -}; - - -/** The query root for this schema */ -export type QueryScrapePerformerArgs = { - scraper_id: Scalars['ID'], - scraped_performer: ScrapedPerformerInput -}; - - -/** The query root for this schema */ -export type QueryScrapePerformerUrlArgs = { - url: Scalars['String'] -}; - - -/** The query root for this schema */ -export type QueryScrapeSceneArgs = { - scraper_id: Scalars['ID'], - scene: SceneUpdateInput -}; - - -/** The query root for this schema */ -export type QueryScrapeSceneUrlArgs = { - url: Scalars['String'] -}; - - -/** The query root for this schema */ -export type QueryScrapeFreeonesArgs = { - performer_name: Scalars['String'] -}; - - -/** The query root for this schema */ -export type QueryScrapeFreeonesPerformerListArgs = { - query: Scalars['String'] -}; - - -/** The query root for this schema */ -export type QueryDirectoriesArgs = { - path?: Maybe -}; - - -/** The query root for this schema */ -export type QueryMetadataScanArgs = { - input: ScanMetadataInput -}; - - -/** The query root for this schema */ -export type QueryMetadataGenerateArgs = { - input: GenerateMetadataInput -}; - - -/** The query root for this schema */ -export type QueryMetadataAutoTagArgs = { - input: AutoTagMetadataInput -}; - -export enum ResolutionEnum { - /** 240p */ - Low = 'LOW', - /** 480p */ - Standard = 'STANDARD', - /** 720p */ - StandardHd = 'STANDARD_HD', - /** 1080p */ - FullHd = 'FULL_HD', - /** 4k */ - FourK = 'FOUR_K' -} - -export type ScanMetadataInput = { - useFileMetadata: Scalars['Boolean'], -}; - -export type Scene = { - __typename?: 'Scene', - id: Scalars['ID'], - checksum: Scalars['String'], - title?: Maybe, - details?: Maybe, - url?: Maybe, - date?: Maybe, - rating?: Maybe, - o_counter?: Maybe, - path: Scalars['String'], - file: SceneFileType, - paths: ScenePathsType, - is_streamable: Scalars['Boolean'], - scene_markers: Array, - gallery?: Maybe, - studio?: Maybe, - tags: Array, - performers: Array, -}; - -export type SceneDestroyInput = { - id: Scalars['ID'], - delete_file?: Maybe, - delete_generated?: Maybe, -}; - -export type SceneFileType = { - __typename?: 'SceneFileType', - size?: Maybe, - duration?: Maybe, - video_codec?: Maybe, - audio_codec?: Maybe, - width?: Maybe, - height?: Maybe, - framerate?: Maybe, - bitrate?: Maybe, -}; - -export type SceneFilterType = { - /** Filter by rating */ - rating?: Maybe, - /** Filter by o-counter */ - o_counter?: Maybe, - /** Filter by resolution */ - resolution?: Maybe, - /** Filter by duration (in seconds) */ - duration?: Maybe, - /** Filter to only include scenes which have markers. `true` or `false` */ - has_markers?: Maybe, - /** Filter to only include scenes missing this property */ - is_missing?: Maybe, - /** Filter to only include scenes with this studio */ - studios?: Maybe, - /** Filter to only include scenes with these tags */ - tags?: Maybe, - /** Filter to only include scenes with these performers */ - performers?: Maybe, -}; - -export type SceneMarker = { - __typename?: 'SceneMarker', - id: Scalars['ID'], - scene: Scene, - title: Scalars['String'], - seconds: Scalars['Float'], - primary_tag: Tag, - tags: Array, - /** The path to stream this marker */ - stream: Scalars['String'], - /** The path to the preview image for this marker */ - preview: Scalars['String'], -}; - -export type SceneMarkerCreateInput = { - title: Scalars['String'], - seconds: Scalars['Float'], - scene_id: Scalars['ID'], - primary_tag_id: Scalars['ID'], - tag_ids?: Maybe>, -}; - -export type SceneMarkerFilterType = { - /** Filter to only include scene markers with this tag */ - tag_id?: Maybe, - /** Filter to only include scene markers with these tags */ - tags?: Maybe, - /** Filter to only include scene markers attached to a scene with these tags */ - scene_tags?: Maybe, - /** Filter to only include scene markers with these performers */ - performers?: Maybe, -}; - -export type SceneMarkerTag = { - __typename?: 'SceneMarkerTag', - tag: Tag, - scene_markers: Array, -}; - -export type SceneMarkerUpdateInput = { - id: Scalars['ID'], - title: Scalars['String'], - seconds: Scalars['Float'], - scene_id: Scalars['ID'], - primary_tag_id: Scalars['ID'], - tag_ids?: Maybe>, -}; - -export type SceneParserInput = { - ignoreWords?: Maybe>, - whitespaceCharacters?: Maybe, - capitalizeTitle?: Maybe, -}; - -export type SceneParserResult = { - __typename?: 'SceneParserResult', - scene: Scene, - title?: Maybe, - details?: Maybe, - url?: Maybe, - date?: Maybe, - rating?: Maybe, - studio_id?: Maybe, - gallery_id?: Maybe, - performer_ids?: Maybe>, - tag_ids?: Maybe>, -}; - -export type SceneParserResultType = { - __typename?: 'SceneParserResultType', - count: Scalars['Int'], - results: Array, -}; - -export type ScenePathsType = { - __typename?: 'ScenePathsType', - screenshot?: Maybe, - preview?: Maybe, - stream?: Maybe, - webp?: Maybe, - vtt?: Maybe, - chapters_vtt?: Maybe, -}; - -export type SceneUpdateInput = { - clientMutationId?: Maybe, - id: Scalars['ID'], - title?: Maybe, - details?: Maybe, - url?: Maybe, - date?: Maybe, - rating?: Maybe, - studio_id?: Maybe, - gallery_id?: Maybe, - performer_ids?: Maybe>, - tag_ids?: Maybe>, - /** This should be base64 encoded */ - cover_image?: Maybe, -}; - -/** A performer from a scraping operation... */ -export type ScrapedPerformer = { - __typename?: 'ScrapedPerformer', - name?: Maybe, - url?: Maybe, - twitter?: Maybe, - instagram?: Maybe, - birthdate?: Maybe, - ethnicity?: Maybe, - country?: Maybe, - eye_color?: Maybe, - height?: Maybe, - measurements?: Maybe, - fake_tits?: Maybe, - career_length?: Maybe, - tattoos?: Maybe, - piercings?: Maybe, - aliases?: Maybe, -}; - -export type ScrapedPerformerInput = { - name?: Maybe, - url?: Maybe, - twitter?: Maybe, - instagram?: Maybe, - birthdate?: Maybe, - ethnicity?: Maybe, - country?: Maybe, - eye_color?: Maybe, - height?: Maybe, - measurements?: Maybe, - fake_tits?: Maybe, - career_length?: Maybe, - tattoos?: Maybe, - piercings?: Maybe, - aliases?: Maybe, -}; - -export type ScrapedScene = { - __typename?: 'ScrapedScene', - title?: Maybe, - details?: Maybe, - url?: Maybe, - date?: Maybe, - file?: Maybe, - studio?: Maybe, - tags?: Maybe>, - performers?: Maybe>, -}; - -export type ScrapedScenePerformer = { - __typename?: 'ScrapedScenePerformer', - /** Set if performer matched */ - id?: Maybe, - name: Scalars['String'], - url?: Maybe, - twitter?: Maybe, - instagram?: Maybe, - birthdate?: Maybe, - ethnicity?: Maybe, - country?: Maybe, - eye_color?: Maybe, - height?: Maybe, - measurements?: Maybe, - fake_tits?: Maybe, - career_length?: Maybe, - tattoos?: Maybe, - piercings?: Maybe, - aliases?: Maybe, -}; - -export type ScrapedSceneStudio = { - __typename?: 'ScrapedSceneStudio', - /** Set if studio matched */ - id?: Maybe, - name: Scalars['String'], - url?: Maybe, -}; - -export type ScrapedSceneTag = { - __typename?: 'ScrapedSceneTag', - /** Set if tag matched */ - id?: Maybe, - name: Scalars['String'], -}; - -export type Scraper = { - __typename?: 'Scraper', - id: Scalars['ID'], - name: Scalars['String'], - /** Details for performer scraper */ - performer?: Maybe, - /** Details for scene scraper */ - scene?: Maybe, -}; - -export type ScraperSpec = { - __typename?: 'ScraperSpec', - /** URLs matching these can be scraped with */ - urls?: Maybe>, - supported_scrapes: Array, -}; - -export enum ScrapeType { - /** From text query */ - Name = 'NAME', - /** From existing object */ - Fragment = 'FRAGMENT', - /** From URL */ - Url = 'URL' -} - -export type ShortVersion = { - __typename?: 'ShortVersion', - shorthash: Scalars['String'], - url: Scalars['String'], -}; - -export enum SortDirectionEnum { - Asc = 'ASC', - Desc = 'DESC' -} - -export type StatsResultType = { - __typename?: 'StatsResultType', - scene_count: Scalars['Int'], - gallery_count: Scalars['Int'], - performer_count: Scalars['Int'], - studio_count: Scalars['Int'], - tag_count: Scalars['Int'], -}; - -export enum StreamingResolutionEnum { - /** 240p */ - Low = 'LOW', - /** 480p */ - Standard = 'STANDARD', - /** 720p */ - StandardHd = 'STANDARD_HD', - /** 1080p */ - FullHd = 'FULL_HD', - /** 4k */ - FourK = 'FOUR_K', - /** Original */ - Original = 'ORIGINAL' -} - -export type StringCriterionInput = { - value: Scalars['String'], - modifier: CriterionModifier, -}; - -export type Studio = { - __typename?: 'Studio', - id: Scalars['ID'], - checksum: Scalars['String'], - name: Scalars['String'], - url?: Maybe, - image_path?: Maybe, - scene_count?: Maybe, -}; - -export type StudioCreateInput = { - name: Scalars['String'], - url?: Maybe, - /** This should be base64 encoded */ - image?: Maybe, -}; - -export type StudioDestroyInput = { - id: Scalars['ID'], -}; - -export type StudioUpdateInput = { - id: Scalars['ID'], - name?: Maybe, - url?: Maybe, - /** This should be base64 encoded */ - image?: Maybe, -}; - -export type Subscription = { - __typename?: 'Subscription', - /** Update from the metadata manager */ - metadataUpdate: MetadataUpdateStatus, - loggingSubscribe: Array, -}; - -export type Tag = { - __typename?: 'Tag', - id: Scalars['ID'], - name: Scalars['String'], - scene_count?: Maybe, - scene_marker_count?: Maybe, -}; - -export type TagCreateInput = { - name: Scalars['String'], -}; - -export type TagDestroyInput = { - id: Scalars['ID'], -}; - -export type TagUpdateInput = { - id: Scalars['ID'], - name: Scalars['String'], -}; - - -export type Version = { - __typename?: 'Version', - version?: Maybe, - hash: Scalars['String'], - build_time: Scalars['String'], -}; - -export type ConfigGeneralDataFragment = ( - { __typename?: 'ConfigGeneralResult' } - & Pick -); - -export type ConfigInterfaceDataFragment = ( - { __typename?: 'ConfigInterfaceResult' } - & Pick -); - -export type ConfigDataFragment = ( - { __typename?: 'ConfigResult' } - & { general: ( - { __typename?: 'ConfigGeneralResult' } - & ConfigGeneralDataFragment - ), interface: ( - { __typename?: 'ConfigInterfaceResult' } - & ConfigInterfaceDataFragment - ) } -); - -export type GalleryDataFragment = ( - { __typename?: 'Gallery' } - & Pick - & { files: Array<( - { __typename?: 'GalleryFilesType' } - & Pick - )> } -); - -export type LogEntryDataFragment = ( - { __typename?: 'LogEntry' } - & Pick -); - -export type SlimPerformerDataFragment = ( - { __typename?: 'Performer' } - & Pick -); - -export type PerformerDataFragment = ( - { __typename?: 'Performer' } - & Pick -); - -export type SceneMarkerDataFragment = ( - { __typename?: 'SceneMarker' } - & Pick - & { scene: ( - { __typename?: 'Scene' } - & Pick - ), primary_tag: ( - { __typename?: 'Tag' } - & Pick - ), tags: Array<( - { __typename?: 'Tag' } - & Pick - )> } -); - -export type SlimSceneDataFragment = ( - { __typename?: 'Scene' } - & Pick - & { file: ( - { __typename?: 'SceneFileType' } - & Pick - ), paths: ( - { __typename?: 'ScenePathsType' } - & Pick - ), scene_markers: Array<( - { __typename?: 'SceneMarker' } - & Pick - )>, gallery: Maybe<( - { __typename?: 'Gallery' } - & Pick - )>, studio: Maybe<( - { __typename?: 'Studio' } - & Pick - )>, tags: Array<( - { __typename?: 'Tag' } - & Pick - )>, performers: Array<( - { __typename?: 'Performer' } - & Pick - )> } -); - -export type SceneDataFragment = ( - { __typename?: 'Scene' } - & Pick - & { file: ( - { __typename?: 'SceneFileType' } - & Pick - ), paths: ( - { __typename?: 'ScenePathsType' } - & Pick - ), scene_markers: Array<( - { __typename?: 'SceneMarker' } - & SceneMarkerDataFragment - )>, gallery: Maybe<( - { __typename?: 'Gallery' } - & GalleryDataFragment - )>, studio: Maybe<( - { __typename?: 'Studio' } - & StudioDataFragment - )>, tags: Array<( - { __typename?: 'Tag' } - & TagDataFragment - )>, performers: Array<( - { __typename?: 'Performer' } - & PerformerDataFragment - )> } -); - -export type ScrapedPerformerDataFragment = ( - { __typename?: 'ScrapedPerformer' } - & Pick -); - -export type ScrapedScenePerformerDataFragment = ( - { __typename?: 'ScrapedScenePerformer' } - & Pick -); - -export type ScrapedSceneStudioDataFragment = ( - { __typename?: 'ScrapedSceneStudio' } - & Pick -); - -export type ScrapedSceneTagDataFragment = ( - { __typename?: 'ScrapedSceneTag' } - & Pick -); - -export type ScrapedSceneDataFragment = ( - { __typename?: 'ScrapedScene' } - & Pick - & { file: Maybe<( - { __typename?: 'SceneFileType' } - & Pick - )>, studio: Maybe<( - { __typename?: 'ScrapedSceneStudio' } - & ScrapedSceneStudioDataFragment - )>, tags: Maybe>, performers: Maybe> } -); - -export type SlimStudioDataFragment = ( - { __typename?: 'Studio' } - & Pick -); - -export type StudioDataFragment = ( - { __typename?: 'Studio' } - & Pick -); - -export type TagDataFragment = ( - { __typename?: 'Tag' } - & Pick -); - -export type ConfigureGeneralMutationVariables = { - input: ConfigGeneralInput -}; - - -export type ConfigureGeneralMutation = ( - { __typename?: 'Mutation' } - & { configureGeneral: ( - { __typename?: 'ConfigGeneralResult' } - & ConfigGeneralDataFragment - ) } -); - -export type ConfigureInterfaceMutationVariables = { - input: ConfigInterfaceInput -}; - - -export type ConfigureInterfaceMutation = ( - { __typename?: 'Mutation' } - & { configureInterface: ( - { __typename?: 'ConfigInterfaceResult' } - & ConfigInterfaceDataFragment - ) } -); - -export type PerformerCreateMutationVariables = { - name?: Maybe, - url?: Maybe, - birthdate?: Maybe, - ethnicity?: Maybe, - country?: Maybe, - eye_color?: Maybe, - height?: Maybe, - measurements?: Maybe, - fake_tits?: Maybe, - career_length?: Maybe, - tattoos?: Maybe, - piercings?: Maybe, - aliases?: Maybe, - twitter?: Maybe, - instagram?: Maybe, - favorite?: Maybe, - image?: Maybe -}; - - -export type PerformerCreateMutation = ( - { __typename?: 'Mutation' } - & { performerCreate: Maybe<( - { __typename?: 'Performer' } - & PerformerDataFragment - )> } -); - -export type PerformerUpdateMutationVariables = { - id: Scalars['ID'], - name?: Maybe, - url?: Maybe, - birthdate?: Maybe, - ethnicity?: Maybe, - country?: Maybe, - eye_color?: Maybe, - height?: Maybe, - measurements?: Maybe, - fake_tits?: Maybe, - career_length?: Maybe, - tattoos?: Maybe, - piercings?: Maybe, - aliases?: Maybe, - twitter?: Maybe, - instagram?: Maybe, - favorite?: Maybe, - image?: Maybe -}; - - -export type PerformerUpdateMutation = ( - { __typename?: 'Mutation' } - & { performerUpdate: Maybe<( - { __typename?: 'Performer' } - & PerformerDataFragment - )> } -); - -export type PerformerDestroyMutationVariables = { - id: Scalars['ID'] -}; - - -export type PerformerDestroyMutation = ( - { __typename?: 'Mutation' } - & Pick -); - -export type SceneMarkerCreateMutationVariables = { - title: Scalars['String'], - seconds: Scalars['Float'], - scene_id: Scalars['ID'], - primary_tag_id: Scalars['ID'], - tag_ids?: Maybe> -}; - - -export type SceneMarkerCreateMutation = ( - { __typename?: 'Mutation' } - & { sceneMarkerCreate: Maybe<( - { __typename?: 'SceneMarker' } - & SceneMarkerDataFragment - )> } -); - -export type SceneMarkerUpdateMutationVariables = { - id: Scalars['ID'], - title: Scalars['String'], - seconds: Scalars['Float'], - scene_id: Scalars['ID'], - primary_tag_id: Scalars['ID'], - tag_ids?: Maybe> -}; - - -export type SceneMarkerUpdateMutation = ( - { __typename?: 'Mutation' } - & { sceneMarkerUpdate: Maybe<( - { __typename?: 'SceneMarker' } - & SceneMarkerDataFragment - )> } -); - -export type SceneMarkerDestroyMutationVariables = { - id: Scalars['ID'] -}; - - -export type SceneMarkerDestroyMutation = ( - { __typename?: 'Mutation' } - & Pick -); - -export type SceneUpdateMutationVariables = { - id: Scalars['ID'], - title?: Maybe, - details?: Maybe, - url?: Maybe, - date?: Maybe, - rating?: Maybe, - studio_id?: Maybe, - gallery_id?: Maybe, - performer_ids?: Maybe>, - tag_ids?: Maybe>, - cover_image?: Maybe -}; - - -export type SceneUpdateMutation = ( - { __typename?: 'Mutation' } - & { sceneUpdate: Maybe<( - { __typename?: 'Scene' } - & SceneDataFragment - )> } -); - -export type BulkSceneUpdateMutationVariables = { - ids?: Maybe>, - title?: Maybe, - details?: Maybe, - url?: Maybe, - date?: Maybe, - rating?: Maybe, - studio_id?: Maybe, - gallery_id?: Maybe, - performer_ids?: Maybe>, - tag_ids?: Maybe> -}; - - -export type BulkSceneUpdateMutation = ( - { __typename?: 'Mutation' } - & { bulkSceneUpdate: Maybe> } -); - -export type ScenesUpdateMutationVariables = { - input: Array -}; - - -export type ScenesUpdateMutation = ( - { __typename?: 'Mutation' } - & { scenesUpdate: Maybe>> } -); - -export type SceneIncrementOMutationVariables = { - id: Scalars['ID'] -}; - - -export type SceneIncrementOMutation = ( - { __typename?: 'Mutation' } - & Pick -); - -export type SceneDecrementOMutationVariables = { - id: Scalars['ID'] -}; - - -export type SceneDecrementOMutation = ( - { __typename?: 'Mutation' } - & Pick -); - -export type SceneResetOMutationVariables = { - id: Scalars['ID'] -}; - - -export type SceneResetOMutation = ( - { __typename?: 'Mutation' } - & Pick -); - -export type SceneDestroyMutationVariables = { - id: Scalars['ID'], - delete_file?: Maybe, - delete_generated?: Maybe -}; - - -export type SceneDestroyMutation = ( - { __typename?: 'Mutation' } - & Pick -); - -export type StudioCreateMutationVariables = { - name: Scalars['String'], - url?: Maybe, - image?: Maybe -}; - - -export type StudioCreateMutation = ( - { __typename?: 'Mutation' } - & { studioCreate: Maybe<( - { __typename?: 'Studio' } - & StudioDataFragment - )> } -); - -export type StudioUpdateMutationVariables = { - id: Scalars['ID'], - name?: Maybe, - url?: Maybe, - image?: Maybe -}; - - -export type StudioUpdateMutation = ( - { __typename?: 'Mutation' } - & { studioUpdate: Maybe<( - { __typename?: 'Studio' } - & StudioDataFragment - )> } -); - -export type StudioDestroyMutationVariables = { - id: Scalars['ID'] -}; - - -export type StudioDestroyMutation = ( - { __typename?: 'Mutation' } - & Pick -); - -export type TagCreateMutationVariables = { - name: Scalars['String'] -}; - - -export type TagCreateMutation = ( - { __typename?: 'Mutation' } - & { tagCreate: Maybe<( - { __typename?: 'Tag' } - & TagDataFragment - )> } -); - -export type TagDestroyMutationVariables = { - id: Scalars['ID'] -}; - - -export type TagDestroyMutation = ( - { __typename?: 'Mutation' } - & Pick -); - -export type TagUpdateMutationVariables = { - id: Scalars['ID'], - name: Scalars['String'] -}; - - -export type TagUpdateMutation = ( - { __typename?: 'Mutation' } - & { tagUpdate: Maybe<( - { __typename?: 'Tag' } - & TagDataFragment - )> } -); - -export type FindGalleriesQueryVariables = { - filter?: Maybe -}; - - -export type FindGalleriesQuery = ( - { __typename?: 'Query' } - & { findGalleries: ( - { __typename?: 'FindGalleriesResultType' } - & Pick - & { galleries: Array<( - { __typename?: 'Gallery' } - & GalleryDataFragment - )> } - ) } -); - -export type FindGalleryQueryVariables = { - id: Scalars['ID'] -}; - - -export type FindGalleryQuery = ( - { __typename?: 'Query' } - & { findGallery: Maybe<( - { __typename?: 'Gallery' } - & GalleryDataFragment - )> } -); - -export type SceneWallQueryVariables = { - q?: Maybe -}; - - -export type SceneWallQuery = ( - { __typename?: 'Query' } - & { sceneWall: Array<( - { __typename?: 'Scene' } - & SceneDataFragment - )> } -); - -export type MarkerWallQueryVariables = { - q?: Maybe -}; - - -export type MarkerWallQuery = ( - { __typename?: 'Query' } - & { markerWall: Array<( - { __typename?: 'SceneMarker' } - & SceneMarkerDataFragment - )> } -); - -export type FindTagQueryVariables = { - id: Scalars['ID'] -}; - - -export type FindTagQuery = ( - { __typename?: 'Query' } - & { findTag: Maybe<( - { __typename?: 'Tag' } - & TagDataFragment - )> } -); - -export type MarkerStringsQueryVariables = { - q?: Maybe, - sort?: Maybe -}; - - -export type MarkerStringsQuery = ( - { __typename?: 'Query' } - & { markerStrings: Array - )>> } -); - -export type AllTagsQueryVariables = {}; - - -export type AllTagsQuery = ( - { __typename?: 'Query' } - & { allTags: Array<( - { __typename?: 'Tag' } - & TagDataFragment - )> } -); - -export type AllPerformersForFilterQueryVariables = {}; - - -export type AllPerformersForFilterQuery = ( - { __typename?: 'Query' } - & { allPerformers: Array<( - { __typename?: 'Performer' } - & SlimPerformerDataFragment - )> } -); - -export type AllStudiosForFilterQueryVariables = {}; - - -export type AllStudiosForFilterQuery = ( - { __typename?: 'Query' } - & { allStudios: Array<( - { __typename?: 'Studio' } - & SlimStudioDataFragment - )> } -); - -export type AllTagsForFilterQueryVariables = {}; - - -export type AllTagsForFilterQuery = ( - { __typename?: 'Query' } - & { allTags: Array<( - { __typename?: 'Tag' } - & Pick - )> } -); - -export type ValidGalleriesForSceneQueryVariables = { - scene_id: Scalars['ID'] -}; - - -export type ValidGalleriesForSceneQuery = ( - { __typename?: 'Query' } - & { validGalleriesForScene: Array<( - { __typename?: 'Gallery' } - & Pick - )> } -); - -export type StatsQueryVariables = {}; - - -export type StatsQuery = ( - { __typename?: 'Query' } - & { stats: ( - { __typename?: 'StatsResultType' } - & Pick - ) } -); - -export type LogsQueryVariables = {}; - - -export type LogsQuery = ( - { __typename?: 'Query' } - & { logs: Array<( - { __typename?: 'LogEntry' } - & LogEntryDataFragment - )> } -); - -export type VersionQueryVariables = {}; - - -export type VersionQuery = ( - { __typename?: 'Query' } - & { version: ( - { __typename?: 'Version' } - & Pick - ) } -); - -export type LatestVersionQueryVariables = {}; - - -export type LatestVersionQuery = ( - { __typename?: 'Query' } - & { latestversion: ( - { __typename?: 'ShortVersion' } - & Pick - ) } -); - -export type FindPerformersQueryVariables = { - filter?: Maybe, - performer_filter?: Maybe -}; - - -export type FindPerformersQuery = ( - { __typename?: 'Query' } - & { findPerformers: ( - { __typename?: 'FindPerformersResultType' } - & Pick - & { performers: Array<( - { __typename?: 'Performer' } - & PerformerDataFragment - )> } - ) } -); - -export type FindPerformerQueryVariables = { - id: Scalars['ID'] -}; - - -export type FindPerformerQuery = ( - { __typename?: 'Query' } - & { findPerformer: Maybe<( - { __typename?: 'Performer' } - & PerformerDataFragment - )> } -); - -export type FindSceneMarkersQueryVariables = { - filter?: Maybe, - scene_marker_filter?: Maybe -}; - - -export type FindSceneMarkersQuery = ( - { __typename?: 'Query' } - & { findSceneMarkers: ( - { __typename?: 'FindSceneMarkersResultType' } - & Pick - & { scene_markers: Array<( - { __typename?: 'SceneMarker' } - & SceneMarkerDataFragment - )> } - ) } -); - -export type FindScenesQueryVariables = { - filter?: Maybe, - scene_filter?: Maybe, - scene_ids?: Maybe> -}; - - -export type FindScenesQuery = ( - { __typename?: 'Query' } - & { findScenes: ( - { __typename?: 'FindScenesResultType' } - & Pick - & { scenes: Array<( - { __typename?: 'Scene' } - & SlimSceneDataFragment - )> } - ) } -); - -export type FindScenesByPathRegexQueryVariables = { - filter?: Maybe -}; - - -export type FindScenesByPathRegexQuery = ( - { __typename?: 'Query' } - & { findScenesByPathRegex: ( - { __typename?: 'FindScenesResultType' } - & Pick - & { scenes: Array<( - { __typename?: 'Scene' } - & SlimSceneDataFragment - )> } - ) } -); - -export type FindSceneQueryVariables = { - id: Scalars['ID'], - checksum?: Maybe -}; - - -export type FindSceneQuery = ( - { __typename?: 'Query' } - & { findScene: Maybe<( - { __typename?: 'Scene' } - & SceneDataFragment - )>, sceneMarkerTags: Array<( - { __typename?: 'SceneMarkerTag' } - & { tag: ( - { __typename?: 'Tag' } - & Pick - ), scene_markers: Array<( - { __typename?: 'SceneMarker' } - & SceneMarkerDataFragment - )> } - )> } -); - -export type ParseSceneFilenamesQueryVariables = { - filter: FindFilterType, - config: SceneParserInput -}; - - -export type ParseSceneFilenamesQuery = ( - { __typename?: 'Query' } - & { parseSceneFilenames: ( - { __typename?: 'SceneParserResultType' } - & Pick - & { results: Array<( - { __typename?: 'SceneParserResult' } - & Pick - & { scene: ( - { __typename?: 'Scene' } - & SlimSceneDataFragment - ) } - )> } - ) } -); - -export type ScrapeFreeonesQueryVariables = { - performer_name: Scalars['String'] -}; - - -export type ScrapeFreeonesQuery = ( - { __typename?: 'Query' } - & { scrapeFreeones: Maybe<( - { __typename?: 'ScrapedPerformer' } - & Pick - )> } -); - -export type ScrapeFreeonesPerformersQueryVariables = { - q: Scalars['String'] -}; - - -export type ScrapeFreeonesPerformersQuery = ( - { __typename?: 'Query' } - & Pick -); - -export type ListPerformerScrapersQueryVariables = {}; - - -export type ListPerformerScrapersQuery = ( - { __typename?: 'Query' } - & { listPerformerScrapers: Array<( - { __typename?: 'Scraper' } - & Pick - & { performer: Maybe<( - { __typename?: 'ScraperSpec' } - & Pick - )> } - )> } -); - -export type ListSceneScrapersQueryVariables = {}; - - -export type ListSceneScrapersQuery = ( - { __typename?: 'Query' } - & { listSceneScrapers: Array<( - { __typename?: 'Scraper' } - & Pick - & { scene: Maybe<( - { __typename?: 'ScraperSpec' } - & Pick - )> } - )> } -); - -export type ScrapePerformerListQueryVariables = { - scraper_id: Scalars['ID'], - query: Scalars['String'] -}; - - -export type ScrapePerformerListQuery = ( - { __typename?: 'Query' } - & { scrapePerformerList: Array<( - { __typename?: 'ScrapedPerformer' } - & ScrapedPerformerDataFragment - )> } -); - -export type ScrapePerformerQueryVariables = { - scraper_id: Scalars['ID'], - scraped_performer: ScrapedPerformerInput -}; - - -export type ScrapePerformerQuery = ( - { __typename?: 'Query' } - & { scrapePerformer: Maybe<( - { __typename?: 'ScrapedPerformer' } - & ScrapedPerformerDataFragment - )> } -); - -export type ScrapePerformerUrlQueryVariables = { - url: Scalars['String'] -}; - - -export type ScrapePerformerUrlQuery = ( - { __typename?: 'Query' } - & { scrapePerformerURL: Maybe<( - { __typename?: 'ScrapedPerformer' } - & ScrapedPerformerDataFragment - )> } -); - -export type ScrapeSceneQueryVariables = { - scraper_id: Scalars['ID'], - scene: SceneUpdateInput -}; - - -export type ScrapeSceneQuery = ( - { __typename?: 'Query' } - & { scrapeScene: Maybe<( - { __typename?: 'ScrapedScene' } - & ScrapedSceneDataFragment - )> } -); - -export type ScrapeSceneUrlQueryVariables = { - url: Scalars['String'] -}; - - -export type ScrapeSceneUrlQuery = ( - { __typename?: 'Query' } - & { scrapeSceneURL: Maybe<( - { __typename?: 'ScrapedScene' } - & ScrapedSceneDataFragment - )> } -); - -export type ConfigurationQueryVariables = {}; - - -export type ConfigurationQuery = ( - { __typename?: 'Query' } - & { configuration: ( - { __typename?: 'ConfigResult' } - & ConfigDataFragment - ) } -); - -export type DirectoriesQueryVariables = { - path?: Maybe -}; - - -export type DirectoriesQuery = ( - { __typename?: 'Query' } - & Pick -); - -export type MetadataImportQueryVariables = {}; - - -export type MetadataImportQuery = ( - { __typename?: 'Query' } - & Pick -); - -export type MetadataExportQueryVariables = {}; - - -export type MetadataExportQuery = ( - { __typename?: 'Query' } - & Pick -); - -export type MetadataScanQueryVariables = { - input: ScanMetadataInput -}; - - -export type MetadataScanQuery = ( - { __typename?: 'Query' } - & Pick -); - -export type MetadataGenerateQueryVariables = { - input: GenerateMetadataInput -}; - - -export type MetadataGenerateQuery = ( - { __typename?: 'Query' } - & Pick -); - -export type MetadataAutoTagQueryVariables = { - input: AutoTagMetadataInput -}; - - -export type MetadataAutoTagQuery = ( - { __typename?: 'Query' } - & Pick -); - -export type MetadataCleanQueryVariables = {}; - - -export type MetadataCleanQuery = ( - { __typename?: 'Query' } - & Pick -); - -export type JobStatusQueryVariables = {}; - - -export type JobStatusQuery = ( - { __typename?: 'Query' } - & { jobStatus: ( - { __typename?: 'MetadataUpdateStatus' } - & Pick - ) } -); - -export type StopJobQueryVariables = {}; - - -export type StopJobQuery = ( - { __typename?: 'Query' } - & Pick -); - -export type FindStudiosQueryVariables = { - filter?: Maybe -}; - - -export type FindStudiosQuery = ( - { __typename?: 'Query' } - & { findStudios: ( - { __typename?: 'FindStudiosResultType' } - & Pick - & { studios: Array<( - { __typename?: 'Studio' } - & StudioDataFragment - )> } - ) } -); - -export type FindStudioQueryVariables = { - id: Scalars['ID'] -}; - - -export type FindStudioQuery = ( - { __typename?: 'Query' } - & { findStudio: Maybe<( - { __typename?: 'Studio' } - & StudioDataFragment - )> } -); - -export type MetadataUpdateSubscriptionVariables = {}; - - -export type MetadataUpdateSubscription = ( - { __typename?: 'Subscription' } - & { metadataUpdate: ( - { __typename?: 'MetadataUpdateStatus' } - & Pick - ) } -); - -export type LoggingSubscribeSubscriptionVariables = {}; - - -export type LoggingSubscribeSubscription = ( - { __typename?: 'Subscription' } - & { loggingSubscribe: Array<( - { __typename?: 'LogEntry' } - & LogEntryDataFragment - )> } -); - -export const ConfigGeneralDataFragmentDoc = gql` - fragment ConfigGeneralData on ConfigGeneralResult { - stashes - databasePath - generatedPath - maxTranscodeSize - maxStreamingTranscodeSize - username - password - logFile - logOut - logLevel - logAccess - excludes -} - `; -export const ConfigInterfaceDataFragmentDoc = gql` - fragment ConfigInterfaceData on ConfigInterfaceResult { - soundOnPreview - wallShowTitle - maximumLoopDuration - autostartVideo - showStudioAsText - css - cssEnabled - language -} - `; -export const ConfigDataFragmentDoc = gql` - fragment ConfigData on ConfigResult { - general { - ...ConfigGeneralData - } - interface { - ...ConfigInterfaceData - } -} - ${ConfigGeneralDataFragmentDoc} -${ConfigInterfaceDataFragmentDoc}`; -export const LogEntryDataFragmentDoc = gql` - fragment LogEntryData on LogEntry { - time - level - message -} - `; -export const SlimPerformerDataFragmentDoc = gql` - fragment SlimPerformerData on Performer { - id - name - image_path -} - `; -export const SlimSceneDataFragmentDoc = gql` - fragment SlimSceneData on Scene { - id - checksum - title - details - url - date - rating - o_counter - path - file { - size - duration - video_codec - audio_codec - width - height - framerate - bitrate - } - paths { - screenshot - preview - stream - webp - vtt - chapters_vtt - } - scene_markers { - id - title - seconds - } - gallery { - id - path - title - } - studio { - id - name - image_path - } - tags { - id - name - } - performers { - id - name - favorite - image_path - } -} - `; -export const SceneMarkerDataFragmentDoc = gql` - fragment SceneMarkerData on SceneMarker { - id - title - seconds - stream - preview - scene { - id - } - primary_tag { - id - name - } - tags { - id - name - } -} - `; -export const GalleryDataFragmentDoc = gql` - fragment GalleryData on Gallery { - id - checksum - path - title - files { - index - name - path - } -} - `; -export const StudioDataFragmentDoc = gql` - fragment StudioData on Studio { - id - checksum - name - url - image_path - scene_count -} - `; -export const TagDataFragmentDoc = gql` - fragment TagData on Tag { - id - name - scene_count - scene_marker_count -} - `; -export const PerformerDataFragmentDoc = gql` - fragment PerformerData on Performer { - id - checksum - name - url - twitter - instagram - birthdate - ethnicity - country - eye_color - height - measurements - fake_tits - career_length - tattoos - piercings - aliases - favorite - image_path - scene_count -} - `; -export const SceneDataFragmentDoc = gql` - fragment SceneData on Scene { - id - checksum - title - details - url - date - rating - o_counter - path - file { - size - duration - video_codec - audio_codec - width - height - framerate - bitrate - } - paths { - screenshot - preview - stream - webp - vtt - chapters_vtt - } - scene_markers { - ...SceneMarkerData - } - is_streamable - gallery { - ...GalleryData - } - studio { - ...StudioData - } - tags { - ...TagData - } - performers { - ...PerformerData - } -} - ${SceneMarkerDataFragmentDoc} -${GalleryDataFragmentDoc} -${StudioDataFragmentDoc} -${TagDataFragmentDoc} -${PerformerDataFragmentDoc}`; -export const ScrapedPerformerDataFragmentDoc = gql` - fragment ScrapedPerformerData on ScrapedPerformer { - name - url - twitter - instagram - birthdate - ethnicity - country - eye_color - height - measurements - fake_tits - career_length - tattoos - piercings - aliases -} - `; -export const ScrapedSceneStudioDataFragmentDoc = gql` - fragment ScrapedSceneStudioData on ScrapedSceneStudio { - id - name - url -} - `; -export const ScrapedSceneTagDataFragmentDoc = gql` - fragment ScrapedSceneTagData on ScrapedSceneTag { - id - name -} - `; -export const ScrapedScenePerformerDataFragmentDoc = gql` - fragment ScrapedScenePerformerData on ScrapedScenePerformer { - id - name - url - twitter - instagram - birthdate - ethnicity - country - eye_color - height - measurements - fake_tits - career_length - tattoos - piercings - aliases -} - `; -export const ScrapedSceneDataFragmentDoc = gql` - fragment ScrapedSceneData on ScrapedScene { - title - details - url - date - file { - size - duration - video_codec - audio_codec - width - height - framerate - bitrate - } - studio { - ...ScrapedSceneStudioData - } - tags { - ...ScrapedSceneTagData - } - performers { - ...ScrapedScenePerformerData - } -} - ${ScrapedSceneStudioDataFragmentDoc} -${ScrapedSceneTagDataFragmentDoc} -${ScrapedScenePerformerDataFragmentDoc}`; -export const SlimStudioDataFragmentDoc = gql` - fragment SlimStudioData on Studio { - id - name - image_path -} - `; -export const ConfigureGeneralDocument = gql` - mutation ConfigureGeneral($input: ConfigGeneralInput!) { - configureGeneral(input: $input) { - ...ConfigGeneralData - } -} - ${ConfigGeneralDataFragmentDoc}`; -export type ConfigureGeneralMutationFn = ApolloReactCommon.MutationFunction; -export type ConfigureGeneralComponentProps = Omit, 'mutation'>; - - export const ConfigureGeneralComponent = (props: ConfigureGeneralComponentProps) => ( - mutation={ConfigureGeneralDocument} {...props} /> - ); - - -/** - * __useConfigureGeneralMutation__ - * - * To run a mutation, you first call `useConfigureGeneralMutation` within a React component and pass it any options that fit your needs. - * When your component renders, `useConfigureGeneralMutation` returns a tuple that includes: - * - A mutate function that you can call at any time to execute the mutation - * - An object with fields that represent the current status of the mutation's execution - * - * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2; - * - * @example - * const [configureGeneralMutation, { data, loading, error }] = useConfigureGeneralMutation({ - * variables: { - * input: // value for 'input' - * }, - * }); - */ -export function useConfigureGeneralMutation(baseOptions?: ApolloReactHooks.MutationHookOptions) { - return ApolloReactHooks.useMutation(ConfigureGeneralDocument, baseOptions); - } -export type ConfigureGeneralMutationHookResult = ReturnType; -export type ConfigureGeneralMutationResult = ApolloReactCommon.MutationResult; -export type ConfigureGeneralMutationOptions = ApolloReactCommon.BaseMutationOptions; -export const ConfigureInterfaceDocument = gql` - mutation ConfigureInterface($input: ConfigInterfaceInput!) { - configureInterface(input: $input) { - ...ConfigInterfaceData - } -} - ${ConfigInterfaceDataFragmentDoc}`; -export type ConfigureInterfaceMutationFn = ApolloReactCommon.MutationFunction; -export type ConfigureInterfaceComponentProps = Omit, 'mutation'>; - - export const ConfigureInterfaceComponent = (props: ConfigureInterfaceComponentProps) => ( - mutation={ConfigureInterfaceDocument} {...props} /> - ); - - -/** - * __useConfigureInterfaceMutation__ - * - * To run a mutation, you first call `useConfigureInterfaceMutation` within a React component and pass it any options that fit your needs. - * When your component renders, `useConfigureInterfaceMutation` returns a tuple that includes: - * - A mutate function that you can call at any time to execute the mutation - * - An object with fields that represent the current status of the mutation's execution - * - * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2; - * - * @example - * const [configureInterfaceMutation, { data, loading, error }] = useConfigureInterfaceMutation({ - * variables: { - * input: // value for 'input' - * }, - * }); - */ -export function useConfigureInterfaceMutation(baseOptions?: ApolloReactHooks.MutationHookOptions) { - return ApolloReactHooks.useMutation(ConfigureInterfaceDocument, baseOptions); - } -export type ConfigureInterfaceMutationHookResult = ReturnType; -export type ConfigureInterfaceMutationResult = ApolloReactCommon.MutationResult; -export type ConfigureInterfaceMutationOptions = ApolloReactCommon.BaseMutationOptions; -export const PerformerCreateDocument = gql` - mutation PerformerCreate($name: String, $url: String, $birthdate: String, $ethnicity: String, $country: String, $eye_color: String, $height: String, $measurements: String, $fake_tits: String, $career_length: String, $tattoos: String, $piercings: String, $aliases: String, $twitter: String, $instagram: String, $favorite: Boolean, $image: String) { - performerCreate(input: {name: $name, url: $url, birthdate: $birthdate, ethnicity: $ethnicity, country: $country, eye_color: $eye_color, height: $height, measurements: $measurements, fake_tits: $fake_tits, career_length: $career_length, tattoos: $tattoos, piercings: $piercings, aliases: $aliases, twitter: $twitter, instagram: $instagram, favorite: $favorite, image: $image}) { - ...PerformerData - } -} - ${PerformerDataFragmentDoc}`; -export type PerformerCreateMutationFn = ApolloReactCommon.MutationFunction; -export type PerformerCreateComponentProps = Omit, 'mutation'>; - - export const PerformerCreateComponent = (props: PerformerCreateComponentProps) => ( - mutation={PerformerCreateDocument} {...props} /> - ); - - -/** - * __usePerformerCreateMutation__ - * - * To run a mutation, you first call `usePerformerCreateMutation` within a React component and pass it any options that fit your needs. - * When your component renders, `usePerformerCreateMutation` returns a tuple that includes: - * - A mutate function that you can call at any time to execute the mutation - * - An object with fields that represent the current status of the mutation's execution - * - * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2; - * - * @example - * const [performerCreateMutation, { data, loading, error }] = usePerformerCreateMutation({ - * variables: { - * name: // value for 'name' - * url: // value for 'url' - * birthdate: // value for 'birthdate' - * ethnicity: // value for 'ethnicity' - * country: // value for 'country' - * eye_color: // value for 'eye_color' - * height: // value for 'height' - * measurements: // value for 'measurements' - * fake_tits: // value for 'fake_tits' - * career_length: // value for 'career_length' - * tattoos: // value for 'tattoos' - * piercings: // value for 'piercings' - * aliases: // value for 'aliases' - * twitter: // value for 'twitter' - * instagram: // value for 'instagram' - * favorite: // value for 'favorite' - * image: // value for 'image' - * }, - * }); - */ -export function usePerformerCreateMutation(baseOptions?: ApolloReactHooks.MutationHookOptions) { - return ApolloReactHooks.useMutation(PerformerCreateDocument, baseOptions); - } -export type PerformerCreateMutationHookResult = ReturnType; -export type PerformerCreateMutationResult = ApolloReactCommon.MutationResult; -export type PerformerCreateMutationOptions = ApolloReactCommon.BaseMutationOptions; -export const PerformerUpdateDocument = gql` - mutation PerformerUpdate($id: ID!, $name: String, $url: String, $birthdate: String, $ethnicity: String, $country: String, $eye_color: String, $height: String, $measurements: String, $fake_tits: String, $career_length: String, $tattoos: String, $piercings: String, $aliases: String, $twitter: String, $instagram: String, $favorite: Boolean, $image: String) { - performerUpdate(input: {id: $id, name: $name, url: $url, birthdate: $birthdate, ethnicity: $ethnicity, country: $country, eye_color: $eye_color, height: $height, measurements: $measurements, fake_tits: $fake_tits, career_length: $career_length, tattoos: $tattoos, piercings: $piercings, aliases: $aliases, twitter: $twitter, instagram: $instagram, favorite: $favorite, image: $image}) { - ...PerformerData - } -} - ${PerformerDataFragmentDoc}`; -export type PerformerUpdateMutationFn = ApolloReactCommon.MutationFunction; -export type PerformerUpdateComponentProps = Omit, 'mutation'>; - - export const PerformerUpdateComponent = (props: PerformerUpdateComponentProps) => ( - mutation={PerformerUpdateDocument} {...props} /> - ); - - -/** - * __usePerformerUpdateMutation__ - * - * To run a mutation, you first call `usePerformerUpdateMutation` within a React component and pass it any options that fit your needs. - * When your component renders, `usePerformerUpdateMutation` returns a tuple that includes: - * - A mutate function that you can call at any time to execute the mutation - * - An object with fields that represent the current status of the mutation's execution - * - * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2; - * - * @example - * const [performerUpdateMutation, { data, loading, error }] = usePerformerUpdateMutation({ - * variables: { - * id: // value for 'id' - * name: // value for 'name' - * url: // value for 'url' - * birthdate: // value for 'birthdate' - * ethnicity: // value for 'ethnicity' - * country: // value for 'country' - * eye_color: // value for 'eye_color' - * height: // value for 'height' - * measurements: // value for 'measurements' - * fake_tits: // value for 'fake_tits' - * career_length: // value for 'career_length' - * tattoos: // value for 'tattoos' - * piercings: // value for 'piercings' - * aliases: // value for 'aliases' - * twitter: // value for 'twitter' - * instagram: // value for 'instagram' - * favorite: // value for 'favorite' - * image: // value for 'image' - * }, - * }); - */ -export function usePerformerUpdateMutation(baseOptions?: ApolloReactHooks.MutationHookOptions) { - return ApolloReactHooks.useMutation(PerformerUpdateDocument, baseOptions); - } -export type PerformerUpdateMutationHookResult = ReturnType; -export type PerformerUpdateMutationResult = ApolloReactCommon.MutationResult; -export type PerformerUpdateMutationOptions = ApolloReactCommon.BaseMutationOptions; -export const PerformerDestroyDocument = gql` - mutation PerformerDestroy($id: ID!) { - performerDestroy(input: {id: $id}) -} - `; -export type PerformerDestroyMutationFn = ApolloReactCommon.MutationFunction; -export type PerformerDestroyComponentProps = Omit, 'mutation'>; - - export const PerformerDestroyComponent = (props: PerformerDestroyComponentProps) => ( - mutation={PerformerDestroyDocument} {...props} /> - ); - - -/** - * __usePerformerDestroyMutation__ - * - * To run a mutation, you first call `usePerformerDestroyMutation` within a React component and pass it any options that fit your needs. - * When your component renders, `usePerformerDestroyMutation` returns a tuple that includes: - * - A mutate function that you can call at any time to execute the mutation - * - An object with fields that represent the current status of the mutation's execution - * - * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2; - * - * @example - * const [performerDestroyMutation, { data, loading, error }] = usePerformerDestroyMutation({ - * variables: { - * id: // value for 'id' - * }, - * }); - */ -export function usePerformerDestroyMutation(baseOptions?: ApolloReactHooks.MutationHookOptions) { - return ApolloReactHooks.useMutation(PerformerDestroyDocument, baseOptions); - } -export type PerformerDestroyMutationHookResult = ReturnType; -export type PerformerDestroyMutationResult = ApolloReactCommon.MutationResult; -export type PerformerDestroyMutationOptions = ApolloReactCommon.BaseMutationOptions; -export const SceneMarkerCreateDocument = gql` - mutation SceneMarkerCreate($title: String!, $seconds: Float!, $scene_id: ID!, $primary_tag_id: ID!, $tag_ids: [ID!] = []) { - sceneMarkerCreate(input: {title: $title, seconds: $seconds, scene_id: $scene_id, primary_tag_id: $primary_tag_id, tag_ids: $tag_ids}) { - ...SceneMarkerData - } -} - ${SceneMarkerDataFragmentDoc}`; -export type SceneMarkerCreateMutationFn = ApolloReactCommon.MutationFunction; -export type SceneMarkerCreateComponentProps = Omit, 'mutation'>; - - export const SceneMarkerCreateComponent = (props: SceneMarkerCreateComponentProps) => ( - mutation={SceneMarkerCreateDocument} {...props} /> - ); - - -/** - * __useSceneMarkerCreateMutation__ - * - * To run a mutation, you first call `useSceneMarkerCreateMutation` within a React component and pass it any options that fit your needs. - * When your component renders, `useSceneMarkerCreateMutation` returns a tuple that includes: - * - A mutate function that you can call at any time to execute the mutation - * - An object with fields that represent the current status of the mutation's execution - * - * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2; - * - * @example - * const [sceneMarkerCreateMutation, { data, loading, error }] = useSceneMarkerCreateMutation({ - * variables: { - * title: // value for 'title' - * seconds: // value for 'seconds' - * scene_id: // value for 'scene_id' - * primary_tag_id: // value for 'primary_tag_id' - * tag_ids: // value for 'tag_ids' - * }, - * }); - */ -export function useSceneMarkerCreateMutation(baseOptions?: ApolloReactHooks.MutationHookOptions) { - return ApolloReactHooks.useMutation(SceneMarkerCreateDocument, baseOptions); - } -export type SceneMarkerCreateMutationHookResult = ReturnType; -export type SceneMarkerCreateMutationResult = ApolloReactCommon.MutationResult; -export type SceneMarkerCreateMutationOptions = ApolloReactCommon.BaseMutationOptions; -export const SceneMarkerUpdateDocument = gql` - mutation SceneMarkerUpdate($id: ID!, $title: String!, $seconds: Float!, $scene_id: ID!, $primary_tag_id: ID!, $tag_ids: [ID!] = []) { - sceneMarkerUpdate(input: {id: $id, title: $title, seconds: $seconds, scene_id: $scene_id, primary_tag_id: $primary_tag_id, tag_ids: $tag_ids}) { - ...SceneMarkerData - } -} - ${SceneMarkerDataFragmentDoc}`; -export type SceneMarkerUpdateMutationFn = ApolloReactCommon.MutationFunction; -export type SceneMarkerUpdateComponentProps = Omit, 'mutation'>; - - export const SceneMarkerUpdateComponent = (props: SceneMarkerUpdateComponentProps) => ( - mutation={SceneMarkerUpdateDocument} {...props} /> - ); - - -/** - * __useSceneMarkerUpdateMutation__ - * - * To run a mutation, you first call `useSceneMarkerUpdateMutation` within a React component and pass it any options that fit your needs. - * When your component renders, `useSceneMarkerUpdateMutation` returns a tuple that includes: - * - A mutate function that you can call at any time to execute the mutation - * - An object with fields that represent the current status of the mutation's execution - * - * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2; - * - * @example - * const [sceneMarkerUpdateMutation, { data, loading, error }] = useSceneMarkerUpdateMutation({ - * variables: { - * id: // value for 'id' - * title: // value for 'title' - * seconds: // value for 'seconds' - * scene_id: // value for 'scene_id' - * primary_tag_id: // value for 'primary_tag_id' - * tag_ids: // value for 'tag_ids' - * }, - * }); - */ -export function useSceneMarkerUpdateMutation(baseOptions?: ApolloReactHooks.MutationHookOptions) { - return ApolloReactHooks.useMutation(SceneMarkerUpdateDocument, baseOptions); - } -export type SceneMarkerUpdateMutationHookResult = ReturnType; -export type SceneMarkerUpdateMutationResult = ApolloReactCommon.MutationResult; -export type SceneMarkerUpdateMutationOptions = ApolloReactCommon.BaseMutationOptions; -export const SceneMarkerDestroyDocument = gql` - mutation SceneMarkerDestroy($id: ID!) { - sceneMarkerDestroy(id: $id) -} - `; -export type SceneMarkerDestroyMutationFn = ApolloReactCommon.MutationFunction; -export type SceneMarkerDestroyComponentProps = Omit, 'mutation'>; - - export const SceneMarkerDestroyComponent = (props: SceneMarkerDestroyComponentProps) => ( - mutation={SceneMarkerDestroyDocument} {...props} /> - ); - - -/** - * __useSceneMarkerDestroyMutation__ - * - * To run a mutation, you first call `useSceneMarkerDestroyMutation` within a React component and pass it any options that fit your needs. - * When your component renders, `useSceneMarkerDestroyMutation` returns a tuple that includes: - * - A mutate function that you can call at any time to execute the mutation - * - An object with fields that represent the current status of the mutation's execution - * - * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2; - * - * @example - * const [sceneMarkerDestroyMutation, { data, loading, error }] = useSceneMarkerDestroyMutation({ - * variables: { - * id: // value for 'id' - * }, - * }); - */ -export function useSceneMarkerDestroyMutation(baseOptions?: ApolloReactHooks.MutationHookOptions) { - return ApolloReactHooks.useMutation(SceneMarkerDestroyDocument, baseOptions); - } -export type SceneMarkerDestroyMutationHookResult = ReturnType; -export type SceneMarkerDestroyMutationResult = ApolloReactCommon.MutationResult; -export type SceneMarkerDestroyMutationOptions = ApolloReactCommon.BaseMutationOptions; -export const SceneUpdateDocument = gql` - mutation SceneUpdate($id: ID!, $title: String, $details: String, $url: String, $date: String, $rating: Int, $studio_id: ID, $gallery_id: ID, $performer_ids: [ID!] = [], $tag_ids: [ID!] = [], $cover_image: String) { - sceneUpdate(input: {id: $id, title: $title, details: $details, url: $url, date: $date, rating: $rating, studio_id: $studio_id, gallery_id: $gallery_id, performer_ids: $performer_ids, tag_ids: $tag_ids, cover_image: $cover_image}) { - ...SceneData - } -} - ${SceneDataFragmentDoc}`; -export type SceneUpdateMutationFn = ApolloReactCommon.MutationFunction; -export type SceneUpdateComponentProps = Omit, 'mutation'>; - - export const SceneUpdateComponent = (props: SceneUpdateComponentProps) => ( - mutation={SceneUpdateDocument} {...props} /> - ); - - -/** - * __useSceneUpdateMutation__ - * - * To run a mutation, you first call `useSceneUpdateMutation` within a React component and pass it any options that fit your needs. - * When your component renders, `useSceneUpdateMutation` returns a tuple that includes: - * - A mutate function that you can call at any time to execute the mutation - * - An object with fields that represent the current status of the mutation's execution - * - * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2; - * - * @example - * const [sceneUpdateMutation, { data, loading, error }] = useSceneUpdateMutation({ - * variables: { - * id: // value for 'id' - * title: // value for 'title' - * details: // value for 'details' - * url: // value for 'url' - * date: // value for 'date' - * rating: // value for 'rating' - * studio_id: // value for 'studio_id' - * gallery_id: // value for 'gallery_id' - * performer_ids: // value for 'performer_ids' - * tag_ids: // value for 'tag_ids' - * cover_image: // value for 'cover_image' - * }, - * }); - */ -export function useSceneUpdateMutation(baseOptions?: ApolloReactHooks.MutationHookOptions) { - return ApolloReactHooks.useMutation(SceneUpdateDocument, baseOptions); - } -export type SceneUpdateMutationHookResult = ReturnType; -export type SceneUpdateMutationResult = ApolloReactCommon.MutationResult; -export type SceneUpdateMutationOptions = ApolloReactCommon.BaseMutationOptions; -export const BulkSceneUpdateDocument = gql` - mutation BulkSceneUpdate($ids: [ID!] = [], $title: String, $details: String, $url: String, $date: String, $rating: Int, $studio_id: ID, $gallery_id: ID, $performer_ids: [ID!], $tag_ids: [ID!]) { - bulkSceneUpdate(input: {ids: $ids, title: $title, details: $details, url: $url, date: $date, rating: $rating, studio_id: $studio_id, gallery_id: $gallery_id, performer_ids: $performer_ids, tag_ids: $tag_ids}) { - ...SceneData - } -} - ${SceneDataFragmentDoc}`; -export type BulkSceneUpdateMutationFn = ApolloReactCommon.MutationFunction; -export type BulkSceneUpdateComponentProps = Omit, 'mutation'>; - - export const BulkSceneUpdateComponent = (props: BulkSceneUpdateComponentProps) => ( - mutation={BulkSceneUpdateDocument} {...props} /> - ); - - -/** - * __useBulkSceneUpdateMutation__ - * - * To run a mutation, you first call `useBulkSceneUpdateMutation` within a React component and pass it any options that fit your needs. - * When your component renders, `useBulkSceneUpdateMutation` returns a tuple that includes: - * - A mutate function that you can call at any time to execute the mutation - * - An object with fields that represent the current status of the mutation's execution - * - * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2; - * - * @example - * const [bulkSceneUpdateMutation, { data, loading, error }] = useBulkSceneUpdateMutation({ - * variables: { - * ids: // value for 'ids' - * title: // value for 'title' - * details: // value for 'details' - * url: // value for 'url' - * date: // value for 'date' - * rating: // value for 'rating' - * studio_id: // value for 'studio_id' - * gallery_id: // value for 'gallery_id' - * performer_ids: // value for 'performer_ids' - * tag_ids: // value for 'tag_ids' - * }, - * }); - */ -export function useBulkSceneUpdateMutation(baseOptions?: ApolloReactHooks.MutationHookOptions) { - return ApolloReactHooks.useMutation(BulkSceneUpdateDocument, baseOptions); - } -export type BulkSceneUpdateMutationHookResult = ReturnType; -export type BulkSceneUpdateMutationResult = ApolloReactCommon.MutationResult; -export type BulkSceneUpdateMutationOptions = ApolloReactCommon.BaseMutationOptions; -export const ScenesUpdateDocument = gql` - mutation ScenesUpdate($input: [SceneUpdateInput!]!) { - scenesUpdate(input: $input) { - ...SceneData - } -} - ${SceneDataFragmentDoc}`; -export type ScenesUpdateMutationFn = ApolloReactCommon.MutationFunction; -export type ScenesUpdateComponentProps = Omit, 'mutation'>; - - export const ScenesUpdateComponent = (props: ScenesUpdateComponentProps) => ( - mutation={ScenesUpdateDocument} {...props} /> - ); - - -/** - * __useScenesUpdateMutation__ - * - * To run a mutation, you first call `useScenesUpdateMutation` within a React component and pass it any options that fit your needs. - * When your component renders, `useScenesUpdateMutation` returns a tuple that includes: - * - A mutate function that you can call at any time to execute the mutation - * - An object with fields that represent the current status of the mutation's execution - * - * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2; - * - * @example - * const [scenesUpdateMutation, { data, loading, error }] = useScenesUpdateMutation({ - * variables: { - * input: // value for 'input' - * }, - * }); - */ -export function useScenesUpdateMutation(baseOptions?: ApolloReactHooks.MutationHookOptions) { - return ApolloReactHooks.useMutation(ScenesUpdateDocument, baseOptions); - } -export type ScenesUpdateMutationHookResult = ReturnType; -export type ScenesUpdateMutationResult = ApolloReactCommon.MutationResult; -export type ScenesUpdateMutationOptions = ApolloReactCommon.BaseMutationOptions; -export const SceneIncrementODocument = gql` - mutation SceneIncrementO($id: ID!) { - sceneIncrementO(id: $id) -} - `; -export type SceneIncrementOMutationFn = ApolloReactCommon.MutationFunction; -export type SceneIncrementOComponentProps = Omit, 'mutation'>; - - export const SceneIncrementOComponent = (props: SceneIncrementOComponentProps) => ( - mutation={SceneIncrementODocument} {...props} /> - ); - - -/** - * __useSceneIncrementOMutation__ - * - * To run a mutation, you first call `useSceneIncrementOMutation` within a React component and pass it any options that fit your needs. - * When your component renders, `useSceneIncrementOMutation` returns a tuple that includes: - * - A mutate function that you can call at any time to execute the mutation - * - An object with fields that represent the current status of the mutation's execution - * - * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2; - * - * @example - * const [sceneIncrementOMutation, { data, loading, error }] = useSceneIncrementOMutation({ - * variables: { - * id: // value for 'id' - * }, - * }); - */ -export function useSceneIncrementOMutation(baseOptions?: ApolloReactHooks.MutationHookOptions) { - return ApolloReactHooks.useMutation(SceneIncrementODocument, baseOptions); - } -export type SceneIncrementOMutationHookResult = ReturnType; -export type SceneIncrementOMutationResult = ApolloReactCommon.MutationResult; -export type SceneIncrementOMutationOptions = ApolloReactCommon.BaseMutationOptions; -export const SceneDecrementODocument = gql` - mutation SceneDecrementO($id: ID!) { - sceneDecrementO(id: $id) -} - `; -export type SceneDecrementOMutationFn = ApolloReactCommon.MutationFunction; -export type SceneDecrementOComponentProps = Omit, 'mutation'>; - - export const SceneDecrementOComponent = (props: SceneDecrementOComponentProps) => ( - mutation={SceneDecrementODocument} {...props} /> - ); - - -/** - * __useSceneDecrementOMutation__ - * - * To run a mutation, you first call `useSceneDecrementOMutation` within a React component and pass it any options that fit your needs. - * When your component renders, `useSceneDecrementOMutation` returns a tuple that includes: - * - A mutate function that you can call at any time to execute the mutation - * - An object with fields that represent the current status of the mutation's execution - * - * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2; - * - * @example - * const [sceneDecrementOMutation, { data, loading, error }] = useSceneDecrementOMutation({ - * variables: { - * id: // value for 'id' - * }, - * }); - */ -export function useSceneDecrementOMutation(baseOptions?: ApolloReactHooks.MutationHookOptions) { - return ApolloReactHooks.useMutation(SceneDecrementODocument, baseOptions); - } -export type SceneDecrementOMutationHookResult = ReturnType; -export type SceneDecrementOMutationResult = ApolloReactCommon.MutationResult; -export type SceneDecrementOMutationOptions = ApolloReactCommon.BaseMutationOptions; -export const SceneResetODocument = gql` - mutation SceneResetO($id: ID!) { - sceneResetO(id: $id) -} - `; -export type SceneResetOMutationFn = ApolloReactCommon.MutationFunction; -export type SceneResetOComponentProps = Omit, 'mutation'>; - - export const SceneResetOComponent = (props: SceneResetOComponentProps) => ( - mutation={SceneResetODocument} {...props} /> - ); - - -/** - * __useSceneResetOMutation__ - * - * To run a mutation, you first call `useSceneResetOMutation` within a React component and pass it any options that fit your needs. - * When your component renders, `useSceneResetOMutation` returns a tuple that includes: - * - A mutate function that you can call at any time to execute the mutation - * - An object with fields that represent the current status of the mutation's execution - * - * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2; - * - * @example - * const [sceneResetOMutation, { data, loading, error }] = useSceneResetOMutation({ - * variables: { - * id: // value for 'id' - * }, - * }); - */ -export function useSceneResetOMutation(baseOptions?: ApolloReactHooks.MutationHookOptions) { - return ApolloReactHooks.useMutation(SceneResetODocument, baseOptions); - } -export type SceneResetOMutationHookResult = ReturnType; -export type SceneResetOMutationResult = ApolloReactCommon.MutationResult; -export type SceneResetOMutationOptions = ApolloReactCommon.BaseMutationOptions; -export const SceneDestroyDocument = gql` - mutation SceneDestroy($id: ID!, $delete_file: Boolean, $delete_generated: Boolean) { - sceneDestroy(input: {id: $id, delete_file: $delete_file, delete_generated: $delete_generated}) -} - `; -export type SceneDestroyMutationFn = ApolloReactCommon.MutationFunction; -export type SceneDestroyComponentProps = Omit, 'mutation'>; - - export const SceneDestroyComponent = (props: SceneDestroyComponentProps) => ( - mutation={SceneDestroyDocument} {...props} /> - ); - - -/** - * __useSceneDestroyMutation__ - * - * To run a mutation, you first call `useSceneDestroyMutation` within a React component and pass it any options that fit your needs. - * When your component renders, `useSceneDestroyMutation` returns a tuple that includes: - * - A mutate function that you can call at any time to execute the mutation - * - An object with fields that represent the current status of the mutation's execution - * - * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2; - * - * @example - * const [sceneDestroyMutation, { data, loading, error }] = useSceneDestroyMutation({ - * variables: { - * id: // value for 'id' - * delete_file: // value for 'delete_file' - * delete_generated: // value for 'delete_generated' - * }, - * }); - */ -export function useSceneDestroyMutation(baseOptions?: ApolloReactHooks.MutationHookOptions) { - return ApolloReactHooks.useMutation(SceneDestroyDocument, baseOptions); - } -export type SceneDestroyMutationHookResult = ReturnType; -export type SceneDestroyMutationResult = ApolloReactCommon.MutationResult; -export type SceneDestroyMutationOptions = ApolloReactCommon.BaseMutationOptions; -export const StudioCreateDocument = gql` - mutation StudioCreate($name: String!, $url: String, $image: String) { - studioCreate(input: {name: $name, url: $url, image: $image}) { - ...StudioData - } -} - ${StudioDataFragmentDoc}`; -export type StudioCreateMutationFn = ApolloReactCommon.MutationFunction; -export type StudioCreateComponentProps = Omit, 'mutation'>; - - export const StudioCreateComponent = (props: StudioCreateComponentProps) => ( - mutation={StudioCreateDocument} {...props} /> - ); - - -/** - * __useStudioCreateMutation__ - * - * To run a mutation, you first call `useStudioCreateMutation` within a React component and pass it any options that fit your needs. - * When your component renders, `useStudioCreateMutation` returns a tuple that includes: - * - A mutate function that you can call at any time to execute the mutation - * - An object with fields that represent the current status of the mutation's execution - * - * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2; - * - * @example - * const [studioCreateMutation, { data, loading, error }] = useStudioCreateMutation({ - * variables: { - * name: // value for 'name' - * url: // value for 'url' - * image: // value for 'image' - * }, - * }); - */ -export function useStudioCreateMutation(baseOptions?: ApolloReactHooks.MutationHookOptions) { - return ApolloReactHooks.useMutation(StudioCreateDocument, baseOptions); - } -export type StudioCreateMutationHookResult = ReturnType; -export type StudioCreateMutationResult = ApolloReactCommon.MutationResult; -export type StudioCreateMutationOptions = ApolloReactCommon.BaseMutationOptions; -export const StudioUpdateDocument = gql` - mutation StudioUpdate($id: ID!, $name: String, $url: String, $image: String) { - studioUpdate(input: {id: $id, name: $name, url: $url, image: $image}) { - ...StudioData - } -} - ${StudioDataFragmentDoc}`; -export type StudioUpdateMutationFn = ApolloReactCommon.MutationFunction; -export type StudioUpdateComponentProps = Omit, 'mutation'>; - - export const StudioUpdateComponent = (props: StudioUpdateComponentProps) => ( - mutation={StudioUpdateDocument} {...props} /> - ); - - -/** - * __useStudioUpdateMutation__ - * - * To run a mutation, you first call `useStudioUpdateMutation` within a React component and pass it any options that fit your needs. - * When your component renders, `useStudioUpdateMutation` returns a tuple that includes: - * - A mutate function that you can call at any time to execute the mutation - * - An object with fields that represent the current status of the mutation's execution - * - * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2; - * - * @example - * const [studioUpdateMutation, { data, loading, error }] = useStudioUpdateMutation({ - * variables: { - * id: // value for 'id' - * name: // value for 'name' - * url: // value for 'url' - * image: // value for 'image' - * }, - * }); - */ -export function useStudioUpdateMutation(baseOptions?: ApolloReactHooks.MutationHookOptions) { - return ApolloReactHooks.useMutation(StudioUpdateDocument, baseOptions); - } -export type StudioUpdateMutationHookResult = ReturnType; -export type StudioUpdateMutationResult = ApolloReactCommon.MutationResult; -export type StudioUpdateMutationOptions = ApolloReactCommon.BaseMutationOptions; -export const StudioDestroyDocument = gql` - mutation StudioDestroy($id: ID!) { - studioDestroy(input: {id: $id}) -} - `; -export type StudioDestroyMutationFn = ApolloReactCommon.MutationFunction; -export type StudioDestroyComponentProps = Omit, 'mutation'>; - - export const StudioDestroyComponent = (props: StudioDestroyComponentProps) => ( - mutation={StudioDestroyDocument} {...props} /> - ); - - -/** - * __useStudioDestroyMutation__ - * - * To run a mutation, you first call `useStudioDestroyMutation` within a React component and pass it any options that fit your needs. - * When your component renders, `useStudioDestroyMutation` returns a tuple that includes: - * - A mutate function that you can call at any time to execute the mutation - * - An object with fields that represent the current status of the mutation's execution - * - * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2; - * - * @example - * const [studioDestroyMutation, { data, loading, error }] = useStudioDestroyMutation({ - * variables: { - * id: // value for 'id' - * }, - * }); - */ -export function useStudioDestroyMutation(baseOptions?: ApolloReactHooks.MutationHookOptions) { - return ApolloReactHooks.useMutation(StudioDestroyDocument, baseOptions); - } -export type StudioDestroyMutationHookResult = ReturnType; -export type StudioDestroyMutationResult = ApolloReactCommon.MutationResult; -export type StudioDestroyMutationOptions = ApolloReactCommon.BaseMutationOptions; -export const TagCreateDocument = gql` - mutation TagCreate($name: String!) { - tagCreate(input: {name: $name}) { - ...TagData - } -} - ${TagDataFragmentDoc}`; -export type TagCreateMutationFn = ApolloReactCommon.MutationFunction; -export type TagCreateComponentProps = Omit, 'mutation'>; - - export const TagCreateComponent = (props: TagCreateComponentProps) => ( - mutation={TagCreateDocument} {...props} /> - ); - - -/** - * __useTagCreateMutation__ - * - * To run a mutation, you first call `useTagCreateMutation` within a React component and pass it any options that fit your needs. - * When your component renders, `useTagCreateMutation` returns a tuple that includes: - * - A mutate function that you can call at any time to execute the mutation - * - An object with fields that represent the current status of the mutation's execution - * - * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2; - * - * @example - * const [tagCreateMutation, { data, loading, error }] = useTagCreateMutation({ - * variables: { - * name: // value for 'name' - * }, - * }); - */ -export function useTagCreateMutation(baseOptions?: ApolloReactHooks.MutationHookOptions) { - return ApolloReactHooks.useMutation(TagCreateDocument, baseOptions); - } -export type TagCreateMutationHookResult = ReturnType; -export type TagCreateMutationResult = ApolloReactCommon.MutationResult; -export type TagCreateMutationOptions = ApolloReactCommon.BaseMutationOptions; -export const TagDestroyDocument = gql` - mutation TagDestroy($id: ID!) { - tagDestroy(input: {id: $id}) -} - `; -export type TagDestroyMutationFn = ApolloReactCommon.MutationFunction; -export type TagDestroyComponentProps = Omit, 'mutation'>; - - export const TagDestroyComponent = (props: TagDestroyComponentProps) => ( - mutation={TagDestroyDocument} {...props} /> - ); - - -/** - * __useTagDestroyMutation__ - * - * To run a mutation, you first call `useTagDestroyMutation` within a React component and pass it any options that fit your needs. - * When your component renders, `useTagDestroyMutation` returns a tuple that includes: - * - A mutate function that you can call at any time to execute the mutation - * - An object with fields that represent the current status of the mutation's execution - * - * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2; - * - * @example - * const [tagDestroyMutation, { data, loading, error }] = useTagDestroyMutation({ - * variables: { - * id: // value for 'id' - * }, - * }); - */ -export function useTagDestroyMutation(baseOptions?: ApolloReactHooks.MutationHookOptions) { - return ApolloReactHooks.useMutation(TagDestroyDocument, baseOptions); - } -export type TagDestroyMutationHookResult = ReturnType; -export type TagDestroyMutationResult = ApolloReactCommon.MutationResult; -export type TagDestroyMutationOptions = ApolloReactCommon.BaseMutationOptions; -export const TagUpdateDocument = gql` - mutation TagUpdate($id: ID!, $name: String!) { - tagUpdate(input: {id: $id, name: $name}) { - ...TagData - } -} - ${TagDataFragmentDoc}`; -export type TagUpdateMutationFn = ApolloReactCommon.MutationFunction; -export type TagUpdateComponentProps = Omit, 'mutation'>; - - export const TagUpdateComponent = (props: TagUpdateComponentProps) => ( - mutation={TagUpdateDocument} {...props} /> - ); - - -/** - * __useTagUpdateMutation__ - * - * To run a mutation, you first call `useTagUpdateMutation` within a React component and pass it any options that fit your needs. - * When your component renders, `useTagUpdateMutation` returns a tuple that includes: - * - A mutate function that you can call at any time to execute the mutation - * - An object with fields that represent the current status of the mutation's execution - * - * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2; - * - * @example - * const [tagUpdateMutation, { data, loading, error }] = useTagUpdateMutation({ - * variables: { - * id: // value for 'id' - * name: // value for 'name' - * }, - * }); - */ -export function useTagUpdateMutation(baseOptions?: ApolloReactHooks.MutationHookOptions) { - return ApolloReactHooks.useMutation(TagUpdateDocument, baseOptions); - } -export type TagUpdateMutationHookResult = ReturnType; -export type TagUpdateMutationResult = ApolloReactCommon.MutationResult; -export type TagUpdateMutationOptions = ApolloReactCommon.BaseMutationOptions; -export const FindGalleriesDocument = gql` - query FindGalleries($filter: FindFilterType) { - findGalleries(filter: $filter) { - count - galleries { - ...GalleryData - } - } -} - ${GalleryDataFragmentDoc}`; -export type FindGalleriesComponentProps = Omit, 'query'>; - - export const FindGalleriesComponent = (props: FindGalleriesComponentProps) => ( - query={FindGalleriesDocument} {...props} /> - ); - - -/** - * __useFindGalleriesQuery__ - * - * To run a query within a React component, call `useFindGalleriesQuery` and pass it any options that fit your needs. - * When your component renders, `useFindGalleriesQuery` returns an object from Apollo Client that contains loading, error, and data properties - * you can use to render your UI. - * - * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options; - * - * @example - * const { data, loading, error } = useFindGalleriesQuery({ - * variables: { - * filter: // value for 'filter' - * }, - * }); - */ -export function useFindGalleriesQuery(baseOptions?: ApolloReactHooks.QueryHookOptions) { - return ApolloReactHooks.useQuery(FindGalleriesDocument, baseOptions); - } -export function useFindGalleriesLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions) { - return ApolloReactHooks.useLazyQuery(FindGalleriesDocument, baseOptions); - } -export type FindGalleriesQueryHookResult = ReturnType; -export type FindGalleriesLazyQueryHookResult = ReturnType; -export type FindGalleriesQueryResult = ApolloReactCommon.QueryResult; -export const FindGalleryDocument = gql` - query FindGallery($id: ID!) { - findGallery(id: $id) { - ...GalleryData - } -} - ${GalleryDataFragmentDoc}`; -export type FindGalleryComponentProps = Omit, 'query'> & ({ variables: FindGalleryQueryVariables; skip?: boolean; } | { skip: boolean; }); - - export const FindGalleryComponent = (props: FindGalleryComponentProps) => ( - query={FindGalleryDocument} {...props} /> - ); - - -/** - * __useFindGalleryQuery__ - * - * To run a query within a React component, call `useFindGalleryQuery` and pass it any options that fit your needs. - * When your component renders, `useFindGalleryQuery` returns an object from Apollo Client that contains loading, error, and data properties - * you can use to render your UI. - * - * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options; - * - * @example - * const { data, loading, error } = useFindGalleryQuery({ - * variables: { - * id: // value for 'id' - * }, - * }); - */ -export function useFindGalleryQuery(baseOptions?: ApolloReactHooks.QueryHookOptions) { - return ApolloReactHooks.useQuery(FindGalleryDocument, baseOptions); - } -export function useFindGalleryLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions) { - return ApolloReactHooks.useLazyQuery(FindGalleryDocument, baseOptions); - } -export type FindGalleryQueryHookResult = ReturnType; -export type FindGalleryLazyQueryHookResult = ReturnType; -export type FindGalleryQueryResult = ApolloReactCommon.QueryResult; -export const SceneWallDocument = gql` - query SceneWall($q: String) { - sceneWall(q: $q) { - ...SceneData - } -} - ${SceneDataFragmentDoc}`; -export type SceneWallComponentProps = Omit, 'query'>; - - export const SceneWallComponent = (props: SceneWallComponentProps) => ( - query={SceneWallDocument} {...props} /> - ); - - -/** - * __useSceneWallQuery__ - * - * To run a query within a React component, call `useSceneWallQuery` and pass it any options that fit your needs. - * When your component renders, `useSceneWallQuery` returns an object from Apollo Client that contains loading, error, and data properties - * you can use to render your UI. - * - * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options; - * - * @example - * const { data, loading, error } = useSceneWallQuery({ - * variables: { - * q: // value for 'q' - * }, - * }); - */ -export function useSceneWallQuery(baseOptions?: ApolloReactHooks.QueryHookOptions) { - return ApolloReactHooks.useQuery(SceneWallDocument, baseOptions); - } -export function useSceneWallLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions) { - return ApolloReactHooks.useLazyQuery(SceneWallDocument, baseOptions); - } -export type SceneWallQueryHookResult = ReturnType; -export type SceneWallLazyQueryHookResult = ReturnType; -export type SceneWallQueryResult = ApolloReactCommon.QueryResult; -export const MarkerWallDocument = gql` - query MarkerWall($q: String) { - markerWall(q: $q) { - ...SceneMarkerData - } -} - ${SceneMarkerDataFragmentDoc}`; -export type MarkerWallComponentProps = Omit, 'query'>; - - export const MarkerWallComponent = (props: MarkerWallComponentProps) => ( - query={MarkerWallDocument} {...props} /> - ); - - -/** - * __useMarkerWallQuery__ - * - * To run a query within a React component, call `useMarkerWallQuery` and pass it any options that fit your needs. - * When your component renders, `useMarkerWallQuery` returns an object from Apollo Client that contains loading, error, and data properties - * you can use to render your UI. - * - * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options; - * - * @example - * const { data, loading, error } = useMarkerWallQuery({ - * variables: { - * q: // value for 'q' - * }, - * }); - */ -export function useMarkerWallQuery(baseOptions?: ApolloReactHooks.QueryHookOptions) { - return ApolloReactHooks.useQuery(MarkerWallDocument, baseOptions); - } -export function useMarkerWallLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions) { - return ApolloReactHooks.useLazyQuery(MarkerWallDocument, baseOptions); - } -export type MarkerWallQueryHookResult = ReturnType; -export type MarkerWallLazyQueryHookResult = ReturnType; -export type MarkerWallQueryResult = ApolloReactCommon.QueryResult; -export const FindTagDocument = gql` - query FindTag($id: ID!) { - findTag(id: $id) { - ...TagData - } -} - ${TagDataFragmentDoc}`; -export type FindTagComponentProps = Omit, 'query'> & ({ variables: FindTagQueryVariables; skip?: boolean; } | { skip: boolean; }); - - export const FindTagComponent = (props: FindTagComponentProps) => ( - query={FindTagDocument} {...props} /> - ); - - -/** - * __useFindTagQuery__ - * - * To run a query within a React component, call `useFindTagQuery` and pass it any options that fit your needs. - * When your component renders, `useFindTagQuery` returns an object from Apollo Client that contains loading, error, and data properties - * you can use to render your UI. - * - * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options; - * - * @example - * const { data, loading, error } = useFindTagQuery({ - * variables: { - * id: // value for 'id' - * }, - * }); - */ -export function useFindTagQuery(baseOptions?: ApolloReactHooks.QueryHookOptions) { - return ApolloReactHooks.useQuery(FindTagDocument, baseOptions); - } -export function useFindTagLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions) { - return ApolloReactHooks.useLazyQuery(FindTagDocument, baseOptions); - } -export type FindTagQueryHookResult = ReturnType; -export type FindTagLazyQueryHookResult = ReturnType; -export type FindTagQueryResult = ApolloReactCommon.QueryResult; -export const MarkerStringsDocument = gql` - query MarkerStrings($q: String, $sort: String) { - markerStrings(q: $q, sort: $sort) { - id - count - title - } -} - `; -export type MarkerStringsComponentProps = Omit, 'query'>; - - export const MarkerStringsComponent = (props: MarkerStringsComponentProps) => ( - query={MarkerStringsDocument} {...props} /> - ); - - -/** - * __useMarkerStringsQuery__ - * - * To run a query within a React component, call `useMarkerStringsQuery` and pass it any options that fit your needs. - * When your component renders, `useMarkerStringsQuery` returns an object from Apollo Client that contains loading, error, and data properties - * you can use to render your UI. - * - * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options; - * - * @example - * const { data, loading, error } = useMarkerStringsQuery({ - * variables: { - * q: // value for 'q' - * sort: // value for 'sort' - * }, - * }); - */ -export function useMarkerStringsQuery(baseOptions?: ApolloReactHooks.QueryHookOptions) { - return ApolloReactHooks.useQuery(MarkerStringsDocument, baseOptions); - } -export function useMarkerStringsLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions) { - return ApolloReactHooks.useLazyQuery(MarkerStringsDocument, baseOptions); - } -export type MarkerStringsQueryHookResult = ReturnType; -export type MarkerStringsLazyQueryHookResult = ReturnType; -export type MarkerStringsQueryResult = ApolloReactCommon.QueryResult; -export const AllTagsDocument = gql` - query AllTags { - allTags { - ...TagData - } -} - ${TagDataFragmentDoc}`; -export type AllTagsComponentProps = Omit, 'query'>; - - export const AllTagsComponent = (props: AllTagsComponentProps) => ( - query={AllTagsDocument} {...props} /> - ); - - -/** - * __useAllTagsQuery__ - * - * To run a query within a React component, call `useAllTagsQuery` and pass it any options that fit your needs. - * When your component renders, `useAllTagsQuery` returns an object from Apollo Client that contains loading, error, and data properties - * you can use to render your UI. - * - * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options; - * - * @example - * const { data, loading, error } = useAllTagsQuery({ - * variables: { - * }, - * }); - */ -export function useAllTagsQuery(baseOptions?: ApolloReactHooks.QueryHookOptions) { - return ApolloReactHooks.useQuery(AllTagsDocument, baseOptions); - } -export function useAllTagsLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions) { - return ApolloReactHooks.useLazyQuery(AllTagsDocument, baseOptions); - } -export type AllTagsQueryHookResult = ReturnType; -export type AllTagsLazyQueryHookResult = ReturnType; -export type AllTagsQueryResult = ApolloReactCommon.QueryResult; -export const AllPerformersForFilterDocument = gql` - query AllPerformersForFilter { - allPerformers { - ...SlimPerformerData - } -} - ${SlimPerformerDataFragmentDoc}`; -export type AllPerformersForFilterComponentProps = Omit, 'query'>; - - export const AllPerformersForFilterComponent = (props: AllPerformersForFilterComponentProps) => ( - query={AllPerformersForFilterDocument} {...props} /> - ); - - -/** - * __useAllPerformersForFilterQuery__ - * - * To run a query within a React component, call `useAllPerformersForFilterQuery` and pass it any options that fit your needs. - * When your component renders, `useAllPerformersForFilterQuery` returns an object from Apollo Client that contains loading, error, and data properties - * you can use to render your UI. - * - * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options; - * - * @example - * const { data, loading, error } = useAllPerformersForFilterQuery({ - * variables: { - * }, - * }); - */ -export function useAllPerformersForFilterQuery(baseOptions?: ApolloReactHooks.QueryHookOptions) { - return ApolloReactHooks.useQuery(AllPerformersForFilterDocument, baseOptions); - } -export function useAllPerformersForFilterLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions) { - return ApolloReactHooks.useLazyQuery(AllPerformersForFilterDocument, baseOptions); - } -export type AllPerformersForFilterQueryHookResult = ReturnType; -export type AllPerformersForFilterLazyQueryHookResult = ReturnType; -export type AllPerformersForFilterQueryResult = ApolloReactCommon.QueryResult; -export const AllStudiosForFilterDocument = gql` - query AllStudiosForFilter { - allStudios { - ...SlimStudioData - } -} - ${SlimStudioDataFragmentDoc}`; -export type AllStudiosForFilterComponentProps = Omit, 'query'>; - - export const AllStudiosForFilterComponent = (props: AllStudiosForFilterComponentProps) => ( - query={AllStudiosForFilterDocument} {...props} /> - ); - - -/** - * __useAllStudiosForFilterQuery__ - * - * To run a query within a React component, call `useAllStudiosForFilterQuery` and pass it any options that fit your needs. - * When your component renders, `useAllStudiosForFilterQuery` returns an object from Apollo Client that contains loading, error, and data properties - * you can use to render your UI. - * - * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options; - * - * @example - * const { data, loading, error } = useAllStudiosForFilterQuery({ - * variables: { - * }, - * }); - */ -export function useAllStudiosForFilterQuery(baseOptions?: ApolloReactHooks.QueryHookOptions) { - return ApolloReactHooks.useQuery(AllStudiosForFilterDocument, baseOptions); - } -export function useAllStudiosForFilterLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions) { - return ApolloReactHooks.useLazyQuery(AllStudiosForFilterDocument, baseOptions); - } -export type AllStudiosForFilterQueryHookResult = ReturnType; -export type AllStudiosForFilterLazyQueryHookResult = ReturnType; -export type AllStudiosForFilterQueryResult = ApolloReactCommon.QueryResult; -export const AllTagsForFilterDocument = gql` - query AllTagsForFilter { - allTags { - id - name - } -} - `; -export type AllTagsForFilterComponentProps = Omit, 'query'>; - - export const AllTagsForFilterComponent = (props: AllTagsForFilterComponentProps) => ( - query={AllTagsForFilterDocument} {...props} /> - ); - - -/** - * __useAllTagsForFilterQuery__ - * - * To run a query within a React component, call `useAllTagsForFilterQuery` and pass it any options that fit your needs. - * When your component renders, `useAllTagsForFilterQuery` returns an object from Apollo Client that contains loading, error, and data properties - * you can use to render your UI. - * - * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options; - * - * @example - * const { data, loading, error } = useAllTagsForFilterQuery({ - * variables: { - * }, - * }); - */ -export function useAllTagsForFilterQuery(baseOptions?: ApolloReactHooks.QueryHookOptions) { - return ApolloReactHooks.useQuery(AllTagsForFilterDocument, baseOptions); - } -export function useAllTagsForFilterLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions) { - return ApolloReactHooks.useLazyQuery(AllTagsForFilterDocument, baseOptions); - } -export type AllTagsForFilterQueryHookResult = ReturnType; -export type AllTagsForFilterLazyQueryHookResult = ReturnType; -export type AllTagsForFilterQueryResult = ApolloReactCommon.QueryResult; -export const ValidGalleriesForSceneDocument = gql` - query ValidGalleriesForScene($scene_id: ID!) { - validGalleriesForScene(scene_id: $scene_id) { - id - path - } -} - `; -export type ValidGalleriesForSceneComponentProps = Omit, 'query'> & ({ variables: ValidGalleriesForSceneQueryVariables; skip?: boolean; } | { skip: boolean; }); - - export const ValidGalleriesForSceneComponent = (props: ValidGalleriesForSceneComponentProps) => ( - query={ValidGalleriesForSceneDocument} {...props} /> - ); - - -/** - * __useValidGalleriesForSceneQuery__ - * - * To run a query within a React component, call `useValidGalleriesForSceneQuery` and pass it any options that fit your needs. - * When your component renders, `useValidGalleriesForSceneQuery` returns an object from Apollo Client that contains loading, error, and data properties - * you can use to render your UI. - * - * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options; - * - * @example - * const { data, loading, error } = useValidGalleriesForSceneQuery({ - * variables: { - * scene_id: // value for 'scene_id' - * }, - * }); - */ -export function useValidGalleriesForSceneQuery(baseOptions?: ApolloReactHooks.QueryHookOptions) { - return ApolloReactHooks.useQuery(ValidGalleriesForSceneDocument, baseOptions); - } -export function useValidGalleriesForSceneLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions) { - return ApolloReactHooks.useLazyQuery(ValidGalleriesForSceneDocument, baseOptions); - } -export type ValidGalleriesForSceneQueryHookResult = ReturnType; -export type ValidGalleriesForSceneLazyQueryHookResult = ReturnType; -export type ValidGalleriesForSceneQueryResult = ApolloReactCommon.QueryResult; -export const StatsDocument = gql` - query Stats { - stats { - scene_count - gallery_count - performer_count - studio_count - tag_count - } -} - `; -export type StatsComponentProps = Omit, 'query'>; - - export const StatsComponent = (props: StatsComponentProps) => ( - query={StatsDocument} {...props} /> - ); - - -/** - * __useStatsQuery__ - * - * To run a query within a React component, call `useStatsQuery` and pass it any options that fit your needs. - * When your component renders, `useStatsQuery` returns an object from Apollo Client that contains loading, error, and data properties - * you can use to render your UI. - * - * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options; - * - * @example - * const { data, loading, error } = useStatsQuery({ - * variables: { - * }, - * }); - */ -export function useStatsQuery(baseOptions?: ApolloReactHooks.QueryHookOptions) { - return ApolloReactHooks.useQuery(StatsDocument, baseOptions); - } -export function useStatsLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions) { - return ApolloReactHooks.useLazyQuery(StatsDocument, baseOptions); - } -export type StatsQueryHookResult = ReturnType; -export type StatsLazyQueryHookResult = ReturnType; -export type StatsQueryResult = ApolloReactCommon.QueryResult; -export const LogsDocument = gql` - query Logs { - logs { - ...LogEntryData - } -} - ${LogEntryDataFragmentDoc}`; -export type LogsComponentProps = Omit, 'query'>; - - export const LogsComponent = (props: LogsComponentProps) => ( - query={LogsDocument} {...props} /> - ); - - -/** - * __useLogsQuery__ - * - * To run a query within a React component, call `useLogsQuery` and pass it any options that fit your needs. - * When your component renders, `useLogsQuery` returns an object from Apollo Client that contains loading, error, and data properties - * you can use to render your UI. - * - * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options; - * - * @example - * const { data, loading, error } = useLogsQuery({ - * variables: { - * }, - * }); - */ -export function useLogsQuery(baseOptions?: ApolloReactHooks.QueryHookOptions) { - return ApolloReactHooks.useQuery(LogsDocument, baseOptions); - } -export function useLogsLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions) { - return ApolloReactHooks.useLazyQuery(LogsDocument, baseOptions); - } -export type LogsQueryHookResult = ReturnType; -export type LogsLazyQueryHookResult = ReturnType; -export type LogsQueryResult = ApolloReactCommon.QueryResult; -export const VersionDocument = gql` - query Version { - version { - version - hash - build_time - } -} - `; -export type VersionComponentProps = Omit, 'query'>; - - export const VersionComponent = (props: VersionComponentProps) => ( - query={VersionDocument} {...props} /> - ); - - -/** - * __useVersionQuery__ - * - * To run a query within a React component, call `useVersionQuery` and pass it any options that fit your needs. - * When your component renders, `useVersionQuery` returns an object from Apollo Client that contains loading, error, and data properties - * you can use to render your UI. - * - * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options; - * - * @example - * const { data, loading, error } = useVersionQuery({ - * variables: { - * }, - * }); - */ -export function useVersionQuery(baseOptions?: ApolloReactHooks.QueryHookOptions) { - return ApolloReactHooks.useQuery(VersionDocument, baseOptions); - } -export function useVersionLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions) { - return ApolloReactHooks.useLazyQuery(VersionDocument, baseOptions); - } -export type VersionQueryHookResult = ReturnType; -export type VersionLazyQueryHookResult = ReturnType; -export type VersionQueryResult = ApolloReactCommon.QueryResult; -export const LatestVersionDocument = gql` - query LatestVersion { - latestversion { - shorthash - url - } -} - `; -export type LatestVersionComponentProps = Omit, 'query'>; - - export const LatestVersionComponent = (props: LatestVersionComponentProps) => ( - query={LatestVersionDocument} {...props} /> - ); - - -/** - * __useLatestVersionQuery__ - * - * To run a query within a React component, call `useLatestVersionQuery` and pass it any options that fit your needs. - * When your component renders, `useLatestVersionQuery` returns an object from Apollo Client that contains loading, error, and data properties - * you can use to render your UI. - * - * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options; - * - * @example - * const { data, loading, error } = useLatestVersionQuery({ - * variables: { - * }, - * }); - */ -export function useLatestVersionQuery(baseOptions?: ApolloReactHooks.QueryHookOptions) { - return ApolloReactHooks.useQuery(LatestVersionDocument, baseOptions); - } -export function useLatestVersionLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions) { - return ApolloReactHooks.useLazyQuery(LatestVersionDocument, baseOptions); - } -export type LatestVersionQueryHookResult = ReturnType; -export type LatestVersionLazyQueryHookResult = ReturnType; -export type LatestVersionQueryResult = ApolloReactCommon.QueryResult; -export const FindPerformersDocument = gql` - query FindPerformers($filter: FindFilterType, $performer_filter: PerformerFilterType) { - findPerformers(filter: $filter, performer_filter: $performer_filter) { - count - performers { - ...PerformerData - } - } -} - ${PerformerDataFragmentDoc}`; -export type FindPerformersComponentProps = Omit, 'query'>; - - export const FindPerformersComponent = (props: FindPerformersComponentProps) => ( - query={FindPerformersDocument} {...props} /> - ); - - -/** - * __useFindPerformersQuery__ - * - * To run a query within a React component, call `useFindPerformersQuery` and pass it any options that fit your needs. - * When your component renders, `useFindPerformersQuery` returns an object from Apollo Client that contains loading, error, and data properties - * you can use to render your UI. - * - * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options; - * - * @example - * const { data, loading, error } = useFindPerformersQuery({ - * variables: { - * filter: // value for 'filter' - * performer_filter: // value for 'performer_filter' - * }, - * }); - */ -export function useFindPerformersQuery(baseOptions?: ApolloReactHooks.QueryHookOptions) { - return ApolloReactHooks.useQuery(FindPerformersDocument, baseOptions); - } -export function useFindPerformersLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions) { - return ApolloReactHooks.useLazyQuery(FindPerformersDocument, baseOptions); - } -export type FindPerformersQueryHookResult = ReturnType; -export type FindPerformersLazyQueryHookResult = ReturnType; -export type FindPerformersQueryResult = ApolloReactCommon.QueryResult; -export const FindPerformerDocument = gql` - query FindPerformer($id: ID!) { - findPerformer(id: $id) { - ...PerformerData - } -} - ${PerformerDataFragmentDoc}`; -export type FindPerformerComponentProps = Omit, 'query'> & ({ variables: FindPerformerQueryVariables; skip?: boolean; } | { skip: boolean; }); - - export const FindPerformerComponent = (props: FindPerformerComponentProps) => ( - query={FindPerformerDocument} {...props} /> - ); - - -/** - * __useFindPerformerQuery__ - * - * To run a query within a React component, call `useFindPerformerQuery` and pass it any options that fit your needs. - * When your component renders, `useFindPerformerQuery` returns an object from Apollo Client that contains loading, error, and data properties - * you can use to render your UI. - * - * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options; - * - * @example - * const { data, loading, error } = useFindPerformerQuery({ - * variables: { - * id: // value for 'id' - * }, - * }); - */ -export function useFindPerformerQuery(baseOptions?: ApolloReactHooks.QueryHookOptions) { - return ApolloReactHooks.useQuery(FindPerformerDocument, baseOptions); - } -export function useFindPerformerLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions) { - return ApolloReactHooks.useLazyQuery(FindPerformerDocument, baseOptions); - } -export type FindPerformerQueryHookResult = ReturnType; -export type FindPerformerLazyQueryHookResult = ReturnType; -export type FindPerformerQueryResult = ApolloReactCommon.QueryResult; -export const FindSceneMarkersDocument = gql` - query FindSceneMarkers($filter: FindFilterType, $scene_marker_filter: SceneMarkerFilterType) { - findSceneMarkers(filter: $filter, scene_marker_filter: $scene_marker_filter) { - count - scene_markers { - ...SceneMarkerData - } - } -} - ${SceneMarkerDataFragmentDoc}`; -export type FindSceneMarkersComponentProps = Omit, 'query'>; - - export const FindSceneMarkersComponent = (props: FindSceneMarkersComponentProps) => ( - query={FindSceneMarkersDocument} {...props} /> - ); - - -/** - * __useFindSceneMarkersQuery__ - * - * To run a query within a React component, call `useFindSceneMarkersQuery` and pass it any options that fit your needs. - * When your component renders, `useFindSceneMarkersQuery` returns an object from Apollo Client that contains loading, error, and data properties - * you can use to render your UI. - * - * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options; - * - * @example - * const { data, loading, error } = useFindSceneMarkersQuery({ - * variables: { - * filter: // value for 'filter' - * scene_marker_filter: // value for 'scene_marker_filter' - * }, - * }); - */ -export function useFindSceneMarkersQuery(baseOptions?: ApolloReactHooks.QueryHookOptions) { - return ApolloReactHooks.useQuery(FindSceneMarkersDocument, baseOptions); - } -export function useFindSceneMarkersLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions) { - return ApolloReactHooks.useLazyQuery(FindSceneMarkersDocument, baseOptions); - } -export type FindSceneMarkersQueryHookResult = ReturnType; -export type FindSceneMarkersLazyQueryHookResult = ReturnType; -export type FindSceneMarkersQueryResult = ApolloReactCommon.QueryResult; -export const FindScenesDocument = gql` - query FindScenes($filter: FindFilterType, $scene_filter: SceneFilterType, $scene_ids: [Int!]) { - findScenes(filter: $filter, scene_filter: $scene_filter, scene_ids: $scene_ids) { - count - scenes { - ...SlimSceneData - } - } -} - ${SlimSceneDataFragmentDoc}`; -export type FindScenesComponentProps = Omit, 'query'>; - - export const FindScenesComponent = (props: FindScenesComponentProps) => ( - query={FindScenesDocument} {...props} /> - ); - - -/** - * __useFindScenesQuery__ - * - * To run a query within a React component, call `useFindScenesQuery` and pass it any options that fit your needs. - * When your component renders, `useFindScenesQuery` returns an object from Apollo Client that contains loading, error, and data properties - * you can use to render your UI. - * - * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options; - * - * @example - * const { data, loading, error } = useFindScenesQuery({ - * variables: { - * filter: // value for 'filter' - * scene_filter: // value for 'scene_filter' - * scene_ids: // value for 'scene_ids' - * }, - * }); - */ -export function useFindScenesQuery(baseOptions?: ApolloReactHooks.QueryHookOptions) { - return ApolloReactHooks.useQuery(FindScenesDocument, baseOptions); - } -export function useFindScenesLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions) { - return ApolloReactHooks.useLazyQuery(FindScenesDocument, baseOptions); - } -export type FindScenesQueryHookResult = ReturnType; -export type FindScenesLazyQueryHookResult = ReturnType; -export type FindScenesQueryResult = ApolloReactCommon.QueryResult; -export const FindScenesByPathRegexDocument = gql` - query FindScenesByPathRegex($filter: FindFilterType) { - findScenesByPathRegex(filter: $filter) { - count - scenes { - ...SlimSceneData - } - } -} - ${SlimSceneDataFragmentDoc}`; -export type FindScenesByPathRegexComponentProps = Omit, 'query'>; - - export const FindScenesByPathRegexComponent = (props: FindScenesByPathRegexComponentProps) => ( - query={FindScenesByPathRegexDocument} {...props} /> - ); - - -/** - * __useFindScenesByPathRegexQuery__ - * - * To run a query within a React component, call `useFindScenesByPathRegexQuery` and pass it any options that fit your needs. - * When your component renders, `useFindScenesByPathRegexQuery` returns an object from Apollo Client that contains loading, error, and data properties - * you can use to render your UI. - * - * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options; - * - * @example - * const { data, loading, error } = useFindScenesByPathRegexQuery({ - * variables: { - * filter: // value for 'filter' - * }, - * }); - */ -export function useFindScenesByPathRegexQuery(baseOptions?: ApolloReactHooks.QueryHookOptions) { - return ApolloReactHooks.useQuery(FindScenesByPathRegexDocument, baseOptions); - } -export function useFindScenesByPathRegexLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions) { - return ApolloReactHooks.useLazyQuery(FindScenesByPathRegexDocument, baseOptions); - } -export type FindScenesByPathRegexQueryHookResult = ReturnType; -export type FindScenesByPathRegexLazyQueryHookResult = ReturnType; -export type FindScenesByPathRegexQueryResult = ApolloReactCommon.QueryResult; -export const FindSceneDocument = gql` - query FindScene($id: ID!, $checksum: String) { - findScene(id: $id, checksum: $checksum) { - ...SceneData - } - sceneMarkerTags(scene_id: $id) { - tag { - id - name - } - scene_markers { - ...SceneMarkerData - } - } -} - ${SceneDataFragmentDoc} -${SceneMarkerDataFragmentDoc}`; -export type FindSceneComponentProps = Omit, 'query'> & ({ variables: FindSceneQueryVariables; skip?: boolean; } | { skip: boolean; }); - - export const FindSceneComponent = (props: FindSceneComponentProps) => ( - query={FindSceneDocument} {...props} /> - ); - - -/** - * __useFindSceneQuery__ - * - * To run a query within a React component, call `useFindSceneQuery` and pass it any options that fit your needs. - * When your component renders, `useFindSceneQuery` returns an object from Apollo Client that contains loading, error, and data properties - * you can use to render your UI. - * - * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options; - * - * @example - * const { data, loading, error } = useFindSceneQuery({ - * variables: { - * id: // value for 'id' - * checksum: // value for 'checksum' - * }, - * }); - */ -export function useFindSceneQuery(baseOptions?: ApolloReactHooks.QueryHookOptions) { - return ApolloReactHooks.useQuery(FindSceneDocument, baseOptions); - } -export function useFindSceneLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions) { - return ApolloReactHooks.useLazyQuery(FindSceneDocument, baseOptions); - } -export type FindSceneQueryHookResult = ReturnType; -export type FindSceneLazyQueryHookResult = ReturnType; -export type FindSceneQueryResult = ApolloReactCommon.QueryResult; -export const ParseSceneFilenamesDocument = gql` - query ParseSceneFilenames($filter: FindFilterType!, $config: SceneParserInput!) { - parseSceneFilenames(filter: $filter, config: $config) { - count - results { - scene { - ...SlimSceneData - } - title - details - url - date - rating - studio_id - gallery_id - performer_ids - tag_ids - } - } -} - ${SlimSceneDataFragmentDoc}`; -export type ParseSceneFilenamesComponentProps = Omit, 'query'> & ({ variables: ParseSceneFilenamesQueryVariables; skip?: boolean; } | { skip: boolean; }); - - export const ParseSceneFilenamesComponent = (props: ParseSceneFilenamesComponentProps) => ( - query={ParseSceneFilenamesDocument} {...props} /> - ); - - -/** - * __useParseSceneFilenamesQuery__ - * - * To run a query within a React component, call `useParseSceneFilenamesQuery` and pass it any options that fit your needs. - * When your component renders, `useParseSceneFilenamesQuery` returns an object from Apollo Client that contains loading, error, and data properties - * you can use to render your UI. - * - * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options; - * - * @example - * const { data, loading, error } = useParseSceneFilenamesQuery({ - * variables: { - * filter: // value for 'filter' - * config: // value for 'config' - * }, - * }); - */ -export function useParseSceneFilenamesQuery(baseOptions?: ApolloReactHooks.QueryHookOptions) { - return ApolloReactHooks.useQuery(ParseSceneFilenamesDocument, baseOptions); - } -export function useParseSceneFilenamesLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions) { - return ApolloReactHooks.useLazyQuery(ParseSceneFilenamesDocument, baseOptions); - } -export type ParseSceneFilenamesQueryHookResult = ReturnType; -export type ParseSceneFilenamesLazyQueryHookResult = ReturnType; -export type ParseSceneFilenamesQueryResult = ApolloReactCommon.QueryResult; -export const ScrapeFreeonesDocument = gql` - query ScrapeFreeones($performer_name: String!) { - scrapeFreeones(performer_name: $performer_name) { - name - url - twitter - instagram - birthdate - ethnicity - country - eye_color - height - measurements - fake_tits - career_length - tattoos - piercings - aliases - } -} - `; -export type ScrapeFreeonesComponentProps = Omit, 'query'> & ({ variables: ScrapeFreeonesQueryVariables; skip?: boolean; } | { skip: boolean; }); - - export const ScrapeFreeonesComponent = (props: ScrapeFreeonesComponentProps) => ( - query={ScrapeFreeonesDocument} {...props} /> - ); - - -/** - * __useScrapeFreeonesQuery__ - * - * To run a query within a React component, call `useScrapeFreeonesQuery` and pass it any options that fit your needs. - * When your component renders, `useScrapeFreeonesQuery` returns an object from Apollo Client that contains loading, error, and data properties - * you can use to render your UI. - * - * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options; - * - * @example - * const { data, loading, error } = useScrapeFreeonesQuery({ - * variables: { - * performer_name: // value for 'performer_name' - * }, - * }); - */ -export function useScrapeFreeonesQuery(baseOptions?: ApolloReactHooks.QueryHookOptions) { - return ApolloReactHooks.useQuery(ScrapeFreeonesDocument, baseOptions); - } -export function useScrapeFreeonesLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions) { - return ApolloReactHooks.useLazyQuery(ScrapeFreeonesDocument, baseOptions); - } -export type ScrapeFreeonesQueryHookResult = ReturnType; -export type ScrapeFreeonesLazyQueryHookResult = ReturnType; -export type ScrapeFreeonesQueryResult = ApolloReactCommon.QueryResult; -export const ScrapeFreeonesPerformersDocument = gql` - query ScrapeFreeonesPerformers($q: String!) { - scrapeFreeonesPerformerList(query: $q) -} - `; -export type ScrapeFreeonesPerformersComponentProps = Omit, 'query'> & ({ variables: ScrapeFreeonesPerformersQueryVariables; skip?: boolean; } | { skip: boolean; }); - - export const ScrapeFreeonesPerformersComponent = (props: ScrapeFreeonesPerformersComponentProps) => ( - query={ScrapeFreeonesPerformersDocument} {...props} /> - ); - - -/** - * __useScrapeFreeonesPerformersQuery__ - * - * To run a query within a React component, call `useScrapeFreeonesPerformersQuery` and pass it any options that fit your needs. - * When your component renders, `useScrapeFreeonesPerformersQuery` returns an object from Apollo Client that contains loading, error, and data properties - * you can use to render your UI. - * - * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options; - * - * @example - * const { data, loading, error } = useScrapeFreeonesPerformersQuery({ - * variables: { - * q: // value for 'q' - * }, - * }); - */ -export function useScrapeFreeonesPerformersQuery(baseOptions?: ApolloReactHooks.QueryHookOptions) { - return ApolloReactHooks.useQuery(ScrapeFreeonesPerformersDocument, baseOptions); - } -export function useScrapeFreeonesPerformersLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions) { - return ApolloReactHooks.useLazyQuery(ScrapeFreeonesPerformersDocument, baseOptions); - } -export type ScrapeFreeonesPerformersQueryHookResult = ReturnType; -export type ScrapeFreeonesPerformersLazyQueryHookResult = ReturnType; -export type ScrapeFreeonesPerformersQueryResult = ApolloReactCommon.QueryResult; -export const ListPerformerScrapersDocument = gql` - query ListPerformerScrapers { - listPerformerScrapers { - id - name - performer { - urls - supported_scrapes - } - } -} - `; -export type ListPerformerScrapersComponentProps = Omit, 'query'>; - - export const ListPerformerScrapersComponent = (props: ListPerformerScrapersComponentProps) => ( - query={ListPerformerScrapersDocument} {...props} /> - ); - - -/** - * __useListPerformerScrapersQuery__ - * - * To run a query within a React component, call `useListPerformerScrapersQuery` and pass it any options that fit your needs. - * When your component renders, `useListPerformerScrapersQuery` returns an object from Apollo Client that contains loading, error, and data properties - * you can use to render your UI. - * - * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options; - * - * @example - * const { data, loading, error } = useListPerformerScrapersQuery({ - * variables: { - * }, - * }); - */ -export function useListPerformerScrapersQuery(baseOptions?: ApolloReactHooks.QueryHookOptions) { - return ApolloReactHooks.useQuery(ListPerformerScrapersDocument, baseOptions); - } -export function useListPerformerScrapersLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions) { - return ApolloReactHooks.useLazyQuery(ListPerformerScrapersDocument, baseOptions); - } -export type ListPerformerScrapersQueryHookResult = ReturnType; -export type ListPerformerScrapersLazyQueryHookResult = ReturnType; -export type ListPerformerScrapersQueryResult = ApolloReactCommon.QueryResult; -export const ListSceneScrapersDocument = gql` - query ListSceneScrapers { - listSceneScrapers { - id - name - scene { - urls - supported_scrapes - } - } -} - `; -export type ListSceneScrapersComponentProps = Omit, 'query'>; - - export const ListSceneScrapersComponent = (props: ListSceneScrapersComponentProps) => ( - query={ListSceneScrapersDocument} {...props} /> - ); - - -/** - * __useListSceneScrapersQuery__ - * - * To run a query within a React component, call `useListSceneScrapersQuery` and pass it any options that fit your needs. - * When your component renders, `useListSceneScrapersQuery` returns an object from Apollo Client that contains loading, error, and data properties - * you can use to render your UI. - * - * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options; - * - * @example - * const { data, loading, error } = useListSceneScrapersQuery({ - * variables: { - * }, - * }); - */ -export function useListSceneScrapersQuery(baseOptions?: ApolloReactHooks.QueryHookOptions) { - return ApolloReactHooks.useQuery(ListSceneScrapersDocument, baseOptions); - } -export function useListSceneScrapersLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions) { - return ApolloReactHooks.useLazyQuery(ListSceneScrapersDocument, baseOptions); - } -export type ListSceneScrapersQueryHookResult = ReturnType; -export type ListSceneScrapersLazyQueryHookResult = ReturnType; -export type ListSceneScrapersQueryResult = ApolloReactCommon.QueryResult; -export const ScrapePerformerListDocument = gql` - query ScrapePerformerList($scraper_id: ID!, $query: String!) { - scrapePerformerList(scraper_id: $scraper_id, query: $query) { - ...ScrapedPerformerData - } -} - ${ScrapedPerformerDataFragmentDoc}`; -export type ScrapePerformerListComponentProps = Omit, 'query'> & ({ variables: ScrapePerformerListQueryVariables; skip?: boolean; } | { skip: boolean; }); - - export const ScrapePerformerListComponent = (props: ScrapePerformerListComponentProps) => ( - query={ScrapePerformerListDocument} {...props} /> - ); - - -/** - * __useScrapePerformerListQuery__ - * - * To run a query within a React component, call `useScrapePerformerListQuery` and pass it any options that fit your needs. - * When your component renders, `useScrapePerformerListQuery` returns an object from Apollo Client that contains loading, error, and data properties - * you can use to render your UI. - * - * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options; - * - * @example - * const { data, loading, error } = useScrapePerformerListQuery({ - * variables: { - * scraper_id: // value for 'scraper_id' - * query: // value for 'query' - * }, - * }); - */ -export function useScrapePerformerListQuery(baseOptions?: ApolloReactHooks.QueryHookOptions) { - return ApolloReactHooks.useQuery(ScrapePerformerListDocument, baseOptions); - } -export function useScrapePerformerListLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions) { - return ApolloReactHooks.useLazyQuery(ScrapePerformerListDocument, baseOptions); - } -export type ScrapePerformerListQueryHookResult = ReturnType; -export type ScrapePerformerListLazyQueryHookResult = ReturnType; -export type ScrapePerformerListQueryResult = ApolloReactCommon.QueryResult; -export const ScrapePerformerDocument = gql` - query ScrapePerformer($scraper_id: ID!, $scraped_performer: ScrapedPerformerInput!) { - scrapePerformer(scraper_id: $scraper_id, scraped_performer: $scraped_performer) { - ...ScrapedPerformerData - } -} - ${ScrapedPerformerDataFragmentDoc}`; -export type ScrapePerformerComponentProps = Omit, 'query'> & ({ variables: ScrapePerformerQueryVariables; skip?: boolean; } | { skip: boolean; }); - - export const ScrapePerformerComponent = (props: ScrapePerformerComponentProps) => ( - query={ScrapePerformerDocument} {...props} /> - ); - - -/** - * __useScrapePerformerQuery__ - * - * To run a query within a React component, call `useScrapePerformerQuery` and pass it any options that fit your needs. - * When your component renders, `useScrapePerformerQuery` returns an object from Apollo Client that contains loading, error, and data properties - * you can use to render your UI. - * - * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options; - * - * @example - * const { data, loading, error } = useScrapePerformerQuery({ - * variables: { - * scraper_id: // value for 'scraper_id' - * scraped_performer: // value for 'scraped_performer' - * }, - * }); - */ -export function useScrapePerformerQuery(baseOptions?: ApolloReactHooks.QueryHookOptions) { - return ApolloReactHooks.useQuery(ScrapePerformerDocument, baseOptions); - } -export function useScrapePerformerLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions) { - return ApolloReactHooks.useLazyQuery(ScrapePerformerDocument, baseOptions); - } -export type ScrapePerformerQueryHookResult = ReturnType; -export type ScrapePerformerLazyQueryHookResult = ReturnType; -export type ScrapePerformerQueryResult = ApolloReactCommon.QueryResult; -export const ScrapePerformerUrlDocument = gql` - query ScrapePerformerURL($url: String!) { - scrapePerformerURL(url: $url) { - ...ScrapedPerformerData - } -} - ${ScrapedPerformerDataFragmentDoc}`; -export type ScrapePerformerUrlComponentProps = Omit, 'query'> & ({ variables: ScrapePerformerUrlQueryVariables; skip?: boolean; } | { skip: boolean; }); - - export const ScrapePerformerUrlComponent = (props: ScrapePerformerUrlComponentProps) => ( - query={ScrapePerformerUrlDocument} {...props} /> - ); - - -/** - * __useScrapePerformerUrlQuery__ - * - * To run a query within a React component, call `useScrapePerformerUrlQuery` and pass it any options that fit your needs. - * When your component renders, `useScrapePerformerUrlQuery` returns an object from Apollo Client that contains loading, error, and data properties - * you can use to render your UI. - * - * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options; - * - * @example - * const { data, loading, error } = useScrapePerformerUrlQuery({ - * variables: { - * url: // value for 'url' - * }, - * }); - */ -export function useScrapePerformerUrlQuery(baseOptions?: ApolloReactHooks.QueryHookOptions) { - return ApolloReactHooks.useQuery(ScrapePerformerUrlDocument, baseOptions); - } -export function useScrapePerformerUrlLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions) { - return ApolloReactHooks.useLazyQuery(ScrapePerformerUrlDocument, baseOptions); - } -export type ScrapePerformerUrlQueryHookResult = ReturnType; -export type ScrapePerformerUrlLazyQueryHookResult = ReturnType; -export type ScrapePerformerUrlQueryResult = ApolloReactCommon.QueryResult; -export const ScrapeSceneDocument = gql` - query ScrapeScene($scraper_id: ID!, $scene: SceneUpdateInput!) { - scrapeScene(scraper_id: $scraper_id, scene: $scene) { - ...ScrapedSceneData - } -} - ${ScrapedSceneDataFragmentDoc}`; -export type ScrapeSceneComponentProps = Omit, 'query'> & ({ variables: ScrapeSceneQueryVariables; skip?: boolean; } | { skip: boolean; }); - - export const ScrapeSceneComponent = (props: ScrapeSceneComponentProps) => ( - query={ScrapeSceneDocument} {...props} /> - ); - - -/** - * __useScrapeSceneQuery__ - * - * To run a query within a React component, call `useScrapeSceneQuery` and pass it any options that fit your needs. - * When your component renders, `useScrapeSceneQuery` returns an object from Apollo Client that contains loading, error, and data properties - * you can use to render your UI. - * - * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options; - * - * @example - * const { data, loading, error } = useScrapeSceneQuery({ - * variables: { - * scraper_id: // value for 'scraper_id' - * scene: // value for 'scene' - * }, - * }); - */ -export function useScrapeSceneQuery(baseOptions?: ApolloReactHooks.QueryHookOptions) { - return ApolloReactHooks.useQuery(ScrapeSceneDocument, baseOptions); - } -export function useScrapeSceneLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions) { - return ApolloReactHooks.useLazyQuery(ScrapeSceneDocument, baseOptions); - } -export type ScrapeSceneQueryHookResult = ReturnType; -export type ScrapeSceneLazyQueryHookResult = ReturnType; -export type ScrapeSceneQueryResult = ApolloReactCommon.QueryResult; -export const ScrapeSceneUrlDocument = gql` - query ScrapeSceneURL($url: String!) { - scrapeSceneURL(url: $url) { - ...ScrapedSceneData - } -} - ${ScrapedSceneDataFragmentDoc}`; -export type ScrapeSceneUrlComponentProps = Omit, 'query'> & ({ variables: ScrapeSceneUrlQueryVariables; skip?: boolean; } | { skip: boolean; }); - - export const ScrapeSceneUrlComponent = (props: ScrapeSceneUrlComponentProps) => ( - query={ScrapeSceneUrlDocument} {...props} /> - ); - - -/** - * __useScrapeSceneUrlQuery__ - * - * To run a query within a React component, call `useScrapeSceneUrlQuery` and pass it any options that fit your needs. - * When your component renders, `useScrapeSceneUrlQuery` returns an object from Apollo Client that contains loading, error, and data properties - * you can use to render your UI. - * - * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options; - * - * @example - * const { data, loading, error } = useScrapeSceneUrlQuery({ - * variables: { - * url: // value for 'url' - * }, - * }); - */ -export function useScrapeSceneUrlQuery(baseOptions?: ApolloReactHooks.QueryHookOptions) { - return ApolloReactHooks.useQuery(ScrapeSceneUrlDocument, baseOptions); - } -export function useScrapeSceneUrlLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions) { - return ApolloReactHooks.useLazyQuery(ScrapeSceneUrlDocument, baseOptions); - } -export type ScrapeSceneUrlQueryHookResult = ReturnType; -export type ScrapeSceneUrlLazyQueryHookResult = ReturnType; -export type ScrapeSceneUrlQueryResult = ApolloReactCommon.QueryResult; -export const ConfigurationDocument = gql` - query Configuration { - configuration { - ...ConfigData - } -} - ${ConfigDataFragmentDoc}`; -export type ConfigurationComponentProps = Omit, 'query'>; - - export const ConfigurationComponent = (props: ConfigurationComponentProps) => ( - query={ConfigurationDocument} {...props} /> - ); - - -/** - * __useConfigurationQuery__ - * - * To run a query within a React component, call `useConfigurationQuery` and pass it any options that fit your needs. - * When your component renders, `useConfigurationQuery` returns an object from Apollo Client that contains loading, error, and data properties - * you can use to render your UI. - * - * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options; - * - * @example - * const { data, loading, error } = useConfigurationQuery({ - * variables: { - * }, - * }); - */ -export function useConfigurationQuery(baseOptions?: ApolloReactHooks.QueryHookOptions) { - return ApolloReactHooks.useQuery(ConfigurationDocument, baseOptions); - } -export function useConfigurationLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions) { - return ApolloReactHooks.useLazyQuery(ConfigurationDocument, baseOptions); - } -export type ConfigurationQueryHookResult = ReturnType; -export type ConfigurationLazyQueryHookResult = ReturnType; -export type ConfigurationQueryResult = ApolloReactCommon.QueryResult; -export const DirectoriesDocument = gql` - query Directories($path: String) { - directories(path: $path) -} - `; -export type DirectoriesComponentProps = Omit, 'query'>; - - export const DirectoriesComponent = (props: DirectoriesComponentProps) => ( - query={DirectoriesDocument} {...props} /> - ); - - -/** - * __useDirectoriesQuery__ - * - * To run a query within a React component, call `useDirectoriesQuery` and pass it any options that fit your needs. - * When your component renders, `useDirectoriesQuery` returns an object from Apollo Client that contains loading, error, and data properties - * you can use to render your UI. - * - * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options; - * - * @example - * const { data, loading, error } = useDirectoriesQuery({ - * variables: { - * path: // value for 'path' - * }, - * }); - */ -export function useDirectoriesQuery(baseOptions?: ApolloReactHooks.QueryHookOptions) { - return ApolloReactHooks.useQuery(DirectoriesDocument, baseOptions); - } -export function useDirectoriesLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions) { - return ApolloReactHooks.useLazyQuery(DirectoriesDocument, baseOptions); - } -export type DirectoriesQueryHookResult = ReturnType; -export type DirectoriesLazyQueryHookResult = ReturnType; -export type DirectoriesQueryResult = ApolloReactCommon.QueryResult; -export const MetadataImportDocument = gql` - query MetadataImport { - metadataImport -} - `; -export type MetadataImportComponentProps = Omit, 'query'>; - - export const MetadataImportComponent = (props: MetadataImportComponentProps) => ( - query={MetadataImportDocument} {...props} /> - ); - - -/** - * __useMetadataImportQuery__ - * - * To run a query within a React component, call `useMetadataImportQuery` and pass it any options that fit your needs. - * When your component renders, `useMetadataImportQuery` returns an object from Apollo Client that contains loading, error, and data properties - * you can use to render your UI. - * - * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options; - * - * @example - * const { data, loading, error } = useMetadataImportQuery({ - * variables: { - * }, - * }); - */ -export function useMetadataImportQuery(baseOptions?: ApolloReactHooks.QueryHookOptions) { - return ApolloReactHooks.useQuery(MetadataImportDocument, baseOptions); - } -export function useMetadataImportLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions) { - return ApolloReactHooks.useLazyQuery(MetadataImportDocument, baseOptions); - } -export type MetadataImportQueryHookResult = ReturnType; -export type MetadataImportLazyQueryHookResult = ReturnType; -export type MetadataImportQueryResult = ApolloReactCommon.QueryResult; -export const MetadataExportDocument = gql` - query MetadataExport { - metadataExport -} - `; -export type MetadataExportComponentProps = Omit, 'query'>; - - export const MetadataExportComponent = (props: MetadataExportComponentProps) => ( - query={MetadataExportDocument} {...props} /> - ); - - -/** - * __useMetadataExportQuery__ - * - * To run a query within a React component, call `useMetadataExportQuery` and pass it any options that fit your needs. - * When your component renders, `useMetadataExportQuery` returns an object from Apollo Client that contains loading, error, and data properties - * you can use to render your UI. - * - * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options; - * - * @example - * const { data, loading, error } = useMetadataExportQuery({ - * variables: { - * }, - * }); - */ -export function useMetadataExportQuery(baseOptions?: ApolloReactHooks.QueryHookOptions) { - return ApolloReactHooks.useQuery(MetadataExportDocument, baseOptions); - } -export function useMetadataExportLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions) { - return ApolloReactHooks.useLazyQuery(MetadataExportDocument, baseOptions); - } -export type MetadataExportQueryHookResult = ReturnType; -export type MetadataExportLazyQueryHookResult = ReturnType; -export type MetadataExportQueryResult = ApolloReactCommon.QueryResult; -export const MetadataScanDocument = gql` - query MetadataScan($input: ScanMetadataInput!) { - metadataScan(input: $input) -} - `; -export type MetadataScanComponentProps = Omit, 'query'> & ({ variables: MetadataScanQueryVariables; skip?: boolean; } | { skip: boolean; }); - - export const MetadataScanComponent = (props: MetadataScanComponentProps) => ( - query={MetadataScanDocument} {...props} /> - ); - - -/** - * __useMetadataScanQuery__ - * - * To run a query within a React component, call `useMetadataScanQuery` and pass it any options that fit your needs. - * When your component renders, `useMetadataScanQuery` returns an object from Apollo Client that contains loading, error, and data properties - * you can use to render your UI. - * - * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options; - * - * @example - * const { data, loading, error } = useMetadataScanQuery({ - * variables: { - * input: // value for 'input' - * }, - * }); - */ -export function useMetadataScanQuery(baseOptions?: ApolloReactHooks.QueryHookOptions) { - return ApolloReactHooks.useQuery(MetadataScanDocument, baseOptions); - } -export function useMetadataScanLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions) { - return ApolloReactHooks.useLazyQuery(MetadataScanDocument, baseOptions); - } -export type MetadataScanQueryHookResult = ReturnType; -export type MetadataScanLazyQueryHookResult = ReturnType; -export type MetadataScanQueryResult = ApolloReactCommon.QueryResult; -export const MetadataGenerateDocument = gql` - query MetadataGenerate($input: GenerateMetadataInput!) { - metadataGenerate(input: $input) -} - `; -export type MetadataGenerateComponentProps = Omit, 'query'> & ({ variables: MetadataGenerateQueryVariables; skip?: boolean; } | { skip: boolean; }); - - export const MetadataGenerateComponent = (props: MetadataGenerateComponentProps) => ( - query={MetadataGenerateDocument} {...props} /> - ); - - -/** - * __useMetadataGenerateQuery__ - * - * To run a query within a React component, call `useMetadataGenerateQuery` and pass it any options that fit your needs. - * When your component renders, `useMetadataGenerateQuery` returns an object from Apollo Client that contains loading, error, and data properties - * you can use to render your UI. - * - * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options; - * - * @example - * const { data, loading, error } = useMetadataGenerateQuery({ - * variables: { - * input: // value for 'input' - * }, - * }); - */ -export function useMetadataGenerateQuery(baseOptions?: ApolloReactHooks.QueryHookOptions) { - return ApolloReactHooks.useQuery(MetadataGenerateDocument, baseOptions); - } -export function useMetadataGenerateLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions) { - return ApolloReactHooks.useLazyQuery(MetadataGenerateDocument, baseOptions); - } -export type MetadataGenerateQueryHookResult = ReturnType; -export type MetadataGenerateLazyQueryHookResult = ReturnType; -export type MetadataGenerateQueryResult = ApolloReactCommon.QueryResult; -export const MetadataAutoTagDocument = gql` - query MetadataAutoTag($input: AutoTagMetadataInput!) { - metadataAutoTag(input: $input) -} - `; -export type MetadataAutoTagComponentProps = Omit, 'query'> & ({ variables: MetadataAutoTagQueryVariables; skip?: boolean; } | { skip: boolean; }); - - export const MetadataAutoTagComponent = (props: MetadataAutoTagComponentProps) => ( - query={MetadataAutoTagDocument} {...props} /> - ); - - -/** - * __useMetadataAutoTagQuery__ - * - * To run a query within a React component, call `useMetadataAutoTagQuery` and pass it any options that fit your needs. - * When your component renders, `useMetadataAutoTagQuery` returns an object from Apollo Client that contains loading, error, and data properties - * you can use to render your UI. - * - * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options; - * - * @example - * const { data, loading, error } = useMetadataAutoTagQuery({ - * variables: { - * input: // value for 'input' - * }, - * }); - */ -export function useMetadataAutoTagQuery(baseOptions?: ApolloReactHooks.QueryHookOptions) { - return ApolloReactHooks.useQuery(MetadataAutoTagDocument, baseOptions); - } -export function useMetadataAutoTagLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions) { - return ApolloReactHooks.useLazyQuery(MetadataAutoTagDocument, baseOptions); - } -export type MetadataAutoTagQueryHookResult = ReturnType; -export type MetadataAutoTagLazyQueryHookResult = ReturnType; -export type MetadataAutoTagQueryResult = ApolloReactCommon.QueryResult; -export const MetadataCleanDocument = gql` - query MetadataClean { - metadataClean -} - `; -export type MetadataCleanComponentProps = Omit, 'query'>; - - export const MetadataCleanComponent = (props: MetadataCleanComponentProps) => ( - query={MetadataCleanDocument} {...props} /> - ); - - -/** - * __useMetadataCleanQuery__ - * - * To run a query within a React component, call `useMetadataCleanQuery` and pass it any options that fit your needs. - * When your component renders, `useMetadataCleanQuery` returns an object from Apollo Client that contains loading, error, and data properties - * you can use to render your UI. - * - * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options; - * - * @example - * const { data, loading, error } = useMetadataCleanQuery({ - * variables: { - * }, - * }); - */ -export function useMetadataCleanQuery(baseOptions?: ApolloReactHooks.QueryHookOptions) { - return ApolloReactHooks.useQuery(MetadataCleanDocument, baseOptions); - } -export function useMetadataCleanLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions) { - return ApolloReactHooks.useLazyQuery(MetadataCleanDocument, baseOptions); - } -export type MetadataCleanQueryHookResult = ReturnType; -export type MetadataCleanLazyQueryHookResult = ReturnType; -export type MetadataCleanQueryResult = ApolloReactCommon.QueryResult; -export const JobStatusDocument = gql` - query JobStatus { - jobStatus { - progress - status - message - } -} - `; -export type JobStatusComponentProps = Omit, 'query'>; - - export const JobStatusComponent = (props: JobStatusComponentProps) => ( - query={JobStatusDocument} {...props} /> - ); - - -/** - * __useJobStatusQuery__ - * - * To run a query within a React component, call `useJobStatusQuery` and pass it any options that fit your needs. - * When your component renders, `useJobStatusQuery` returns an object from Apollo Client that contains loading, error, and data properties - * you can use to render your UI. - * - * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options; - * - * @example - * const { data, loading, error } = useJobStatusQuery({ - * variables: { - * }, - * }); - */ -export function useJobStatusQuery(baseOptions?: ApolloReactHooks.QueryHookOptions) { - return ApolloReactHooks.useQuery(JobStatusDocument, baseOptions); - } -export function useJobStatusLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions) { - return ApolloReactHooks.useLazyQuery(JobStatusDocument, baseOptions); - } -export type JobStatusQueryHookResult = ReturnType; -export type JobStatusLazyQueryHookResult = ReturnType; -export type JobStatusQueryResult = ApolloReactCommon.QueryResult; -export const StopJobDocument = gql` - query StopJob { - stopJob -} - `; -export type StopJobComponentProps = Omit, 'query'>; - - export const StopJobComponent = (props: StopJobComponentProps) => ( - query={StopJobDocument} {...props} /> - ); - - -/** - * __useStopJobQuery__ - * - * To run a query within a React component, call `useStopJobQuery` and pass it any options that fit your needs. - * When your component renders, `useStopJobQuery` returns an object from Apollo Client that contains loading, error, and data properties - * you can use to render your UI. - * - * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options; - * - * @example - * const { data, loading, error } = useStopJobQuery({ - * variables: { - * }, - * }); - */ -export function useStopJobQuery(baseOptions?: ApolloReactHooks.QueryHookOptions) { - return ApolloReactHooks.useQuery(StopJobDocument, baseOptions); - } -export function useStopJobLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions) { - return ApolloReactHooks.useLazyQuery(StopJobDocument, baseOptions); - } -export type StopJobQueryHookResult = ReturnType; -export type StopJobLazyQueryHookResult = ReturnType; -export type StopJobQueryResult = ApolloReactCommon.QueryResult; -export const FindStudiosDocument = gql` - query FindStudios($filter: FindFilterType) { - findStudios(filter: $filter) { - count - studios { - ...StudioData - } - } -} - ${StudioDataFragmentDoc}`; -export type FindStudiosComponentProps = Omit, 'query'>; - - export const FindStudiosComponent = (props: FindStudiosComponentProps) => ( - query={FindStudiosDocument} {...props} /> - ); - - -/** - * __useFindStudiosQuery__ - * - * To run a query within a React component, call `useFindStudiosQuery` and pass it any options that fit your needs. - * When your component renders, `useFindStudiosQuery` returns an object from Apollo Client that contains loading, error, and data properties - * you can use to render your UI. - * - * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options; - * - * @example - * const { data, loading, error } = useFindStudiosQuery({ - * variables: { - * filter: // value for 'filter' - * }, - * }); - */ -export function useFindStudiosQuery(baseOptions?: ApolloReactHooks.QueryHookOptions) { - return ApolloReactHooks.useQuery(FindStudiosDocument, baseOptions); - } -export function useFindStudiosLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions) { - return ApolloReactHooks.useLazyQuery(FindStudiosDocument, baseOptions); - } -export type FindStudiosQueryHookResult = ReturnType; -export type FindStudiosLazyQueryHookResult = ReturnType; -export type FindStudiosQueryResult = ApolloReactCommon.QueryResult; -export const FindStudioDocument = gql` - query FindStudio($id: ID!) { - findStudio(id: $id) { - ...StudioData - } -} - ${StudioDataFragmentDoc}`; -export type FindStudioComponentProps = Omit, 'query'> & ({ variables: FindStudioQueryVariables; skip?: boolean; } | { skip: boolean; }); - - export const FindStudioComponent = (props: FindStudioComponentProps) => ( - query={FindStudioDocument} {...props} /> - ); - - -/** - * __useFindStudioQuery__ - * - * To run a query within a React component, call `useFindStudioQuery` and pass it any options that fit your needs. - * When your component renders, `useFindStudioQuery` returns an object from Apollo Client that contains loading, error, and data properties - * you can use to render your UI. - * - * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options; - * - * @example - * const { data, loading, error } = useFindStudioQuery({ - * variables: { - * id: // value for 'id' - * }, - * }); - */ -export function useFindStudioQuery(baseOptions?: ApolloReactHooks.QueryHookOptions) { - return ApolloReactHooks.useQuery(FindStudioDocument, baseOptions); - } -export function useFindStudioLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions) { - return ApolloReactHooks.useLazyQuery(FindStudioDocument, baseOptions); - } -export type FindStudioQueryHookResult = ReturnType; -export type FindStudioLazyQueryHookResult = ReturnType; -export type FindStudioQueryResult = ApolloReactCommon.QueryResult; -export const MetadataUpdateDocument = gql` - subscription MetadataUpdate { - metadataUpdate { - progress - status - message - } -} - `; -export type MetadataUpdateComponentProps = Omit, 'subscription'>; - - export const MetadataUpdateComponent = (props: MetadataUpdateComponentProps) => ( - subscription={MetadataUpdateDocument} {...props} /> - ); - - -/** - * __useMetadataUpdateSubscription__ - * - * To run a query within a React component, call `useMetadataUpdateSubscription` and pass it any options that fit your needs. - * When your component renders, `useMetadataUpdateSubscription` returns an object from Apollo Client that contains loading, error, and data properties - * you can use to render your UI. - * - * @param baseOptions options that will be passed into the subscription, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options; - * - * @example - * const { data, loading, error } = useMetadataUpdateSubscription({ - * variables: { - * }, - * }); - */ -export function useMetadataUpdateSubscription(baseOptions?: ApolloReactHooks.SubscriptionHookOptions) { - return ApolloReactHooks.useSubscription(MetadataUpdateDocument, baseOptions); - } -export type MetadataUpdateSubscriptionHookResult = ReturnType; -export type MetadataUpdateSubscriptionResult = ApolloReactCommon.SubscriptionResult; -export const LoggingSubscribeDocument = gql` - subscription LoggingSubscribe { - loggingSubscribe { - ...LogEntryData - } -} - ${LogEntryDataFragmentDoc}`; -export type LoggingSubscribeComponentProps = Omit, 'subscription'>; - - export const LoggingSubscribeComponent = (props: LoggingSubscribeComponentProps) => ( - subscription={LoggingSubscribeDocument} {...props} /> - ); - - -/** - * __useLoggingSubscribeSubscription__ - * - * To run a query within a React component, call `useLoggingSubscribeSubscription` and pass it any options that fit your needs. - * When your component renders, `useLoggingSubscribeSubscription` returns an object from Apollo Client that contains loading, error, and data properties - * you can use to render your UI. - * - * @param baseOptions options that will be passed into the subscription, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options; - * - * @example - * const { data, loading, error } = useLoggingSubscribeSubscription({ - * variables: { - * }, - * }); - */ -export function useLoggingSubscribeSubscription(baseOptions?: ApolloReactHooks.SubscriptionHookOptions) { - return ApolloReactHooks.useSubscription(LoggingSubscribeDocument, baseOptions); - } -export type LoggingSubscribeSubscriptionHookResult = ReturnType; -export type LoggingSubscribeSubscriptionResult = ApolloReactCommon.SubscriptionResult; \ No newline at end of file