Identify task (#1839)

* Add identify task
* Change type naming
* Debounce folder select text input
* Add generic slice comparison function
This commit is contained in:
WithoutPants
2021-10-28 14:25:17 +11:00
committed by GitHub
parent c93b5e12b7
commit 0f64954e5b
70 changed files with 5882 additions and 291 deletions

View File

@@ -0,0 +1,27 @@
import * as GQL from "src/core/generated-graphql";
export interface IScraperSource {
id: string;
displayName: string;
stash_box_endpoint?: string;
scraper_id?: string;
options?: GQL.IdentifyMetadataOptionsInput;
}
export const sceneFields = [
"title",
"date",
"details",
"url",
"studio",
"performers",
"tags",
"stash_ids",
] as const;
export type SceneField = typeof sceneFields[number];
export const multiValueSceneFields: SceneField[] = [
"studio",
"performers",
"tags",
];