diff --git a/graphql/documents/data/config.graphql b/graphql/documents/data/config.graphql index 57cd64c94..d8411a639 100644 --- a/graphql/documents/data/config.graphql +++ b/graphql/documents/data/config.graphql @@ -21,6 +21,8 @@ fragment ConfigInterfaceData on ConfigInterfaceResult { showStudioAsText css cssEnabled + locale + language } fragment ConfigData on ConfigResult { diff --git a/graphql/schema/types/config.graphql b/graphql/schema/types/config.graphql index 2d90c24f4..dd94bea5f 100644 --- a/graphql/schema/types/config.graphql +++ b/graphql/schema/types/config.graphql @@ -75,6 +75,8 @@ input ConfigInterfaceInput { """Custom CSS""" css: String cssEnabled: Boolean + language: String + locale: String } type ConfigInterfaceResult { @@ -91,6 +93,10 @@ type ConfigInterfaceResult { """Custom CSS""" css: String cssEnabled: Boolean + """Interface language""" + language: String + """Interface locale""" + locale: String } """All configuration settings""" diff --git a/pkg/api/resolver_mutation_configure.go b/pkg/api/resolver_mutation_configure.go index 2b9273caf..cb71ef3d1 100644 --- a/pkg/api/resolver_mutation_configure.go +++ b/pkg/api/resolver_mutation_configure.go @@ -106,6 +106,14 @@ func (r *mutationResolver) ConfigureInterface(ctx context.Context, input models. config.Set(config.ShowStudioAsText, *input.ShowStudioAsText) } + if input.Language != nil { + config.Set(config.Language, *input.Language) + } + + if input.Locale != nil { + config.Set(config.Locale, *input.Locale) + } + css := "" if input.CSS != nil { diff --git a/pkg/api/resolver_query_configuration.go b/pkg/api/resolver_query_configuration.go index 80ddf8bd2..9a99e9a9e 100644 --- a/pkg/api/resolver_query_configuration.go +++ b/pkg/api/resolver_query_configuration.go @@ -57,6 +57,9 @@ func makeConfigInterfaceResult() *models.ConfigInterfaceResult { showStudioAsText := config.GetShowStudioAsText() css := config.GetCSS() cssEnabled := config.GetCSSEnabled() + locale := config.GetLocale() + language := config.GetLanguage() + return &models.ConfigInterfaceResult{ SoundOnPreview: &soundOnPreview, @@ -66,5 +69,7 @@ func makeConfigInterfaceResult() *models.ConfigInterfaceResult { ShowStudioAsText: &showStudioAsText, CSS: &css, CSSEnabled: &cssEnabled, + Language: &language, + Locale: &locale, } } diff --git a/pkg/manager/config/config.go b/pkg/manager/config/config.go index 490094966..2eef9add9 100644 --- a/pkg/manager/config/config.go +++ b/pkg/manager/config/config.go @@ -32,6 +32,10 @@ const Host = "host" const Port = "port" const ExternalHost = "external_host" +// i18n +const Language = "language" +const Locale = "locale" + // Interface options const SoundOnPreview = "sound_on_preview" const WallShowTitle = "wall_show_title" @@ -97,6 +101,28 @@ func GetExcludes() []string { return viper.GetStringSlice(Exclude) } +func GetLanguage() string { + ret := viper.GetString(Language) + + // default to English + if ret == "" { + return "en" + } + + return ret +} + +func GetLocale() string { + ret := viper.GetString(Locale) + + // default to US + if ret == "" { + return "US" + } + + return ret +} + func GetScrapersPath() string { return viper.GetString(ScrapersPath) } diff --git a/ui/v2.5/.babelrc b/ui/v2.5/.babelrc new file mode 100644 index 000000000..c14b2828d --- /dev/null +++ b/ui/v2.5/.babelrc @@ -0,0 +1,3 @@ +{ + "presets": ["react-app"] +} diff --git a/ui/v2.5/package.json b/ui/v2.5/package.json index fd60fe54f..b2d4bcd32 100644 --- a/ui/v2.5/package.json +++ b/ui/v2.5/package.json @@ -12,7 +12,8 @@ "lint:js": "eslint --cache src/**/*.{ts,tsx}", "lint:css": "stylelint 'src/**/*.scss'", "format": "prettier --write \"src/**/*.{js,jsx,ts,tsx}\"", - "gqlgen": "gql-gen --config codegen.yml" + "gqlgen": "gql-gen --config codegen.yml", + "extract": "NODE_ENV=development extract-messages -l=en,de -o src/locale -d en --flat false 'src/**/!(*.test).tsx'" }, "browserslist": [ ">0.2%", @@ -35,6 +36,7 @@ "axios": "0.18.1", "bootstrap": "^4.4.1", "classnames": "^2.2.6", + "countries-list": "^2.5.1", "formik": "^2.1.2", "graphql": "^14.5.8", "graphql-tag": "^2.10.1", @@ -47,6 +49,7 @@ "react-dom": "16.12.0", "react-hotkeys": "^2.0.0", "react-images": "0.5.19", + "react-intl": "^3.12.0", "react-jw-player": "1.19.0", "react-photo-gallery": "^8.0.0", "react-router-bootstrap": "^0.25.0", @@ -83,6 +86,7 @@ "eslint-plugin-jsx-a11y": "^6.2.3", "eslint-plugin-react": "^7.18.0", "eslint-plugin-react-hooks": "^1.7.0", + "extract-react-intl-messages": "^2.3.5", "node-sass": "4.13.1", "postcss-safe-parser": "^4.0.1", "prettier": "1.19.1", diff --git a/ui/v2.5/src/App.tsx b/ui/v2.5/src/App.tsx index 7786e58f0..897223ee3 100755 --- a/ui/v2.5/src/App.tsx +++ b/ui/v2.5/src/App.tsx @@ -1,8 +1,13 @@ import React from "react"; import { Route, Switch } from "react-router-dom"; +import { IntlProvider } from 'react-intl'; import { ToastProvider } from "src/hooks/Toast"; import { library } from "@fortawesome/fontawesome-svg-core"; import { fas } from "@fortawesome/free-solid-svg-icons"; + +import locales from 'src/locale'; +import { StashService } from 'src/core/StashService'; +import { flattenMessages } from 'src/utils'; import { ErrorBoundary } from "./components/ErrorBoundary"; import Galleries from "./components/Galleries/Galleries"; import { MainNavbar } from "./components/MainNavbar"; @@ -15,31 +20,41 @@ import Studios from "./components/Studios/Studios"; import { TagList } from "./components/Tags/TagList"; import { SceneFilenameParser } from "./components/SceneFilenameParser/SceneFilenameParser"; + library.add(fas); -export const App: React.FC = () => ( -
- - - -
- - - - {/* */} - - - - - - - - -
-
-
-
-); +export const App: React.FC = () => { + const config = StashService.useConfiguration(); + const locale = config.data?.configuration?.interface?.locale ?? 'US'; + const language = config.data?.configuration?.interface?.language ?? 'en'; + const messages = flattenMessages((locales as any)[language] ?? locales.en); + + return ( +
+ + + + +
+ + + + {/* */} + + + + + + + + +
+
+
+
+
+ ); +}; diff --git a/ui/v2.5/src/components/MainNavbar.tsx b/ui/v2.5/src/components/MainNavbar.tsx index fcab11e27..326b18348 100644 --- a/ui/v2.5/src/components/MainNavbar.tsx +++ b/ui/v2.5/src/components/MainNavbar.tsx @@ -1,4 +1,5 @@ import React from "react"; +import { FormattedMessage } from 'react-intl'; import { Nav, Navbar, Button } from "react-bootstrap"; import { IconName } from "@fortawesome/fontawesome-svg-core"; import { LinkContainer } from "react-router-bootstrap"; @@ -7,7 +8,7 @@ import { Link, useLocation } from "react-router-dom"; import { Icon } from "src/components/Shared"; interface IMenuItem { - text: string; + messageID: string; href: string; icon: IconName; } @@ -15,33 +16,33 @@ interface IMenuItem { const menuItems: IMenuItem[] = [ { icon: "play-circle", - text: "Scenes", + messageID: "scenes", href: "/scenes" }, { href: "/scenes/markers", icon: "map-marker-alt", - text: "Markers" + messageID: "markers" }, { href: "/galleries", icon: "image", - text: "Galleries" + messageID: "galleries" }, { href: "/performers", icon: "user", - text: "Performers" + messageID: "performers" }, { href: "/studios", icon: "video", - text: "Studios" + messageID: "studios" }, { href: "/tags", icon: "tag", - text: "Tags" + messageID: "tags" } ]; @@ -59,7 +60,7 @@ export const MainNavbar: React.FC = () => { "" ) : ( - + ); @@ -85,7 +86,9 @@ export const MainNavbar: React.FC = () => { > ))} diff --git a/ui/v2.5/src/components/Settings/SettingsInterfacePanel.tsx b/ui/v2.5/src/components/Settings/SettingsInterfacePanel.tsx index 6d3768b44..3c65da153 100644 --- a/ui/v2.5/src/components/Settings/SettingsInterfacePanel.tsx +++ b/ui/v2.5/src/components/Settings/SettingsInterfacePanel.tsx @@ -1,12 +1,13 @@ import React, { useEffect, useState } from "react"; import { Button, Form } from "react-bootstrap"; +import { countries } from "countries-list"; import { DurationInput, LoadingIndicator } from "src/components/Shared"; import { StashService } from "src/core/StashService"; import { useToast } from "src/hooks"; export const SettingsInterfacePanel: React.FC = () => { const Toast = useToast(); - const config = StashService.useConfiguration(); + const { data: config, error, loading } = StashService.useConfiguration(); const [soundOnPreview, setSoundOnPreview] = useState(true); const [wallShowTitle, setWallShowTitle] = useState(true); const [maximumLoopDuration, setMaximumLoopDuration] = useState(0); @@ -14,6 +15,8 @@ export const SettingsInterfacePanel: React.FC = () => { const [showStudioAsText, setShowStudioAsText] = useState(false); const [css, setCSS] = useState(); const [cssEnabled, setCSSEnabled] = useState(false); + const [language, setLanguage] = useState('en'); + const [locale, setLocale] = useState('US'); const [updateInterfaceConfig] = StashService.useConfigureInterface({ soundOnPreview, @@ -22,13 +25,13 @@ export const SettingsInterfacePanel: React.FC = () => { autostartVideo, showStudioAsText, css, - cssEnabled + cssEnabled, + language, + locale }); useEffect(() => { - if (config.error) return; - - const iCfg = config?.data?.configuration?.interface; + const iCfg = config?.configuration?.interface; setSoundOnPreview(iCfg?.soundOnPreview ?? true); setWallShowTitle(iCfg?.wallShowTitle ?? true); setMaximumLoopDuration(iCfg?.maximumLoopDuration ?? 0); @@ -36,6 +39,8 @@ export const SettingsInterfacePanel: React.FC = () => { setShowStudioAsText(iCfg?.showStudioAsText ?? false); setCSS(iCfg?.css ?? ""); setCSSEnabled(iCfg?.cssEnabled ?? false); + setLanguage(iCfg?.language ?? 'en'); + setLocale(iCfg?.locale ?? 'en_US'); }, [config]); async function onSave() { @@ -49,15 +54,39 @@ export const SettingsInterfacePanel: React.FC = () => { } } + if(error) + return

{error.message}

; + if(loading) + return ; + return ( <> - {config.error ?

{config.error.message}

: ""} - {!config?.data?.configuration || config.loading ? ( - - ) : ( - "" - )}

User Interface

+ + Language + ) => setLanguage(e.currentTarget.value)} + > + + + + + + Region + ) => setLocale(e.currentTarget.value)} + > + { Object.keys(countries).map(code => ( + + ))} + + Scene / Marker Wall { const { data, error, loading } = StashService.useStats(); - if (loading || !data) return ; + if (loading || !data) return ; if (error) return error.message; @@ -15,40 +16,74 @@ export const Stats: React.FC = () => { -
Notes
+
+ +
- This is still an early version, some things are still a work in - progress. + diff --git a/ui/v2.5/src/core/generated-graphql.tsx b/ui/v2.5/src/core/generated-graphql.tsx index 9ca51898c..d53a71fe5 100644 --- a/ui/v2.5/src/core/generated-graphql.tsx +++ b/ui/v2.5/src/core/generated-graphql.tsx @@ -1,2391 +1,2504 @@ /* 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"; +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-01-23T14:20:33+01:00 +// Generated in 2020-02-06T18:11:21+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; + ID: string, + String: string, + Boolean: boolean, + Int: number, + Float: number, /** Log entries */ - Time: any; + Time: any, }; export type AutoTagMetadataInput = { /** IDs of performers to tag files with, or "*" for all */ - performers?: Maybe>; + performers?: Maybe>, /** IDs of studios to tag files with, or "*" for all */ - studios?: Maybe>; + studios?: Maybe>, /** IDs of tags to tag files with, or "*" for all */ - tags?: Maybe>; + 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>; + 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>; + stashes?: Maybe>, /** Path to the SQLite database */ - databasePath?: Maybe; + databasePath?: Maybe, /** Path to generated files */ - generatedPath?: Maybe; + generatedPath?: Maybe, /** Max generated transcode size */ - maxTranscodeSize?: Maybe; + maxTranscodeSize?: Maybe, /** Max streaming transcode size */ - maxStreamingTranscodeSize?: Maybe; + maxStreamingTranscodeSize?: Maybe, /** Username */ - username?: Maybe; + username?: Maybe, /** Password */ - password?: Maybe; + password?: Maybe, /** Name of the log file */ - logFile?: Maybe; + logFile?: Maybe, /** Whether to also output to stderr */ - logOut: Scalars["Boolean"]; + logOut: Scalars['Boolean'], /** Minimum log level */ - logLevel: Scalars["String"]; + logLevel: Scalars['String'], /** Whether to log http access */ - logAccess: Scalars["Boolean"]; + logAccess: Scalars['Boolean'], /** Array of file regexp to exclude from Scan */ - excludes?: Maybe>; + excludes?: Maybe>, }; export type ConfigGeneralResult = { - __typename?: "ConfigGeneralResult"; + __typename?: 'ConfigGeneralResult', /** Array of file paths to content */ - stashes: Array; + stashes: Array, /** Path to the SQLite database */ - databasePath: Scalars["String"]; + databasePath: Scalars['String'], /** Path to generated files */ - generatedPath: Scalars["String"]; + generatedPath: Scalars['String'], /** Max generated transcode size */ - maxTranscodeSize?: Maybe; + maxTranscodeSize?: Maybe, /** Max streaming transcode size */ - maxStreamingTranscodeSize?: Maybe; + maxStreamingTranscodeSize?: Maybe, /** Username */ - username: Scalars["String"]; + username: Scalars['String'], /** Password */ - password: Scalars["String"]; + password: Scalars['String'], /** Name of the log file */ - logFile?: Maybe; + logFile?: Maybe, /** Whether to also output to stderr */ - logOut: Scalars["Boolean"]; + logOut: Scalars['Boolean'], /** Minimum log level */ - logLevel: Scalars["String"]; + logLevel: Scalars['String'], /** Whether to log http access */ - logAccess: Scalars["Boolean"]; + logAccess: Scalars['Boolean'], /** Array of file regexp to exclude from Scan */ - excludes: Array; + excludes: Array, }; export type ConfigInterfaceInput = { /** Enable sound on mouseover previews */ - soundOnPreview?: Maybe; + soundOnPreview?: Maybe, /** Show title and tags in wall view */ - wallShowTitle?: Maybe; + wallShowTitle?: Maybe, /** Maximum duration (in seconds) in which a scene video will loop in the scene player */ - maximumLoopDuration?: Maybe; + maximumLoopDuration?: Maybe, /** If true, video will autostart on load in the scene player */ - autostartVideo?: Maybe; + autostartVideo?: Maybe, /** If true, studio overlays will be shown as text instead of logo images */ - showStudioAsText?: Maybe; + showStudioAsText?: Maybe, /** Custom CSS */ - css?: Maybe; - cssEnabled?: Maybe; + css?: Maybe, + cssEnabled?: Maybe, + language?: Maybe, + locale?: Maybe, }; export type ConfigInterfaceResult = { - __typename?: "ConfigInterfaceResult"; + __typename?: 'ConfigInterfaceResult', /** Enable sound on mouseover previews */ - soundOnPreview?: Maybe; + soundOnPreview?: Maybe, /** Show title and tags in wall view */ - wallShowTitle?: Maybe; + wallShowTitle?: Maybe, /** Maximum duration (in seconds) in which a scene video will loop in the scene player */ - maximumLoopDuration?: Maybe; + maximumLoopDuration?: Maybe, /** If true, video will autostart on load in the scene player */ - autostartVideo?: Maybe; + autostartVideo?: Maybe, /** If true, studio overlays will be shown as text instead of logo images */ - showStudioAsText?: Maybe; + showStudioAsText?: Maybe, /** Custom CSS */ - css?: Maybe; - cssEnabled?: Maybe; + css?: Maybe, + cssEnabled?: Maybe, + /** Interface language */ + language?: Maybe, + /** Interface locale */ + locale?: Maybe, }; /** All configuration settings */ export type ConfigResult = { - __typename?: "ConfigResult"; - general: ConfigGeneralResult; - interface: ConfigInterfaceResult; + __typename?: 'ConfigResult', + general: ConfigGeneralResult, + interface: ConfigInterfaceResult, }; export enum CriterionModifier { /** = */ - Equals = "EQUALS", + Equals = 'EQUALS', /** != */ - NotEquals = "NOT_EQUALS", + NotEquals = 'NOT_EQUALS', /** > */ - GreaterThan = "GREATER_THAN", + GreaterThan = 'GREATER_THAN', /** < */ - LessThan = "LESS_THAN", + LessThan = 'LESS_THAN', /** IS NULL */ - IsNull = "IS_NULL", + IsNull = 'IS_NULL', /** IS NOT NULL */ - NotNull = "NOT_NULL", + NotNull = 'NOT_NULL', /** INCLUDES ALL */ - IncludesAll = "INCLUDES_ALL", - Includes = "INCLUDES", - Excludes = "EXCLUDES" + IncludesAll = 'INCLUDES_ALL', + Includes = 'INCLUDES', + Excludes = 'EXCLUDES' } export type FindFilterType = { - q?: Maybe; - page?: Maybe; - per_page?: Maybe; - sort?: Maybe; - direction?: Maybe; + q?: Maybe, + page?: Maybe, + per_page?: Maybe, + sort?: Maybe, + direction?: Maybe, }; export type FindGalleriesResultType = { - __typename?: "FindGalleriesResultType"; - count: Scalars["Int"]; - galleries: Array; + __typename?: 'FindGalleriesResultType', + count: Scalars['Int'], + galleries: Array, }; export type FindPerformersResultType = { - __typename?: "FindPerformersResultType"; - count: Scalars["Int"]; - performers: Array; + __typename?: 'FindPerformersResultType', + count: Scalars['Int'], + performers: Array, }; export type FindSceneMarkersResultType = { - __typename?: "FindSceneMarkersResultType"; - count: Scalars["Int"]; - scene_markers: Array; + __typename?: 'FindSceneMarkersResultType', + count: Scalars['Int'], + scene_markers: Array, }; export type FindScenesResultType = { - __typename?: "FindScenesResultType"; - count: Scalars["Int"]; - scenes: Array; + __typename?: 'FindScenesResultType', + count: Scalars['Int'], + scenes: Array, }; export type FindStudiosResultType = { - __typename?: "FindStudiosResultType"; - count: Scalars["Int"]; - studios: Array; + __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; + __typename?: 'Gallery', + id: Scalars['ID'], + checksum: Scalars['String'], + path: Scalars['String'], + title?: Maybe, /** The files in the gallery */ - files: Array; + files: Array, }; export type GalleryFilesType = { - __typename?: "GalleryFilesType"; - index: Scalars["Int"]; - name?: Maybe; - path?: Maybe; + __typename?: 'GalleryFilesType', + index: Scalars['Int'], + name?: Maybe, + path?: Maybe, }; export type GenerateMetadataInput = { - sprites: Scalars["Boolean"]; - previews: Scalars["Boolean"]; - markers: Scalars["Boolean"]; - transcodes: Scalars["Boolean"]; + sprites: Scalars['Boolean'], + previews: Scalars['Boolean'], + markers: Scalars['Boolean'], + transcodes: Scalars['Boolean'], }; export type IntCriterionInput = { - value: Scalars["Int"]; - modifier: CriterionModifier; + value: Scalars['Int'], + modifier: CriterionModifier, }; export type LogEntry = { - __typename?: "LogEntry"; - time: Scalars["Time"]; - level: LogLevel; - message: Scalars["String"]; + __typename?: 'LogEntry', + time: Scalars['Time'], + level: LogLevel, + message: Scalars['String'], }; export enum LogLevel { - Debug = "Debug", - Info = "Info", - Progress = "Progress", - Warning = "Warning", - Error = "Error" + Debug = 'Debug', + Info = 'Info', + Progress = 'Progress', + Warning = 'Warning', + Error = 'Error' } export type MarkerStringsResultType = { - __typename?: "MarkerStringsResultType"; - count: Scalars["Int"]; - id: Scalars["ID"]; - title: Scalars["String"]; + __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"]; + __typename?: 'MetadataUpdateStatus', + progress: Scalars['Float'], + status: Scalars['String'], + message: Scalars['String'], }; export type MultiCriterionInput = { - value?: Maybe>; - modifier: CriterionModifier; + value?: Maybe>, + modifier: CriterionModifier, }; export type Mutation = { - __typename?: "Mutation"; - sceneUpdate?: Maybe; - bulkSceneUpdate?: Maybe>; - sceneDestroy: Scalars["Boolean"]; - scenesUpdate?: Maybe>>; - 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"]; + __typename?: 'Mutation', + sceneUpdate?: Maybe, + bulkSceneUpdate?: Maybe>, + sceneDestroy: Scalars['Boolean'], + scenesUpdate?: Maybe>>, + 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; + configureGeneral: ConfigGeneralResult, + configureInterface: ConfigInterfaceResult, }; + export type MutationSceneUpdateArgs = { - input: SceneUpdateInput; + input: SceneUpdateInput }; + export type MutationBulkSceneUpdateArgs = { - input: BulkSceneUpdateInput; + input: BulkSceneUpdateInput }; + export type MutationSceneDestroyArgs = { - input: SceneDestroyInput; + input: SceneDestroyInput }; + export type MutationScenesUpdateArgs = { - input: Array; + input: Array }; + export type MutationSceneMarkerCreateArgs = { - input: SceneMarkerCreateInput; + input: SceneMarkerCreateInput }; + export type MutationSceneMarkerUpdateArgs = { - input: SceneMarkerUpdateInput; + input: SceneMarkerUpdateInput }; + export type MutationSceneMarkerDestroyArgs = { - id: Scalars["ID"]; + id: Scalars['ID'] }; + export type MutationPerformerCreateArgs = { - input: PerformerCreateInput; + input: PerformerCreateInput }; + export type MutationPerformerUpdateArgs = { - input: PerformerUpdateInput; + input: PerformerUpdateInput }; + export type MutationPerformerDestroyArgs = { - input: PerformerDestroyInput; + input: PerformerDestroyInput }; + export type MutationStudioCreateArgs = { - input: StudioCreateInput; + input: StudioCreateInput }; + export type MutationStudioUpdateArgs = { - input: StudioUpdateInput; + input: StudioUpdateInput }; + export type MutationStudioDestroyArgs = { - input: StudioDestroyInput; + input: StudioDestroyInput }; + export type MutationTagCreateArgs = { - input: TagCreateInput; + input: TagCreateInput }; + export type MutationTagUpdateArgs = { - input: TagUpdateInput; + input: TagUpdateInput }; + export type MutationTagDestroyArgs = { - input: TagDestroyInput; + input: TagDestroyInput }; + export type MutationConfigureGeneralArgs = { - input: ConfigGeneralInput; + input: ConfigGeneralInput }; + export type MutationConfigureInterfaceArgs = { - input: ConfigInterfaceInput; + 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; + __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; + 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; + image?: Maybe, }; export type PerformerDestroyInput = { - id: Scalars["ID"]; + id: Scalars['ID'], }; export type PerformerFilterType = { /** Filter by favorite */ - filter_favorites?: Maybe; + filter_favorites?: Maybe, /** Filter by birth year */ - birth_year?: Maybe; + birth_year?: Maybe, /** Filter by age */ - age?: Maybe; + age?: Maybe, /** Filter by ethnicity */ - ethnicity?: Maybe; + ethnicity?: Maybe, /** Filter by country */ - country?: Maybe; + country?: Maybe, /** Filter by eye color */ - eye_color?: Maybe; + eye_color?: Maybe, /** Filter by height */ - height?: Maybe; + height?: Maybe, /** Filter by measurements */ - measurements?: Maybe; + measurements?: Maybe, /** Filter by fake tits value */ - fake_tits?: Maybe; + fake_tits?: Maybe, /** Filter by career length */ - career_length?: Maybe; + career_length?: Maybe, /** Filter by tattoos */ - tattoos?: Maybe; + tattoos?: Maybe, /** Filter by piercings */ - piercings?: Maybe; + piercings?: Maybe, /** Filter by aliases */ - aliases?: Maybe; + 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; + 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; + image?: Maybe, }; /** The query root for this schema */ export type Query = { - __typename?: "Query"; + __typename?: 'Query', /** Find a scene by ID or Checksum */ - findScene?: Maybe; + findScene?: Maybe, /** A function which queries Scene objects */ - findScenes: FindScenesResultType; - findScenesByPathRegex: FindScenesResultType; - parseSceneFilenames: SceneParserResultType; + findScenes: FindScenesResultType, + findScenesByPathRegex: FindScenesResultType, + parseSceneFilenames: SceneParserResultType, /** A function which queries SceneMarker objects */ - findSceneMarkers: FindSceneMarkersResultType; + findSceneMarkers: FindSceneMarkersResultType, /** Find a performer by ID */ - findPerformer?: Maybe; + findPerformer?: Maybe, /** A function which queries Performer objects */ - findPerformers: FindPerformersResultType; + findPerformers: FindPerformersResultType, /** Find a studio by ID */ - findStudio?: Maybe; + findStudio?: Maybe, /** A function which queries Studio objects */ - findStudios: FindStudiosResultType; - findGallery?: Maybe; - findGalleries: FindGalleriesResultType; - findTag?: Maybe; + findStudios: FindStudiosResultType, + findGallery?: Maybe, + findGalleries: FindGalleriesResultType, + findTag?: Maybe, /** Retrieve random scene markers for the wall */ - markerWall: Array; + markerWall: Array, /** Retrieve random scenes for the wall */ - sceneWall: Array; + sceneWall: Array, /** Get marker strings */ - markerStrings: Array>; + markerStrings: Array>, /** Get the list of valid galleries for a given scene ID */ - validGalleriesForScene: Array; + validGalleriesForScene: Array, /** Get stats */ - stats: StatsResultType; + stats: StatsResultType, /** Organize scene markers by tag for a given scene ID */ - sceneMarkerTags: Array; - logs: Array; + sceneMarkerTags: Array, + logs: Array, /** List available scrapers */ - listPerformerScrapers: Array; - listSceneScrapers: Array; + listPerformerScrapers: Array, + listSceneScrapers: Array, /** Scrape a list of performers based on name */ - scrapePerformerList: Array; + scrapePerformerList: Array, /** Scrapes a complete performer record based on a scrapePerformerList result */ - scrapePerformer?: Maybe; + scrapePerformer?: Maybe, /** Scrapes a complete performer record based on a URL */ - scrapePerformerURL?: Maybe; + scrapePerformerURL?: Maybe, /** Scrapes a complete scene record based on an existing scene */ - scrapeScene?: Maybe; + scrapeScene?: Maybe, /** Scrapes a complete performer record based on a URL */ - scrapeSceneURL?: Maybe; + scrapeSceneURL?: Maybe, /** Scrape a performer using Freeones */ - scrapeFreeones?: Maybe; + scrapeFreeones?: Maybe, /** Scrape a list of performers from a query */ - scrapeFreeonesPerformerList: Array; + scrapeFreeonesPerformerList: Array, /** Returns the current, complete configuration */ - configuration: ConfigResult; + configuration: ConfigResult, /** Returns an array of paths for the given path */ - directories: Array; + directories: Array, /** Start an import. Returns the job ID */ - metadataImport: Scalars["String"]; + metadataImport: Scalars['String'], /** Start an export. Returns the job ID */ - metadataExport: Scalars["String"]; + metadataExport: Scalars['String'], /** Start a scan. Returns the job ID */ - metadataScan: Scalars["String"]; + metadataScan: Scalars['String'], /** Start generating content. Returns the job ID */ - metadataGenerate: Scalars["String"]; + metadataGenerate: Scalars['String'], /** Start auto-tagging. Returns the job ID */ - metadataAutoTag: Scalars["String"]; + metadataAutoTag: Scalars['String'], /** Clean metadata. Returns the job ID */ - metadataClean: Scalars["String"]; - jobStatus: MetadataUpdateStatus; - stopJob: Scalars["Boolean"]; - allPerformers: Array; - allStudios: Array; - allTags: Array; + metadataClean: Scalars['String'], + jobStatus: MetadataUpdateStatus, + stopJob: Scalars['Boolean'], + allPerformers: Array, + allStudios: Array, + allTags: Array, /** Version */ - version: Version; + version: Version, /** LatestVersion */ - latestversion: ShortVersion; + latestversion: ShortVersion, }; + /** The query root for this schema */ export type QueryFindSceneArgs = { - id?: Maybe; - checksum?: Maybe; + id?: Maybe, + checksum?: Maybe }; + /** The query root for this schema */ export type QueryFindScenesArgs = { - scene_filter?: Maybe; - scene_ids?: Maybe>; - filter?: Maybe; + scene_filter?: Maybe, + scene_ids?: Maybe>, + filter?: Maybe }; + /** The query root for this schema */ export type QueryFindScenesByPathRegexArgs = { - filter?: Maybe; + filter?: Maybe }; + /** The query root for this schema */ export type QueryParseSceneFilenamesArgs = { - filter?: Maybe; - config: SceneParserInput; + filter?: Maybe, + config: SceneParserInput }; + /** The query root for this schema */ export type QueryFindSceneMarkersArgs = { - scene_marker_filter?: Maybe; - filter?: Maybe; + scene_marker_filter?: Maybe, + filter?: Maybe }; + /** The query root for this schema */ export type QueryFindPerformerArgs = { - id: Scalars["ID"]; + id: Scalars['ID'] }; + /** The query root for this schema */ export type QueryFindPerformersArgs = { - performer_filter?: Maybe; - filter?: Maybe; + performer_filter?: Maybe, + filter?: Maybe }; + /** The query root for this schema */ export type QueryFindStudioArgs = { - id: Scalars["ID"]; + id: Scalars['ID'] }; + /** The query root for this schema */ export type QueryFindStudiosArgs = { - filter?: Maybe; + filter?: Maybe }; + /** The query root for this schema */ export type QueryFindGalleryArgs = { - id: Scalars["ID"]; + id: Scalars['ID'] }; + /** The query root for this schema */ export type QueryFindGalleriesArgs = { - filter?: Maybe; + filter?: Maybe }; + /** The query root for this schema */ export type QueryFindTagArgs = { - id: Scalars["ID"]; + id: Scalars['ID'] }; + /** The query root for this schema */ export type QueryMarkerWallArgs = { - q?: Maybe; + q?: Maybe }; + /** The query root for this schema */ export type QuerySceneWallArgs = { - q?: Maybe; + q?: Maybe }; + /** The query root for this schema */ export type QueryMarkerStringsArgs = { - q?: Maybe; - sort?: Maybe; + q?: Maybe, + sort?: Maybe }; + /** The query root for this schema */ export type QueryValidGalleriesForSceneArgs = { - scene_id?: Maybe; + scene_id?: Maybe }; + /** The query root for this schema */ export type QuerySceneMarkerTagsArgs = { - scene_id: Scalars["ID"]; + scene_id: Scalars['ID'] }; + /** The query root for this schema */ export type QueryScrapePerformerListArgs = { - scraper_id: Scalars["ID"]; - query: Scalars["String"]; + scraper_id: Scalars['ID'], + query: Scalars['String'] }; + /** The query root for this schema */ export type QueryScrapePerformerArgs = { - scraper_id: Scalars["ID"]; - scraped_performer: ScrapedPerformerInput; + scraper_id: Scalars['ID'], + scraped_performer: ScrapedPerformerInput }; + /** The query root for this schema */ export type QueryScrapePerformerUrlArgs = { - url: Scalars["String"]; + url: Scalars['String'] }; + /** The query root for this schema */ export type QueryScrapeSceneArgs = { - scraper_id: Scalars["ID"]; - scene: SceneUpdateInput; + scraper_id: Scalars['ID'], + scene: SceneUpdateInput }; + /** The query root for this schema */ export type QueryScrapeSceneUrlArgs = { - url: Scalars["String"]; + url: Scalars['String'] }; + /** The query root for this schema */ export type QueryScrapeFreeonesArgs = { - performer_name: Scalars["String"]; + performer_name: Scalars['String'] }; + /** The query root for this schema */ export type QueryScrapeFreeonesPerformerListArgs = { - query: Scalars["String"]; + query: Scalars['String'] }; + /** The query root for this schema */ export type QueryDirectoriesArgs = { - path?: Maybe; + path?: Maybe }; + /** The query root for this schema */ export type QueryMetadataScanArgs = { - input: ScanMetadataInput; + input: ScanMetadataInput }; + /** The query root for this schema */ export type QueryMetadataGenerateArgs = { - input: GenerateMetadataInput; + input: GenerateMetadataInput }; + /** The query root for this schema */ export type QueryMetadataAutoTagArgs = { - input: AutoTagMetadataInput; + input: AutoTagMetadataInput }; export enum ResolutionEnum { /** 240p */ - Low = "LOW", + Low = 'LOW', /** 480p */ - Standard = "STANDARD", + Standard = 'STANDARD', /** 720p */ - StandardHd = "STANDARD_HD", + StandardHd = 'STANDARD_HD', /** 1080p */ - FullHd = "FULL_HD", + FullHd = 'FULL_HD', /** 4k */ - FourK = "FOUR_K" + FourK = 'FOUR_K' } export type ScanMetadataInput = { - useFileMetadata: Scalars["Boolean"]; + useFileMetadata: Scalars['Boolean'], }; export type Scene = { - __typename?: "Scene"; - id: Scalars["ID"]; - checksum: Scalars["String"]; - title?: Maybe; - details?: Maybe; - url?: Maybe; - date?: Maybe; - rating?: Maybe; - path: Scalars["String"]; - file: SceneFileType; - paths: ScenePathsType; - is_streamable: Scalars["Boolean"]; - scene_markers: Array; - gallery?: Maybe; - studio?: Maybe; - tags: Array; - performers: Array; + __typename?: 'Scene', + id: Scalars['ID'], + checksum: Scalars['String'], + title?: Maybe, + details?: Maybe, + url?: Maybe, + date?: Maybe, + rating?: 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; + 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; + __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; + rating?: Maybe, /** Filter by resolution */ - resolution?: Maybe; + resolution?: Maybe, /** Filter by duration (in seconds) */ - duration?: Maybe; + duration?: Maybe, /** Filter to only include scenes which have markers. `true` or `false` */ - has_markers?: Maybe; + has_markers?: Maybe, /** Filter to only include scenes missing this property */ - is_missing?: Maybe; + is_missing?: Maybe, /** Filter to only include scenes with this studio */ - studios?: Maybe; + studios?: Maybe, /** Filter to only include scenes with these tags */ - tags?: Maybe; + tags?: Maybe, /** Filter to only include scenes with these performers */ - performers?: Maybe; + performers?: Maybe, }; export type SceneMarker = { - __typename?: "SceneMarker"; - id: Scalars["ID"]; - scene: Scene; - title: Scalars["String"]; - seconds: Scalars["Float"]; - primary_tag: Tag; - tags: Array; + __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"]; + stream: Scalars['String'], /** The path to the preview image for this marker */ - preview: Scalars["String"]; + preview: Scalars['String'], }; export type SceneMarkerCreateInput = { - title: Scalars["String"]; - seconds: Scalars["Float"]; - scene_id: Scalars["ID"]; - primary_tag_id: Scalars["ID"]; - tag_ids?: Maybe>; + 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; + tag_id?: Maybe, /** Filter to only include scene markers with these tags */ - tags?: Maybe; + tags?: Maybe, /** Filter to only include scene markers attached to a scene with these tags */ - scene_tags?: Maybe; + scene_tags?: Maybe, /** Filter to only include scene markers with these performers */ - performers?: Maybe; + performers?: Maybe, }; export type SceneMarkerTag = { - __typename?: "SceneMarkerTag"; - tag: Tag; - scene_markers: Array; + __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>; + 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; + 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>; + __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; + __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; + __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>; + 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; + 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; + __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; + 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>; + __typename?: 'ScrapedScene', + title?: Maybe, + details?: Maybe, + url?: Maybe, + date?: Maybe, + file?: Maybe, + studio?: Maybe, + tags?: Maybe>, + performers?: Maybe>, }; export type ScrapedScenePerformer = { - __typename?: "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; + 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"; + __typename?: 'ScrapedSceneStudio', /** Set if studio matched */ - id?: Maybe; - name: Scalars["String"]; - url?: Maybe; + id?: Maybe, + name: Scalars['String'], + url?: Maybe, }; export type ScrapedSceneTag = { - __typename?: "ScrapedSceneTag"; + __typename?: 'ScrapedSceneTag', /** Set if tag matched */ - id?: Maybe; - name: Scalars["String"]; + id?: Maybe, + name: Scalars['String'], }; export type Scraper = { - __typename?: "Scraper"; - id: Scalars["ID"]; - name: Scalars["String"]; + __typename?: 'Scraper', + id: Scalars['ID'], + name: Scalars['String'], /** Details for performer scraper */ - performer?: Maybe; + performer?: Maybe, /** Details for scene scraper */ - scene?: Maybe; + scene?: Maybe, }; export type ScraperSpec = { - __typename?: "ScraperSpec"; + __typename?: 'ScraperSpec', /** URLs matching these can be scraped with */ - urls?: Maybe>; - supported_scrapes: Array; + urls?: Maybe>, + supported_scrapes: Array, }; export enum ScrapeType { /** From text query */ - Name = "NAME", + Name = 'NAME', /** From existing object */ - Fragment = "FRAGMENT", + Fragment = 'FRAGMENT', /** From URL */ - Url = "URL" + Url = 'URL' } export type ShortVersion = { - __typename?: "ShortVersion"; - shorthash: Scalars["String"]; - url: Scalars["String"]; + __typename?: 'ShortVersion', + shorthash: Scalars['String'], + url: Scalars['String'], }; export enum SortDirectionEnum { - Asc = "ASC", - Desc = "DESC" + 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"]; + __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", + Low = 'LOW', /** 480p */ - Standard = "STANDARD", + Standard = 'STANDARD', /** 720p */ - StandardHd = "STANDARD_HD", + StandardHd = 'STANDARD_HD', /** 1080p */ - FullHd = "FULL_HD", + FullHd = 'FULL_HD', /** 4k */ - FourK = "FOUR_K", + FourK = 'FOUR_K', /** Original */ - Original = "ORIGINAL" + Original = 'ORIGINAL' } export type StringCriterionInput = { - value: Scalars["String"]; - modifier: CriterionModifier; + 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; + __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; + name: Scalars['String'], + url?: Maybe, /** This should be base64 encoded */ - image?: Maybe; + image?: Maybe, }; export type StudioDestroyInput = { - id: Scalars["ID"]; + id: Scalars['ID'], }; export type StudioUpdateInput = { - id: Scalars["ID"]; - name?: Maybe; - url?: Maybe; + id: Scalars['ID'], + name?: Maybe, + url?: Maybe, /** This should be base64 encoded */ - image?: Maybe; + image?: Maybe, }; export type Subscription = { - __typename?: "Subscription"; + __typename?: 'Subscription', /** Update from the metadata manager */ - metadataUpdate: MetadataUpdateStatus; - loggingSubscribe: Array; + metadataUpdate: MetadataUpdateStatus, + loggingSubscribe: Array, }; export type Tag = { - __typename?: "Tag"; - id: Scalars["ID"]; - name: Scalars["String"]; - scene_count?: Maybe; - scene_marker_count?: Maybe; + __typename?: 'Tag', + id: Scalars['ID'], + name: Scalars['String'], + scene_count?: Maybe, + scene_marker_count?: Maybe, }; export type TagCreateInput = { - name: Scalars["String"]; + name: Scalars['String'], }; export type TagDestroyInput = { - id: Scalars["ID"]; + id: Scalars['ID'], }; export type TagUpdateInput = { - id: Scalars["ID"]; - name: Scalars["String"]; + id: Scalars['ID'], + name: Scalars['String'], }; + export type Version = { - __typename?: "Version"; - version?: Maybe; - hash: Scalars["String"]; - build_time: Scalars["String"]; + __typename?: 'Version', + version?: Maybe, + hash: Scalars['String'], + build_time: Scalars['String'], }; -export type ConfigGeneralDataFragment = { - __typename?: "ConfigGeneralResult"; -} & Pick< - ConfigGeneralResult, - | "stashes" - | "databasePath" - | "generatedPath" - | "maxTranscodeSize" - | "maxStreamingTranscodeSize" - | "username" - | "password" - | "logFile" - | "logOut" - | "logLevel" - | "logAccess" - | "excludes" ->; +export type ConfigGeneralDataFragment = ( + { __typename?: 'ConfigGeneralResult' } + & Pick +); -export type ConfigInterfaceDataFragment = { - __typename?: "ConfigInterfaceResult"; -} & Pick< - ConfigInterfaceResult, - | "soundOnPreview" - | "wallShowTitle" - | "maximumLoopDuration" - | "autostartVideo" - | "showStudioAsText" - | "css" - | "cssEnabled" ->; +export type ConfigInterfaceDataFragment = ( + { __typename?: 'ConfigInterfaceResult' } + & Pick +); -export type ConfigDataFragment = { __typename?: "ConfigResult" } & { - general: { __typename?: "ConfigGeneralResult" } & ConfigGeneralDataFragment; - interface: { - __typename?: "ConfigInterfaceResult"; - } & ConfigInterfaceDataFragment; -}; +export type ConfigDataFragment = ( + { __typename?: 'ConfigResult' } + & { general: ( + { __typename?: 'ConfigGeneralResult' } + & ConfigGeneralDataFragment + ), interface: ( + { __typename?: 'ConfigInterfaceResult' } + & ConfigInterfaceDataFragment + ) } +); -export type GalleryDataFragment = { __typename?: "Gallery" } & Pick< - Gallery, - "id" | "checksum" | "path" | "title" -> & { - files: Array< - { __typename?: "GalleryFilesType" } & Pick< - GalleryFilesType, - "index" | "name" | "path" - > - >; - }; +export type GalleryDataFragment = ( + { __typename?: 'Gallery' } + & Pick + & { files: Array<( + { __typename?: 'GalleryFilesType' } + & Pick + )> } +); -export type LogEntryDataFragment = { __typename?: "LogEntry" } & Pick< - LogEntry, - "time" | "level" | "message" ->; +export type LogEntryDataFragment = ( + { __typename?: 'LogEntry' } + & Pick +); -export type SlimPerformerDataFragment = { __typename?: "Performer" } & Pick< - Performer, - "id" | "name" | "image_path" ->; +export type SlimPerformerDataFragment = ( + { __typename?: 'Performer' } + & Pick +); -export type PerformerDataFragment = { __typename?: "Performer" } & Pick< - 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 type PerformerDataFragment = ( + { __typename?: 'Performer' } + & Pick +); -export type SceneMarkerDataFragment = { __typename?: "SceneMarker" } & Pick< - SceneMarker, - "id" | "title" | "seconds" | "stream" | "preview" -> & { - scene: { __typename?: "Scene" } & Pick; - primary_tag: { __typename?: "Tag" } & Pick; - tags: Array<{ __typename?: "Tag" } & 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< - Scene, - "id" | "checksum" | "title" | "details" | "url" | "date" | "rating" | "path" -> & { - file: { __typename?: "SceneFileType" } & Pick< - SceneFileType, - | "size" - | "duration" - | "video_codec" - | "audio_codec" - | "width" - | "height" - | "framerate" - | "bitrate" - >; - paths: { __typename?: "ScenePathsType" } & Pick< - ScenePathsType, - "screenshot" | "preview" | "stream" | "webp" | "vtt" | "chapters_vtt" - >; - scene_markers: Array< - { __typename?: "SceneMarker" } & Pick< - SceneMarker, - "id" | "title" | "seconds" - > - >; - gallery: Maybe< - { __typename?: "Gallery" } & Pick - >; - studio: Maybe< - { __typename?: "Studio" } & Pick - >; - tags: Array<{ __typename?: "Tag" } & Pick>; - performers: Array< - { __typename?: "Performer" } & Pick< - Performer, - "id" | "name" | "favorite" | "image_path" - > - >; - }; +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< - Scene, - | "id" - | "checksum" - | "title" - | "details" - | "url" - | "date" - | "rating" - | "path" - | "is_streamable" -> & { - file: { __typename?: "SceneFileType" } & Pick< - SceneFileType, - | "size" - | "duration" - | "video_codec" - | "audio_codec" - | "width" - | "height" - | "framerate" - | "bitrate" - >; - paths: { __typename?: "ScenePathsType" } & Pick< - ScenePathsType, - "screenshot" | "preview" | "stream" | "webp" | "vtt" | "chapters_vtt" - >; - 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 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< - ScrapedPerformer, - | "name" - | "url" - | "birthdate" - | "ethnicity" - | "country" - | "eye_color" - | "height" - | "measurements" - | "fake_tits" - | "career_length" - | "tattoos" - | "piercings" - | "aliases" ->; +export type ScrapedPerformerDataFragment = ( + { __typename?: 'ScrapedPerformer' } + & Pick +); -export type ScrapedScenePerformerDataFragment = { - __typename?: "ScrapedScenePerformer"; -} & Pick< - ScrapedScenePerformer, - | "id" - | "name" - | "url" - | "twitter" - | "instagram" - | "birthdate" - | "ethnicity" - | "country" - | "eye_color" - | "height" - | "measurements" - | "fake_tits" - | "career_length" - | "tattoos" - | "piercings" - | "aliases" ->; +export type ScrapedScenePerformerDataFragment = ( + { __typename?: 'ScrapedScenePerformer' } + & Pick +); -export type ScrapedSceneStudioDataFragment = { - __typename?: "ScrapedSceneStudio"; -} & Pick; +export type ScrapedSceneStudioDataFragment = ( + { __typename?: 'ScrapedSceneStudio' } + & Pick +); -export type ScrapedSceneTagDataFragment = { - __typename?: "ScrapedSceneTag"; -} & Pick; +export type ScrapedSceneTagDataFragment = ( + { __typename?: 'ScrapedSceneTag' } + & Pick +); -export type ScrapedSceneDataFragment = { __typename?: "ScrapedScene" } & Pick< - ScrapedScene, - "title" | "details" | "url" | "date" -> & { - file: Maybe< - { __typename?: "SceneFileType" } & Pick< - SceneFileType, - | "size" - | "duration" - | "video_codec" - | "audio_codec" - | "width" - | "height" - | "framerate" - | "bitrate" - > - >; - studio: Maybe< - { __typename?: "ScrapedSceneStudio" } & ScrapedSceneStudioDataFragment - >; - tags: Maybe< - Array<{ __typename?: "ScrapedSceneTag" } & ScrapedSceneTagDataFragment> - >; - performers: Maybe< - Array< - { - __typename?: "ScrapedScenePerformer"; - } & ScrapedScenePerformerDataFragment - > - >; - }; +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< - Studio, - "id" | "name" | "image_path" ->; +export type SlimStudioDataFragment = ( + { __typename?: 'Studio' } + & Pick +); -export type StudioDataFragment = { __typename?: "Studio" } & Pick< - Studio, - "id" | "checksum" | "name" | "url" | "image_path" | "scene_count" ->; +export type StudioDataFragment = ( + { __typename?: 'Studio' } + & Pick +); -export type TagDataFragment = { __typename?: "Tag" } & Pick< - Tag, - "id" | "name" | "scene_count" | "scene_marker_count" ->; +export type TagDataFragment = ( + { __typename?: 'Tag' } + & Pick +); export type ConfigureGeneralMutationVariables = { - input: ConfigGeneralInput; + input: ConfigGeneralInput }; -export type ConfigureGeneralMutation = { __typename?: "Mutation" } & { - configureGeneral: { - __typename?: "ConfigGeneralResult"; - } & ConfigGeneralDataFragment; -}; + +export type ConfigureGeneralMutation = ( + { __typename?: 'Mutation' } + & { configureGeneral: ( + { __typename?: 'ConfigGeneralResult' } + & ConfigGeneralDataFragment + ) } +); export type ConfigureInterfaceMutationVariables = { - input: ConfigInterfaceInput; + input: ConfigInterfaceInput }; -export type ConfigureInterfaceMutation = { __typename?: "Mutation" } & { - configureInterface: { - __typename?: "ConfigInterfaceResult"; - } & ConfigInterfaceDataFragment; -}; + +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; + 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 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; + 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 PerformerUpdateMutation = ( + { __typename?: 'Mutation' } + & { performerUpdate: Maybe<( + { __typename?: 'Performer' } + & PerformerDataFragment + )> } +); export type PerformerDestroyMutationVariables = { - id: Scalars["ID"]; + id: Scalars['ID'] }; -export type PerformerDestroyMutation = { __typename?: "Mutation" } & Pick< - Mutation, - "performerDestroy" ->; + +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>; + 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 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>; + 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 SceneMarkerUpdateMutation = ( + { __typename?: 'Mutation' } + & { sceneMarkerUpdate: Maybe<( + { __typename?: 'SceneMarker' } + & SceneMarkerDataFragment + )> } +); export type SceneMarkerDestroyMutationVariables = { - id: Scalars["ID"]; + id: Scalars['ID'] }; -export type SceneMarkerDestroyMutation = { __typename?: "Mutation" } & Pick< - Mutation, - "sceneMarkerDestroy" ->; + +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; + 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 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>; + 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 BulkSceneUpdateMutation = ( + { __typename?: 'Mutation' } + & { bulkSceneUpdate: Maybe> } +); export type ScenesUpdateMutationVariables = { - input: Array; + input: Array }; -export type ScenesUpdateMutation = { __typename?: "Mutation" } & { - scenesUpdate: Maybe< - Array> - >; -}; + +export type ScenesUpdateMutation = ( + { __typename?: 'Mutation' } + & { scenesUpdate: Maybe>> } +); export type SceneDestroyMutationVariables = { - id: Scalars["ID"]; - delete_file?: Maybe; - delete_generated?: Maybe; + id: Scalars['ID'], + delete_file?: Maybe, + delete_generated?: Maybe }; -export type SceneDestroyMutation = { __typename?: "Mutation" } & Pick< - Mutation, - "sceneDestroy" ->; + +export type SceneDestroyMutation = ( + { __typename?: 'Mutation' } + & Pick +); export type StudioCreateMutationVariables = { - name: Scalars["String"]; - url?: Maybe; - image?: Maybe; + name: Scalars['String'], + url?: Maybe, + image?: Maybe }; -export type StudioCreateMutation = { __typename?: "Mutation" } & { - studioCreate: Maybe<{ __typename?: "Studio" } & StudioDataFragment>; -}; + +export type StudioCreateMutation = ( + { __typename?: 'Mutation' } + & { studioCreate: Maybe<( + { __typename?: 'Studio' } + & StudioDataFragment + )> } +); export type StudioUpdateMutationVariables = { - id: Scalars["ID"]; - name?: Maybe; - url?: Maybe; - image?: Maybe; + id: Scalars['ID'], + name?: Maybe, + url?: Maybe, + image?: Maybe }; -export type StudioUpdateMutation = { __typename?: "Mutation" } & { - studioUpdate: Maybe<{ __typename?: "Studio" } & StudioDataFragment>; -}; + +export type StudioUpdateMutation = ( + { __typename?: 'Mutation' } + & { studioUpdate: Maybe<( + { __typename?: 'Studio' } + & StudioDataFragment + )> } +); export type StudioDestroyMutationVariables = { - id: Scalars["ID"]; + id: Scalars['ID'] }; -export type StudioDestroyMutation = { __typename?: "Mutation" } & Pick< - Mutation, - "studioDestroy" ->; + +export type StudioDestroyMutation = ( + { __typename?: 'Mutation' } + & Pick +); export type TagCreateMutationVariables = { - name: Scalars["String"]; + name: Scalars['String'] }; -export type TagCreateMutation = { __typename?: "Mutation" } & { - tagCreate: Maybe<{ __typename?: "Tag" } & TagDataFragment>; -}; + +export type TagCreateMutation = ( + { __typename?: 'Mutation' } + & { tagCreate: Maybe<( + { __typename?: 'Tag' } + & TagDataFragment + )> } +); export type TagDestroyMutationVariables = { - id: Scalars["ID"]; + id: Scalars['ID'] }; -export type TagDestroyMutation = { __typename?: "Mutation" } & Pick< - Mutation, - "tagDestroy" ->; + +export type TagDestroyMutation = ( + { __typename?: 'Mutation' } + & Pick +); export type TagUpdateMutationVariables = { - id: Scalars["ID"]; - name: Scalars["String"]; + id: Scalars['ID'], + name: Scalars['String'] }; -export type TagUpdateMutation = { __typename?: "Mutation" } & { - tagUpdate: Maybe<{ __typename?: "Tag" } & TagDataFragment>; -}; + +export type TagUpdateMutation = ( + { __typename?: 'Mutation' } + & { tagUpdate: Maybe<( + { __typename?: 'Tag' } + & TagDataFragment + )> } +); export type FindGalleriesQueryVariables = { - filter?: Maybe; + filter?: Maybe }; -export type FindGalleriesQuery = { __typename?: "Query" } & { - findGalleries: { __typename?: "FindGalleriesResultType" } & Pick< - FindGalleriesResultType, - "count" - > & { galleries: Array<{ __typename?: "Gallery" } & GalleryDataFragment> }; -}; + +export type FindGalleriesQuery = ( + { __typename?: 'Query' } + & { findGalleries: ( + { __typename?: 'FindGalleriesResultType' } + & Pick + & { galleries: Array<( + { __typename?: 'Gallery' } + & GalleryDataFragment + )> } + ) } +); export type FindGalleryQueryVariables = { - id: Scalars["ID"]; + id: Scalars['ID'] }; -export type FindGalleryQuery = { __typename?: "Query" } & { - findGallery: Maybe<{ __typename?: "Gallery" } & GalleryDataFragment>; -}; + +export type FindGalleryQuery = ( + { __typename?: 'Query' } + & { findGallery: Maybe<( + { __typename?: 'Gallery' } + & GalleryDataFragment + )> } +); export type SceneWallQueryVariables = { - q?: Maybe; + q?: Maybe }; -export type SceneWallQuery = { __typename?: "Query" } & { - sceneWall: Array<{ __typename?: "Scene" } & SceneDataFragment>; -}; + +export type SceneWallQuery = ( + { __typename?: 'Query' } + & { sceneWall: Array<( + { __typename?: 'Scene' } + & SceneDataFragment + )> } +); export type MarkerWallQueryVariables = { - q?: Maybe; + q?: Maybe }; -export type MarkerWallQuery = { __typename?: "Query" } & { - markerWall: Array<{ __typename?: "SceneMarker" } & SceneMarkerDataFragment>; -}; + +export type MarkerWallQuery = ( + { __typename?: 'Query' } + & { markerWall: Array<( + { __typename?: 'SceneMarker' } + & SceneMarkerDataFragment + )> } +); export type FindTagQueryVariables = { - id: Scalars["ID"]; + id: Scalars['ID'] }; -export type FindTagQuery = { __typename?: "Query" } & { - findTag: Maybe<{ __typename?: "Tag" } & TagDataFragment>; -}; + +export type FindTagQuery = ( + { __typename?: 'Query' } + & { findTag: Maybe<( + { __typename?: 'Tag' } + & TagDataFragment + )> } +); export type MarkerStringsQueryVariables = { - q?: Maybe; - sort?: Maybe; + q?: Maybe, + sort?: Maybe }; -export type MarkerStringsQuery = { __typename?: "Query" } & { - markerStrings: Array< - Maybe< - { __typename?: "MarkerStringsResultType" } & Pick< - MarkerStringsResultType, - "id" | "count" | "title" - > - > - >; -}; + +export type MarkerStringsQuery = ( + { __typename?: 'Query' } + & { markerStrings: Array + )>> } +); export type AllTagsQueryVariables = {}; -export type AllTagsQuery = { __typename?: "Query" } & { - allTags: Array<{ __typename?: "Tag" } & TagDataFragment>; -}; + +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 AllPerformersForFilterQuery = ( + { __typename?: 'Query' } + & { allPerformers: Array<( + { __typename?: 'Performer' } + & SlimPerformerDataFragment + )> } +); export type AllStudiosForFilterQueryVariables = {}; -export type AllStudiosForFilterQuery = { __typename?: "Query" } & { - allStudios: Array<{ __typename?: "Studio" } & SlimStudioDataFragment>; -}; + +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 AllTagsForFilterQuery = ( + { __typename?: 'Query' } + & { allTags: Array<( + { __typename?: 'Tag' } + & Pick + )> } +); export type ValidGalleriesForSceneQueryVariables = { - scene_id: Scalars["ID"]; + scene_id: Scalars['ID'] }; -export type ValidGalleriesForSceneQuery = { __typename?: "Query" } & { - validGalleriesForScene: Array< - { __typename?: "Gallery" } & Pick - >; -}; + +export type ValidGalleriesForSceneQuery = ( + { __typename?: 'Query' } + & { validGalleriesForScene: Array<( + { __typename?: 'Gallery' } + & Pick + )> } +); export type StatsQueryVariables = {}; -export type StatsQuery = { __typename?: "Query" } & { - stats: { __typename?: "StatsResultType" } & Pick< - StatsResultType, - | "scene_count" - | "gallery_count" - | "performer_count" - | "studio_count" - | "tag_count" - >; -}; + +export type StatsQuery = ( + { __typename?: 'Query' } + & { stats: ( + { __typename?: 'StatsResultType' } + & Pick + ) } +); export type LogsQueryVariables = {}; -export type LogsQuery = { __typename?: "Query" } & { - logs: Array<{ __typename?: "LogEntry" } & LogEntryDataFragment>; -}; + +export type LogsQuery = ( + { __typename?: 'Query' } + & { logs: Array<( + { __typename?: 'LogEntry' } + & LogEntryDataFragment + )> } +); export type VersionQueryVariables = {}; -export type VersionQuery = { __typename?: "Query" } & { - version: { __typename?: "Version" } & Pick< - Version, - "version" | "hash" | "build_time" - >; -}; + +export type VersionQuery = ( + { __typename?: 'Query' } + & { version: ( + { __typename?: 'Version' } + & Pick + ) } +); export type LatestVersionQueryVariables = {}; -export type LatestVersionQuery = { __typename?: "Query" } & { - latestversion: { __typename?: "ShortVersion" } & Pick< - ShortVersion, - "shorthash" | "url" - >; -}; + +export type LatestVersionQuery = ( + { __typename?: 'Query' } + & { latestversion: ( + { __typename?: 'ShortVersion' } + & Pick + ) } +); export type FindPerformersQueryVariables = { - filter?: Maybe; - performer_filter?: Maybe; + filter?: Maybe, + performer_filter?: Maybe }; -export type FindPerformersQuery = { __typename?: "Query" } & { - findPerformers: { __typename?: "FindPerformersResultType" } & Pick< - FindPerformersResultType, - "count" - > & { - performers: Array<{ __typename?: "Performer" } & PerformerDataFragment>; - }; -}; + +export type FindPerformersQuery = ( + { __typename?: 'Query' } + & { findPerformers: ( + { __typename?: 'FindPerformersResultType' } + & Pick + & { performers: Array<( + { __typename?: 'Performer' } + & PerformerDataFragment + )> } + ) } +); export type FindPerformerQueryVariables = { - id: Scalars["ID"]; + id: Scalars['ID'] }; -export type FindPerformerQuery = { __typename?: "Query" } & { - findPerformer: Maybe<{ __typename?: "Performer" } & PerformerDataFragment>; -}; + +export type FindPerformerQuery = ( + { __typename?: 'Query' } + & { findPerformer: Maybe<( + { __typename?: 'Performer' } + & PerformerDataFragment + )> } +); export type FindSceneMarkersQueryVariables = { - filter?: Maybe; - scene_marker_filter?: Maybe; + filter?: Maybe, + scene_marker_filter?: Maybe }; -export type FindSceneMarkersQuery = { __typename?: "Query" } & { - findSceneMarkers: { __typename?: "FindSceneMarkersResultType" } & Pick< - FindSceneMarkersResultType, - "count" - > & { - scene_markers: Array< - { __typename?: "SceneMarker" } & SceneMarkerDataFragment - >; - }; -}; + +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>; + filter?: Maybe, + scene_filter?: Maybe, + scene_ids?: Maybe> }; -export type FindScenesQuery = { __typename?: "Query" } & { - findScenes: { __typename?: "FindScenesResultType" } & Pick< - FindScenesResultType, - "count" - > & { scenes: Array<{ __typename?: "Scene" } & SlimSceneDataFragment> }; -}; + +export type FindScenesQuery = ( + { __typename?: 'Query' } + & { findScenes: ( + { __typename?: 'FindScenesResultType' } + & Pick + & { scenes: Array<( + { __typename?: 'Scene' } + & SlimSceneDataFragment + )> } + ) } +); export type FindScenesByPathRegexQueryVariables = { - filter?: Maybe; + filter?: Maybe }; -export type FindScenesByPathRegexQuery = { __typename?: "Query" } & { - findScenesByPathRegex: { __typename?: "FindScenesResultType" } & Pick< - FindScenesResultType, - "count" - > & { scenes: Array<{ __typename?: "Scene" } & SlimSceneDataFragment> }; -}; + +export type FindScenesByPathRegexQuery = ( + { __typename?: 'Query' } + & { findScenesByPathRegex: ( + { __typename?: 'FindScenesResultType' } + & Pick + & { scenes: Array<( + { __typename?: 'Scene' } + & SlimSceneDataFragment + )> } + ) } +); export type FindSceneQueryVariables = { - id: Scalars["ID"]; - checksum?: Maybe; + 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 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; + filter: FindFilterType, + config: SceneParserInput }; -export type ParseSceneFilenamesQuery = { __typename?: "Query" } & { - parseSceneFilenames: { __typename?: "SceneParserResultType" } & Pick< - SceneParserResultType, - "count" - > & { - results: Array< - { __typename?: "SceneParserResult" } & Pick< - SceneParserResult, - | "title" - | "details" - | "url" - | "date" - | "rating" - | "studio_id" - | "gallery_id" - | "performer_ids" - | "tag_ids" - > & { scene: { __typename?: "Scene" } & SlimSceneDataFragment } - >; - }; -}; + +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"]; + performer_name: Scalars['String'] }; -export type ScrapeFreeonesQuery = { __typename?: "Query" } & { - scrapeFreeones: Maybe< - { __typename?: "ScrapedPerformer" } & Pick< - ScrapedPerformer, - | "name" - | "url" - | "twitter" - | "instagram" - | "birthdate" - | "ethnicity" - | "country" - | "eye_color" - | "height" - | "measurements" - | "fake_tits" - | "career_length" - | "tattoos" - | "piercings" - | "aliases" - > - >; -}; + +export type ScrapeFreeonesQuery = ( + { __typename?: 'Query' } + & { scrapeFreeones: Maybe<( + { __typename?: 'ScrapedPerformer' } + & Pick + )> } +); export type ScrapeFreeonesPerformersQueryVariables = { - q: Scalars["String"]; + q: Scalars['String'] }; -export type ScrapeFreeonesPerformersQuery = { __typename?: "Query" } & Pick< - Query, - "scrapeFreeonesPerformerList" ->; + +export type ScrapeFreeonesPerformersQuery = ( + { __typename?: 'Query' } + & Pick +); export type ListPerformerScrapersQueryVariables = {}; -export type ListPerformerScrapersQuery = { __typename?: "Query" } & { - listPerformerScrapers: Array< - { __typename?: "Scraper" } & Pick & { - performer: Maybe< - { __typename?: "ScraperSpec" } & Pick< - ScraperSpec, - "urls" | "supported_scrapes" - > - >; - } - >; -}; + +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< - ScraperSpec, - "urls" | "supported_scrapes" - > - >; - } - >; -}; + +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"]; + scraper_id: Scalars['ID'], + query: Scalars['String'] }; -export type ScrapePerformerListQuery = { __typename?: "Query" } & { - scrapePerformerList: Array< - { __typename?: "ScrapedPerformer" } & ScrapedPerformerDataFragment - >; -}; + +export type ScrapePerformerListQuery = ( + { __typename?: 'Query' } + & { scrapePerformerList: Array<( + { __typename?: 'ScrapedPerformer' } + & ScrapedPerformerDataFragment + )> } +); export type ScrapePerformerQueryVariables = { - scraper_id: Scalars["ID"]; - scraped_performer: ScrapedPerformerInput; + scraper_id: Scalars['ID'], + scraped_performer: ScrapedPerformerInput }; -export type ScrapePerformerQuery = { __typename?: "Query" } & { - scrapePerformer: Maybe< - { __typename?: "ScrapedPerformer" } & ScrapedPerformerDataFragment - >; -}; + +export type ScrapePerformerQuery = ( + { __typename?: 'Query' } + & { scrapePerformer: Maybe<( + { __typename?: 'ScrapedPerformer' } + & ScrapedPerformerDataFragment + )> } +); export type ScrapePerformerUrlQueryVariables = { - url: Scalars["String"]; + url: Scalars['String'] }; -export type ScrapePerformerUrlQuery = { __typename?: "Query" } & { - scrapePerformerURL: Maybe< - { __typename?: "ScrapedPerformer" } & ScrapedPerformerDataFragment - >; -}; + +export type ScrapePerformerUrlQuery = ( + { __typename?: 'Query' } + & { scrapePerformerURL: Maybe<( + { __typename?: 'ScrapedPerformer' } + & ScrapedPerformerDataFragment + )> } +); export type ScrapeSceneQueryVariables = { - scraper_id: Scalars["ID"]; - scene: SceneUpdateInput; + scraper_id: Scalars['ID'], + scene: SceneUpdateInput }; -export type ScrapeSceneQuery = { __typename?: "Query" } & { - scrapeScene: Maybe< - { __typename?: "ScrapedScene" } & ScrapedSceneDataFragment - >; -}; + +export type ScrapeSceneQuery = ( + { __typename?: 'Query' } + & { scrapeScene: Maybe<( + { __typename?: 'ScrapedScene' } + & ScrapedSceneDataFragment + )> } +); export type ScrapeSceneUrlQueryVariables = { - url: Scalars["String"]; + url: Scalars['String'] }; -export type ScrapeSceneUrlQuery = { __typename?: "Query" } & { - scrapeSceneURL: Maybe< - { __typename?: "ScrapedScene" } & ScrapedSceneDataFragment - >; -}; + +export type ScrapeSceneUrlQuery = ( + { __typename?: 'Query' } + & { scrapeSceneURL: Maybe<( + { __typename?: 'ScrapedScene' } + & ScrapedSceneDataFragment + )> } +); export type ConfigurationQueryVariables = {}; -export type ConfigurationQuery = { __typename?: "Query" } & { - configuration: { __typename?: "ConfigResult" } & ConfigDataFragment; -}; + +export type ConfigurationQuery = ( + { __typename?: 'Query' } + & { configuration: ( + { __typename?: 'ConfigResult' } + & ConfigDataFragment + ) } +); export type DirectoriesQueryVariables = { - path?: Maybe; + path?: Maybe }; -export type DirectoriesQuery = { __typename?: "Query" } & Pick< - Query, - "directories" ->; + +export type DirectoriesQuery = ( + { __typename?: 'Query' } + & Pick +); export type MetadataImportQueryVariables = {}; -export type MetadataImportQuery = { __typename?: "Query" } & Pick< - Query, - "metadataImport" ->; + +export type MetadataImportQuery = ( + { __typename?: 'Query' } + & Pick +); export type MetadataExportQueryVariables = {}; -export type MetadataExportQuery = { __typename?: "Query" } & Pick< - Query, - "metadataExport" ->; + +export type MetadataExportQuery = ( + { __typename?: 'Query' } + & Pick +); export type MetadataScanQueryVariables = { - input: ScanMetadataInput; + input: ScanMetadataInput }; -export type MetadataScanQuery = { __typename?: "Query" } & Pick< - Query, - "metadataScan" ->; + +export type MetadataScanQuery = ( + { __typename?: 'Query' } + & Pick +); export type MetadataGenerateQueryVariables = { - input: GenerateMetadataInput; + input: GenerateMetadataInput }; -export type MetadataGenerateQuery = { __typename?: "Query" } & Pick< - Query, - "metadataGenerate" ->; + +export type MetadataGenerateQuery = ( + { __typename?: 'Query' } + & Pick +); export type MetadataAutoTagQueryVariables = { - input: AutoTagMetadataInput; + input: AutoTagMetadataInput }; -export type MetadataAutoTagQuery = { __typename?: "Query" } & Pick< - Query, - "metadataAutoTag" ->; + +export type MetadataAutoTagQuery = ( + { __typename?: 'Query' } + & Pick +); export type MetadataCleanQueryVariables = {}; -export type MetadataCleanQuery = { __typename?: "Query" } & Pick< - Query, - "metadataClean" ->; + +export type MetadataCleanQuery = ( + { __typename?: 'Query' } + & Pick +); export type JobStatusQueryVariables = {}; -export type JobStatusQuery = { __typename?: "Query" } & { - jobStatus: { __typename?: "MetadataUpdateStatus" } & Pick< - MetadataUpdateStatus, - "progress" | "status" | "message" - >; -}; + +export type JobStatusQuery = ( + { __typename?: 'Query' } + & { jobStatus: ( + { __typename?: 'MetadataUpdateStatus' } + & Pick + ) } +); export type StopJobQueryVariables = {}; -export type StopJobQuery = { __typename?: "Query" } & Pick; + +export type StopJobQuery = ( + { __typename?: 'Query' } + & Pick +); export type FindStudiosQueryVariables = { - filter?: Maybe; + filter?: Maybe }; -export type FindStudiosQuery = { __typename?: "Query" } & { - findStudios: { __typename?: "FindStudiosResultType" } & Pick< - FindStudiosResultType, - "count" - > & { studios: Array<{ __typename?: "Studio" } & StudioDataFragment> }; -}; + +export type FindStudiosQuery = ( + { __typename?: 'Query' } + & { findStudios: ( + { __typename?: 'FindStudiosResultType' } + & Pick + & { studios: Array<( + { __typename?: 'Studio' } + & StudioDataFragment + )> } + ) } +); export type FindStudioQueryVariables = { - id: Scalars["ID"]; + id: Scalars['ID'] }; -export type FindStudioQuery = { __typename?: "Query" } & { - findStudio: Maybe<{ __typename?: "Studio" } & StudioDataFragment>; -}; + +export type FindStudioQuery = ( + { __typename?: 'Query' } + & { findStudio: Maybe<( + { __typename?: 'Studio' } + & StudioDataFragment + )> } +); export type MetadataUpdateSubscriptionVariables = {}; -export type MetadataUpdateSubscription = { __typename?: "Subscription" } & { - metadataUpdate: { __typename?: "MetadataUpdateStatus" } & Pick< - MetadataUpdateStatus, - "progress" | "status" | "message" - >; -}; + +export type MetadataUpdateSubscription = ( + { __typename?: 'Subscription' } + & { metadataUpdate: ( + { __typename?: 'MetadataUpdateStatus' } + & Pick + ) } +); export type LoggingSubscribeSubscriptionVariables = {}; -export type LoggingSubscribeSubscription = { __typename?: "Subscription" } & { - loggingSubscribe: Array<{ __typename?: "LogEntry" } & LogEntryDataFragment>; -}; + +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 - } -`; + 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 - } -`; + fragment ConfigInterfaceData on ConfigInterfaceResult { + soundOnPreview + wallShowTitle + maximumLoopDuration + autostartVideo + showStudioAsText + css + cssEnabled + locale + language +} + `; export const ConfigDataFragmentDoc = gql` - fragment ConfigData on ConfigResult { - general { - ...ConfigGeneralData - } - interface { - ...ConfigInterfaceData - } + fragment ConfigData on ConfigResult { + general { + ...ConfigGeneralData } - ${ConfigGeneralDataFragmentDoc} - ${ConfigInterfaceDataFragmentDoc} -`; + interface { + ...ConfigInterfaceData + } +} + ${ConfigGeneralDataFragmentDoc} +${ConfigInterfaceDataFragmentDoc}`; export const LogEntryDataFragmentDoc = gql` - fragment LogEntryData on LogEntry { - time - level - message - } -`; + fragment LogEntryData on LogEntry { + time + level + message +} + `; export const SlimPerformerDataFragmentDoc = gql` - fragment SlimPerformerData on Performer { - id - name - image_path - } -`; + fragment SlimPerformerData on Performer { + id + name + image_path +} + `; export const SlimSceneDataFragmentDoc = gql` - fragment SlimSceneData on Scene { - id - checksum - title - details - url - date - rating - 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 - } + fragment SlimSceneData on Scene { + id + checksum + title + details + url + date + rating + path + file { + size + duration + video_codec + audio_codec + width + height + framerate + bitrate } -`; -export const SceneMarkerDataFragmentDoc = gql` - fragment SceneMarkerData on SceneMarker { + paths { + screenshot + preview + stream + webp + vtt + chapters_vtt + } + scene_markers { id title seconds - stream - preview - scene { - id - } - primary_tag { - id - name - } - tags { - id - name - } } -`; -export const GalleryDataFragmentDoc = gql` - fragment GalleryData on Gallery { + gallery { id - checksum path title - files { - index - name - path - } } -`; -export const StudioDataFragmentDoc = gql` - fragment StudioData on Studio { + studio { id - checksum name - url image_path - scene_count } -`; -export const TagDataFragmentDoc = gql` - fragment TagData on Tag { + tags { id name - scene_count - scene_marker_count } -`; -export const PerformerDataFragmentDoc = gql` - fragment PerformerData on Performer { + performers { 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 { +} + `; +export const SceneMarkerDataFragmentDoc = gql` + fragment SceneMarkerData on SceneMarker { + id + title + seconds + stream + preview + scene { id - checksum - title - details - url - date - rating + } + primary_tag { + id + name + } + tags { + id + name + } +} + `; +export const GalleryDataFragmentDoc = gql` + fragment GalleryData on Gallery { + id + checksum + path + title + files { + index + name 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 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 + 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 - birthdate - ethnicity - country - eye_color - height - measurements - fake_tits - career_length - tattoos - piercings - aliases - } -`; + 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 - } -`; + fragment ScrapedSceneStudioData on ScrapedSceneStudio { + id + name + url +} + `; export const ScrapedSceneTagDataFragmentDoc = gql` - fragment ScrapedSceneTagData on ScrapedSceneTag { - id - name - } -`; + 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 - } -`; + 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 - } + fragment ScrapedSceneData on ScrapedScene { + title + details + url + date + file { + size + duration + video_codec + audio_codec + width + height + framerate + bitrate } - ${ScrapedSceneStudioDataFragmentDoc} - ${ScrapedSceneTagDataFragmentDoc} - ${ScrapedScenePerformerDataFragmentDoc} -`; + studio { + ...ScrapedSceneStudioData + } + tags { + ...ScrapedSceneTagData + } + performers { + ...ScrapedScenePerformerData + } +} + ${ScrapedSceneStudioDataFragmentDoc} +${ScrapedSceneTagDataFragmentDoc} +${ScrapedScenePerformerDataFragmentDoc}`; export const SlimStudioDataFragmentDoc = gql` - fragment SlimStudioData on Studio { - id - name - image_path - } -`; + fragment SlimStudioData on Studio { + id + name + image_path +} + `; export const ConfigureGeneralDocument = gql` - mutation ConfigureGeneral($input: ConfigGeneralInput!) { - configureGeneral(input: $input) { - ...ConfigGeneralData - } + mutation ConfigureGeneral($input: ConfigGeneralInput!) { + configureGeneral(input: $input) { + ...ConfigGeneralData } - ${ConfigGeneralDataFragmentDoc} -`; -export type ConfigureGeneralMutationFn = ApolloReactCommon.MutationFunction< - ConfigureGeneralMutation, - ConfigureGeneralMutationVariables ->; -export type ConfigureGeneralComponentProps = Omit< - ApolloReactComponents.MutationComponentOptions< - ConfigureGeneralMutation, - ConfigureGeneralMutationVariables - >, - "mutation" ->; +} + ${ConfigGeneralDataFragmentDoc}`; +export type ConfigureGeneralMutationFn = ApolloReactCommon.MutationFunction; +export type ConfigureGeneralComponentProps = Omit, 'mutation'>; -export const ConfigureGeneralComponent = ( - props: ConfigureGeneralComponentProps -) => ( - - mutation={ConfigureGeneralDocument} - {...props} - /> -); + export const ConfigureGeneralComponent = (props: ConfigureGeneralComponentProps) => ( + mutation={ConfigureGeneralDocument} {...props} /> + ); + /** * __useConfigureGeneralMutation__ @@ -2404,58 +2517,26 @@ export const ConfigureGeneralComponent = ( * }, * }); */ -export function useConfigureGeneralMutation( - baseOptions?: ApolloReactHooks.MutationHookOptions< - ConfigureGeneralMutation, - ConfigureGeneralMutationVariables - > -) { - return ApolloReactHooks.useMutation< - ConfigureGeneralMutation, - ConfigureGeneralMutationVariables - >(ConfigureGeneralDocument, baseOptions); -} -export type ConfigureGeneralMutationHookResult = ReturnType< - typeof useConfigureGeneralMutation ->; -export type ConfigureGeneralMutationResult = ApolloReactCommon.MutationResult< - ConfigureGeneralMutation ->; -export type ConfigureGeneralMutationOptions = ApolloReactCommon.BaseMutationOptions< - ConfigureGeneralMutation, - ConfigureGeneralMutationVariables ->; +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 - } + mutation ConfigureInterface($input: ConfigInterfaceInput!) { + configureInterface(input: $input) { + ...ConfigInterfaceData } - ${ConfigInterfaceDataFragmentDoc} -`; -export type ConfigureInterfaceMutationFn = ApolloReactCommon.MutationFunction< - ConfigureInterfaceMutation, - ConfigureInterfaceMutationVariables ->; -export type ConfigureInterfaceComponentProps = Omit< - ApolloReactComponents.MutationComponentOptions< - ConfigureInterfaceMutation, - ConfigureInterfaceMutationVariables - >, - "mutation" ->; +} + ${ConfigInterfaceDataFragmentDoc}`; +export type ConfigureInterfaceMutationFn = ApolloReactCommon.MutationFunction; +export type ConfigureInterfaceComponentProps = Omit, 'mutation'>; -export const ConfigureInterfaceComponent = ( - props: ConfigureInterfaceComponentProps -) => ( - - mutation={ConfigureInterfaceDocument} - {...props} - /> -); + export const ConfigureInterfaceComponent = (props: ConfigureInterfaceComponentProps) => ( + mutation={ConfigureInterfaceDocument} {...props} /> + ); + /** * __useConfigureInterfaceMutation__ @@ -2474,96 +2555,26 @@ export const ConfigureInterfaceComponent = ( * }, * }); */ -export function useConfigureInterfaceMutation( - baseOptions?: ApolloReactHooks.MutationHookOptions< - ConfigureInterfaceMutation, - ConfigureInterfaceMutationVariables - > -) { - return ApolloReactHooks.useMutation< - ConfigureInterfaceMutation, - ConfigureInterfaceMutationVariables - >(ConfigureInterfaceDocument, baseOptions); -} -export type ConfigureInterfaceMutationHookResult = ReturnType< - typeof useConfigureInterfaceMutation ->; -export type ConfigureInterfaceMutationResult = ApolloReactCommon.MutationResult< - ConfigureInterfaceMutation ->; -export type ConfigureInterfaceMutationOptions = ApolloReactCommon.BaseMutationOptions< - ConfigureInterfaceMutation, - ConfigureInterfaceMutationVariables ->; -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 +export function useConfigureInterfaceMutation(baseOptions?: ApolloReactHooks.MutationHookOptions) { + return ApolloReactHooks.useMutation(ConfigureInterfaceDocument, baseOptions); } - ) { - ...PerformerData - } +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< - PerformerCreateMutation, - PerformerCreateMutationVariables ->; -export type PerformerCreateComponentProps = Omit< - ApolloReactComponents.MutationComponentOptions< - PerformerCreateMutation, - PerformerCreateMutationVariables - >, - "mutation" ->; +} + ${PerformerDataFragmentDoc}`; +export type PerformerCreateMutationFn = ApolloReactCommon.MutationFunction; +export type PerformerCreateComponentProps = Omit, 'mutation'>; -export const PerformerCreateComponent = ( - props: PerformerCreateComponentProps -) => ( - - mutation={PerformerCreateDocument} - {...props} - /> -); + export const PerformerCreateComponent = (props: PerformerCreateComponentProps) => ( + mutation={PerformerCreateDocument} {...props} /> + ); + /** * __usePerformerCreateMutation__ @@ -2598,98 +2609,26 @@ export const PerformerCreateComponent = ( * }, * }); */ -export function usePerformerCreateMutation( - baseOptions?: ApolloReactHooks.MutationHookOptions< - PerformerCreateMutation, - PerformerCreateMutationVariables - > -) { - return ApolloReactHooks.useMutation< - PerformerCreateMutation, - PerformerCreateMutationVariables - >(PerformerCreateDocument, baseOptions); -} -export type PerformerCreateMutationHookResult = ReturnType< - typeof usePerformerCreateMutation ->; -export type PerformerCreateMutationResult = ApolloReactCommon.MutationResult< - PerformerCreateMutation ->; -export type PerformerCreateMutationOptions = ApolloReactCommon.BaseMutationOptions< - PerformerCreateMutation, - PerformerCreateMutationVariables ->; -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 +export function usePerformerCreateMutation(baseOptions?: ApolloReactHooks.MutationHookOptions) { + return ApolloReactHooks.useMutation(PerformerCreateDocument, baseOptions); } - ) { - ...PerformerData - } +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< - PerformerUpdateMutation, - PerformerUpdateMutationVariables ->; -export type PerformerUpdateComponentProps = Omit< - ApolloReactComponents.MutationComponentOptions< - PerformerUpdateMutation, - PerformerUpdateMutationVariables - >, - "mutation" ->; +} + ${PerformerDataFragmentDoc}`; +export type PerformerUpdateMutationFn = ApolloReactCommon.MutationFunction; +export type PerformerUpdateComponentProps = Omit, 'mutation'>; -export const PerformerUpdateComponent = ( - props: PerformerUpdateComponentProps -) => ( - - mutation={PerformerUpdateDocument} - {...props} - /> -); + export const PerformerUpdateComponent = (props: PerformerUpdateComponentProps) => ( + mutation={PerformerUpdateDocument} {...props} /> + ); + /** * __usePerformerUpdateMutation__ @@ -2725,55 +2664,24 @@ export const PerformerUpdateComponent = ( * }, * }); */ -export function usePerformerUpdateMutation( - baseOptions?: ApolloReactHooks.MutationHookOptions< - PerformerUpdateMutation, - PerformerUpdateMutationVariables - > -) { - return ApolloReactHooks.useMutation< - PerformerUpdateMutation, - PerformerUpdateMutationVariables - >(PerformerUpdateDocument, baseOptions); -} -export type PerformerUpdateMutationHookResult = ReturnType< - typeof usePerformerUpdateMutation ->; -export type PerformerUpdateMutationResult = ApolloReactCommon.MutationResult< - PerformerUpdateMutation ->; -export type PerformerUpdateMutationOptions = ApolloReactCommon.BaseMutationOptions< - PerformerUpdateMutation, - PerformerUpdateMutationVariables ->; +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< - PerformerDestroyMutation, - PerformerDestroyMutationVariables ->; -export type PerformerDestroyComponentProps = Omit< - ApolloReactComponents.MutationComponentOptions< - PerformerDestroyMutation, - PerformerDestroyMutationVariables - >, - "mutation" ->; + 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} - /> -); + export const PerformerDestroyComponent = (props: PerformerDestroyComponentProps) => ( + mutation={PerformerDestroyDocument} {...props} /> + ); + /** * __usePerformerDestroyMutation__ @@ -2792,72 +2700,26 @@ export const PerformerDestroyComponent = ( * }, * }); */ -export function usePerformerDestroyMutation( - baseOptions?: ApolloReactHooks.MutationHookOptions< - PerformerDestroyMutation, - PerformerDestroyMutationVariables - > -) { - return ApolloReactHooks.useMutation< - PerformerDestroyMutation, - PerformerDestroyMutationVariables - >(PerformerDestroyDocument, baseOptions); -} -export type PerformerDestroyMutationHookResult = ReturnType< - typeof usePerformerDestroyMutation ->; -export type PerformerDestroyMutationResult = ApolloReactCommon.MutationResult< - PerformerDestroyMutation ->; -export type PerformerDestroyMutationOptions = ApolloReactCommon.BaseMutationOptions< - PerformerDestroyMutation, - PerformerDestroyMutationVariables ->; -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 +export function usePerformerDestroyMutation(baseOptions?: ApolloReactHooks.MutationHookOptions) { + return ApolloReactHooks.useMutation(PerformerDestroyDocument, baseOptions); } - ) { - ...SceneMarkerData - } +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< - SceneMarkerCreateMutation, - SceneMarkerCreateMutationVariables ->; -export type SceneMarkerCreateComponentProps = Omit< - ApolloReactComponents.MutationComponentOptions< - SceneMarkerCreateMutation, - SceneMarkerCreateMutationVariables - >, - "mutation" ->; +} + ${SceneMarkerDataFragmentDoc}`; +export type SceneMarkerCreateMutationFn = ApolloReactCommon.MutationFunction; +export type SceneMarkerCreateComponentProps = Omit, 'mutation'>; -export const SceneMarkerCreateComponent = ( - props: SceneMarkerCreateComponentProps -) => ( - - mutation={SceneMarkerCreateDocument} - {...props} - /> -); + export const SceneMarkerCreateComponent = (props: SceneMarkerCreateComponentProps) => ( + mutation={SceneMarkerCreateDocument} {...props} /> + ); + /** * __useSceneMarkerCreateMutation__ @@ -2880,74 +2742,26 @@ export const SceneMarkerCreateComponent = ( * }, * }); */ -export function useSceneMarkerCreateMutation( - baseOptions?: ApolloReactHooks.MutationHookOptions< - SceneMarkerCreateMutation, - SceneMarkerCreateMutationVariables - > -) { - return ApolloReactHooks.useMutation< - SceneMarkerCreateMutation, - SceneMarkerCreateMutationVariables - >(SceneMarkerCreateDocument, baseOptions); -} -export type SceneMarkerCreateMutationHookResult = ReturnType< - typeof useSceneMarkerCreateMutation ->; -export type SceneMarkerCreateMutationResult = ApolloReactCommon.MutationResult< - SceneMarkerCreateMutation ->; -export type SceneMarkerCreateMutationOptions = ApolloReactCommon.BaseMutationOptions< - SceneMarkerCreateMutation, - SceneMarkerCreateMutationVariables ->; -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 +export function useSceneMarkerCreateMutation(baseOptions?: ApolloReactHooks.MutationHookOptions) { + return ApolloReactHooks.useMutation(SceneMarkerCreateDocument, baseOptions); } - ) { - ...SceneMarkerData - } +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< - SceneMarkerUpdateMutation, - SceneMarkerUpdateMutationVariables ->; -export type SceneMarkerUpdateComponentProps = Omit< - ApolloReactComponents.MutationComponentOptions< - SceneMarkerUpdateMutation, - SceneMarkerUpdateMutationVariables - >, - "mutation" ->; +} + ${SceneMarkerDataFragmentDoc}`; +export type SceneMarkerUpdateMutationFn = ApolloReactCommon.MutationFunction; +export type SceneMarkerUpdateComponentProps = Omit, 'mutation'>; -export const SceneMarkerUpdateComponent = ( - props: SceneMarkerUpdateComponentProps -) => ( - - mutation={SceneMarkerUpdateDocument} - {...props} - /> -); + export const SceneMarkerUpdateComponent = (props: SceneMarkerUpdateComponentProps) => ( + mutation={SceneMarkerUpdateDocument} {...props} /> + ); + /** * __useSceneMarkerUpdateMutation__ @@ -2971,55 +2785,24 @@ export const SceneMarkerUpdateComponent = ( * }, * }); */ -export function useSceneMarkerUpdateMutation( - baseOptions?: ApolloReactHooks.MutationHookOptions< - SceneMarkerUpdateMutation, - SceneMarkerUpdateMutationVariables - > -) { - return ApolloReactHooks.useMutation< - SceneMarkerUpdateMutation, - SceneMarkerUpdateMutationVariables - >(SceneMarkerUpdateDocument, baseOptions); -} -export type SceneMarkerUpdateMutationHookResult = ReturnType< - typeof useSceneMarkerUpdateMutation ->; -export type SceneMarkerUpdateMutationResult = ApolloReactCommon.MutationResult< - SceneMarkerUpdateMutation ->; -export type SceneMarkerUpdateMutationOptions = ApolloReactCommon.BaseMutationOptions< - SceneMarkerUpdateMutation, - SceneMarkerUpdateMutationVariables ->; +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< - SceneMarkerDestroyMutation, - SceneMarkerDestroyMutationVariables ->; -export type SceneMarkerDestroyComponentProps = Omit< - ApolloReactComponents.MutationComponentOptions< - SceneMarkerDestroyMutation, - SceneMarkerDestroyMutationVariables - >, - "mutation" ->; + 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} - /> -); + export const SceneMarkerDestroyComponent = (props: SceneMarkerDestroyComponentProps) => ( + mutation={SceneMarkerDestroyDocument} {...props} /> + ); + /** * __useSceneMarkerDestroyMutation__ @@ -3038,82 +2821,26 @@ export const SceneMarkerDestroyComponent = ( * }, * }); */ -export function useSceneMarkerDestroyMutation( - baseOptions?: ApolloReactHooks.MutationHookOptions< - SceneMarkerDestroyMutation, - SceneMarkerDestroyMutationVariables - > -) { - return ApolloReactHooks.useMutation< - SceneMarkerDestroyMutation, - SceneMarkerDestroyMutationVariables - >(SceneMarkerDestroyDocument, baseOptions); -} -export type SceneMarkerDestroyMutationHookResult = ReturnType< - typeof useSceneMarkerDestroyMutation ->; -export type SceneMarkerDestroyMutationResult = ApolloReactCommon.MutationResult< - SceneMarkerDestroyMutation ->; -export type SceneMarkerDestroyMutationOptions = ApolloReactCommon.BaseMutationOptions< - SceneMarkerDestroyMutation, - SceneMarkerDestroyMutationVariables ->; -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 +export function useSceneMarkerDestroyMutation(baseOptions?: ApolloReactHooks.MutationHookOptions) { + return ApolloReactHooks.useMutation(SceneMarkerDestroyDocument, baseOptions); } - ) { - ...SceneData - } +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< - SceneUpdateMutation, - SceneUpdateMutationVariables ->; -export type SceneUpdateComponentProps = Omit< - ApolloReactComponents.MutationComponentOptions< - SceneUpdateMutation, - SceneUpdateMutationVariables - >, - "mutation" ->; +} + ${SceneDataFragmentDoc}`; +export type SceneUpdateMutationFn = ApolloReactCommon.MutationFunction; +export type SceneUpdateComponentProps = Omit, 'mutation'>; -export const SceneUpdateComponent = (props: SceneUpdateComponentProps) => ( - - mutation={SceneUpdateDocument} - {...props} - /> -); + export const SceneUpdateComponent = (props: SceneUpdateComponentProps) => ( + mutation={SceneUpdateDocument} {...props} /> + ); + /** * __useSceneUpdateMutation__ @@ -3142,82 +2869,26 @@ export const SceneUpdateComponent = (props: SceneUpdateComponentProps) => ( * }, * }); */ -export function useSceneUpdateMutation( - baseOptions?: ApolloReactHooks.MutationHookOptions< - SceneUpdateMutation, - SceneUpdateMutationVariables - > -) { - return ApolloReactHooks.useMutation< - SceneUpdateMutation, - SceneUpdateMutationVariables - >(SceneUpdateDocument, baseOptions); -} -export type SceneUpdateMutationHookResult = ReturnType< - typeof useSceneUpdateMutation ->; -export type SceneUpdateMutationResult = ApolloReactCommon.MutationResult< - SceneUpdateMutation ->; -export type SceneUpdateMutationOptions = ApolloReactCommon.BaseMutationOptions< - SceneUpdateMutation, - SceneUpdateMutationVariables ->; -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 +export function useSceneUpdateMutation(baseOptions?: ApolloReactHooks.MutationHookOptions) { + return ApolloReactHooks.useMutation(SceneUpdateDocument, baseOptions); } - ) { - ...SceneData - } +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< - BulkSceneUpdateMutation, - BulkSceneUpdateMutationVariables ->; -export type BulkSceneUpdateComponentProps = Omit< - ApolloReactComponents.MutationComponentOptions< - BulkSceneUpdateMutation, - BulkSceneUpdateMutationVariables - >, - "mutation" ->; +} + ${SceneDataFragmentDoc}`; +export type BulkSceneUpdateMutationFn = ApolloReactCommon.MutationFunction; +export type BulkSceneUpdateComponentProps = Omit, 'mutation'>; -export const BulkSceneUpdateComponent = ( - props: BulkSceneUpdateComponentProps -) => ( - - mutation={BulkSceneUpdateDocument} - {...props} - /> -); + export const BulkSceneUpdateComponent = (props: BulkSceneUpdateComponentProps) => ( + mutation={BulkSceneUpdateDocument} {...props} /> + ); + /** * __useBulkSceneUpdateMutation__ @@ -3245,56 +2916,26 @@ export const BulkSceneUpdateComponent = ( * }, * }); */ -export function useBulkSceneUpdateMutation( - baseOptions?: ApolloReactHooks.MutationHookOptions< - BulkSceneUpdateMutation, - BulkSceneUpdateMutationVariables - > -) { - return ApolloReactHooks.useMutation< - BulkSceneUpdateMutation, - BulkSceneUpdateMutationVariables - >(BulkSceneUpdateDocument, baseOptions); -} -export type BulkSceneUpdateMutationHookResult = ReturnType< - typeof useBulkSceneUpdateMutation ->; -export type BulkSceneUpdateMutationResult = ApolloReactCommon.MutationResult< - BulkSceneUpdateMutation ->; -export type BulkSceneUpdateMutationOptions = ApolloReactCommon.BaseMutationOptions< - BulkSceneUpdateMutation, - BulkSceneUpdateMutationVariables ->; +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 - } + mutation ScenesUpdate($input: [SceneUpdateInput!]!) { + scenesUpdate(input: $input) { + ...SceneData } - ${SceneDataFragmentDoc} -`; -export type ScenesUpdateMutationFn = ApolloReactCommon.MutationFunction< - ScenesUpdateMutation, - ScenesUpdateMutationVariables ->; -export type ScenesUpdateComponentProps = Omit< - ApolloReactComponents.MutationComponentOptions< - ScenesUpdateMutation, - ScenesUpdateMutationVariables - >, - "mutation" ->; +} + ${SceneDataFragmentDoc}`; +export type ScenesUpdateMutationFn = ApolloReactCommon.MutationFunction; +export type ScenesUpdateComponentProps = Omit, 'mutation'>; -export const ScenesUpdateComponent = (props: ScenesUpdateComponentProps) => ( - - mutation={ScenesUpdateDocument} - {...props} - /> -); + export const ScenesUpdateComponent = (props: ScenesUpdateComponentProps) => ( + mutation={ScenesUpdateDocument} {...props} /> + ); + /** * __useScenesUpdateMutation__ @@ -3313,63 +2954,24 @@ export const ScenesUpdateComponent = (props: ScenesUpdateComponentProps) => ( * }, * }); */ -export function useScenesUpdateMutation( - baseOptions?: ApolloReactHooks.MutationHookOptions< - ScenesUpdateMutation, - ScenesUpdateMutationVariables - > -) { - return ApolloReactHooks.useMutation< - ScenesUpdateMutation, - ScenesUpdateMutationVariables - >(ScenesUpdateDocument, baseOptions); -} -export type ScenesUpdateMutationHookResult = ReturnType< - typeof useScenesUpdateMutation ->; -export type ScenesUpdateMutationResult = ApolloReactCommon.MutationResult< - ScenesUpdateMutation ->; -export type ScenesUpdateMutationOptions = ApolloReactCommon.BaseMutationOptions< - ScenesUpdateMutation, - ScenesUpdateMutationVariables ->; -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 function useScenesUpdateMutation(baseOptions?: ApolloReactHooks.MutationHookOptions) { + return ApolloReactHooks.useMutation(ScenesUpdateDocument, baseOptions); } - ) - } -`; -export type SceneDestroyMutationFn = ApolloReactCommon.MutationFunction< - SceneDestroyMutation, - SceneDestroyMutationVariables ->; -export type SceneDestroyComponentProps = Omit< - ApolloReactComponents.MutationComponentOptions< - SceneDestroyMutation, - SceneDestroyMutationVariables - >, - "mutation" ->; +export type ScenesUpdateMutationHookResult = ReturnType; +export type ScenesUpdateMutationResult = ApolloReactCommon.MutationResult; +export type ScenesUpdateMutationOptions = 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} - /> -); + export const SceneDestroyComponent = (props: SceneDestroyComponentProps) => ( + mutation={SceneDestroyDocument} {...props} /> + ); + /** * __useSceneDestroyMutation__ @@ -3390,56 +2992,26 @@ export const SceneDestroyComponent = (props: SceneDestroyComponentProps) => ( * }, * }); */ -export function useSceneDestroyMutation( - baseOptions?: ApolloReactHooks.MutationHookOptions< - SceneDestroyMutation, - SceneDestroyMutationVariables - > -) { - return ApolloReactHooks.useMutation< - SceneDestroyMutation, - SceneDestroyMutationVariables - >(SceneDestroyDocument, baseOptions); -} -export type SceneDestroyMutationHookResult = ReturnType< - typeof useSceneDestroyMutation ->; -export type SceneDestroyMutationResult = ApolloReactCommon.MutationResult< - SceneDestroyMutation ->; -export type SceneDestroyMutationOptions = ApolloReactCommon.BaseMutationOptions< - SceneDestroyMutation, - SceneDestroyMutationVariables ->; +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 - } + mutation StudioCreate($name: String!, $url: String, $image: String) { + studioCreate(input: {name: $name, url: $url, image: $image}) { + ...StudioData } - ${StudioDataFragmentDoc} -`; -export type StudioCreateMutationFn = ApolloReactCommon.MutationFunction< - StudioCreateMutation, - StudioCreateMutationVariables ->; -export type StudioCreateComponentProps = Omit< - ApolloReactComponents.MutationComponentOptions< - StudioCreateMutation, - StudioCreateMutationVariables - >, - "mutation" ->; +} + ${StudioDataFragmentDoc}`; +export type StudioCreateMutationFn = ApolloReactCommon.MutationFunction; +export type StudioCreateComponentProps = Omit, 'mutation'>; -export const StudioCreateComponent = (props: StudioCreateComponentProps) => ( - - mutation={StudioCreateDocument} - {...props} - /> -); + export const StudioCreateComponent = (props: StudioCreateComponentProps) => ( + mutation={StudioCreateDocument} {...props} /> + ); + /** * __useStudioCreateMutation__ @@ -3460,56 +3032,26 @@ export const StudioCreateComponent = (props: StudioCreateComponentProps) => ( * }, * }); */ -export function useStudioCreateMutation( - baseOptions?: ApolloReactHooks.MutationHookOptions< - StudioCreateMutation, - StudioCreateMutationVariables - > -) { - return ApolloReactHooks.useMutation< - StudioCreateMutation, - StudioCreateMutationVariables - >(StudioCreateDocument, baseOptions); -} -export type StudioCreateMutationHookResult = ReturnType< - typeof useStudioCreateMutation ->; -export type StudioCreateMutationResult = ApolloReactCommon.MutationResult< - StudioCreateMutation ->; -export type StudioCreateMutationOptions = ApolloReactCommon.BaseMutationOptions< - StudioCreateMutation, - StudioCreateMutationVariables ->; +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 - } + 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< - StudioUpdateMutation, - StudioUpdateMutationVariables ->; -export type StudioUpdateComponentProps = Omit< - ApolloReactComponents.MutationComponentOptions< - StudioUpdateMutation, - StudioUpdateMutationVariables - >, - "mutation" ->; +} + ${StudioDataFragmentDoc}`; +export type StudioUpdateMutationFn = ApolloReactCommon.MutationFunction; +export type StudioUpdateComponentProps = Omit, 'mutation'>; -export const StudioUpdateComponent = (props: StudioUpdateComponentProps) => ( - - mutation={StudioUpdateDocument} - {...props} - /> -); + export const StudioUpdateComponent = (props: StudioUpdateComponentProps) => ( + mutation={StudioUpdateDocument} {...props} /> + ); + /** * __useStudioUpdateMutation__ @@ -3531,53 +3073,24 @@ export const StudioUpdateComponent = (props: StudioUpdateComponentProps) => ( * }, * }); */ -export function useStudioUpdateMutation( - baseOptions?: ApolloReactHooks.MutationHookOptions< - StudioUpdateMutation, - StudioUpdateMutationVariables - > -) { - return ApolloReactHooks.useMutation< - StudioUpdateMutation, - StudioUpdateMutationVariables - >(StudioUpdateDocument, baseOptions); -} -export type StudioUpdateMutationHookResult = ReturnType< - typeof useStudioUpdateMutation ->; -export type StudioUpdateMutationResult = ApolloReactCommon.MutationResult< - StudioUpdateMutation ->; -export type StudioUpdateMutationOptions = ApolloReactCommon.BaseMutationOptions< - StudioUpdateMutation, - StudioUpdateMutationVariables ->; +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< - StudioDestroyMutation, - StudioDestroyMutationVariables ->; -export type StudioDestroyComponentProps = Omit< - ApolloReactComponents.MutationComponentOptions< - StudioDestroyMutation, - StudioDestroyMutationVariables - >, - "mutation" ->; + 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} - /> -); + export const StudioDestroyComponent = (props: StudioDestroyComponentProps) => ( + mutation={StudioDestroyDocument} {...props} /> + ); + /** * __useStudioDestroyMutation__ @@ -3596,53 +3109,26 @@ export const StudioDestroyComponent = (props: StudioDestroyComponentProps) => ( * }, * }); */ -export function useStudioDestroyMutation( - baseOptions?: ApolloReactHooks.MutationHookOptions< - StudioDestroyMutation, - StudioDestroyMutationVariables - > -) { - return ApolloReactHooks.useMutation< - StudioDestroyMutation, - StudioDestroyMutationVariables - >(StudioDestroyDocument, baseOptions); -} -export type StudioDestroyMutationHookResult = ReturnType< - typeof useStudioDestroyMutation ->; -export type StudioDestroyMutationResult = ApolloReactCommon.MutationResult< - StudioDestroyMutation ->; -export type StudioDestroyMutationOptions = ApolloReactCommon.BaseMutationOptions< - StudioDestroyMutation, - StudioDestroyMutationVariables ->; +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 - } + mutation TagCreate($name: String!) { + tagCreate(input: {name: $name}) { + ...TagData } - ${TagDataFragmentDoc} -`; -export type TagCreateMutationFn = ApolloReactCommon.MutationFunction< - TagCreateMutation, - TagCreateMutationVariables ->; -export type TagCreateComponentProps = Omit< - ApolloReactComponents.MutationComponentOptions< - TagCreateMutation, - TagCreateMutationVariables - >, - "mutation" ->; +} + ${TagDataFragmentDoc}`; +export type TagCreateMutationFn = ApolloReactCommon.MutationFunction; +export type TagCreateComponentProps = Omit, 'mutation'>; -export const TagCreateComponent = (props: TagCreateComponentProps) => ( - - mutation={TagCreateDocument} - {...props} - /> -); + export const TagCreateComponent = (props: TagCreateComponentProps) => ( + mutation={TagCreateDocument} {...props} /> + ); + /** * __useTagCreateMutation__ @@ -3661,53 +3147,24 @@ export const TagCreateComponent = (props: TagCreateComponentProps) => ( * }, * }); */ -export function useTagCreateMutation( - baseOptions?: ApolloReactHooks.MutationHookOptions< - TagCreateMutation, - TagCreateMutationVariables - > -) { - return ApolloReactHooks.useMutation< - TagCreateMutation, - TagCreateMutationVariables - >(TagCreateDocument, baseOptions); -} -export type TagCreateMutationHookResult = ReturnType< - typeof useTagCreateMutation ->; -export type TagCreateMutationResult = ApolloReactCommon.MutationResult< - TagCreateMutation ->; -export type TagCreateMutationOptions = ApolloReactCommon.BaseMutationOptions< - TagCreateMutation, - TagCreateMutationVariables ->; +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< - TagDestroyMutation, - TagDestroyMutationVariables ->; -export type TagDestroyComponentProps = Omit< - ApolloReactComponents.MutationComponentOptions< - TagDestroyMutation, - TagDestroyMutationVariables - >, - "mutation" ->; + 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} - /> -); + export const TagDestroyComponent = (props: TagDestroyComponentProps) => ( + mutation={TagDestroyDocument} {...props} /> + ); + /** * __useTagDestroyMutation__ @@ -3726,53 +3183,26 @@ export const TagDestroyComponent = (props: TagDestroyComponentProps) => ( * }, * }); */ -export function useTagDestroyMutation( - baseOptions?: ApolloReactHooks.MutationHookOptions< - TagDestroyMutation, - TagDestroyMutationVariables - > -) { - return ApolloReactHooks.useMutation< - TagDestroyMutation, - TagDestroyMutationVariables - >(TagDestroyDocument, baseOptions); -} -export type TagDestroyMutationHookResult = ReturnType< - typeof useTagDestroyMutation ->; -export type TagDestroyMutationResult = ApolloReactCommon.MutationResult< - TagDestroyMutation ->; -export type TagDestroyMutationOptions = ApolloReactCommon.BaseMutationOptions< - TagDestroyMutation, - TagDestroyMutationVariables ->; +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 - } + mutation TagUpdate($id: ID!, $name: String!) { + tagUpdate(input: {id: $id, name: $name}) { + ...TagData } - ${TagDataFragmentDoc} -`; -export type TagUpdateMutationFn = ApolloReactCommon.MutationFunction< - TagUpdateMutation, - TagUpdateMutationVariables ->; -export type TagUpdateComponentProps = Omit< - ApolloReactComponents.MutationComponentOptions< - TagUpdateMutation, - TagUpdateMutationVariables - >, - "mutation" ->; +} + ${TagDataFragmentDoc}`; +export type TagUpdateMutationFn = ApolloReactCommon.MutationFunction; +export type TagUpdateComponentProps = Omit, 'mutation'>; -export const TagUpdateComponent = (props: TagUpdateComponentProps) => ( - - mutation={TagUpdateDocument} - {...props} - /> -); + export const TagUpdateComponent = (props: TagUpdateComponentProps) => ( + mutation={TagUpdateDocument} {...props} /> + ); + /** * __useTagUpdateMutation__ @@ -3792,58 +3222,34 @@ export const TagUpdateComponent = (props: TagUpdateComponentProps) => ( * }, * }); */ -export function useTagUpdateMutation( - baseOptions?: ApolloReactHooks.MutationHookOptions< - TagUpdateMutation, - TagUpdateMutationVariables - > -) { - return ApolloReactHooks.useMutation< - TagUpdateMutation, - TagUpdateMutationVariables - >(TagUpdateDocument, baseOptions); -} -export type TagUpdateMutationHookResult = ReturnType< - typeof useTagUpdateMutation ->; -export type TagUpdateMutationResult = ApolloReactCommon.MutationResult< - TagUpdateMutation ->; -export type TagUpdateMutationOptions = ApolloReactCommon.BaseMutationOptions< - TagUpdateMutation, - TagUpdateMutationVariables ->; -export const FindGalleriesDocument = gql` - query FindGalleries($filter: FindFilterType) { - findGalleries(filter: $filter) { - count - galleries { - ...GalleryData +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< - ApolloReactComponents.QueryComponentOptions< - FindGalleriesQuery, - FindGalleriesQueryVariables - >, - "query" ->; +} + ${GalleryDataFragmentDoc}`; +export type FindGalleriesComponentProps = Omit, 'query'>; -export const FindGalleriesComponent = (props: FindGalleriesComponentProps) => ( - - query={FindGalleriesDocument} - {...props} - /> -); + 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 + * 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; @@ -3855,70 +3261,34 @@ export const FindGalleriesComponent = (props: FindGalleriesComponentProps) => ( * }, * }); */ -export function useFindGalleriesQuery( - baseOptions?: ApolloReactHooks.QueryHookOptions< - FindGalleriesQuery, - FindGalleriesQueryVariables - > -) { - return ApolloReactHooks.useQuery< - FindGalleriesQuery, - FindGalleriesQueryVariables - >(FindGalleriesDocument, baseOptions); -} -export function useFindGalleriesLazyQuery( - baseOptions?: ApolloReactHooks.LazyQueryHookOptions< - FindGalleriesQuery, - FindGalleriesQueryVariables - > -) { - return ApolloReactHooks.useLazyQuery< - FindGalleriesQuery, - FindGalleriesQueryVariables - >(FindGalleriesDocument, baseOptions); -} -export type FindGalleriesQueryHookResult = ReturnType< - typeof useFindGalleriesQuery ->; -export type FindGalleriesLazyQueryHookResult = ReturnType< - typeof useFindGalleriesLazyQuery ->; -export type FindGalleriesQueryResult = ApolloReactCommon.QueryResult< - FindGalleriesQuery, - FindGalleriesQueryVariables ->; +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 - } + query FindGallery($id: ID!) { + findGallery(id: $id) { + ...GalleryData } - ${GalleryDataFragmentDoc} -`; -export type FindGalleryComponentProps = Omit< - ApolloReactComponents.QueryComponentOptions< - FindGalleryQuery, - FindGalleryQueryVariables - >, - "query" -> & - ( - | { variables: FindGalleryQueryVariables; skip?: boolean } - | { skip: boolean } - ); +} + ${GalleryDataFragmentDoc}`; +export type FindGalleryComponentProps = Omit, 'query'> & ({ variables: FindGalleryQueryVariables; skip?: boolean; } | { skip: boolean; }); -export const FindGalleryComponent = (props: FindGalleryComponentProps) => ( - - query={FindGalleryDocument} - {...props} - /> -); + 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 + * 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; @@ -3930,64 +3300,34 @@ export const FindGalleryComponent = (props: FindGalleryComponentProps) => ( * }, * }); */ -export function useFindGalleryQuery( - baseOptions?: ApolloReactHooks.QueryHookOptions< - FindGalleryQuery, - FindGalleryQueryVariables - > -) { - return ApolloReactHooks.useQuery( - FindGalleryDocument, - baseOptions - ); -} -export function useFindGalleryLazyQuery( - baseOptions?: ApolloReactHooks.LazyQueryHookOptions< - FindGalleryQuery, - FindGalleryQueryVariables - > -) { - return ApolloReactHooks.useLazyQuery< - FindGalleryQuery, - FindGalleryQueryVariables - >(FindGalleryDocument, baseOptions); -} +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< - typeof useFindGalleryLazyQuery ->; -export type FindGalleryQueryResult = ApolloReactCommon.QueryResult< - FindGalleryQuery, - FindGalleryQueryVariables ->; +export type FindGalleryLazyQueryHookResult = ReturnType; +export type FindGalleryQueryResult = ApolloReactCommon.QueryResult; export const SceneWallDocument = gql` - query SceneWall($q: String) { - sceneWall(q: $q) { - ...SceneData - } + query SceneWall($q: String) { + sceneWall(q: $q) { + ...SceneData } - ${SceneDataFragmentDoc} -`; -export type SceneWallComponentProps = Omit< - ApolloReactComponents.QueryComponentOptions< - SceneWallQuery, - SceneWallQueryVariables - >, - "query" ->; +} + ${SceneDataFragmentDoc}`; +export type SceneWallComponentProps = Omit, 'query'>; -export const SceneWallComponent = (props: SceneWallComponentProps) => ( - - query={SceneWallDocument} - {...props} - /> -); + 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 + * 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; @@ -3999,64 +3339,34 @@ export const SceneWallComponent = (props: SceneWallComponentProps) => ( * }, * }); */ -export function useSceneWallQuery( - baseOptions?: ApolloReactHooks.QueryHookOptions< - SceneWallQuery, - SceneWallQueryVariables - > -) { - return ApolloReactHooks.useQuery( - SceneWallDocument, - baseOptions - ); -} -export function useSceneWallLazyQuery( - baseOptions?: ApolloReactHooks.LazyQueryHookOptions< - SceneWallQuery, - SceneWallQueryVariables - > -) { - return ApolloReactHooks.useLazyQuery( - SceneWallDocument, - baseOptions - ); -} +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< - typeof useSceneWallLazyQuery ->; -export type SceneWallQueryResult = ApolloReactCommon.QueryResult< - SceneWallQuery, - SceneWallQueryVariables ->; +export type SceneWallLazyQueryHookResult = ReturnType; +export type SceneWallQueryResult = ApolloReactCommon.QueryResult; export const MarkerWallDocument = gql` - query MarkerWall($q: String) { - markerWall(q: $q) { - ...SceneMarkerData - } + query MarkerWall($q: String) { + markerWall(q: $q) { + ...SceneMarkerData } - ${SceneMarkerDataFragmentDoc} -`; -export type MarkerWallComponentProps = Omit< - ApolloReactComponents.QueryComponentOptions< - MarkerWallQuery, - MarkerWallQueryVariables - >, - "query" ->; +} + ${SceneMarkerDataFragmentDoc}`; +export type MarkerWallComponentProps = Omit, 'query'>; -export const MarkerWallComponent = (props: MarkerWallComponentProps) => ( - - query={MarkerWallDocument} - {...props} - /> -); + 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 + * 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; @@ -4068,65 +3378,34 @@ export const MarkerWallComponent = (props: MarkerWallComponentProps) => ( * }, * }); */ -export function useMarkerWallQuery( - baseOptions?: ApolloReactHooks.QueryHookOptions< - MarkerWallQuery, - MarkerWallQueryVariables - > -) { - return ApolloReactHooks.useQuery( - MarkerWallDocument, - baseOptions - ); -} -export function useMarkerWallLazyQuery( - baseOptions?: ApolloReactHooks.LazyQueryHookOptions< - MarkerWallQuery, - MarkerWallQueryVariables - > -) { - return ApolloReactHooks.useLazyQuery< - MarkerWallQuery, - MarkerWallQueryVariables - >(MarkerWallDocument, baseOptions); -} +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< - typeof useMarkerWallLazyQuery ->; -export type MarkerWallQueryResult = ApolloReactCommon.QueryResult< - MarkerWallQuery, - MarkerWallQueryVariables ->; +export type MarkerWallLazyQueryHookResult = ReturnType; +export type MarkerWallQueryResult = ApolloReactCommon.QueryResult; export const FindTagDocument = gql` - query FindTag($id: ID!) { - findTag(id: $id) { - ...TagData - } + query FindTag($id: ID!) { + findTag(id: $id) { + ...TagData } - ${TagDataFragmentDoc} -`; -export type FindTagComponentProps = Omit< - ApolloReactComponents.QueryComponentOptions< - FindTagQuery, - FindTagQueryVariables - >, - "query" -> & - ({ variables: FindTagQueryVariables; skip?: boolean } | { skip: boolean }); +} + ${TagDataFragmentDoc}`; +export type FindTagComponentProps = Omit, 'query'> & ({ variables: FindTagQueryVariables; skip?: boolean; } | { skip: boolean; }); -export const FindTagComponent = (props: FindTagComponentProps) => ( - - query={FindTagDocument} - {...props} - /> -); + 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 + * 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; @@ -4138,63 +3417,36 @@ export const FindTagComponent = (props: FindTagComponentProps) => ( * }, * }); */ -export function useFindTagQuery( - baseOptions?: ApolloReactHooks.QueryHookOptions< - FindTagQuery, - FindTagQueryVariables - > -) { - return ApolloReactHooks.useQuery( - FindTagDocument, - baseOptions - ); -} -export function useFindTagLazyQuery( - baseOptions?: ApolloReactHooks.LazyQueryHookOptions< - FindTagQuery, - FindTagQueryVariables - > -) { - return ApolloReactHooks.useLazyQuery( - FindTagDocument, - baseOptions - ); -} +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< - FindTagQuery, - FindTagQueryVariables ->; +export type FindTagQueryResult = ApolloReactCommon.QueryResult; export const MarkerStringsDocument = gql` - query MarkerStrings($q: String, $sort: String) { - markerStrings(q: $q, sort: $sort) { - id - count - title - } + query MarkerStrings($q: String, $sort: String) { + markerStrings(q: $q, sort: $sort) { + id + count + title } -`; -export type MarkerStringsComponentProps = Omit< - ApolloReactComponents.QueryComponentOptions< - MarkerStringsQuery, - MarkerStringsQueryVariables - >, - "query" ->; +} + `; +export type MarkerStringsComponentProps = Omit, 'query'>; -export const MarkerStringsComponent = (props: MarkerStringsComponentProps) => ( - - query={MarkerStringsDocument} - {...props} - /> -); + 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 + * 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; @@ -4207,66 +3459,34 @@ export const MarkerStringsComponent = (props: MarkerStringsComponentProps) => ( * }, * }); */ -export function useMarkerStringsQuery( - baseOptions?: ApolloReactHooks.QueryHookOptions< - MarkerStringsQuery, - MarkerStringsQueryVariables - > -) { - return ApolloReactHooks.useQuery< - MarkerStringsQuery, - MarkerStringsQueryVariables - >(MarkerStringsDocument, baseOptions); -} -export function useMarkerStringsLazyQuery( - baseOptions?: ApolloReactHooks.LazyQueryHookOptions< - MarkerStringsQuery, - MarkerStringsQueryVariables - > -) { - return ApolloReactHooks.useLazyQuery< - MarkerStringsQuery, - MarkerStringsQueryVariables - >(MarkerStringsDocument, baseOptions); -} -export type MarkerStringsQueryHookResult = ReturnType< - typeof useMarkerStringsQuery ->; -export type MarkerStringsLazyQueryHookResult = ReturnType< - typeof useMarkerStringsLazyQuery ->; -export type MarkerStringsQueryResult = ApolloReactCommon.QueryResult< - MarkerStringsQuery, - MarkerStringsQueryVariables ->; +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 - } + query AllTags { + allTags { + ...TagData } - ${TagDataFragmentDoc} -`; -export type AllTagsComponentProps = Omit< - ApolloReactComponents.QueryComponentOptions< - AllTagsQuery, - AllTagsQueryVariables - >, - "query" ->; +} + ${TagDataFragmentDoc}`; +export type AllTagsComponentProps = Omit, 'query'>; -export const AllTagsComponent = (props: AllTagsComponentProps) => ( - - query={AllTagsDocument} - {...props} - /> -); + 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 + * 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; @@ -4277,67 +3497,34 @@ export const AllTagsComponent = (props: AllTagsComponentProps) => ( * }, * }); */ -export function useAllTagsQuery( - baseOptions?: ApolloReactHooks.QueryHookOptions< - AllTagsQuery, - AllTagsQueryVariables - > -) { - return ApolloReactHooks.useQuery( - AllTagsDocument, - baseOptions - ); -} -export function useAllTagsLazyQuery( - baseOptions?: ApolloReactHooks.LazyQueryHookOptions< - AllTagsQuery, - AllTagsQueryVariables - > -) { - return ApolloReactHooks.useLazyQuery( - AllTagsDocument, - baseOptions - ); -} +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< - AllTagsQuery, - AllTagsQueryVariables ->; +export type AllTagsQueryResult = ApolloReactCommon.QueryResult; export const AllPerformersForFilterDocument = gql` - query AllPerformersForFilter { - allPerformers { - ...SlimPerformerData - } + query AllPerformersForFilter { + allPerformers { + ...SlimPerformerData } - ${SlimPerformerDataFragmentDoc} -`; -export type AllPerformersForFilterComponentProps = Omit< - ApolloReactComponents.QueryComponentOptions< - AllPerformersForFilterQuery, - AllPerformersForFilterQueryVariables - >, - "query" ->; +} + ${SlimPerformerDataFragmentDoc}`; +export type AllPerformersForFilterComponentProps = Omit, 'query'>; -export const AllPerformersForFilterComponent = ( - props: AllPerformersForFilterComponentProps -) => ( - - query={AllPerformersForFilterDocument} - {...props} - /> -); + 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 + * 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; @@ -4348,71 +3535,34 @@ export const AllPerformersForFilterComponent = ( * }, * }); */ -export function useAllPerformersForFilterQuery( - baseOptions?: ApolloReactHooks.QueryHookOptions< - AllPerformersForFilterQuery, - AllPerformersForFilterQueryVariables - > -) { - return ApolloReactHooks.useQuery< - AllPerformersForFilterQuery, - AllPerformersForFilterQueryVariables - >(AllPerformersForFilterDocument, baseOptions); -} -export function useAllPerformersForFilterLazyQuery( - baseOptions?: ApolloReactHooks.LazyQueryHookOptions< - AllPerformersForFilterQuery, - AllPerformersForFilterQueryVariables - > -) { - return ApolloReactHooks.useLazyQuery< - AllPerformersForFilterQuery, - AllPerformersForFilterQueryVariables - >(AllPerformersForFilterDocument, baseOptions); -} -export type AllPerformersForFilterQueryHookResult = ReturnType< - typeof useAllPerformersForFilterQuery ->; -export type AllPerformersForFilterLazyQueryHookResult = ReturnType< - typeof useAllPerformersForFilterLazyQuery ->; -export type AllPerformersForFilterQueryResult = ApolloReactCommon.QueryResult< - AllPerformersForFilterQuery, - AllPerformersForFilterQueryVariables ->; +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 - } + query AllStudiosForFilter { + allStudios { + ...SlimStudioData } - ${SlimStudioDataFragmentDoc} -`; -export type AllStudiosForFilterComponentProps = Omit< - ApolloReactComponents.QueryComponentOptions< - AllStudiosForFilterQuery, - AllStudiosForFilterQueryVariables - >, - "query" ->; +} + ${SlimStudioDataFragmentDoc}`; +export type AllStudiosForFilterComponentProps = Omit, 'query'>; -export const AllStudiosForFilterComponent = ( - props: AllStudiosForFilterComponentProps -) => ( - - query={AllStudiosForFilterDocument} - {...props} - /> -); + 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 + * 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; @@ -4423,71 +3573,35 @@ export const AllStudiosForFilterComponent = ( * }, * }); */ -export function useAllStudiosForFilterQuery( - baseOptions?: ApolloReactHooks.QueryHookOptions< - AllStudiosForFilterQuery, - AllStudiosForFilterQueryVariables - > -) { - return ApolloReactHooks.useQuery< - AllStudiosForFilterQuery, - AllStudiosForFilterQueryVariables - >(AllStudiosForFilterDocument, baseOptions); -} -export function useAllStudiosForFilterLazyQuery( - baseOptions?: ApolloReactHooks.LazyQueryHookOptions< - AllStudiosForFilterQuery, - AllStudiosForFilterQueryVariables - > -) { - return ApolloReactHooks.useLazyQuery< - AllStudiosForFilterQuery, - AllStudiosForFilterQueryVariables - >(AllStudiosForFilterDocument, baseOptions); -} -export type AllStudiosForFilterQueryHookResult = ReturnType< - typeof useAllStudiosForFilterQuery ->; -export type AllStudiosForFilterLazyQueryHookResult = ReturnType< - typeof useAllStudiosForFilterLazyQuery ->; -export type AllStudiosForFilterQueryResult = ApolloReactCommon.QueryResult< - AllStudiosForFilterQuery, - AllStudiosForFilterQueryVariables ->; +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 - } + query AllTagsForFilter { + allTags { + id + name } -`; -export type AllTagsForFilterComponentProps = Omit< - ApolloReactComponents.QueryComponentOptions< - AllTagsForFilterQuery, - AllTagsForFilterQueryVariables - >, - "query" ->; +} + `; +export type AllTagsForFilterComponentProps = Omit, 'query'>; -export const AllTagsForFilterComponent = ( - props: AllTagsForFilterComponentProps -) => ( - - query={AllTagsForFilterDocument} - {...props} - /> -); + 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 + * 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; @@ -4498,75 +3612,35 @@ export const AllTagsForFilterComponent = ( * }, * }); */ -export function useAllTagsForFilterQuery( - baseOptions?: ApolloReactHooks.QueryHookOptions< - AllTagsForFilterQuery, - AllTagsForFilterQueryVariables - > -) { - return ApolloReactHooks.useQuery< - AllTagsForFilterQuery, - AllTagsForFilterQueryVariables - >(AllTagsForFilterDocument, baseOptions); -} -export function useAllTagsForFilterLazyQuery( - baseOptions?: ApolloReactHooks.LazyQueryHookOptions< - AllTagsForFilterQuery, - AllTagsForFilterQueryVariables - > -) { - return ApolloReactHooks.useLazyQuery< - AllTagsForFilterQuery, - AllTagsForFilterQueryVariables - >(AllTagsForFilterDocument, baseOptions); -} -export type AllTagsForFilterQueryHookResult = ReturnType< - typeof useAllTagsForFilterQuery ->; -export type AllTagsForFilterLazyQueryHookResult = ReturnType< - typeof useAllTagsForFilterLazyQuery ->; -export type AllTagsForFilterQueryResult = ApolloReactCommon.QueryResult< - AllTagsForFilterQuery, - AllTagsForFilterQueryVariables ->; +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 - } + query ValidGalleriesForScene($scene_id: ID!) { + validGalleriesForScene(scene_id: $scene_id) { + id + path } -`; -export type ValidGalleriesForSceneComponentProps = Omit< - ApolloReactComponents.QueryComponentOptions< - ValidGalleriesForSceneQuery, - ValidGalleriesForSceneQueryVariables - >, - "query" -> & - ( - | { variables: ValidGalleriesForSceneQueryVariables; skip?: boolean } - | { skip: boolean } - ); +} + `; +export type ValidGalleriesForSceneComponentProps = Omit, 'query'> & ({ variables: ValidGalleriesForSceneQueryVariables; skip?: boolean; } | { skip: boolean; }); -export const ValidGalleriesForSceneComponent = ( - props: ValidGalleriesForSceneComponentProps -) => ( - - query={ValidGalleriesForSceneDocument} - {...props} - /> -); + 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 + * 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; @@ -4578,66 +3652,38 @@ export const ValidGalleriesForSceneComponent = ( * }, * }); */ -export function useValidGalleriesForSceneQuery( - baseOptions?: ApolloReactHooks.QueryHookOptions< - ValidGalleriesForSceneQuery, - ValidGalleriesForSceneQueryVariables - > -) { - return ApolloReactHooks.useQuery< - ValidGalleriesForSceneQuery, - ValidGalleriesForSceneQueryVariables - >(ValidGalleriesForSceneDocument, baseOptions); -} -export function useValidGalleriesForSceneLazyQuery( - baseOptions?: ApolloReactHooks.LazyQueryHookOptions< - ValidGalleriesForSceneQuery, - ValidGalleriesForSceneQueryVariables - > -) { - return ApolloReactHooks.useLazyQuery< - ValidGalleriesForSceneQuery, - ValidGalleriesForSceneQueryVariables - >(ValidGalleriesForSceneDocument, baseOptions); -} -export type ValidGalleriesForSceneQueryHookResult = ReturnType< - typeof useValidGalleriesForSceneQuery ->; -export type ValidGalleriesForSceneLazyQueryHookResult = ReturnType< - typeof useValidGalleriesForSceneLazyQuery ->; -export type ValidGalleriesForSceneQueryResult = ApolloReactCommon.QueryResult< - ValidGalleriesForSceneQuery, - ValidGalleriesForSceneQueryVariables ->; +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 - } + query Stats { + stats { + scene_count + gallery_count + performer_count + studio_count + tag_count } -`; -export type StatsComponentProps = Omit< - ApolloReactComponents.QueryComponentOptions, - "query" ->; +} + `; +export type StatsComponentProps = Omit, 'query'>; -export const StatsComponent = (props: StatsComponentProps) => ( - - query={StatsDocument} - {...props} - /> -); + 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 + * 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; @@ -4648,59 +3694,34 @@ export const StatsComponent = (props: StatsComponentProps) => ( * }, * }); */ -export function useStatsQuery( - baseOptions?: ApolloReactHooks.QueryHookOptions< - StatsQuery, - StatsQueryVariables - > -) { - return ApolloReactHooks.useQuery( - StatsDocument, - baseOptions - ); -} -export function useStatsLazyQuery( - baseOptions?: ApolloReactHooks.LazyQueryHookOptions< - StatsQuery, - StatsQueryVariables - > -) { - return ApolloReactHooks.useLazyQuery( - StatsDocument, - baseOptions - ); -} +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< - StatsQuery, - StatsQueryVariables ->; +export type StatsQueryResult = ApolloReactCommon.QueryResult; export const LogsDocument = gql` - query Logs { - logs { - ...LogEntryData - } + query Logs { + logs { + ...LogEntryData } - ${LogEntryDataFragmentDoc} -`; -export type LogsComponentProps = Omit< - ApolloReactComponents.QueryComponentOptions, - "query" ->; +} + ${LogEntryDataFragmentDoc}`; +export type LogsComponentProps = Omit, 'query'>; -export const LogsComponent = (props: LogsComponentProps) => ( - - query={LogsDocument} - {...props} - /> -); + 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 + * 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; @@ -4711,60 +3732,36 @@ export const LogsComponent = (props: LogsComponentProps) => ( * }, * }); */ -export function useLogsQuery( - baseOptions?: ApolloReactHooks.QueryHookOptions -) { - return ApolloReactHooks.useQuery( - LogsDocument, - baseOptions - ); -} -export function useLogsLazyQuery( - baseOptions?: ApolloReactHooks.LazyQueryHookOptions< - LogsQuery, - LogsQueryVariables - > -) { - return ApolloReactHooks.useLazyQuery( - LogsDocument, - baseOptions - ); -} +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< - LogsQuery, - LogsQueryVariables ->; +export type LogsQueryResult = ApolloReactCommon.QueryResult; export const VersionDocument = gql` - query Version { - version { - version - hash - build_time - } + query Version { + version { + version + hash + build_time } -`; -export type VersionComponentProps = Omit< - ApolloReactComponents.QueryComponentOptions< - VersionQuery, - VersionQueryVariables - >, - "query" ->; +} + `; +export type VersionComponentProps = Omit, 'query'>; -export const VersionComponent = (props: VersionComponentProps) => ( - - query={VersionDocument} - {...props} - /> -); + 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 + * 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; @@ -4775,62 +3772,35 @@ export const VersionComponent = (props: VersionComponentProps) => ( * }, * }); */ -export function useVersionQuery( - baseOptions?: ApolloReactHooks.QueryHookOptions< - VersionQuery, - VersionQueryVariables - > -) { - return ApolloReactHooks.useQuery( - VersionDocument, - baseOptions - ); -} -export function useVersionLazyQuery( - baseOptions?: ApolloReactHooks.LazyQueryHookOptions< - VersionQuery, - VersionQueryVariables - > -) { - return ApolloReactHooks.useLazyQuery( - VersionDocument, - baseOptions - ); -} +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< - VersionQuery, - VersionQueryVariables ->; +export type VersionQueryResult = ApolloReactCommon.QueryResult; export const LatestVersionDocument = gql` - query LatestVersion { - latestversion { - shorthash - url - } + query LatestVersion { + latestversion { + shorthash + url } -`; -export type LatestVersionComponentProps = Omit< - ApolloReactComponents.QueryComponentOptions< - LatestVersionQuery, - LatestVersionQueryVariables - >, - "query" ->; +} + `; +export type LatestVersionComponentProps = Omit, 'query'>; -export const LatestVersionComponent = (props: LatestVersionComponentProps) => ( - - query={LatestVersionDocument} - {...props} - /> -); + 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 + * 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; @@ -4841,77 +3811,37 @@ export const LatestVersionComponent = (props: LatestVersionComponentProps) => ( * }, * }); */ -export function useLatestVersionQuery( - baseOptions?: ApolloReactHooks.QueryHookOptions< - LatestVersionQuery, - LatestVersionQueryVariables - > -) { - return ApolloReactHooks.useQuery< - LatestVersionQuery, - LatestVersionQueryVariables - >(LatestVersionDocument, baseOptions); -} -export function useLatestVersionLazyQuery( - baseOptions?: ApolloReactHooks.LazyQueryHookOptions< - LatestVersionQuery, - LatestVersionQueryVariables - > -) { - return ApolloReactHooks.useLazyQuery< - LatestVersionQuery, - LatestVersionQueryVariables - >(LatestVersionDocument, baseOptions); -} -export type LatestVersionQueryHookResult = ReturnType< - typeof useLatestVersionQuery ->; -export type LatestVersionLazyQueryHookResult = ReturnType< - typeof useLatestVersionLazyQuery ->; -export type LatestVersionQueryResult = ApolloReactCommon.QueryResult< - LatestVersionQuery, - LatestVersionQueryVariables ->; -export const FindPerformersDocument = gql` - query FindPerformers( - $filter: FindFilterType - $performer_filter: PerformerFilterType - ) { - findPerformers(filter: $filter, performer_filter: $performer_filter) { - count - performers { - ...PerformerData +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< - ApolloReactComponents.QueryComponentOptions< - FindPerformersQuery, - FindPerformersQueryVariables - >, - "query" ->; +} + ${PerformerDataFragmentDoc}`; +export type FindPerformersComponentProps = Omit, 'query'>; -export const FindPerformersComponent = ( - props: FindPerformersComponentProps -) => ( - - query={FindPerformersDocument} - {...props} - /> -); + 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 + * 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; @@ -4924,70 +3854,34 @@ export const FindPerformersComponent = ( * }, * }); */ -export function useFindPerformersQuery( - baseOptions?: ApolloReactHooks.QueryHookOptions< - FindPerformersQuery, - FindPerformersQueryVariables - > -) { - return ApolloReactHooks.useQuery< - FindPerformersQuery, - FindPerformersQueryVariables - >(FindPerformersDocument, baseOptions); -} -export function useFindPerformersLazyQuery( - baseOptions?: ApolloReactHooks.LazyQueryHookOptions< - FindPerformersQuery, - FindPerformersQueryVariables - > -) { - return ApolloReactHooks.useLazyQuery< - FindPerformersQuery, - FindPerformersQueryVariables - >(FindPerformersDocument, baseOptions); -} -export type FindPerformersQueryHookResult = ReturnType< - typeof useFindPerformersQuery ->; -export type FindPerformersLazyQueryHookResult = ReturnType< - typeof useFindPerformersLazyQuery ->; -export type FindPerformersQueryResult = ApolloReactCommon.QueryResult< - FindPerformersQuery, - FindPerformersQueryVariables ->; +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 - } + query FindPerformer($id: ID!) { + findPerformer(id: $id) { + ...PerformerData } - ${PerformerDataFragmentDoc} -`; -export type FindPerformerComponentProps = Omit< - ApolloReactComponents.QueryComponentOptions< - FindPerformerQuery, - FindPerformerQueryVariables - >, - "query" -> & - ( - | { variables: FindPerformerQueryVariables; skip?: boolean } - | { skip: boolean } - ); +} + ${PerformerDataFragmentDoc}`; +export type FindPerformerComponentProps = Omit, 'query'> & ({ variables: FindPerformerQueryVariables; skip?: boolean; } | { skip: boolean; }); -export const FindPerformerComponent = (props: FindPerformerComponentProps) => ( - - query={FindPerformerDocument} - {...props} - /> -); + 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 + * 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; @@ -4999,80 +3893,37 @@ export const FindPerformerComponent = (props: FindPerformerComponentProps) => ( * }, * }); */ -export function useFindPerformerQuery( - baseOptions?: ApolloReactHooks.QueryHookOptions< - FindPerformerQuery, - FindPerformerQueryVariables - > -) { - return ApolloReactHooks.useQuery< - FindPerformerQuery, - FindPerformerQueryVariables - >(FindPerformerDocument, baseOptions); -} -export function useFindPerformerLazyQuery( - baseOptions?: ApolloReactHooks.LazyQueryHookOptions< - FindPerformerQuery, - FindPerformerQueryVariables - > -) { - return ApolloReactHooks.useLazyQuery< - FindPerformerQuery, - FindPerformerQueryVariables - >(FindPerformerDocument, baseOptions); -} -export type FindPerformerQueryHookResult = ReturnType< - typeof useFindPerformerQuery ->; -export type FindPerformerLazyQueryHookResult = ReturnType< - typeof useFindPerformerLazyQuery ->; -export type FindPerformerQueryResult = ApolloReactCommon.QueryResult< - FindPerformerQuery, - FindPerformerQueryVariables ->; -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 +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< - ApolloReactComponents.QueryComponentOptions< - FindSceneMarkersQuery, - FindSceneMarkersQueryVariables - >, - "query" ->; +} + ${SceneMarkerDataFragmentDoc}`; +export type FindSceneMarkersComponentProps = Omit, 'query'>; -export const FindSceneMarkersComponent = ( - props: FindSceneMarkersComponentProps -) => ( - - query={FindSceneMarkersDocument} - {...props} - /> -); + 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 + * 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; @@ -5085,77 +3936,37 @@ export const FindSceneMarkersComponent = ( * }, * }); */ -export function useFindSceneMarkersQuery( - baseOptions?: ApolloReactHooks.QueryHookOptions< - FindSceneMarkersQuery, - FindSceneMarkersQueryVariables - > -) { - return ApolloReactHooks.useQuery< - FindSceneMarkersQuery, - FindSceneMarkersQueryVariables - >(FindSceneMarkersDocument, baseOptions); -} -export function useFindSceneMarkersLazyQuery( - baseOptions?: ApolloReactHooks.LazyQueryHookOptions< - FindSceneMarkersQuery, - FindSceneMarkersQueryVariables - > -) { - return ApolloReactHooks.useLazyQuery< - FindSceneMarkersQuery, - FindSceneMarkersQueryVariables - >(FindSceneMarkersDocument, baseOptions); -} -export type FindSceneMarkersQueryHookResult = ReturnType< - typeof useFindSceneMarkersQuery ->; -export type FindSceneMarkersLazyQueryHookResult = ReturnType< - typeof useFindSceneMarkersLazyQuery ->; -export type FindSceneMarkersQueryResult = ApolloReactCommon.QueryResult< - FindSceneMarkersQuery, - FindSceneMarkersQueryVariables ->; -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 +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< - ApolloReactComponents.QueryComponentOptions< - FindScenesQuery, - FindScenesQueryVariables - >, - "query" ->; +} + ${SlimSceneDataFragmentDoc}`; +export type FindScenesComponentProps = Omit, 'query'>; -export const FindScenesComponent = (props: FindScenesComponentProps) => ( - - query={FindScenesDocument} - {...props} - /> -); + 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 + * 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; @@ -5169,72 +3980,37 @@ export const FindScenesComponent = (props: FindScenesComponentProps) => ( * }, * }); */ -export function useFindScenesQuery( - baseOptions?: ApolloReactHooks.QueryHookOptions< - FindScenesQuery, - FindScenesQueryVariables - > -) { - return ApolloReactHooks.useQuery( - FindScenesDocument, - baseOptions - ); -} -export function useFindScenesLazyQuery( - baseOptions?: ApolloReactHooks.LazyQueryHookOptions< - FindScenesQuery, - FindScenesQueryVariables - > -) { - return ApolloReactHooks.useLazyQuery< - FindScenesQuery, - FindScenesQueryVariables - >(FindScenesDocument, baseOptions); -} -export type FindScenesQueryHookResult = ReturnType; -export type FindScenesLazyQueryHookResult = ReturnType< - typeof useFindScenesLazyQuery ->; -export type FindScenesQueryResult = ApolloReactCommon.QueryResult< - FindScenesQuery, - FindScenesQueryVariables ->; -export const FindScenesByPathRegexDocument = gql` - query FindScenesByPathRegex($filter: FindFilterType) { - findScenesByPathRegex(filter: $filter) { - count - scenes { - ...SlimSceneData +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< - ApolloReactComponents.QueryComponentOptions< - FindScenesByPathRegexQuery, - FindScenesByPathRegexQueryVariables - >, - "query" ->; +} + ${SlimSceneDataFragmentDoc}`; +export type FindScenesByPathRegexComponentProps = Omit, 'query'>; -export const FindScenesByPathRegexComponent = ( - props: FindScenesByPathRegexComponentProps -) => ( - - query={FindScenesByPathRegexDocument} - {...props} - /> -); + 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 + * 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; @@ -5246,77 +4022,44 @@ export const FindScenesByPathRegexComponent = ( * }, * }); */ -export function useFindScenesByPathRegexQuery( - baseOptions?: ApolloReactHooks.QueryHookOptions< - FindScenesByPathRegexQuery, - FindScenesByPathRegexQueryVariables - > -) { - return ApolloReactHooks.useQuery< - FindScenesByPathRegexQuery, - FindScenesByPathRegexQueryVariables - >(FindScenesByPathRegexDocument, baseOptions); -} -export function useFindScenesByPathRegexLazyQuery( - baseOptions?: ApolloReactHooks.LazyQueryHookOptions< - FindScenesByPathRegexQuery, - FindScenesByPathRegexQueryVariables - > -) { - return ApolloReactHooks.useLazyQuery< - FindScenesByPathRegexQuery, - FindScenesByPathRegexQueryVariables - >(FindScenesByPathRegexDocument, baseOptions); -} -export type FindScenesByPathRegexQueryHookResult = ReturnType< - typeof useFindScenesByPathRegexQuery ->; -export type FindScenesByPathRegexLazyQueryHookResult = ReturnType< - typeof useFindScenesByPathRegexLazyQuery ->; -export type FindScenesByPathRegexQueryResult = ApolloReactCommon.QueryResult< - FindScenesByPathRegexQuery, - FindScenesByPathRegexQueryVariables ->; +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 + query FindScene($id: ID!, $checksum: String) { + findScene(id: $id, checksum: $checksum) { + ...SceneData + } + sceneMarkerTags(scene_id: $id) { + tag { + id + name } - sceneMarkerTags(scene_id: $id) { - tag { - id - name - } - scene_markers { - ...SceneMarkerData - } + scene_markers { + ...SceneMarkerData } } - ${SceneDataFragmentDoc} - ${SceneMarkerDataFragmentDoc} -`; -export type FindSceneComponentProps = Omit< - ApolloReactComponents.QueryComponentOptions< - FindSceneQuery, - FindSceneQueryVariables - >, - "query" -> & - ({ variables: FindSceneQueryVariables; skip?: boolean } | { skip: boolean }); +} + ${SceneDataFragmentDoc} +${SceneMarkerDataFragmentDoc}`; +export type FindSceneComponentProps = Omit, 'query'> & ({ variables: FindSceneQueryVariables; skip?: boolean; } | { skip: boolean; }); -export const FindSceneComponent = (props: FindSceneComponentProps) => ( - - query={FindSceneDocument} - {...props} - /> -); + 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 + * 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; @@ -5329,90 +4072,48 @@ export const FindSceneComponent = (props: FindSceneComponentProps) => ( * }, * }); */ -export function useFindSceneQuery( - baseOptions?: ApolloReactHooks.QueryHookOptions< - FindSceneQuery, - FindSceneQueryVariables - > -) { - return ApolloReactHooks.useQuery( - FindSceneDocument, - baseOptions - ); -} -export function useFindSceneLazyQuery( - baseOptions?: ApolloReactHooks.LazyQueryHookOptions< - FindSceneQuery, - FindSceneQueryVariables - > -) { - return ApolloReactHooks.useLazyQuery( - FindSceneDocument, - baseOptions - ); -} -export type FindSceneQueryHookResult = ReturnType; -export type FindSceneLazyQueryHookResult = ReturnType< - typeof useFindSceneLazyQuery ->; -export type FindSceneQueryResult = ApolloReactCommon.QueryResult< - FindSceneQuery, - FindSceneQueryVariables ->; -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 +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< - ApolloReactComponents.QueryComponentOptions< - ParseSceneFilenamesQuery, - ParseSceneFilenamesQueryVariables - >, - "query" -> & - ( - | { variables: ParseSceneFilenamesQueryVariables; skip?: boolean } - | { skip: boolean } - ); +} + ${SlimSceneDataFragmentDoc}`; +export type ParseSceneFilenamesComponentProps = Omit, 'query'> & ({ variables: ParseSceneFilenamesQueryVariables; skip?: boolean; } | { skip: boolean; }); -export const ParseSceneFilenamesComponent = ( - props: ParseSceneFilenamesComponentProps -) => ( - - query={ParseSceneFilenamesDocument} - {...props} - /> -); + 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 + * 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; @@ -5425,88 +4126,48 @@ export const ParseSceneFilenamesComponent = ( * }, * }); */ -export function useParseSceneFilenamesQuery( - baseOptions?: ApolloReactHooks.QueryHookOptions< - ParseSceneFilenamesQuery, - ParseSceneFilenamesQueryVariables - > -) { - return ApolloReactHooks.useQuery< - ParseSceneFilenamesQuery, - ParseSceneFilenamesQueryVariables - >(ParseSceneFilenamesDocument, baseOptions); -} -export function useParseSceneFilenamesLazyQuery( - baseOptions?: ApolloReactHooks.LazyQueryHookOptions< - ParseSceneFilenamesQuery, - ParseSceneFilenamesQueryVariables - > -) { - return ApolloReactHooks.useLazyQuery< - ParseSceneFilenamesQuery, - ParseSceneFilenamesQueryVariables - >(ParseSceneFilenamesDocument, baseOptions); -} -export type ParseSceneFilenamesQueryHookResult = ReturnType< - typeof useParseSceneFilenamesQuery ->; -export type ParseSceneFilenamesLazyQueryHookResult = ReturnType< - typeof useParseSceneFilenamesLazyQuery ->; -export type ParseSceneFilenamesQueryResult = ApolloReactCommon.QueryResult< - ParseSceneFilenamesQuery, - ParseSceneFilenamesQueryVariables ->; +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 - } + 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< - ApolloReactComponents.QueryComponentOptions< - ScrapeFreeonesQuery, - ScrapeFreeonesQueryVariables - >, - "query" -> & - ( - | { variables: ScrapeFreeonesQueryVariables; skip?: boolean } - | { skip: boolean } - ); +} + `; +export type ScrapeFreeonesComponentProps = Omit, 'query'> & ({ variables: ScrapeFreeonesQueryVariables; skip?: boolean; } | { skip: boolean; }); -export const ScrapeFreeonesComponent = ( - props: ScrapeFreeonesComponentProps -) => ( - - query={ScrapeFreeonesDocument} - {...props} - /> -); + 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 + * 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; @@ -5518,72 +4179,32 @@ export const ScrapeFreeonesComponent = ( * }, * }); */ -export function useScrapeFreeonesQuery( - baseOptions?: ApolloReactHooks.QueryHookOptions< - ScrapeFreeonesQuery, - ScrapeFreeonesQueryVariables - > -) { - return ApolloReactHooks.useQuery< - ScrapeFreeonesQuery, - ScrapeFreeonesQueryVariables - >(ScrapeFreeonesDocument, baseOptions); -} -export function useScrapeFreeonesLazyQuery( - baseOptions?: ApolloReactHooks.LazyQueryHookOptions< - ScrapeFreeonesQuery, - ScrapeFreeonesQueryVariables - > -) { - return ApolloReactHooks.useLazyQuery< - ScrapeFreeonesQuery, - ScrapeFreeonesQueryVariables - >(ScrapeFreeonesDocument, baseOptions); -} -export type ScrapeFreeonesQueryHookResult = ReturnType< - typeof useScrapeFreeonesQuery ->; -export type ScrapeFreeonesLazyQueryHookResult = ReturnType< - typeof useScrapeFreeonesLazyQuery ->; -export type ScrapeFreeonesQueryResult = ApolloReactCommon.QueryResult< - ScrapeFreeonesQuery, - ScrapeFreeonesQueryVariables ->; +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< - ApolloReactComponents.QueryComponentOptions< - ScrapeFreeonesPerformersQuery, - ScrapeFreeonesPerformersQueryVariables - >, - "query" -> & - ( - | { variables: ScrapeFreeonesPerformersQueryVariables; skip?: boolean } - | { skip: boolean } - ); + 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} - /> -); + 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 + * 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; @@ -5595,75 +4216,39 @@ export const ScrapeFreeonesPerformersComponent = ( * }, * }); */ -export function useScrapeFreeonesPerformersQuery( - baseOptions?: ApolloReactHooks.QueryHookOptions< - ScrapeFreeonesPerformersQuery, - ScrapeFreeonesPerformersQueryVariables - > -) { - return ApolloReactHooks.useQuery< - ScrapeFreeonesPerformersQuery, - ScrapeFreeonesPerformersQueryVariables - >(ScrapeFreeonesPerformersDocument, baseOptions); -} -export function useScrapeFreeonesPerformersLazyQuery( - baseOptions?: ApolloReactHooks.LazyQueryHookOptions< - ScrapeFreeonesPerformersQuery, - ScrapeFreeonesPerformersQueryVariables - > -) { - return ApolloReactHooks.useLazyQuery< - ScrapeFreeonesPerformersQuery, - ScrapeFreeonesPerformersQueryVariables - >(ScrapeFreeonesPerformersDocument, baseOptions); -} -export type ScrapeFreeonesPerformersQueryHookResult = ReturnType< - typeof useScrapeFreeonesPerformersQuery ->; -export type ScrapeFreeonesPerformersLazyQueryHookResult = ReturnType< - typeof useScrapeFreeonesPerformersLazyQuery ->; -export type ScrapeFreeonesPerformersQueryResult = ApolloReactCommon.QueryResult< - ScrapeFreeonesPerformersQuery, - ScrapeFreeonesPerformersQueryVariables ->; -export const ListPerformerScrapersDocument = gql` - query ListPerformerScrapers { - listPerformerScrapers { - id - name - performer { - urls - supported_scrapes +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< - ApolloReactComponents.QueryComponentOptions< - ListPerformerScrapersQuery, - ListPerformerScrapersQueryVariables - >, - "query" ->; +} + `; +export type ListPerformerScrapersComponentProps = Omit, 'query'>; -export const ListPerformerScrapersComponent = ( - props: ListPerformerScrapersComponentProps -) => ( - - query={ListPerformerScrapersDocument} - {...props} - /> -); + 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 + * 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; @@ -5674,75 +4259,39 @@ export const ListPerformerScrapersComponent = ( * }, * }); */ -export function useListPerformerScrapersQuery( - baseOptions?: ApolloReactHooks.QueryHookOptions< - ListPerformerScrapersQuery, - ListPerformerScrapersQueryVariables - > -) { - return ApolloReactHooks.useQuery< - ListPerformerScrapersQuery, - ListPerformerScrapersQueryVariables - >(ListPerformerScrapersDocument, baseOptions); -} -export function useListPerformerScrapersLazyQuery( - baseOptions?: ApolloReactHooks.LazyQueryHookOptions< - ListPerformerScrapersQuery, - ListPerformerScrapersQueryVariables - > -) { - return ApolloReactHooks.useLazyQuery< - ListPerformerScrapersQuery, - ListPerformerScrapersQueryVariables - >(ListPerformerScrapersDocument, baseOptions); -} -export type ListPerformerScrapersQueryHookResult = ReturnType< - typeof useListPerformerScrapersQuery ->; -export type ListPerformerScrapersLazyQueryHookResult = ReturnType< - typeof useListPerformerScrapersLazyQuery ->; -export type ListPerformerScrapersQueryResult = ApolloReactCommon.QueryResult< - ListPerformerScrapersQuery, - ListPerformerScrapersQueryVariables ->; -export const ListSceneScrapersDocument = gql` - query ListSceneScrapers { - listSceneScrapers { - id - name - scene { - urls - supported_scrapes +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< - ApolloReactComponents.QueryComponentOptions< - ListSceneScrapersQuery, - ListSceneScrapersQueryVariables - >, - "query" ->; +} + `; +export type ListSceneScrapersComponentProps = Omit, 'query'>; -export const ListSceneScrapersComponent = ( - props: ListSceneScrapersComponentProps -) => ( - - query={ListSceneScrapersDocument} - {...props} - /> -); + 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 + * 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; @@ -5753,75 +4302,34 @@ export const ListSceneScrapersComponent = ( * }, * }); */ -export function useListSceneScrapersQuery( - baseOptions?: ApolloReactHooks.QueryHookOptions< - ListSceneScrapersQuery, - ListSceneScrapersQueryVariables - > -) { - return ApolloReactHooks.useQuery< - ListSceneScrapersQuery, - ListSceneScrapersQueryVariables - >(ListSceneScrapersDocument, baseOptions); -} -export function useListSceneScrapersLazyQuery( - baseOptions?: ApolloReactHooks.LazyQueryHookOptions< - ListSceneScrapersQuery, - ListSceneScrapersQueryVariables - > -) { - return ApolloReactHooks.useLazyQuery< - ListSceneScrapersQuery, - ListSceneScrapersQueryVariables - >(ListSceneScrapersDocument, baseOptions); -} -export type ListSceneScrapersQueryHookResult = ReturnType< - typeof useListSceneScrapersQuery ->; -export type ListSceneScrapersLazyQueryHookResult = ReturnType< - typeof useListSceneScrapersLazyQuery ->; -export type ListSceneScrapersQueryResult = ApolloReactCommon.QueryResult< - ListSceneScrapersQuery, - ListSceneScrapersQueryVariables ->; +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 - } + query ScrapePerformerList($scraper_id: ID!, $query: String!) { + scrapePerformerList(scraper_id: $scraper_id, query: $query) { + ...ScrapedPerformerData } - ${ScrapedPerformerDataFragmentDoc} -`; -export type ScrapePerformerListComponentProps = Omit< - ApolloReactComponents.QueryComponentOptions< - ScrapePerformerListQuery, - ScrapePerformerListQueryVariables - >, - "query" -> & - ( - | { variables: ScrapePerformerListQueryVariables; skip?: boolean } - | { skip: boolean } - ); +} + ${ScrapedPerformerDataFragmentDoc}`; +export type ScrapePerformerListComponentProps = Omit, 'query'> & ({ variables: ScrapePerformerListQueryVariables; skip?: boolean; } | { skip: boolean; }); -export const ScrapePerformerListComponent = ( - props: ScrapePerformerListComponentProps -) => ( - - query={ScrapePerformerListDocument} - {...props} - /> -); + 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 + * 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; @@ -5834,81 +4342,34 @@ export const ScrapePerformerListComponent = ( * }, * }); */ -export function useScrapePerformerListQuery( - baseOptions?: ApolloReactHooks.QueryHookOptions< - ScrapePerformerListQuery, - ScrapePerformerListQueryVariables - > -) { - return ApolloReactHooks.useQuery< - ScrapePerformerListQuery, - ScrapePerformerListQueryVariables - >(ScrapePerformerListDocument, baseOptions); -} -export function useScrapePerformerListLazyQuery( - baseOptions?: ApolloReactHooks.LazyQueryHookOptions< - ScrapePerformerListQuery, - ScrapePerformerListQueryVariables - > -) { - return ApolloReactHooks.useLazyQuery< - ScrapePerformerListQuery, - ScrapePerformerListQueryVariables - >(ScrapePerformerListDocument, baseOptions); -} -export type ScrapePerformerListQueryHookResult = ReturnType< - typeof useScrapePerformerListQuery ->; -export type ScrapePerformerListLazyQueryHookResult = ReturnType< - typeof useScrapePerformerListLazyQuery ->; -export type ScrapePerformerListQueryResult = ApolloReactCommon.QueryResult< - ScrapePerformerListQuery, - ScrapePerformerListQueryVariables ->; +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 - } + query ScrapePerformer($scraper_id: ID!, $scraped_performer: ScrapedPerformerInput!) { + scrapePerformer(scraper_id: $scraper_id, scraped_performer: $scraped_performer) { + ...ScrapedPerformerData } - ${ScrapedPerformerDataFragmentDoc} -`; -export type ScrapePerformerComponentProps = Omit< - ApolloReactComponents.QueryComponentOptions< - ScrapePerformerQuery, - ScrapePerformerQueryVariables - >, - "query" -> & - ( - | { variables: ScrapePerformerQueryVariables; skip?: boolean } - | { skip: boolean } - ); +} + ${ScrapedPerformerDataFragmentDoc}`; +export type ScrapePerformerComponentProps = Omit, 'query'> & ({ variables: ScrapePerformerQueryVariables; skip?: boolean; } | { skip: boolean; }); -export const ScrapePerformerComponent = ( - props: ScrapePerformerComponentProps -) => ( - - query={ScrapePerformerDocument} - {...props} - /> -); + 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 + * 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; @@ -5921,75 +4382,34 @@ export const ScrapePerformerComponent = ( * }, * }); */ -export function useScrapePerformerQuery( - baseOptions?: ApolloReactHooks.QueryHookOptions< - ScrapePerformerQuery, - ScrapePerformerQueryVariables - > -) { - return ApolloReactHooks.useQuery< - ScrapePerformerQuery, - ScrapePerformerQueryVariables - >(ScrapePerformerDocument, baseOptions); -} -export function useScrapePerformerLazyQuery( - baseOptions?: ApolloReactHooks.LazyQueryHookOptions< - ScrapePerformerQuery, - ScrapePerformerQueryVariables - > -) { - return ApolloReactHooks.useLazyQuery< - ScrapePerformerQuery, - ScrapePerformerQueryVariables - >(ScrapePerformerDocument, baseOptions); -} -export type ScrapePerformerQueryHookResult = ReturnType< - typeof useScrapePerformerQuery ->; -export type ScrapePerformerLazyQueryHookResult = ReturnType< - typeof useScrapePerformerLazyQuery ->; -export type ScrapePerformerQueryResult = ApolloReactCommon.QueryResult< - ScrapePerformerQuery, - ScrapePerformerQueryVariables ->; +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 - } + query ScrapePerformerURL($url: String!) { + scrapePerformerURL(url: $url) { + ...ScrapedPerformerData } - ${ScrapedPerformerDataFragmentDoc} -`; -export type ScrapePerformerUrlComponentProps = Omit< - ApolloReactComponents.QueryComponentOptions< - ScrapePerformerUrlQuery, - ScrapePerformerUrlQueryVariables - >, - "query" -> & - ( - | { variables: ScrapePerformerUrlQueryVariables; skip?: boolean } - | { skip: boolean } - ); +} + ${ScrapedPerformerDataFragmentDoc}`; +export type ScrapePerformerUrlComponentProps = Omit, 'query'> & ({ variables: ScrapePerformerUrlQueryVariables; skip?: boolean; } | { skip: boolean; }); -export const ScrapePerformerUrlComponent = ( - props: ScrapePerformerUrlComponentProps -) => ( - - query={ScrapePerformerUrlDocument} - {...props} - /> -); + 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 + * 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; @@ -6001,70 +4421,34 @@ export const ScrapePerformerUrlComponent = ( * }, * }); */ -export function useScrapePerformerUrlQuery( - baseOptions?: ApolloReactHooks.QueryHookOptions< - ScrapePerformerUrlQuery, - ScrapePerformerUrlQueryVariables - > -) { - return ApolloReactHooks.useQuery< - ScrapePerformerUrlQuery, - ScrapePerformerUrlQueryVariables - >(ScrapePerformerUrlDocument, baseOptions); -} -export function useScrapePerformerUrlLazyQuery( - baseOptions?: ApolloReactHooks.LazyQueryHookOptions< - ScrapePerformerUrlQuery, - ScrapePerformerUrlQueryVariables - > -) { - return ApolloReactHooks.useLazyQuery< - ScrapePerformerUrlQuery, - ScrapePerformerUrlQueryVariables - >(ScrapePerformerUrlDocument, baseOptions); -} -export type ScrapePerformerUrlQueryHookResult = ReturnType< - typeof useScrapePerformerUrlQuery ->; -export type ScrapePerformerUrlLazyQueryHookResult = ReturnType< - typeof useScrapePerformerUrlLazyQuery ->; -export type ScrapePerformerUrlQueryResult = ApolloReactCommon.QueryResult< - ScrapePerformerUrlQuery, - ScrapePerformerUrlQueryVariables ->; +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 - } + query ScrapeScene($scraper_id: ID!, $scene: SceneUpdateInput!) { + scrapeScene(scraper_id: $scraper_id, scene: $scene) { + ...ScrapedSceneData } - ${ScrapedSceneDataFragmentDoc} -`; -export type ScrapeSceneComponentProps = Omit< - ApolloReactComponents.QueryComponentOptions< - ScrapeSceneQuery, - ScrapeSceneQueryVariables - >, - "query" -> & - ( - | { variables: ScrapeSceneQueryVariables; skip?: boolean } - | { skip: boolean } - ); +} + ${ScrapedSceneDataFragmentDoc}`; +export type ScrapeSceneComponentProps = Omit, 'query'> & ({ variables: ScrapeSceneQueryVariables; skip?: boolean; } | { skip: boolean; }); -export const ScrapeSceneComponent = (props: ScrapeSceneComponentProps) => ( - - query={ScrapeSceneDocument} - {...props} - /> -); + 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 + * 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; @@ -6077,73 +4461,34 @@ export const ScrapeSceneComponent = (props: ScrapeSceneComponentProps) => ( * }, * }); */ -export function useScrapeSceneQuery( - baseOptions?: ApolloReactHooks.QueryHookOptions< - ScrapeSceneQuery, - ScrapeSceneQueryVariables - > -) { - return ApolloReactHooks.useQuery( - ScrapeSceneDocument, - baseOptions - ); -} -export function useScrapeSceneLazyQuery( - baseOptions?: ApolloReactHooks.LazyQueryHookOptions< - ScrapeSceneQuery, - ScrapeSceneQueryVariables - > -) { - return ApolloReactHooks.useLazyQuery< - ScrapeSceneQuery, - ScrapeSceneQueryVariables - >(ScrapeSceneDocument, baseOptions); -} +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< - typeof useScrapeSceneLazyQuery ->; -export type ScrapeSceneQueryResult = ApolloReactCommon.QueryResult< - ScrapeSceneQuery, - ScrapeSceneQueryVariables ->; +export type ScrapeSceneLazyQueryHookResult = ReturnType; +export type ScrapeSceneQueryResult = ApolloReactCommon.QueryResult; export const ScrapeSceneUrlDocument = gql` - query ScrapeSceneURL($url: String!) { - scrapeSceneURL(url: $url) { - ...ScrapedSceneData - } + query ScrapeSceneURL($url: String!) { + scrapeSceneURL(url: $url) { + ...ScrapedSceneData } - ${ScrapedSceneDataFragmentDoc} -`; -export type ScrapeSceneUrlComponentProps = Omit< - ApolloReactComponents.QueryComponentOptions< - ScrapeSceneUrlQuery, - ScrapeSceneUrlQueryVariables - >, - "query" -> & - ( - | { variables: ScrapeSceneUrlQueryVariables; skip?: boolean } - | { skip: boolean } - ); +} + ${ScrapedSceneDataFragmentDoc}`; +export type ScrapeSceneUrlComponentProps = Omit, 'query'> & ({ variables: ScrapeSceneUrlQueryVariables; skip?: boolean; } | { skip: boolean; }); -export const ScrapeSceneUrlComponent = ( - props: ScrapeSceneUrlComponentProps -) => ( - - query={ScrapeSceneUrlDocument} - {...props} - /> -); + 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 + * 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; @@ -6155,66 +4500,34 @@ export const ScrapeSceneUrlComponent = ( * }, * }); */ -export function useScrapeSceneUrlQuery( - baseOptions?: ApolloReactHooks.QueryHookOptions< - ScrapeSceneUrlQuery, - ScrapeSceneUrlQueryVariables - > -) { - return ApolloReactHooks.useQuery< - ScrapeSceneUrlQuery, - ScrapeSceneUrlQueryVariables - >(ScrapeSceneUrlDocument, baseOptions); -} -export function useScrapeSceneUrlLazyQuery( - baseOptions?: ApolloReactHooks.LazyQueryHookOptions< - ScrapeSceneUrlQuery, - ScrapeSceneUrlQueryVariables - > -) { - return ApolloReactHooks.useLazyQuery< - ScrapeSceneUrlQuery, - ScrapeSceneUrlQueryVariables - >(ScrapeSceneUrlDocument, baseOptions); -} -export type ScrapeSceneUrlQueryHookResult = ReturnType< - typeof useScrapeSceneUrlQuery ->; -export type ScrapeSceneUrlLazyQueryHookResult = ReturnType< - typeof useScrapeSceneUrlLazyQuery ->; -export type ScrapeSceneUrlQueryResult = ApolloReactCommon.QueryResult< - ScrapeSceneUrlQuery, - ScrapeSceneUrlQueryVariables ->; +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 - } + query Configuration { + configuration { + ...ConfigData } - ${ConfigDataFragmentDoc} -`; -export type ConfigurationComponentProps = Omit< - ApolloReactComponents.QueryComponentOptions< - ConfigurationQuery, - ConfigurationQueryVariables - >, - "query" ->; +} + ${ConfigDataFragmentDoc}`; +export type ConfigurationComponentProps = Omit, 'query'>; -export const ConfigurationComponent = (props: ConfigurationComponentProps) => ( - - query={ConfigurationDocument} - {...props} - /> -); + 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 + * 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; @@ -6225,63 +4538,32 @@ export const ConfigurationComponent = (props: ConfigurationComponentProps) => ( * }, * }); */ -export function useConfigurationQuery( - baseOptions?: ApolloReactHooks.QueryHookOptions< - ConfigurationQuery, - ConfigurationQueryVariables - > -) { - return ApolloReactHooks.useQuery< - ConfigurationQuery, - ConfigurationQueryVariables - >(ConfigurationDocument, baseOptions); -} -export function useConfigurationLazyQuery( - baseOptions?: ApolloReactHooks.LazyQueryHookOptions< - ConfigurationQuery, - ConfigurationQueryVariables - > -) { - return ApolloReactHooks.useLazyQuery< - ConfigurationQuery, - ConfigurationQueryVariables - >(ConfigurationDocument, baseOptions); -} -export type ConfigurationQueryHookResult = ReturnType< - typeof useConfigurationQuery ->; -export type ConfigurationLazyQueryHookResult = ReturnType< - typeof useConfigurationLazyQuery ->; -export type ConfigurationQueryResult = ApolloReactCommon.QueryResult< - ConfigurationQuery, - ConfigurationQueryVariables ->; +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< - ApolloReactComponents.QueryComponentOptions< - DirectoriesQuery, - DirectoriesQueryVariables - >, - "query" ->; + query Directories($path: String) { + directories(path: $path) +} + `; +export type DirectoriesComponentProps = Omit, 'query'>; -export const DirectoriesComponent = (props: DirectoriesComponentProps) => ( - - query={DirectoriesDocument} - {...props} - /> -); + 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 + * 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; @@ -6293,66 +4575,32 @@ export const DirectoriesComponent = (props: DirectoriesComponentProps) => ( * }, * }); */ -export function useDirectoriesQuery( - baseOptions?: ApolloReactHooks.QueryHookOptions< - DirectoriesQuery, - DirectoriesQueryVariables - > -) { - return ApolloReactHooks.useQuery( - DirectoriesDocument, - baseOptions - ); -} -export function useDirectoriesLazyQuery( - baseOptions?: ApolloReactHooks.LazyQueryHookOptions< - DirectoriesQuery, - DirectoriesQueryVariables - > -) { - return ApolloReactHooks.useLazyQuery< - DirectoriesQuery, - DirectoriesQueryVariables - >(DirectoriesDocument, baseOptions); -} +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< - typeof useDirectoriesLazyQuery ->; -export type DirectoriesQueryResult = ApolloReactCommon.QueryResult< - DirectoriesQuery, - DirectoriesQueryVariables ->; +export type DirectoriesLazyQueryHookResult = ReturnType; +export type DirectoriesQueryResult = ApolloReactCommon.QueryResult; export const MetadataImportDocument = gql` - query MetadataImport { - metadataImport - } -`; -export type MetadataImportComponentProps = Omit< - ApolloReactComponents.QueryComponentOptions< - MetadataImportQuery, - MetadataImportQueryVariables - >, - "query" ->; + query MetadataImport { + metadataImport +} + `; +export type MetadataImportComponentProps = Omit, 'query'>; -export const MetadataImportComponent = ( - props: MetadataImportComponentProps -) => ( - - query={MetadataImportDocument} - {...props} - /> -); + 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 + * 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; @@ -6363,68 +4611,32 @@ export const MetadataImportComponent = ( * }, * }); */ -export function useMetadataImportQuery( - baseOptions?: ApolloReactHooks.QueryHookOptions< - MetadataImportQuery, - MetadataImportQueryVariables - > -) { - return ApolloReactHooks.useQuery< - MetadataImportQuery, - MetadataImportQueryVariables - >(MetadataImportDocument, baseOptions); -} -export function useMetadataImportLazyQuery( - baseOptions?: ApolloReactHooks.LazyQueryHookOptions< - MetadataImportQuery, - MetadataImportQueryVariables - > -) { - return ApolloReactHooks.useLazyQuery< - MetadataImportQuery, - MetadataImportQueryVariables - >(MetadataImportDocument, baseOptions); -} -export type MetadataImportQueryHookResult = ReturnType< - typeof useMetadataImportQuery ->; -export type MetadataImportLazyQueryHookResult = ReturnType< - typeof useMetadataImportLazyQuery ->; -export type MetadataImportQueryResult = ApolloReactCommon.QueryResult< - MetadataImportQuery, - MetadataImportQueryVariables ->; +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< - ApolloReactComponents.QueryComponentOptions< - MetadataExportQuery, - MetadataExportQueryVariables - >, - "query" ->; + query MetadataExport { + metadataExport +} + `; +export type MetadataExportComponentProps = Omit, 'query'>; -export const MetadataExportComponent = ( - props: MetadataExportComponentProps -) => ( - - query={MetadataExportDocument} - {...props} - /> -); + 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 + * 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; @@ -6435,67 +4647,32 @@ export const MetadataExportComponent = ( * }, * }); */ -export function useMetadataExportQuery( - baseOptions?: ApolloReactHooks.QueryHookOptions< - MetadataExportQuery, - MetadataExportQueryVariables - > -) { - return ApolloReactHooks.useQuery< - MetadataExportQuery, - MetadataExportQueryVariables - >(MetadataExportDocument, baseOptions); -} -export function useMetadataExportLazyQuery( - baseOptions?: ApolloReactHooks.LazyQueryHookOptions< - MetadataExportQuery, - MetadataExportQueryVariables - > -) { - return ApolloReactHooks.useLazyQuery< - MetadataExportQuery, - MetadataExportQueryVariables - >(MetadataExportDocument, baseOptions); -} -export type MetadataExportQueryHookResult = ReturnType< - typeof useMetadataExportQuery ->; -export type MetadataExportLazyQueryHookResult = ReturnType< - typeof useMetadataExportLazyQuery ->; -export type MetadataExportQueryResult = ApolloReactCommon.QueryResult< - MetadataExportQuery, - MetadataExportQueryVariables ->; +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< - ApolloReactComponents.QueryComponentOptions< - MetadataScanQuery, - MetadataScanQueryVariables - >, - "query" -> & - ( - | { variables: MetadataScanQueryVariables; skip?: boolean } - | { skip: boolean } - ); + 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} - /> -); + 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 + * 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; @@ -6507,72 +4684,32 @@ export const MetadataScanComponent = (props: MetadataScanComponentProps) => ( * }, * }); */ -export function useMetadataScanQuery( - baseOptions?: ApolloReactHooks.QueryHookOptions< - MetadataScanQuery, - MetadataScanQueryVariables - > -) { - return ApolloReactHooks.useQuery< - MetadataScanQuery, - MetadataScanQueryVariables - >(MetadataScanDocument, baseOptions); -} -export function useMetadataScanLazyQuery( - baseOptions?: ApolloReactHooks.LazyQueryHookOptions< - MetadataScanQuery, - MetadataScanQueryVariables - > -) { - return ApolloReactHooks.useLazyQuery< - MetadataScanQuery, - MetadataScanQueryVariables - >(MetadataScanDocument, baseOptions); -} -export type MetadataScanQueryHookResult = ReturnType< - typeof useMetadataScanQuery ->; -export type MetadataScanLazyQueryHookResult = ReturnType< - typeof useMetadataScanLazyQuery ->; -export type MetadataScanQueryResult = ApolloReactCommon.QueryResult< - MetadataScanQuery, - MetadataScanQueryVariables ->; +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< - ApolloReactComponents.QueryComponentOptions< - MetadataGenerateQuery, - MetadataGenerateQueryVariables - >, - "query" -> & - ( - | { variables: MetadataGenerateQueryVariables; skip?: boolean } - | { skip: boolean } - ); + 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} - /> -); + 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 + * 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; @@ -6584,72 +4721,32 @@ export const MetadataGenerateComponent = ( * }, * }); */ -export function useMetadataGenerateQuery( - baseOptions?: ApolloReactHooks.QueryHookOptions< - MetadataGenerateQuery, - MetadataGenerateQueryVariables - > -) { - return ApolloReactHooks.useQuery< - MetadataGenerateQuery, - MetadataGenerateQueryVariables - >(MetadataGenerateDocument, baseOptions); -} -export function useMetadataGenerateLazyQuery( - baseOptions?: ApolloReactHooks.LazyQueryHookOptions< - MetadataGenerateQuery, - MetadataGenerateQueryVariables - > -) { - return ApolloReactHooks.useLazyQuery< - MetadataGenerateQuery, - MetadataGenerateQueryVariables - >(MetadataGenerateDocument, baseOptions); -} -export type MetadataGenerateQueryHookResult = ReturnType< - typeof useMetadataGenerateQuery ->; -export type MetadataGenerateLazyQueryHookResult = ReturnType< - typeof useMetadataGenerateLazyQuery ->; -export type MetadataGenerateQueryResult = ApolloReactCommon.QueryResult< - MetadataGenerateQuery, - MetadataGenerateQueryVariables ->; +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< - ApolloReactComponents.QueryComponentOptions< - MetadataAutoTagQuery, - MetadataAutoTagQueryVariables - >, - "query" -> & - ( - | { variables: MetadataAutoTagQueryVariables; skip?: boolean } - | { skip: boolean } - ); + 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} - /> -); + 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 + * 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; @@ -6661,63 +4758,32 @@ export const MetadataAutoTagComponent = ( * }, * }); */ -export function useMetadataAutoTagQuery( - baseOptions?: ApolloReactHooks.QueryHookOptions< - MetadataAutoTagQuery, - MetadataAutoTagQueryVariables - > -) { - return ApolloReactHooks.useQuery< - MetadataAutoTagQuery, - MetadataAutoTagQueryVariables - >(MetadataAutoTagDocument, baseOptions); -} -export function useMetadataAutoTagLazyQuery( - baseOptions?: ApolloReactHooks.LazyQueryHookOptions< - MetadataAutoTagQuery, - MetadataAutoTagQueryVariables - > -) { - return ApolloReactHooks.useLazyQuery< - MetadataAutoTagQuery, - MetadataAutoTagQueryVariables - >(MetadataAutoTagDocument, baseOptions); -} -export type MetadataAutoTagQueryHookResult = ReturnType< - typeof useMetadataAutoTagQuery ->; -export type MetadataAutoTagLazyQueryHookResult = ReturnType< - typeof useMetadataAutoTagLazyQuery ->; -export type MetadataAutoTagQueryResult = ApolloReactCommon.QueryResult< - MetadataAutoTagQuery, - MetadataAutoTagQueryVariables ->; +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< - ApolloReactComponents.QueryComponentOptions< - MetadataCleanQuery, - MetadataCleanQueryVariables - >, - "query" ->; + query MetadataClean { + metadataClean +} + `; +export type MetadataCleanComponentProps = Omit, 'query'>; -export const MetadataCleanComponent = (props: MetadataCleanComponentProps) => ( - - query={MetadataCleanDocument} - {...props} - /> -); + 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 + * 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; @@ -6728,67 +4794,36 @@ export const MetadataCleanComponent = (props: MetadataCleanComponentProps) => ( * }, * }); */ -export function useMetadataCleanQuery( - baseOptions?: ApolloReactHooks.QueryHookOptions< - MetadataCleanQuery, - MetadataCleanQueryVariables - > -) { - return ApolloReactHooks.useQuery< - MetadataCleanQuery, - MetadataCleanQueryVariables - >(MetadataCleanDocument, baseOptions); -} -export function useMetadataCleanLazyQuery( - baseOptions?: ApolloReactHooks.LazyQueryHookOptions< - MetadataCleanQuery, - MetadataCleanQueryVariables - > -) { - return ApolloReactHooks.useLazyQuery< - MetadataCleanQuery, - MetadataCleanQueryVariables - >(MetadataCleanDocument, baseOptions); -} -export type MetadataCleanQueryHookResult = ReturnType< - typeof useMetadataCleanQuery ->; -export type MetadataCleanLazyQueryHookResult = ReturnType< - typeof useMetadataCleanLazyQuery ->; -export type MetadataCleanQueryResult = ApolloReactCommon.QueryResult< - MetadataCleanQuery, - MetadataCleanQueryVariables ->; +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 - } + query JobStatus { + jobStatus { + progress + status + message } -`; -export type JobStatusComponentProps = Omit< - ApolloReactComponents.QueryComponentOptions< - JobStatusQuery, - JobStatusQueryVariables - >, - "query" ->; +} + `; +export type JobStatusComponentProps = Omit, 'query'>; -export const JobStatusComponent = (props: JobStatusComponentProps) => ( - - query={JobStatusDocument} - {...props} - /> -); + 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 + * 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; @@ -6799,61 +4834,32 @@ export const JobStatusComponent = (props: JobStatusComponentProps) => ( * }, * }); */ -export function useJobStatusQuery( - baseOptions?: ApolloReactHooks.QueryHookOptions< - JobStatusQuery, - JobStatusQueryVariables - > -) { - return ApolloReactHooks.useQuery( - JobStatusDocument, - baseOptions - ); -} -export function useJobStatusLazyQuery( - baseOptions?: ApolloReactHooks.LazyQueryHookOptions< - JobStatusQuery, - JobStatusQueryVariables - > -) { - return ApolloReactHooks.useLazyQuery( - JobStatusDocument, - baseOptions - ); -} +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< - typeof useJobStatusLazyQuery ->; -export type JobStatusQueryResult = ApolloReactCommon.QueryResult< - JobStatusQuery, - JobStatusQueryVariables ->; +export type JobStatusLazyQueryHookResult = ReturnType; +export type JobStatusQueryResult = ApolloReactCommon.QueryResult; export const StopJobDocument = gql` - query StopJob { - stopJob - } -`; -export type StopJobComponentProps = Omit< - ApolloReactComponents.QueryComponentOptions< - StopJobQuery, - StopJobQueryVariables - >, - "query" ->; + query StopJob { + stopJob +} + `; +export type StopJobComponentProps = Omit, 'query'>; -export const StopJobComponent = (props: StopJobComponentProps) => ( - - query={StopJobDocument} - {...props} - /> -); + 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 + * 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; @@ -6864,65 +4870,37 @@ export const StopJobComponent = (props: StopJobComponentProps) => ( * }, * }); */ -export function useStopJobQuery( - baseOptions?: ApolloReactHooks.QueryHookOptions< - StopJobQuery, - StopJobQueryVariables - > -) { - return ApolloReactHooks.useQuery( - StopJobDocument, - baseOptions - ); -} -export function useStopJobLazyQuery( - baseOptions?: ApolloReactHooks.LazyQueryHookOptions< - StopJobQuery, - StopJobQueryVariables - > -) { - return ApolloReactHooks.useLazyQuery( - StopJobDocument, - baseOptions - ); -} +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< - StopJobQuery, - StopJobQueryVariables ->; +export type StopJobQueryResult = ApolloReactCommon.QueryResult; export const FindStudiosDocument = gql` - query FindStudios($filter: FindFilterType) { - findStudios(filter: $filter) { - count - studios { - ...StudioData - } + query FindStudios($filter: FindFilterType) { + findStudios(filter: $filter) { + count + studios { + ...StudioData } } - ${StudioDataFragmentDoc} -`; -export type FindStudiosComponentProps = Omit< - ApolloReactComponents.QueryComponentOptions< - FindStudiosQuery, - FindStudiosQueryVariables - >, - "query" ->; +} + ${StudioDataFragmentDoc}`; +export type FindStudiosComponentProps = Omit, 'query'>; -export const FindStudiosComponent = (props: FindStudiosComponentProps) => ( - - query={FindStudiosDocument} - {...props} - /> -); + 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 + * 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; @@ -6934,65 +4912,34 @@ export const FindStudiosComponent = (props: FindStudiosComponentProps) => ( * }, * }); */ -export function useFindStudiosQuery( - baseOptions?: ApolloReactHooks.QueryHookOptions< - FindStudiosQuery, - FindStudiosQueryVariables - > -) { - return ApolloReactHooks.useQuery( - FindStudiosDocument, - baseOptions - ); -} -export function useFindStudiosLazyQuery( - baseOptions?: ApolloReactHooks.LazyQueryHookOptions< - FindStudiosQuery, - FindStudiosQueryVariables - > -) { - return ApolloReactHooks.useLazyQuery< - FindStudiosQuery, - FindStudiosQueryVariables - >(FindStudiosDocument, baseOptions); -} +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< - typeof useFindStudiosLazyQuery ->; -export type FindStudiosQueryResult = ApolloReactCommon.QueryResult< - FindStudiosQuery, - FindStudiosQueryVariables ->; +export type FindStudiosLazyQueryHookResult = ReturnType; +export type FindStudiosQueryResult = ApolloReactCommon.QueryResult; export const FindStudioDocument = gql` - query FindStudio($id: ID!) { - findStudio(id: $id) { - ...StudioData - } + query FindStudio($id: ID!) { + findStudio(id: $id) { + ...StudioData } - ${StudioDataFragmentDoc} -`; -export type FindStudioComponentProps = Omit< - ApolloReactComponents.QueryComponentOptions< - FindStudioQuery, - FindStudioQueryVariables - >, - "query" -> & - ({ variables: FindStudioQueryVariables; skip?: boolean } | { skip: boolean }); +} + ${StudioDataFragmentDoc}`; +export type FindStudioComponentProps = Omit, 'query'> & ({ variables: FindStudioQueryVariables; skip?: boolean; } | { skip: boolean; }); -export const FindStudioComponent = (props: FindStudioComponentProps) => ( - - query={FindStudioDocument} - {...props} - /> -); + 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 + * 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; @@ -7004,70 +4951,36 @@ export const FindStudioComponent = (props: FindStudioComponentProps) => ( * }, * }); */ -export function useFindStudioQuery( - baseOptions?: ApolloReactHooks.QueryHookOptions< - FindStudioQuery, - FindStudioQueryVariables - > -) { - return ApolloReactHooks.useQuery( - FindStudioDocument, - baseOptions - ); -} -export function useFindStudioLazyQuery( - baseOptions?: ApolloReactHooks.LazyQueryHookOptions< - FindStudioQuery, - FindStudioQueryVariables - > -) { - return ApolloReactHooks.useLazyQuery< - FindStudioQuery, - FindStudioQueryVariables - >(FindStudioDocument, baseOptions); -} +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< - typeof useFindStudioLazyQuery ->; -export type FindStudioQueryResult = ApolloReactCommon.QueryResult< - FindStudioQuery, - FindStudioQueryVariables ->; +export type FindStudioLazyQueryHookResult = ReturnType; +export type FindStudioQueryResult = ApolloReactCommon.QueryResult; export const MetadataUpdateDocument = gql` - subscription MetadataUpdate { - metadataUpdate { - progress - status - message - } + subscription MetadataUpdate { + metadataUpdate { + progress + status + message } -`; -export type MetadataUpdateComponentProps = Omit< - ApolloReactComponents.SubscriptionComponentOptions< - MetadataUpdateSubscription, - MetadataUpdateSubscriptionVariables - >, - "subscription" ->; +} + `; +export type MetadataUpdateComponentProps = Omit, 'subscription'>; -export const MetadataUpdateComponent = ( - props: MetadataUpdateComponentProps -) => ( - - subscription={MetadataUpdateDocument} - {...props} - /> -); + 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 + * 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; @@ -7078,56 +4991,30 @@ export const MetadataUpdateComponent = ( * }, * }); */ -export function useMetadataUpdateSubscription( - baseOptions?: ApolloReactHooks.SubscriptionHookOptions< - MetadataUpdateSubscription, - MetadataUpdateSubscriptionVariables - > -) { - return ApolloReactHooks.useSubscription< - MetadataUpdateSubscription, - MetadataUpdateSubscriptionVariables - >(MetadataUpdateDocument, baseOptions); -} -export type MetadataUpdateSubscriptionHookResult = ReturnType< - typeof useMetadataUpdateSubscription ->; -export type MetadataUpdateSubscriptionResult = ApolloReactCommon.SubscriptionResult< - MetadataUpdateSubscription ->; +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 - } + subscription LoggingSubscribe { + loggingSubscribe { + ...LogEntryData } - ${LogEntryDataFragmentDoc} -`; -export type LoggingSubscribeComponentProps = Omit< - ApolloReactComponents.SubscriptionComponentOptions< - LoggingSubscribeSubscription, - LoggingSubscribeSubscriptionVariables - >, - "subscription" ->; +} + ${LogEntryDataFragmentDoc}`; +export type LoggingSubscribeComponentProps = Omit, 'subscription'>; -export const LoggingSubscribeComponent = ( - props: LoggingSubscribeComponentProps -) => ( - - subscription={LoggingSubscribeDocument} - {...props} - /> -); + 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 + * 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; @@ -7138,20 +5025,8 @@ export const LoggingSubscribeComponent = ( * }, * }); */ -export function useLoggingSubscribeSubscription( - baseOptions?: ApolloReactHooks.SubscriptionHookOptions< - LoggingSubscribeSubscription, - LoggingSubscribeSubscriptionVariables - > -) { - return ApolloReactHooks.useSubscription< - LoggingSubscribeSubscription, - LoggingSubscribeSubscriptionVariables - >(LoggingSubscribeDocument, baseOptions); -} -export type LoggingSubscribeSubscriptionHookResult = ReturnType< - typeof useLoggingSubscribeSubscription ->; -export type LoggingSubscribeSubscriptionResult = ApolloReactCommon.SubscriptionResult< - LoggingSubscribeSubscription ->; +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 diff --git a/ui/v2.5/src/locale/.en.json.swp b/ui/v2.5/src/locale/.en.json.swp new file mode 100644 index 000000000..033b1d97f Binary files /dev/null and b/ui/v2.5/src/locale/.en.json.swp differ diff --git a/ui/v2.5/src/locale/de.json b/ui/v2.5/src/locale/de.json new file mode 100644 index 000000000..fd2ba591c --- /dev/null +++ b/ui/v2.5/src/locale/de.json @@ -0,0 +1,12 @@ +{ + "new": "Neu", + "tags": "Etiketten", + "scenes": "Szenen", + "studios": "Studios", + "galleries": "Galerien", + "performers": "Künstler", + "stats": { + "notes": "Anmerkungen", + "warning": "Dies ist noch eine frühe Version, einige Dinge sind noch in Arbeit." + } +} diff --git a/ui/v2.5/src/locale/en.json b/ui/v2.5/src/locale/en.json new file mode 100644 index 000000000..a3660e107 --- /dev/null +++ b/ui/v2.5/src/locale/en.json @@ -0,0 +1,13 @@ +{ + "new": "New", + "tags": "Tags", + "scenes": "Scenes", + "studios": "Studios", + "galleries": "Galleries", + "performers": "Performers", + "markers": "Markers", + "stats": { + "notes": "Notes", + "warning": "This is still an early version, some things are still a work in progress." + } +} diff --git a/ui/v2.5/src/locale/index.ts b/ui/v2.5/src/locale/index.ts new file mode 100644 index 000000000..0c39ee967 --- /dev/null +++ b/ui/v2.5/src/locale/index.ts @@ -0,0 +1,7 @@ +import en from './en.json'; +import de from './de.json'; + +export default { + en, + de +}; diff --git a/ui/v2.5/src/utils/flattenMessages.ts b/ui/v2.5/src/utils/flattenMessages.ts new file mode 100644 index 000000000..07b687f6f --- /dev/null +++ b/ui/v2.5/src/utils/flattenMessages.ts @@ -0,0 +1,19 @@ +const flattenMessages = ((nestedMessages:any, prefix = '') => { + if (nestedMessages === null) { + return {} + } + return Object.keys(nestedMessages).reduce((messages, key) => { + const value = nestedMessages[key] + const prefixedKey = prefix ? `${prefix}.${key}` : key + + if (typeof value === 'string') { + Object.assign(messages, { [prefixedKey]: value }) + } else { + Object.assign(messages, flattenMessages(value, prefixedKey)) + } + + return messages + }, {}) +}) + +export default flattenMessages; diff --git a/ui/v2.5/src/utils/index.ts b/ui/v2.5/src/utils/index.ts index 9bdca9ff2..83ff5ff8b 100644 --- a/ui/v2.5/src/utils/index.ts +++ b/ui/v2.5/src/utils/index.ts @@ -4,3 +4,4 @@ export { default as TableUtils } from "./table"; export { default as TextUtils } from "./text"; export { default as DurationUtils } from "./duration"; export { default as JWUtils } from "./jwplayer"; +export { default as flattenMessages } from "./flattenMessages"; diff --git a/ui/v2.5/tsconfig.json b/ui/v2.5/tsconfig.json index 949a2595f..b6ca3ba88 100644 --- a/ui/v2.5/tsconfig.json +++ b/ui/v2.5/tsconfig.json @@ -4,7 +4,10 @@ "lib": [ "dom", "dom.iterable", - "esnext" + "esnext", + "esnext.intl", + "es2017.intl", + "es2018.intl" ], "skipLibCheck": true, "esModuleInterop": true, diff --git a/ui/v2.5/yarn.lock b/ui/v2.5/yarn.lock index e3ca7c7fe..46a133d0d 100644 --- a/ui/v2.5/yarn.lock +++ b/ui/v2.5/yarn.lock @@ -119,7 +119,7 @@ invariant "^2.2.4" semver "^5.5.0" -"@babel/core@7.8.4", "@babel/core@>=7.2.2", "@babel/core@^7.1.0", "@babel/core@^7.4.5": +"@babel/core@7.8.4", "@babel/core@>=7.2.2", "@babel/core@^7.1.0", "@babel/core@^7.4.5", "@babel/core@^7.5.5", "@babel/core@^7.7.2": version "7.8.4" resolved "https://registry.yarnpkg.com/@babel/core/-/core-7.8.4.tgz#d496799e5c12195b3602d0fddd77294e3e38e80e" integrity sha512-0LiLrB2PwrVI+a2/IEskBopDYSd8BCb3rOvH7D5tzoWd696TBEduBvuLVm4Nx6rltrLZqvI3MCalB2K2aVzQjA== @@ -1282,6 +1282,44 @@ ts-node "^8" tslib "^1" +"@formatjs/intl-displaynames@^1.2.0": + version "1.2.0" + resolved "https://registry.yarnpkg.com/@formatjs/intl-displaynames/-/intl-displaynames-1.2.0.tgz#b89935e232a454d113c7a6684c01ae391682a46d" + integrity sha512-mUGI2sc6OABkrMj42HlOpK1h96EVrN+gOhzbyCTMH9SVH/gPPLr/zFRH3KFWtBwxqhYsDghvUwm8xkdFOK0kTg== + dependencies: + "@formatjs/intl-utils" "^2.2.0" + +"@formatjs/intl-listformat@^1.3.7": + version "1.4.1" + resolved "https://registry.yarnpkg.com/@formatjs/intl-listformat/-/intl-listformat-1.4.1.tgz#a467cc6857808f2eec78e5bdd0ae03b224e89d0c" + integrity sha512-AX0o1y5xXyMY4ebZOO+UujMcDhniYDs50KpwGzjUPV+bBILwRYqH/6IprZZG/V8YSOtetZlalZiwzJ50dH6PuQ== + dependencies: + "@formatjs/intl-utils" "^2.2.0" + +"@formatjs/intl-relativetimeformat@^4.5.7": + version "4.5.9" + resolved "https://registry.yarnpkg.com/@formatjs/intl-relativetimeformat/-/intl-relativetimeformat-4.5.9.tgz#d9b74724a7cbcb4edc9d751b2979195fab4d39cc" + integrity sha512-6rgPXQl5MrPPbCuNiHxolzO6xNCHphCVEWW6RWGy7t/Mek70gD7nq1erW8fbQJ0XL/UeAC0Cz/+ggh7vaSsKNA== + dependencies: + "@formatjs/intl-utils" "^2.2.0" + +"@formatjs/intl-unified-numberformat@^3.0.4", "@formatjs/intl-unified-numberformat@^3.2.0": + version "3.2.0" + resolved "https://registry.yarnpkg.com/@formatjs/intl-unified-numberformat/-/intl-unified-numberformat-3.2.0.tgz#5197987e61ba0972889105e525f1cbe6d91cf46f" + integrity sha512-SZMTV/tR0h7nYhS2x69S7zhHXaBmE0ZTR2OIiakt8W7uYWVgcRhu/LgUeVtGzpwPI2ChcOjNMtX/k6y1M9aDNA== + dependencies: + "@formatjs/intl-utils" "^2.2.0" + +"@formatjs/intl-utils@^2.0.4", "@formatjs/intl-utils@^2.2.0": + version "2.2.0" + resolved "https://registry.yarnpkg.com/@formatjs/intl-utils/-/intl-utils-2.2.0.tgz#ba6e12fe64ff7fd160be392007c47d24b7ae5c75" + integrity sha512-+Az7tR1av1DHZu9668D8uh9atT6vp+FFmEF8BrEssv0OqzpVjpVBGVmcgPzQP8k2PQjVlm/h2w8cTt0knn132w== + +"@formatjs/macro@^0.2.6": + version "0.2.6" + resolved "https://registry.yarnpkg.com/@formatjs/macro/-/macro-0.2.6.tgz#eb173658d803416a43210778b2f5c04c5a240bb6" + integrity sha512-DfdnLJf8+PwLHzJECZ1Xfa8+sI9akQnUuLN2UdkaExTQmlY0Vs36rMzEP0JoVDBMk+KdQbJNt72rPeZkBNcKWg== + "@fortawesome/fontawesome-common-types@^0.2.26": version "0.2.26" resolved "https://registry.yarnpkg.com/@fortawesome/fontawesome-common-types/-/fontawesome-common-types-0.2.26.tgz#6e0b13a752676036f8196f8a1500d53a27b4adc1" @@ -1915,7 +1953,7 @@ "@svgr/plugin-svgo" "^4.3.1" loader-utils "^1.2.3" -"@types/babel__core@^7.1.0": +"@types/babel__core@^7.1.0", "@types/babel__core@^7.1.3": version "7.1.3" resolved "https://registry.yarnpkg.com/@types/babel__core/-/babel__core-7.1.3.tgz#e441ea7df63cd080dfcd02ab199e6d16a735fc30" integrity sha512-8fBo0UR2CcwWxeX7WIIgJ7lXjasFxoYgRnFHUj+hRvKkpiBJbxhdAPTCY6/ZKM0uxANFVzt4yObSLuTiTnazDA== @@ -1987,6 +2025,19 @@ resolved "https://registry.yarnpkg.com/@types/history/-/history-4.7.3.tgz#856c99cdc1551d22c22b18b5402719affec9839a" integrity sha512-cS5owqtwzLN5kY+l+KgKdRJ/Cee8tlmQoGQuIE9tWnSmS3JMKzmxo2HIAk2wODMifGwO20d62xZQLYz+RLfXmw== +"@types/hoist-non-react-statics@^3.3.1": + version "3.3.1" + resolved "https://registry.yarnpkg.com/@types/hoist-non-react-statics/-/hoist-non-react-statics-3.3.1.tgz#1124aafe5118cb591977aeb1ceaaed1070eb039f" + integrity sha512-iMIqiko6ooLrTh1joXodJK5X9xeEALT1kM5G3ZLhD3hszxBdIEd5C75U834D9mLcINgD4OyZf5uQXjkuYydWvA== + dependencies: + "@types/react" "*" + hoist-non-react-statics "^3.3.0" + +"@types/invariant@^2.2.31": + version "2.2.31" + resolved "https://registry.yarnpkg.com/@types/invariant/-/invariant-2.2.31.tgz#4444c03004f215289dbca3856538434317dd28b2" + integrity sha512-jMlgg9pIURvy9jgBHCjQp/CyBjYHUwj91etVcDdXkFl2CwTFiQlB+8tcsMeXpXf2PFE5X2pjk4Gm43hQSMHAdA== + "@types/is-glob@4.0.1": version "4.0.1" resolved "https://registry.yarnpkg.com/@types/is-glob/-/is-glob-4.0.1.tgz#a93eec1714172c8eb3225a1cc5eb88c2477b7d00" @@ -2161,6 +2212,11 @@ "@types/prop-types" "*" csstype "^2.2.0" +"@types/schema-utils@^1.0.0": + version "1.0.0" + resolved "https://registry.yarnpkg.com/@types/schema-utils/-/schema-utils-1.0.0.tgz#295d36f01e2cb8bc3207ca1d9a68e210db6b40cb" + integrity sha512-YesPanU1+WCigC/Aj1Mga8UCOjHIfMNHZ3zzDsUY7lI8GlKnh/Kv2QwJOQ+jNQ36Ru7IfzSedlG14hppYaN13A== + "@types/stack-utils@^1.0.1": version "1.0.1" resolved "https://registry.yarnpkg.com/@types/stack-utils/-/stack-utils-1.0.1.tgz#0a851d3bd96498fa25c33ab7278ed3bd65f06c3e" @@ -3280,6 +3336,19 @@ babel-plugin-named-asset-import@^0.3.6: resolved "https://registry.yarnpkg.com/babel-plugin-named-asset-import/-/babel-plugin-named-asset-import-0.3.6.tgz#c9750a1b38d85112c9e166bf3ef7c5dbc605f4be" integrity sha512-1aGDUfL1qOOIoqk9QKGIo2lANk+C7ko/fqH0uIyC71x3PEGz0uVP8ISgfEsFuG+FKmjHTvFK/nNM8dowpmUxLA== +babel-plugin-react-intl@^5.1.8: + version "5.1.18" + resolved "https://registry.yarnpkg.com/babel-plugin-react-intl/-/babel-plugin-react-intl-5.1.18.tgz#7713c1fdf0055b606d67e2d1624a2e583a1fcdb7" + integrity sha512-tzzZoGDNQOiHmGFh+NPQJDpC10RbKlfw1CBVfALulqRa6UGkAv5eMs9sirxjhD3HryHPbYZ4x5FNdbzOyG2GJw== + dependencies: + "@babel/core" "^7.7.2" + "@babel/helper-plugin-utils" "^7.0.0" + "@types/babel__core" "^7.1.3" + "@types/schema-utils" "^1.0.0" + fs-extra "^8.1.0" + intl-messageformat-parser "^3.6.4" + schema-utils "^2.2.0" + babel-plugin-syntax-jsx@^6.18.0: version "6.18.0" resolved "https://registry.yarnpkg.com/babel-plugin-syntax-jsx/-/babel-plugin-syntax-jsx-6.18.0.tgz#0af32a9a6e13ca7a3fd5069e62d7b0f58d0d8946" @@ -3788,6 +3857,15 @@ camelcase-keys@^2.0.0: camelcase "^2.0.0" map-obj "^1.0.0" +camelcase-keys@^4.0.0: + version "4.2.0" + resolved "https://registry.yarnpkg.com/camelcase-keys/-/camelcase-keys-4.2.0.tgz#a2aa5fb1af688758259c32c141426d78923b9b77" + integrity sha1-oqpfsa9oh1glnDLBQUJteJI7m3c= + dependencies: + camelcase "^4.1.0" + map-obj "^2.0.0" + quick-lru "^1.0.0" + camelcase-keys@^6.1.1: version "6.1.2" resolved "https://registry.yarnpkg.com/camelcase-keys/-/camelcase-keys-6.1.2.tgz#531a289aeea93249b63ec1249db9265f305041f7" @@ -3817,6 +3895,11 @@ camelcase@^3.0.0: resolved "https://registry.yarnpkg.com/camelcase/-/camelcase-3.0.0.tgz#32fc4b9fcdaf845fcdf7e73bb97cac2261f0ab0a" integrity sha1-MvxLn82vhF/N9+c7uXysImHwqwo= +camelcase@^4.1.0: + version "4.1.0" + resolved "https://registry.yarnpkg.com/camelcase/-/camelcase-4.1.0.tgz#d545635be1e33c542649c69173e5de6acfae34dd" + integrity sha1-1UVjW+HjPFQmScaRc+Xeas+uNN0= + caniuse-api@^3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/caniuse-api/-/caniuse-api-3.0.0.tgz#5e4d90e2274961d46291997df599e3ed008ee4c0" @@ -4359,6 +4442,11 @@ cosmiconfig@6.0.0, cosmiconfig@^6.0.0: path-type "^4.0.0" yaml "^1.7.2" +countries-list@^2.5.1: + version "2.5.1" + resolved "https://registry.yarnpkg.com/countries-list/-/countries-list-2.5.1.tgz#784b7fb1a9fd116f1f8d00c307726d75a6a8d7ad" + integrity sha512-ht9obORj0Im7BqGfqlqTd7qLNMuuhdCvFMKmWx15ZQjpGVddd+018LOegE4J1wLtiZ5TYC/KhivkOYmelqSNLg== + create-ecdh@^4.0.0: version "4.0.3" resolved "https://registry.yarnpkg.com/create-ecdh/-/create-ecdh-4.0.3.tgz#c9111b6f33045c4697f144787f9254cdc77c45ff" @@ -4753,7 +4841,7 @@ debug@^4.0.1, debug@^4.1.0, debug@^4.1.1: dependencies: ms "^2.1.1" -decamelize-keys@^1.1.0: +decamelize-keys@^1.0.0, decamelize-keys@^1.1.0: version "1.1.0" resolved "https://registry.yarnpkg.com/decamelize-keys/-/decamelize-keys-1.1.0.tgz#d171a87933252807eb3cb61dc1c1445d078df2d9" integrity sha1-0XGoeTMlKAfrPLYdwcFEXQeN8tk= @@ -4886,7 +4974,7 @@ destroy@~1.0.4: resolved "https://registry.yarnpkg.com/destroy/-/destroy-1.0.4.tgz#978857442c44749e4206613e37946205826abd80" integrity sha1-l4hXRCxEdJ5CBmE+N5RiBYJqvYA= -detect-indent@6.0.0: +detect-indent@6.0.0, detect-indent@^6.0.0: version "6.0.0" resolved "https://registry.yarnpkg.com/detect-indent/-/detect-indent-6.0.0.tgz#0abd0f549f69fc6659a254fe96786186b6f528fd" integrity sha512-oSyFlqaTHCItVRGK5RmrmjB+CmaMOW7IaNA/kdxqhoa6d17j/5ce9O9eWXmV/KEdRwqpQA+Vqe8a8Bsybu4YnA== @@ -5746,6 +5834,27 @@ extglob@^2.0.4: snapdragon "^0.8.1" to-regex "^3.0.1" +extract-react-intl-messages@^2.3.5: + version "2.3.5" + resolved "https://registry.yarnpkg.com/extract-react-intl-messages/-/extract-react-intl-messages-2.3.5.tgz#325228a5cd03f1aecfb7b2e887be9a19c8e29ee9" + integrity sha512-vzPnBZ8S8dmc07WCgYUeXTVBhpqv5VZT7sCVgBsufikvyYd6T/iiyRsKrP/SJNOMet+n08tmk1KoH7Y1f9udzw== + dependencies: + "@babel/core" "^7.5.5" + babel-plugin-react-intl "^5.1.8" + flat "^4.1.0" + glob "^7.1.4" + js-yaml "^3.13.1" + load-json-file "^6.2.0" + lodash.merge "^4.6.2" + lodash.mergewith "^4.6.2" + lodash.pick "^4.4.0" + meow "^5.0.0" + mkdirp "^0.5.1" + pify "^4.0.1" + read-babelrc-up "^0.4.0" + sort-keys "^4.0.0" + write-json-file "^4.1.1" + extsprintf@1.3.0: version "1.3.0" resolved "https://registry.yarnpkg.com/extsprintf/-/extsprintf-1.3.0.tgz#96918440e3041a7a414f8c52e3c574eb3c3e1e05" @@ -6004,6 +6113,13 @@ flat-cache@^2.0.1: rimraf "2.6.3" write "1.0.3" +flat@^4.1.0: + version "4.1.0" + resolved "https://registry.yarnpkg.com/flat/-/flat-4.1.0.tgz#090bec8b05e39cba309747f1d588f04dbaf98db2" + integrity sha512-Px/TiLIznH7gEDlPXcUD4KnBusa6kR6ayRUVcnEAbreRIuhkqow/mun59BuRXwoYk7ZQOLW1ZM05ilIvK38hFw== + dependencies: + is-buffer "~2.0.3" + flatted@^2.0.0: version "2.0.1" resolved "https://registry.yarnpkg.com/flatted/-/flatted-2.0.1.tgz#69e57caa8f0eacbc281d2e2cb458d46fdb449e08" @@ -6657,6 +6773,13 @@ hoist-non-react-statics@^3.1.0, hoist-non-react-statics@^3.3.0: dependencies: react-is "^16.7.0" +hoist-non-react-statics@^3.3.1: + version "3.3.2" + resolved "https://registry.yarnpkg.com/hoist-non-react-statics/-/hoist-non-react-statics-3.3.2.tgz#ece0acaf71d62c2969c2ec59feff42a4b1a85b45" + integrity sha512-/gGivxi8JPKWNm/W0jSmzcMPpfpPLc3dY/6GxhX2hQ9iGj3aDfklV4ET7NjKpSinLpJ5vafa9iiGIEZg10SfBw== + dependencies: + react-is "^16.7.0" + hosted-git-info@^2.1.4: version "2.8.5" resolved "https://registry.yarnpkg.com/hosted-git-info/-/hosted-git-info-2.8.5.tgz#759cfcf2c4d156ade59b0b2dfabddc42a6b9c70c" @@ -7077,6 +7200,31 @@ internal-ip@^4.3.0: default-gateway "^4.2.0" ipaddr.js "^1.9.0" +intl-format-cache@^4.2.19, intl-format-cache@^4.2.21: + version "4.2.21" + resolved "https://registry.yarnpkg.com/intl-format-cache/-/intl-format-cache-4.2.21.tgz#d8e0bdfc357448f48dc1ab44670dc64a19b24f51" + integrity sha512-6pZlBdqTRUuuwRWywPItHY1JQwzQxWcpBHv6w4M8T6bGzAsiL/QmI+XsdOhsqJLaL4ZmTATn1kIkNlMk4VzSLQ== + +intl-locales-supported@^1.8.4: + version "1.8.4" + resolved "https://registry.yarnpkg.com/intl-locales-supported/-/intl-locales-supported-1.8.4.tgz#e1d19812afa50dc2e2a2b4741ceb4030522d45b1" + integrity sha512-wO0JhDqhshhkq8Pa9CLcstqd1aCXjfMgfMzjD6mDreS3mTSDbjGiMU+07O8BdJGxed7Q0Wf3TFVjGq0W3Y0n1w== + +intl-messageformat-parser@^3.6.2, intl-messageformat-parser@^3.6.4: + version "3.6.4" + resolved "https://registry.yarnpkg.com/intl-messageformat-parser/-/intl-messageformat-parser-3.6.4.tgz#5199d106d816c3dda26ee0694362a9cf823978fb" + integrity sha512-RgPGwue0mJtoX2Ax8EmMzJzttxjnva7gx0Q7mKJ4oALrTZvtmCeAw5Msz2PcjW4dtCh/h7vN/8GJCxZO1uv+OA== + dependencies: + "@formatjs/intl-unified-numberformat" "^3.2.0" + +intl-messageformat@^7.8.2: + version "7.8.4" + resolved "https://registry.yarnpkg.com/intl-messageformat/-/intl-messageformat-7.8.4.tgz#c29146a06b9cd26662978a4d95fff2b133e3642f" + integrity sha512-yS0cLESCKCYjseCOGXuV4pxJm/buTfyCJ1nzQjryHmSehlptbZbn9fnlk1I9peLopZGGbjj46yHHiTAEZ1qOTA== + dependencies: + intl-format-cache "^4.2.21" + intl-messageformat-parser "^3.6.4" + invariant@^2.2.2, invariant@^2.2.4: version "2.2.4" resolved "https://registry.yarnpkg.com/invariant/-/invariant-2.2.4.tgz#610f3c92c9359ce1db616e538008d23ff35158e6" @@ -7190,7 +7338,7 @@ is-buffer@^1.0.2, is-buffer@^1.1.5: resolved "https://registry.yarnpkg.com/is-buffer/-/is-buffer-1.1.6.tgz#efaa2ea9daa0d7ab2ea13a97b2b8ad51fefbe8be" integrity sha512-NcdALwpXkTm5Zvvbk7owOUSvVvBKDgKP5/ewfXEznmQFfs4ZRmanOeKBTjRVjka3QFoN6XJ+9F3USqfHqTaU5w== -is-buffer@^2.0.0, is-buffer@^2.0.2: +is-buffer@^2.0.0, is-buffer@^2.0.2, is-buffer@~2.0.3: version "2.0.4" resolved "https://registry.yarnpkg.com/is-buffer/-/is-buffer-2.0.4.tgz#3e572f23c8411a5cfd9557c849e3665e0b290623" integrity sha512-Kq1rokWXOPXWuaMAqZiJW4XxsmD9zGx9q4aePabbn3qCRGedtH7Cm+zV8WETitMfu1wdh+Rvd6w5egwSngUX2A== @@ -7403,6 +7551,11 @@ is-plain-obj@^1.0.0, is-plain-obj@^1.1.0: resolved "https://registry.yarnpkg.com/is-plain-obj/-/is-plain-obj-1.1.0.tgz#71a50c8429dfca773c92a390a4a03b39fcd51d3e" integrity sha1-caUMhCnfync8kqOQpKA7OfzVHT4= +is-plain-obj@^2.0.0: + version "2.1.0" + resolved "https://registry.yarnpkg.com/is-plain-obj/-/is-plain-obj-2.1.0.tgz#45e42e37fccf1f40da8e5f76ee21515840c09287" + integrity sha512-YWnfyRwxL/+SsrWYfOpUtz5b3YD+nyfkHvjbcanzk8zgyO4ASD67uVMRt8k5bM4lLMDnXfriRhOpemw+NfT1eA== + is-plain-object@^2.0.1, is-plain-object@^2.0.3, is-plain-object@^2.0.4: version "2.0.4" resolved "https://registry.yarnpkg.com/is-plain-object/-/is-plain-object-2.0.4.tgz#2c163b3fafb1b606d9d17928f05c2a1c38e07677" @@ -8409,6 +8562,16 @@ load-json-file@^4.0.0: pify "^3.0.0" strip-bom "^3.0.0" +load-json-file@^6.2.0: + version "6.2.0" + resolved "https://registry.yarnpkg.com/load-json-file/-/load-json-file-6.2.0.tgz#5c7770b42cafa97074ca2848707c61662f4251a1" + integrity sha512-gUD/epcRms75Cw8RT1pUdHugZYM5ce64ucs2GEISABwkRsOQr0q2wm/MV2TKThycIe5e0ytRweW2RZxclogCdQ== + dependencies: + graceful-fs "^4.1.15" + parse-json "^5.0.0" + strip-bom "^4.0.0" + type-fest "^0.6.0" + loader-fs-cache@^1.0.2: version "1.0.2" resolved "https://registry.yarnpkg.com/loader-fs-cache/-/loader-fs-cache-1.0.2.tgz#54cedf6b727e1779fd8f01205f05f6e88706f086" @@ -8516,16 +8679,26 @@ lodash.memoize@^4.1.2: resolved "https://registry.yarnpkg.com/lodash.memoize/-/lodash.memoize-4.1.2.tgz#bcc6c49a42a2840ed997f323eada5ecd182e0bfe" integrity sha1-vMbEmkKihA7Zl/Mj6tpezRguC/4= -lodash.merge@^4.6.1: +lodash.merge@^4.6.1, lodash.merge@^4.6.2: version "4.6.2" resolved "https://registry.yarnpkg.com/lodash.merge/-/lodash.merge-4.6.2.tgz#558aa53b43b661e1925a0afdfa36a9a1085fe57a" integrity sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ== +lodash.mergewith@^4.6.2: + version "4.6.2" + resolved "https://registry.yarnpkg.com/lodash.mergewith/-/lodash.mergewith-4.6.2.tgz#617121f89ac55f59047c7aec1ccd6654c6590f55" + integrity sha512-GK3g5RPZWTRSeLSpgP8Xhra+pnjBC56q9FZYe1d5RN3TJ35dbkGy3YqBSMbyCrlbi+CM9Z3Jk5yTL7RCsqboyQ== + lodash.once@^4.0.0: version "4.1.1" resolved "https://registry.yarnpkg.com/lodash.once/-/lodash.once-4.1.1.tgz#0dd3971213c7c56df880977d504c88fb471a97ac" integrity sha1-DdOXEhPHxW34gJd9UEyI+0cal6w= +lodash.pick@^4.4.0: + version "4.4.0" + resolved "https://registry.yarnpkg.com/lodash.pick/-/lodash.pick-4.4.0.tgz#52f05610fff9ded422611441ed1fc123a03001b3" + integrity sha1-UvBWEP/53tQiYRRB7R/BI6AwAbM= + lodash.sortby@^4.7.0: version "4.7.0" resolved "https://registry.yarnpkg.com/lodash.sortby/-/lodash.sortby-4.7.0.tgz#edd14c824e2cc9c1e0b0a1b42bb5210516a42438" @@ -8708,6 +8881,11 @@ map-obj@^1.0.0, map-obj@^1.0.1: resolved "https://registry.yarnpkg.com/map-obj/-/map-obj-1.0.1.tgz#d933ceb9205d82bdcf4886f6742bdc2b4dea146d" integrity sha1-2TPOuSBdgr3PSIb2dCvcK03qFG0= +map-obj@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/map-obj/-/map-obj-2.0.0.tgz#a65cd29087a92598b8791257a523e021222ac1f9" + integrity sha1-plzSkIepJZi4eRJXpSPgISIqwfk= + map-obj@^4.0.0: version "4.1.0" resolved "https://registry.yarnpkg.com/map-obj/-/map-obj-4.1.0.tgz#b91221b542734b9f14256c0132c897c5d7256fd5" @@ -8807,6 +8985,21 @@ meow@^3.7.0: redent "^1.0.0" trim-newlines "^1.0.0" +meow@^5.0.0: + version "5.0.0" + resolved "https://registry.yarnpkg.com/meow/-/meow-5.0.0.tgz#dfc73d63a9afc714a5e371760eb5c88b91078aa4" + integrity sha512-CbTqYU17ABaLefO8vCU153ZZlprKYWDljcndKKDCFcYQITzWCXZAVk4QMFZPgvzrnUQ3uItnIE/LoUOwrT15Ig== + dependencies: + camelcase-keys "^4.0.0" + decamelize-keys "^1.0.0" + loud-rejection "^1.0.0" + minimist-options "^3.0.1" + normalize-package-data "^2.3.4" + read-pkg-up "^3.0.0" + redent "^2.0.0" + trim-newlines "^2.0.0" + yargs-parser "^10.0.0" + meow@^6.0.0: version "6.0.0" resolved "https://registry.yarnpkg.com/meow/-/meow-6.0.0.tgz#949196fdf21d979379e3bdccb0411e60f8cffd93" @@ -8985,6 +9178,14 @@ minimatch@3.0.4, minimatch@^3.0.4, minimatch@~3.0.2: dependencies: brace-expansion "^1.1.7" +minimist-options@^3.0.1: + version "3.0.2" + resolved "https://registry.yarnpkg.com/minimist-options/-/minimist-options-3.0.2.tgz#fba4c8191339e13ecf4d61beb03f070103f3d954" + integrity sha512-FyBrT/d0d4+uiZRbqznPXqw3IpZZG3gl3wKWiX784FycUKVwBt0uLBFkQrtE4tZOrgo78nZp2jnKz3L65T5LdQ== + dependencies: + arrify "^1.0.1" + is-plain-obj "^1.1.0" + minimist-options@^4.0.1: version "4.0.2" resolved "https://registry.yarnpkg.com/minimist-options/-/minimist-options-4.0.2.tgz#29c4021373ded40d546186725e57761e4b1984a7" @@ -11074,6 +11275,11 @@ querystringify@^2.1.1: resolved "https://registry.yarnpkg.com/querystringify/-/querystringify-2.1.1.tgz#60e5a5fd64a7f8bfa4d2ab2ed6fdf4c85bad154e" integrity sha512-w7fLxIRCRT7U8Qu53jQnJyPkYZIaR4n5151KMfcJlO/A9397Wxb1amJvROTK6TOnp7PfoAmg/qXiNHI+08jRfA== +quick-lru@^1.0.0: + version "1.1.0" + resolved "https://registry.yarnpkg.com/quick-lru/-/quick-lru-1.1.0.tgz#4360b17c61136ad38078397ff11416e186dcfbb8" + integrity sha1-Q2CxfGETatOAeDl/8RQW4Ybc+7g= + quick-lru@^4.0.1: version "4.0.1" resolved "https://registry.yarnpkg.com/quick-lru/-/quick-lru-4.0.1.tgz#5b8878f113a58217848c6482026c73e1ba57727f" @@ -11234,6 +11440,26 @@ react-input-autosize@^2.2.2: dependencies: prop-types "^15.5.8" +react-intl@^3.12.0: + version "3.12.0" + resolved "https://registry.yarnpkg.com/react-intl/-/react-intl-3.12.0.tgz#98ef1c94434cc25a8c67448e1e283e6bfe11b2fc" + integrity sha512-VQWkFYSKKoi85p3gOXgG80KkBImdBJXwJxssO9gqdelW/fuVnxQLXgYOKuOqWrUz5beXK+qBve6bTpblh1ep2g== + dependencies: + "@formatjs/intl-displaynames" "^1.2.0" + "@formatjs/intl-listformat" "^1.3.7" + "@formatjs/intl-relativetimeformat" "^4.5.7" + "@formatjs/intl-unified-numberformat" "^3.0.4" + "@formatjs/intl-utils" "^2.0.4" + "@formatjs/macro" "^0.2.6" + "@types/hoist-non-react-statics" "^3.3.1" + "@types/invariant" "^2.2.31" + hoist-non-react-statics "^3.3.1" + intl-format-cache "^4.2.19" + intl-locales-supported "^1.8.4" + intl-messageformat "^7.8.2" + intl-messageformat-parser "^3.6.2" + shallow-equal "^1.2.1" + react-is@^16.3.2, react-is@^16.6.0, react-is@^16.7.0, react-is@^16.8.1, react-is@^16.8.4: version "16.12.0" resolved "https://registry.yarnpkg.com/react-is/-/react-is-16.12.0.tgz#2cc0fe0fba742d97fd527c42a13bec4eeb06241c" @@ -11424,6 +11650,14 @@ react@~16.12.0: object-assign "^4.1.1" prop-types "^15.6.2" +read-babelrc-up@^0.4.0: + version "0.4.0" + resolved "https://registry.yarnpkg.com/read-babelrc-up/-/read-babelrc-up-0.4.0.tgz#9810afd08abefb9f03eaf3f6396e77a75489e099" + integrity sha512-gWVXJPjXExtjVFgmyZ/Fv1B00ULe1SZLlyIcCnWOWcJIHCH88d4rrfJzBzKTIkwrqoBmvgCsTl1KDRNS1nOh6A== + dependencies: + find-up "^4.0.0" + json5 "^2.1.0" + read-pkg-up@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/read-pkg-up/-/read-pkg-up-1.0.1.tgz#9d63c13276c065918d57f002a57f40a1b643fb02" @@ -11440,6 +11674,14 @@ read-pkg-up@^2.0.0: find-up "^2.0.0" read-pkg "^2.0.0" +read-pkg-up@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/read-pkg-up/-/read-pkg-up-3.0.0.tgz#3ed496685dba0f8fe118d0691dc51f4a1ff96f07" + integrity sha1-PtSWaF26D4/hGNBpHcUfSh/5bwc= + dependencies: + find-up "^2.0.0" + read-pkg "^3.0.0" + read-pkg-up@^4.0.0: version "4.0.0" resolved "https://registry.yarnpkg.com/read-pkg-up/-/read-pkg-up-4.0.0.tgz#1b221c6088ba7799601c808f91161c66e58f8978" @@ -11567,6 +11809,14 @@ redent@^1.0.0: indent-string "^2.1.0" strip-indent "^1.0.1" +redent@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/redent/-/redent-2.0.0.tgz#c1b2007b42d57eb1389079b3c8333639d5e1ccaa" + integrity sha1-wbIAe0LVfrE4kHmzyDM2OdXhzKo= + dependencies: + indent-string "^3.0.0" + strip-indent "^2.0.0" + redent@^3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/redent/-/redent-3.0.0.tgz#e557b7998316bb53c9f1f56fa626352c6963059f" @@ -12144,7 +12394,7 @@ schema-utils@^1.0.0: ajv-errors "^1.0.0" ajv-keywords "^3.1.0" -schema-utils@^2.5.0, schema-utils@^2.6.0, schema-utils@^2.6.1, schema-utils@^2.6.4: +schema-utils@^2.2.0, schema-utils@^2.5.0, schema-utils@^2.6.0, schema-utils@^2.6.1, schema-utils@^2.6.4: version "2.6.4" resolved "https://registry.yarnpkg.com/schema-utils/-/schema-utils-2.6.4.tgz#a27efbf6e4e78689d91872ee3ccfa57d7bdd0f53" integrity sha512-VNjcaUxVnEeun6B2fiiUDjXXBtD4ZSH7pdbfIu1pOFwgptDPLMo/z9jr4sUfsjFVPqDCEin/F7IYlq7/E6yDbQ== @@ -12299,6 +12549,11 @@ shallow-clone@^3.0.0: dependencies: kind-of "^6.0.2" +shallow-equal@^1.2.1: + version "1.2.1" + resolved "https://registry.yarnpkg.com/shallow-equal/-/shallow-equal-1.2.1.tgz#4c16abfa56043aa20d050324efa68940b0da79da" + integrity sha512-S4vJDjHHMBaiZuT9NPb616CSmLf618jawtv3sufLl6ivK8WocjAo58cXwbRV1cgqxH0Qbv+iUt6m05eqEa2IRA== + shebang-command@^1.2.0: version "1.2.0" resolved "https://registry.yarnpkg.com/shebang-command/-/shebang-command-1.2.0.tgz#44aac65b695b03398968c39f363fee5deafdf1ea" @@ -12448,6 +12703,20 @@ sort-keys@^1.0.0: dependencies: is-plain-obj "^1.0.0" +sort-keys@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/sort-keys/-/sort-keys-3.0.0.tgz#fa751737e3da363ef80632d4fd78e324d661fe9a" + integrity sha512-77XUKMiZN5LvQXZ9sgWfJza19AvYIDwaDGwGiULM+B5XYru8Z90Oh06JvqDlJczvjjYvssrV0aK1GI6+YXvn5A== + dependencies: + is-plain-obj "^2.0.0" + +sort-keys@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/sort-keys/-/sort-keys-4.0.0.tgz#56dc5e256637bfe3fec8db0dc57c08b1a2be22d6" + integrity sha512-hlJLzrn/VN49uyNkZ8+9b+0q9DjmmYcYOnbMQtpkLrYpPwRApDPZfmqbUfJnAA3sb/nRib+nDot7Zi/1ER1fuA== + dependencies: + is-plain-obj "^2.0.0" + source-list-map@^2.0.0: version "2.0.1" resolved "https://registry.yarnpkg.com/source-list-map/-/source-list-map-2.0.1.tgz#3993bd873bfc48479cca9ea3a547835c7c154b34" @@ -12817,6 +13086,11 @@ strip-bom@^3.0.0: resolved "https://registry.yarnpkg.com/strip-bom/-/strip-bom-3.0.0.tgz#2334c18e9c759f7bdd56fdef7e9ae3d588e68ed3" integrity sha1-IzTBjpx1n3vdVv3vfprj1YjmjtM= +strip-bom@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/strip-bom/-/strip-bom-4.0.0.tgz#9c3505c1db45bcedca3d9cf7a16f5c5aa3901878" + integrity sha512-3xurFv5tEgii33Zi8Jtp55wEIILR9eh34FAW00PZf+JnSsTmV/ioewSgQl97JHvgjoRGwPShsWm+IdrxB35d0w== + strip-comments@^1.0.2: version "1.0.2" resolved "https://registry.yarnpkg.com/strip-comments/-/strip-comments-1.0.2.tgz#82b9c45e7f05873bee53f37168af930aa368679d" @@ -12837,6 +13111,11 @@ strip-indent@^1.0.1: dependencies: get-stdin "^4.0.1" +strip-indent@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/strip-indent/-/strip-indent-2.0.0.tgz#5ef8db295d01e6ed6cbf7aab96998d7822527b68" + integrity sha1-XvjbKV0B5u1sv3qrlpmNeCJSe2g= + strip-indent@^3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/strip-indent/-/strip-indent-3.0.0.tgz#c32e1cee940b6b3432c771bc2c54bcce73cd3001" @@ -13227,6 +13506,11 @@ trim-newlines@^1.0.0: resolved "https://registry.yarnpkg.com/trim-newlines/-/trim-newlines-1.0.0.tgz#5887966bb582a4503a41eb524f7d35011815a613" integrity sha1-WIeWa7WCpFA6QetST301ARgVphM= +trim-newlines@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/trim-newlines/-/trim-newlines-2.0.0.tgz#b403d0b91be50c331dfc4b82eeceb22c3de16d20" + integrity sha1-tAPQuRvlDDMd/EuC7s6yLD3hbSA= + trim-newlines@^3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/trim-newlines/-/trim-newlines-3.0.0.tgz#79726304a6a898aa8373427298d54c2ee8b1cb30" @@ -14241,7 +14525,7 @@ write-file-atomic@2.4.1: imurmurhash "^0.1.4" signal-exit "^3.0.2" -write-file-atomic@^3.0.1: +write-file-atomic@^3.0.0, write-file-atomic@^3.0.1: version "3.0.1" resolved "https://registry.yarnpkg.com/write-file-atomic/-/write-file-atomic-3.0.1.tgz#558328352e673b5bb192cf86500d60b230667d4b" integrity sha512-JPStrIyyVJ6oCSz/691fAjFtefZ6q+fP6tm+OS4Qw6o+TGQxNp1ziY2PgS+X/m0V8OWhZiO/m4xSj+Pr4RrZvw== @@ -14251,6 +14535,18 @@ write-file-atomic@^3.0.1: signal-exit "^3.0.2" typedarray-to-buffer "^3.1.5" +write-json-file@^4.1.1: + version "4.2.1" + resolved "https://registry.yarnpkg.com/write-json-file/-/write-json-file-4.2.1.tgz#ddd5ef9d9bae6f8129629410caaa9c79556b8541" + integrity sha512-nkmp9weFMmE0Zev48m6sr9zU2iHO2BemwqfIasXny4DzIKIoKt9WEbgdMW0pwk9DmzC8jzSwixkjgK2vu1zw4g== + dependencies: + detect-indent "^6.0.0" + graceful-fs "^4.1.15" + is-plain-obj "^2.0.0" + make-dir "^3.0.0" + sort-keys "^3.0.0" + write-file-atomic "^3.0.0" + write@1.0.3: version "1.0.3" resolved "https://registry.yarnpkg.com/write/-/write-1.0.3.tgz#0800e14523b923a387e415123c865616aae0f5c3" @@ -14339,6 +14635,13 @@ yaml@^1.7.2: dependencies: "@babel/runtime" "^7.6.3" +yargs-parser@^10.0.0: + version "10.1.0" + resolved "https://registry.yarnpkg.com/yargs-parser/-/yargs-parser-10.1.0.tgz#7202265b89f7e9e9f2e5765e0fe735a905edbaa8" + integrity sha512-VCIyR1wJoEBZUqk5PA+oOBF6ypbwh5aNB3I50guxAL/quggdfs4TtNHQrSazFA3fYZ+tEqfs0zIGlv0c/rgjbQ== + dependencies: + camelcase "^4.1.0" + yargs-parser@^11.1.1: version "11.1.1" resolved "https://registry.yarnpkg.com/yargs-parser/-/yargs-parser-11.1.1.tgz#879a0865973bca9f6bab5cbdf3b1c67ec7d3bcf4"