UNPKG

575 BTypeScriptView Raw
1import { ICreateJobV2Action, IRemoveStaleJobV2Action, IEndJobV2Action, IGatsbyState, IGatsbyIncompleteJobV2, IGatsbyCompleteJobV2, IDeleteCacheAction, ISetJobV2Context, IClearJobV2Context } from "../types";
2export declare const jobsV2Reducer: (state: {
3 incomplete: Map<string, IGatsbyIncompleteJobV2>;
4 complete: Map<string, IGatsbyCompleteJobV2>;
5 jobsByRequest: Map<string, Set<string>>;
6} | undefined, action: ICreateJobV2Action | IRemoveStaleJobV2Action | IEndJobV2Action | ISetJobV2Context | IClearJobV2Context | IDeleteCacheAction) => IGatsbyState["jobsV2"];