stashapp-api
Version:
Easy to use adapter for interaction with a Stash server through GraphQL.
13 lines (12 loc) • 367 B
TypeScript
import { ApolloQueryResult } from "@apollo/client";
export interface StashApolloConfig {
url: string;
apiKey: string;
}
export declare class StashApollo {
private static instance;
private client;
private constructor();
static init(config: StashApolloConfig): StashApollo;
findPerformers(variables: any): Promise<ApolloQueryResult<any>>;
}