mirror of
https://github.com/stashapp/stash.git
synced 2025-12-17 20:34:37 +03:00
Identify task (#1839)
* Add identify task * Change type naming * Debounce folder select text input * Add generic slice comparison function
This commit is contained in:
27
ui/v2.5/src/components/Dialogs/IdentifyDialog/constants.ts
Normal file
27
ui/v2.5/src/components/Dialogs/IdentifyDialog/constants.ts
Normal 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",
|
||||
];
|
||||
Reference in New Issue
Block a user