UNPKG

430 BTypeScriptView Raw
1import { IGatsbyState, IEnableStatefulSourcePluginAction } from "../types";
2/**
3 * Flags a source plugin as being "stateful" which means it manages its own data updates and Gatsby doesn't look for "stale" nodes after each `sourceNodes` run.
4 */
5export declare const statefulSourcePluginsReducer: (statefulSourcePlugins: Set<string> | undefined, action: IEnableStatefulSourcePluginAction) => IGatsbyState["statefulSourcePlugins"];