@jss-rule-engine/core
Version:
Rule engine for Sitecore JSS
17 lines (16 loc) • 581 B
TypeScript
import { IItemProvider } from './itemProvider';
type GraphQLItemProviderOptions = {
graphEndpoint: string;
apiKey: string;
};
export declare class GraphQLItemProvider implements IItemProvider {
endpointUrl: any;
apiKey: any;
cache: Map<string, any>;
constructor(options: GraphQLItemProviderOptions);
getItemAncestorInfoById(itemId: string): Promise<any>;
getItemDescendantsInfoById(itemId: string): Promise<any>;
getItemById(itemId: string): Promise<any>;
runQuery(query: any, variables: any): Promise<unknown>;
}
export {};