UNPKG

gatsby

Version:
6 lines (5 loc) 430 B
import { IGatsbyState, IEnableStatefulSourcePluginAction } from "../types"; /** * 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. */ export declare const statefulSourcePluginsReducer: (statefulSourcePlugins: Set<string> | undefined, action: IEnableStatefulSourcePluginAction) => IGatsbyState["statefulSourcePlugins"];