gatsby 2.32.2 → 2.32.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (179) hide show
  1. package/CHANGELOG.md +4 -0
  2. package/cli.js +0 -0
  3. package/dist/bootstrap/create-graphql-runner.d.ts +11 -11
  4. package/dist/bootstrap/get-config-file.d.ts +4 -4
  5. package/dist/bootstrap/load-plugins/index.d.ts +2 -2
  6. package/dist/bootstrap/load-plugins/load.d.ts +11 -11
  7. package/dist/bootstrap/load-plugins/types.d.ts +40 -40
  8. package/dist/bootstrap/load-plugins/validate.d.ts +39 -39
  9. package/dist/bootstrap/prefer-default.d.ts +1 -1
  10. package/dist/bootstrap/redirects-writer.d.ts +2 -2
  11. package/dist/bootstrap/remove-stale-jobs.d.ts +2 -2
  12. package/dist/bootstrap/requires-writer.d.ts +10 -10
  13. package/dist/bootstrap/resolve-module-exports.d.ts +15 -15
  14. package/dist/commands/develop-static.d.ts +3 -3
  15. package/dist/commands/types.d.ts +48 -48
  16. package/dist/db/common/query.d.ts +37 -37
  17. package/dist/internal.d.ts +5 -5
  18. package/dist/joi-schemas/joi.d.ts +6 -6
  19. package/dist/query/error-parser.d.ts +19 -19
  20. package/dist/query/graphql-runner.d.ts +30 -30
  21. package/dist/query/graphql-span-tracer.d.ts +19 -19
  22. package/dist/query/query-watcher.d.ts +17 -17
  23. package/dist/query/types.d.ts +34 -34
  24. package/dist/query/utils.d.ts +4 -4
  25. package/dist/redux/actions/add-page-dependency.d.ts +5 -5
  26. package/dist/redux/actions/index.d.ts +13 -13
  27. package/dist/redux/actions/internal.d.ts +109 -109
  28. package/dist/redux/actions/restricted.d.ts +293 -293
  29. package/dist/redux/index.d.ts +12 -12
  30. package/dist/redux/nodes.d.ts +92 -92
  31. package/dist/redux/persist.d.ts +3 -3
  32. package/dist/redux/plugin-runner.d.ts +1 -1
  33. package/dist/redux/reducers/babelrc.d.ts +9 -9
  34. package/dist/redux/reducers/components.d.ts +7 -7
  35. package/dist/redux/reducers/config.d.ts +2 -2
  36. package/dist/redux/reducers/definitions.d.ts +2 -2
  37. package/dist/redux/reducers/flattened-plugins.d.ts +15 -15
  38. package/dist/redux/reducers/index.d.ts +34 -34
  39. package/dist/redux/reducers/inference-metadata.d.ts +7 -7
  40. package/dist/redux/reducers/jobs.d.ts +5 -5
  41. package/dist/redux/reducers/jobsv2.d.ts +5 -5
  42. package/dist/redux/reducers/last-action.d.ts +2 -2
  43. package/dist/redux/reducers/nodes-by-type.d.ts +2 -2
  44. package/dist/redux/reducers/nodes-touched.d.ts +3 -3
  45. package/dist/redux/reducers/nodes.d.ts +2 -2
  46. package/dist/redux/reducers/page-data-stats.d.ts +2 -2
  47. package/dist/redux/reducers/page-data.d.ts +2 -2
  48. package/dist/redux/reducers/pages.d.ts +2 -2
  49. package/dist/redux/reducers/pending-page-data-writes.d.ts +4 -4
  50. package/dist/redux/reducers/program.d.ts +2 -2
  51. package/dist/redux/reducers/queries.d.ts +26 -26
  52. package/dist/redux/reducers/redirects.d.ts +2 -2
  53. package/dist/redux/reducers/resolved-nodes.d.ts +2 -2
  54. package/dist/redux/reducers/schema-customization.d.ts +23 -23
  55. package/dist/redux/reducers/schema.d.ts +3 -3
  56. package/dist/redux/reducers/static-queries-by-template.d.ts +2 -2
  57. package/dist/redux/reducers/static-query-components.d.ts +2 -2
  58. package/dist/redux/reducers/status.d.ts +5 -5
  59. package/dist/redux/reducers/themes.d.ts +2 -2
  60. package/dist/redux/reducers/visited-page.d.ts +2 -2
  61. package/dist/redux/reducers/webpack-compilation-hash.d.ts +2 -2
  62. package/dist/redux/reducers/webpack.d.ts +2 -2
  63. package/dist/redux/types.d.ts +667 -667
  64. package/dist/schema/context.d.ts +13 -13
  65. package/dist/schema/infer/inference-metadata.d.ts +72 -72
  66. package/dist/schema/infer/type-conflict-reporter.d.ts +28 -28
  67. package/dist/schema/resolvers.d.ts +34 -34
  68. package/dist/schema/type-definitions.d.ts +42 -42
  69. package/dist/schema/types/date.d.ts +40 -40
  70. package/dist/schema/types/derived-types.d.ts +42 -42
  71. package/dist/schema/types/filter.d.ts +12 -12
  72. package/dist/schema/types/node-interface.d.ts +14 -14
  73. package/dist/schema/types/sort.d.ts +18 -18
  74. package/dist/schema/types/type-builders.d.ts +36 -36
  75. package/dist/services/build-schema.d.ts +2 -2
  76. package/dist/services/calculate-dirty-queries.d.ts +5 -5
  77. package/dist/services/create-pages-statefully.d.ts +2 -2
  78. package/dist/services/create-pages.d.ts +5 -5
  79. package/dist/services/customize-schema.d.ts +2 -2
  80. package/dist/services/extract-queries.d.ts +2 -2
  81. package/dist/services/index.d.ts +19 -19
  82. package/dist/services/initialize.d.ts +8 -8
  83. package/dist/services/listen-for-mutations.d.ts +2 -2
  84. package/dist/services/listen-to-webpack.d.ts +3 -3
  85. package/dist/services/post-bootstrap.d.ts +2 -2
  86. package/dist/services/rebuild-schema-with-site-pages.d.ts +2 -2
  87. package/dist/services/recompile.d.ts +3 -3
  88. package/dist/services/run-mutation-batch.d.ts +2 -2
  89. package/dist/services/run-page-queries.d.ts +2 -2
  90. package/dist/services/run-static-queries.d.ts +2 -2
  91. package/dist/services/source-nodes.d.ts +5 -5
  92. package/dist/services/start-webpack-server.d.ts +9 -9
  93. package/dist/services/types.d.ts +45 -45
  94. package/dist/services/write-out-redirects.d.ts +2 -2
  95. package/dist/services/write-out-requires.d.ts +2 -2
  96. package/dist/state-machines/data-layer/actions.d.ts +8 -8
  97. package/dist/state-machines/data-layer/index.d.ts +24 -24
  98. package/dist/state-machines/data-layer/services.d.ts +3 -3
  99. package/dist/state-machines/data-layer/types.d.ts +30 -30
  100. package/dist/state-machines/develop/actions.d.ts +37 -37
  101. package/dist/state-machines/index.d.ts +7 -7
  102. package/dist/state-machines/query-running/actions.d.ts +9 -9
  103. package/dist/state-machines/query-running/index.d.ts +7 -7
  104. package/dist/state-machines/query-running/services.d.ts +3 -3
  105. package/dist/state-machines/query-running/types.d.ts +23 -23
  106. package/dist/state-machines/waiting/actions.d.ts +11 -11
  107. package/dist/state-machines/waiting/index.d.ts +12 -12
  108. package/dist/state-machines/waiting/services.d.ts +3 -3
  109. package/dist/state-machines/waiting/types.d.ts +12 -12
  110. package/dist/types.d.ts +9 -9
  111. package/dist/utils/api-browser-docs.d.ts +252 -252
  112. package/dist/utils/api-node-docs.d.ts +443 -443
  113. package/dist/utils/assert-store.d.ts +2 -2
  114. package/dist/utils/babel-parse-to-ast.d.ts +4 -4
  115. package/dist/utils/browserslist.d.ts +1 -1
  116. package/dist/utils/call-deferred-api.d.ts +8 -8
  117. package/dist/utils/changed-pages.d.ts +6 -6
  118. package/dist/utils/create-node-id.d.ts +24 -24
  119. package/dist/utils/create-schema-customization.d.ts +6 -6
  120. package/dist/utils/develop-preload-headers.d.ts +7 -7
  121. package/dist/utils/did-you-mean.d.ts +3 -3
  122. package/dist/utils/find-page-by-path.d.ts +2 -2
  123. package/dist/utils/flags.d.ts +34 -34
  124. package/dist/utils/gatsby-dependents.d.ts +8 -8
  125. package/dist/utils/gatsby-webpack-virtual-modules.d.ts +6 -6
  126. package/dist/utils/get-latest-apis.d.ts +6 -6
  127. package/dist/utils/get-page-data.d.ts +3 -3
  128. package/dist/utils/get-react-hot-loader-strategy.d.ts +1 -1
  129. package/dist/utils/get-value-at.d.ts +1 -1
  130. package/dist/utils/handle-flags.d.ts +7 -7
  131. package/dist/utils/is-32-bit-integer.d.ts +1 -1
  132. package/dist/utils/jobs-manager.d.ts +61 -61
  133. package/dist/utils/loading-indicator.d.ts +3 -3
  134. package/dist/utils/map-templates-to-static-query-hashes.d.ts +16 -16
  135. package/dist/utils/mett.d.ts +10 -10
  136. package/dist/utils/page-data.d.ts +22 -22
  137. package/dist/utils/path.d.ts +5 -5
  138. package/dist/utils/prepare-urls.d.ts +7 -7
  139. package/dist/utils/print-deprecation-warnings.d.ts +1 -1
  140. package/dist/utils/print-instructions.d.ts +2 -2
  141. package/dist/utils/sample-site-for-experiment.d.ts +2 -2
  142. package/dist/utils/show-experiment-notice.d.ts +6 -6
  143. package/dist/utils/source-nodes.d.ts +8 -8
  144. package/dist/utils/stack-trace-utils.d.ts +22 -22
  145. package/dist/utils/start-server.d.ts +25 -25
  146. package/dist/utils/test-require-error.d.ts +1 -1
  147. package/dist/utils/wait-until-jobs-complete.d.ts +1 -1
  148. package/dist/utils/webpack-error-utils.d.ts +18 -18
  149. package/dist/utils/webpack-status.d.ts +3 -3
  150. package/dist/utils/websocket-manager.d.ts +39 -39
  151. package/dist/utils/worker/pool.d.ts +2 -2
  152. package/gatsby-admin-public/4c744e84-6c27fb4a13dc8c8c3e88.js.map +1 -1
  153. package/gatsby-admin-public/69bd6bf3-00a5b50945cce68e041c.js.map +1 -1
  154. package/gatsby-admin-public/784b2cee55c07b638f20445dec340adf9f1888a3-d690a55f56dedc0f95b3.js.map +1 -1
  155. package/gatsby-admin-public/854a7ef1f34af0aefbdfdd9304a0c00251662775-30cef3c004238987a416.js.map +1 -1
  156. package/gatsby-admin-public/{app-d9751648e893ba210043.js → app-74fe4789160202707c96.js} +2 -2
  157. package/gatsby-admin-public/{app-d9751648e893ba210043.js.LICENSE.txt → app-74fe4789160202707c96.js.LICENSE.txt} +0 -0
  158. package/gatsby-admin-public/app-74fe4789160202707c96.js.map +1 -0
  159. package/gatsby-admin-public/c432bec7e9afb3443fd639df9e5f119e13575cf7-976ea4aa8380d4a68cb1.js.map +1 -1
  160. package/gatsby-admin-public/chunk-map.json +1 -1
  161. package/gatsby-admin-public/component---src-pages-index-tsx-70aa31e4e1eca0a560a8.js.map +1 -1
  162. package/gatsby-admin-public/component---src-pages-plugins-tsx-c6700b48ed9ac88a9768.js.map +1 -1
  163. package/gatsby-admin-public/{component---src-pages-recipe-js-91150640d438410a1a0b.js → component---src-pages-recipe-js-4e8fdacf3e36393b3739.js} +1 -1
  164. package/gatsby-admin-public/component---src-pages-recipe-js-4e8fdacf3e36393b3739.js.map +1 -0
  165. package/gatsby-admin-public/e2852b4470dcb2615e49edcd9de2a3c8119d4bec-fbd253211b90ee4d944c.js.map +1 -1
  166. package/gatsby-admin-public/framework-b5530edc347e85dd3979.js.map +1 -1
  167. package/gatsby-admin-public/index.html +1 -1
  168. package/gatsby-admin-public/page-data/app-data.json +1 -1
  169. package/gatsby-admin-public/pages/index.html +1 -1
  170. package/gatsby-admin-public/plugins/index.html +1 -1
  171. package/gatsby-admin-public/polyfill-bb3950ad41cd96a6ba64.js.map +1 -1
  172. package/gatsby-admin-public/recipe/index.html +1 -1
  173. package/gatsby-admin-public/recipes/index.html +1 -1
  174. package/gatsby-admin-public/{webpack-runtime-0a97eab52901d3d030d8.js → webpack-runtime-ce59e1ba33a41c65ea97.js} +2 -2
  175. package/gatsby-admin-public/{webpack-runtime-0a97eab52901d3d030d8.js.map → webpack-runtime-ce59e1ba33a41c65ea97.js.map} +1 -1
  176. package/gatsby-admin-public/webpack.stats.json +1 -1
  177. package/package.json +3 -3
  178. package/gatsby-admin-public/app-d9751648e893ba210043.js.map +0 -1
  179. package/gatsby-admin-public/component---src-pages-recipe-js-91150640d438410a1a0b.js.map +0 -1
@@ -1,92 +1,92 @@
1
- import { IGatsbyNode } from "./types";
2
- import { IDbQueryElemMatch } from "../db/common/query";
3
- export declare type FilterOp = "$eq" | "$ne" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$regex";
4
- export declare type FilterValueNullable = string | number | boolean | null | undefined | RegExp | Array<string | number | boolean | null | undefined>;
5
- declare type FilterValue = string | number | boolean | RegExp | Array<string | number | boolean>;
6
- export declare type FilterCacheKey = string;
7
- export interface IFilterCache {
8
- op: FilterOp;
9
- byValue: Map<FilterValueNullable, Array<IGatsbyNode>>;
10
- meta: {
11
- nodesUnordered?: Array<IGatsbyNode>;
12
- orderedByCounter?: Array<IGatsbyNode>;
13
- valuesAsc?: Array<FilterValue>;
14
- nodesByValueAsc?: Array<IGatsbyNode>;
15
- valueRangesAsc?: Map<FilterValue, [number, number]>;
16
- valuesDesc?: Array<FilterValue>;
17
- nodesByValueDesc?: Array<IGatsbyNode>;
18
- valueRangesDesc?: Map<FilterValue, [number, number]>;
19
- };
20
- }
21
- export declare type FiltersCache = Map<FilterCacheKey, IFilterCache>;
22
- /**
23
- * Get all nodes from redux store.
24
- */
25
- export declare const getNodes: () => Array<IGatsbyNode>;
26
- /**
27
- * Get node by id from store.
28
- */
29
- export declare const getNode: (id: string) => IGatsbyNode | undefined;
30
- /**
31
- * Get all nodes of type from redux store.
32
- */
33
- export declare const getNodesByType: (type: string) => Array<IGatsbyNode>;
34
- /**
35
- * Get all type names from redux store.
36
- */
37
- export declare const getTypes: () => Array<string>;
38
- /**
39
- * Determine if node has changed.
40
- */
41
- export declare const hasNodeChanged: (id: string, digest: string) => boolean;
42
- /**
43
- * Get node and save path dependency.
44
- */
45
- export declare const getNodeAndSavePathDependency: (id: string, path: string) => IGatsbyNode | undefined;
46
- declare type Resolver = (node: IGatsbyNode) => Promise<any>;
47
- export declare const saveResolvedNodes: (nodeTypeNames: Array<string>, resolver: Resolver) => Promise<void>;
48
- /**
49
- * Get node and save path dependency.
50
- */
51
- export declare const getResolvedNode: (typeName: string, id: string) => IGatsbyNode | null;
52
- export declare function postIndexingMetaSetup(filterCache: IFilterCache, op: FilterOp): void;
53
- /**
54
- * Given a single non-elemMatch filter path, a list of node types, and a
55
- * cache, create a cache that for each resulting value of the filter contains
56
- * all the Nodes in a list.
57
- * This cache is used for applying the filter and is a massive improvement over
58
- * looping over all the nodes, when the number of pages (/nodes) scales up.
59
- */
60
- export declare const ensureIndexByQuery: (op: FilterOp, filterCacheKey: FilterCacheKey, filterPath: Array<string>, nodeTypeNames: Array<string>, filtersCache: FiltersCache) => void;
61
- export declare function ensureEmptyFilterCache(filterCacheKey: any, nodeTypeNames: Array<string>, filtersCache: FiltersCache): void;
62
- export declare const ensureIndexByElemMatch: (op: FilterOp, filterCacheKey: FilterCacheKey, filter: IDbQueryElemMatch, nodeTypeNames: Array<string>, filtersCache: FiltersCache) => void;
63
- /**
64
- * Given the cache key for a filter and a target value return the list of nodes
65
- * that resolve to this value. The returned array should be ordered by id.
66
- * This returns `undefined` if there is no such node
67
- *
68
- * Basically if the filter was {a: {b: {slug: {eq: "foo/bar"}}}} then it will
69
- * return all the nodes that have `node.slug === "foo/bar"`. That usually (but
70
- * not always) at most one node for slug, but this filter can apply to anything.
71
- *
72
- * Arrays returned by this function must be ordered by internal.counter and
73
- * not contain duplicate nodes (!)
74
- */
75
- export declare const getNodesFromCacheByValue: (filterCacheKey: FilterCacheKey, filterValue: FilterValueNullable, filtersCache: FiltersCache, wasElemMatch: any) => Array<IGatsbyNode> | undefined;
76
- /**
77
- * Finds the intersection of two arrays in O(n) with n = min(a.length, b.length)
78
- * The returned set should not contain duplicate nodes.
79
- *
80
- * The input should be ordered by node.internal.counter and it will return a
81
- * list that is also ordered by node.internal.counter
82
- */
83
- export declare function intersectNodesByCounter(a: Array<IGatsbyNode>, b: Array<IGatsbyNode>): Array<IGatsbyNode>;
84
- /**
85
- * Merge two lists of nodes.
86
- * The returned set should not contain duplicate nodes.
87
- *
88
- * The input should be ordered by node.internal.counter and it will return a
89
- * list that is also ordered by node.internal.counter
90
- */
91
- export declare function unionNodesByCounter(a: Array<IGatsbyNode>, b: Array<IGatsbyNode>): Array<IGatsbyNode>;
92
- export {};
1
+ import { IGatsbyNode } from "./types";
2
+ import { IDbQueryElemMatch } from "../db/common/query";
3
+ export declare type FilterOp = "$eq" | "$ne" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$regex";
4
+ export declare type FilterValueNullable = string | number | boolean | null | undefined | RegExp | Array<string | number | boolean | null | undefined>;
5
+ declare type FilterValue = string | number | boolean | RegExp | Array<string | number | boolean>;
6
+ export declare type FilterCacheKey = string;
7
+ export interface IFilterCache {
8
+ op: FilterOp;
9
+ byValue: Map<FilterValueNullable, Array<IGatsbyNode>>;
10
+ meta: {
11
+ nodesUnordered?: Array<IGatsbyNode>;
12
+ orderedByCounter?: Array<IGatsbyNode>;
13
+ valuesAsc?: Array<FilterValue>;
14
+ nodesByValueAsc?: Array<IGatsbyNode>;
15
+ valueRangesAsc?: Map<FilterValue, [number, number]>;
16
+ valuesDesc?: Array<FilterValue>;
17
+ nodesByValueDesc?: Array<IGatsbyNode>;
18
+ valueRangesDesc?: Map<FilterValue, [number, number]>;
19
+ };
20
+ }
21
+ export declare type FiltersCache = Map<FilterCacheKey, IFilterCache>;
22
+ /**
23
+ * Get all nodes from redux store.
24
+ */
25
+ export declare const getNodes: () => Array<IGatsbyNode>;
26
+ /**
27
+ * Get node by id from store.
28
+ */
29
+ export declare const getNode: (id: string) => IGatsbyNode | undefined;
30
+ /**
31
+ * Get all nodes of type from redux store.
32
+ */
33
+ export declare const getNodesByType: (type: string) => Array<IGatsbyNode>;
34
+ /**
35
+ * Get all type names from redux store.
36
+ */
37
+ export declare const getTypes: () => Array<string>;
38
+ /**
39
+ * Determine if node has changed.
40
+ */
41
+ export declare const hasNodeChanged: (id: string, digest: string) => boolean;
42
+ /**
43
+ * Get node and save path dependency.
44
+ */
45
+ export declare const getNodeAndSavePathDependency: (id: string, path: string) => IGatsbyNode | undefined;
46
+ declare type Resolver = (node: IGatsbyNode) => Promise<any>;
47
+ export declare const saveResolvedNodes: (nodeTypeNames: Array<string>, resolver: Resolver) => Promise<void>;
48
+ /**
49
+ * Get node and save path dependency.
50
+ */
51
+ export declare const getResolvedNode: (typeName: string, id: string) => IGatsbyNode | null;
52
+ export declare function postIndexingMetaSetup(filterCache: IFilterCache, op: FilterOp): void;
53
+ /**
54
+ * Given a single non-elemMatch filter path, a list of node types, and a
55
+ * cache, create a cache that for each resulting value of the filter contains
56
+ * all the Nodes in a list.
57
+ * This cache is used for applying the filter and is a massive improvement over
58
+ * looping over all the nodes, when the number of pages (/nodes) scales up.
59
+ */
60
+ export declare const ensureIndexByQuery: (op: FilterOp, filterCacheKey: FilterCacheKey, filterPath: Array<string>, nodeTypeNames: Array<string>, filtersCache: FiltersCache) => void;
61
+ export declare function ensureEmptyFilterCache(filterCacheKey: any, nodeTypeNames: Array<string>, filtersCache: FiltersCache): void;
62
+ export declare const ensureIndexByElemMatch: (op: FilterOp, filterCacheKey: FilterCacheKey, filter: IDbQueryElemMatch, nodeTypeNames: Array<string>, filtersCache: FiltersCache) => void;
63
+ /**
64
+ * Given the cache key for a filter and a target value return the list of nodes
65
+ * that resolve to this value. The returned array should be ordered by id.
66
+ * This returns `undefined` if there is no such node
67
+ *
68
+ * Basically if the filter was {a: {b: {slug: {eq: "foo/bar"}}}} then it will
69
+ * return all the nodes that have `node.slug === "foo/bar"`. That usually (but
70
+ * not always) at most one node for slug, but this filter can apply to anything.
71
+ *
72
+ * Arrays returned by this function must be ordered by internal.counter and
73
+ * not contain duplicate nodes (!)
74
+ */
75
+ export declare const getNodesFromCacheByValue: (filterCacheKey: FilterCacheKey, filterValue: FilterValueNullable, filtersCache: FiltersCache, wasElemMatch: any) => Array<IGatsbyNode> | undefined;
76
+ /**
77
+ * Finds the intersection of two arrays in O(n) with n = min(a.length, b.length)
78
+ * The returned set should not contain duplicate nodes.
79
+ *
80
+ * The input should be ordered by node.internal.counter and it will return a
81
+ * list that is also ordered by node.internal.counter
82
+ */
83
+ export declare function intersectNodesByCounter(a: Array<IGatsbyNode>, b: Array<IGatsbyNode>): Array<IGatsbyNode>;
84
+ /**
85
+ * Merge two lists of nodes.
86
+ * The returned set should not contain duplicate nodes.
87
+ *
88
+ * The input should be ordered by node.internal.counter and it will return a
89
+ * list that is also ordered by node.internal.counter
90
+ */
91
+ export declare function unionNodesByCounter(a: Array<IGatsbyNode>, b: Array<IGatsbyNode>): Array<IGatsbyNode>;
92
+ export {};
@@ -1,3 +1,3 @@
1
- import { ICachedReduxState } from "./types";
2
- export declare function readFromCache(): ICachedReduxState;
3
- export declare function writeToCache(contents: ICachedReduxState): void;
1
+ import { ICachedReduxState } from "./types";
2
+ export declare function readFromCache(): ICachedReduxState;
3
+ export declare function writeToCache(contents: ICachedReduxState): void;
@@ -1 +1 @@
1
- export declare const startPluginRunner: () => void;
1
+ export declare const startPluginRunner: () => void;
@@ -1,9 +1,9 @@
1
- import { IGatsbyState, ActionsUnion } from "../types";
2
- export declare const babelrcReducer: (state: {
3
- stages: {
4
- develop: import("../types").IBabelStage;
5
- "develop-html": import("../types").IBabelStage;
6
- "build-javascript": import("../types").IBabelStage;
7
- "build-html": import("../types").IBabelStage;
8
- };
9
- } | undefined, action: ActionsUnion) => IGatsbyState["babelrc"];
1
+ import { IGatsbyState, ActionsUnion } from "../types";
2
+ export declare const babelrcReducer: (state: {
3
+ stages: {
4
+ develop: import("../types").IBabelStage;
5
+ "develop-html": import("../types").IBabelStage;
6
+ "build-javascript": import("../types").IBabelStage;
7
+ "build-html": import("../types").IBabelStage;
8
+ };
9
+ } | undefined, action: ActionsUnion) => IGatsbyState["babelrc"];
@@ -1,7 +1,7 @@
1
- import { IGatsbyState, ActionsUnion } from "../types";
2
- export declare const componentsReducer: (state: Map<string, {
3
- componentPath: string;
4
- query: string;
5
- pages: Set<string>;
6
- isInBootstrap: boolean;
7
- }> | undefined, action: ActionsUnion) => IGatsbyState["components"];
1
+ import { IGatsbyState, ActionsUnion } from "../types";
2
+ export declare const componentsReducer: (state: Map<string, {
3
+ componentPath: string;
4
+ query: string;
5
+ pages: Set<string>;
6
+ isInBootstrap: boolean;
7
+ }> | undefined, action: ActionsUnion) => IGatsbyState["components"];
@@ -1,2 +1,2 @@
1
- import { IGatsbyConfig, ISetSiteConfig } from "../types";
2
- export declare const configReducer: (state: IGatsbyConfig | undefined, action: ISetSiteConfig) => IGatsbyConfig;
1
+ import { IGatsbyConfig, ISetSiteConfig } from "../types";
2
+ export declare const configReducer: (state: IGatsbyConfig | undefined, action: ISetSiteConfig) => IGatsbyConfig;
@@ -1,2 +1,2 @@
1
- import { ActionsUnion, IGatsbyState } from "../types";
2
- export declare const definitionsReducer: (state: Map<string, import("../types").IDefinitionMeta> | undefined, action: ActionsUnion) => IGatsbyState["definitions"];
1
+ import { ActionsUnion, IGatsbyState } from "../types";
2
+ export declare const definitionsReducer: (state: Map<string, import("../types").IDefinitionMeta> | undefined, action: ActionsUnion) => IGatsbyState["definitions"];
@@ -1,15 +1,15 @@
1
- import { IGatsbyState, ActionsUnion } from "../types";
2
- export declare const flattenedPluginsReducer: (state: {
3
- resolve: string;
4
- id: string;
5
- name: string;
6
- version: string;
7
- pluginOptions: {
8
- [key: string]: unknown;
9
- plugins: [];
10
- };
11
- nodeAPIs: import("../types").GatsbyNodeAPI[];
12
- browserAPIs: ("onRouteUpdate" | "registerServiceWorker" | "onServiceWorkerActive" | "onPostPrefetchPathname")[];
13
- ssrAPIs: ("onRenderBody" | "onPreRenderHTML")[];
14
- pluginFilepath: string;
15
- }[] | undefined, action: ActionsUnion) => IGatsbyState["flattenedPlugins"];
1
+ import { IGatsbyState, ActionsUnion } from "../types";
2
+ export declare const flattenedPluginsReducer: (state: {
3
+ resolve: string;
4
+ id: string;
5
+ name: string;
6
+ version: string;
7
+ pluginOptions: {
8
+ [key: string]: unknown;
9
+ plugins: [];
10
+ };
11
+ nodeAPIs: import("../types").GatsbyNodeAPI[];
12
+ browserAPIs: ("onRouteUpdate" | "registerServiceWorker" | "onServiceWorkerActive" | "onPostPrefetchPathname")[];
13
+ ssrAPIs: ("onRenderBody" | "onPreRenderHTML")[];
14
+ pluginFilepath: string;
15
+ }[] | undefined, action: ActionsUnion) => IGatsbyState["flattenedPlugins"];
@@ -1,34 +1,34 @@
1
- import { nodesReducer } from "./nodes";
2
- import { reducer as logReducer } from "gatsby-cli/lib/reporter/redux/reducer";
3
- import { pagesReducer } from "./pages";
4
- import { redirectsReducer } from "./redirects";
5
- import { schemaReducer } from "./schema";
6
- import { definitionsReducer } from "./definitions";
7
- import { staticQueryComponentsReducer } from "./static-query-components";
8
- import { statusReducer } from "./status";
9
- import { webpackReducer } from "./webpack";
10
- import { pageDataReducer } from "./page-data";
11
- import { themesReducer } from "./themes";
12
- import { webpackCompilationHashReducer } from "./webpack-compilation-hash";
13
- import { configReducer } from "./config";
14
- import { lastActionReducer } from "./last-action";
15
- import { jobsV2Reducer } from "./jobsv2";
16
- import { pageDataStatsReducer } from "./page-data-stats";
17
- import { componentsReducer } from "./components";
18
- import { babelrcReducer } from "./babelrc";
19
- import { jobsReducer } from "./jobs";
20
- import { nodesByTypeReducer } from "./nodes-by-type";
21
- import { programReducer } from "./program";
22
- import { resolvedNodesCacheReducer } from "./resolved-nodes";
23
- import { nodesTouchedReducer } from "./nodes-touched";
24
- import { flattenedPluginsReducer } from "./flattened-plugins";
25
- import { pendingPageDataWritesReducer } from "./pending-page-data-writes";
26
- import { schemaCustomizationReducer } from "./schema-customization";
27
- import { inferenceMetadataReducer } from "./inference-metadata";
28
- import { staticQueriesByTemplateReducer } from "./static-queries-by-template";
29
- import { queriesReducer } from "./queries";
30
- import { visitedPagesReducer } from "./visited-page";
31
- /**
32
- * @property exports.nodesTouched Set<string>
33
- */
34
- export { definitionsReducer as definitions, programReducer as program, nodesReducer as nodes, nodesByTypeReducer as nodesByType, resolvedNodesCacheReducer as resolvedNodesCache, nodesTouchedReducer as nodesTouched, lastActionReducer as lastAction, flattenedPluginsReducer as flattenedPlugins, configReducer as config, schemaReducer as schema, pagesReducer as pages, visitedPagesReducer as visitedPages, statusReducer as status, componentsReducer as components, staticQueryComponentsReducer as staticQueryComponents, jobsReducer as jobs, jobsV2Reducer as jobsV2, webpackReducer as webpack, webpackCompilationHashReducer as webpackCompilationHash, redirectsReducer as redirects, babelrcReducer as babelrc, schemaCustomizationReducer as schemaCustomization, themesReducer as themes, logReducer as logs, inferenceMetadataReducer as inferenceMetadata, pageDataStatsReducer as pageDataStats, pageDataReducer as pageData, pendingPageDataWritesReducer as pendingPageDataWrites, staticQueriesByTemplateReducer as staticQueriesByTemplate, queriesReducer as queries, };
1
+ import { nodesReducer } from "./nodes";
2
+ import { reducer as logReducer } from "gatsby-cli/lib/reporter/redux/reducer";
3
+ import { pagesReducer } from "./pages";
4
+ import { redirectsReducer } from "./redirects";
5
+ import { schemaReducer } from "./schema";
6
+ import { definitionsReducer } from "./definitions";
7
+ import { staticQueryComponentsReducer } from "./static-query-components";
8
+ import { statusReducer } from "./status";
9
+ import { webpackReducer } from "./webpack";
10
+ import { pageDataReducer } from "./page-data";
11
+ import { themesReducer } from "./themes";
12
+ import { webpackCompilationHashReducer } from "./webpack-compilation-hash";
13
+ import { configReducer } from "./config";
14
+ import { lastActionReducer } from "./last-action";
15
+ import { jobsV2Reducer } from "./jobsv2";
16
+ import { pageDataStatsReducer } from "./page-data-stats";
17
+ import { componentsReducer } from "./components";
18
+ import { babelrcReducer } from "./babelrc";
19
+ import { jobsReducer } from "./jobs";
20
+ import { nodesByTypeReducer } from "./nodes-by-type";
21
+ import { programReducer } from "./program";
22
+ import { resolvedNodesCacheReducer } from "./resolved-nodes";
23
+ import { nodesTouchedReducer } from "./nodes-touched";
24
+ import { flattenedPluginsReducer } from "./flattened-plugins";
25
+ import { pendingPageDataWritesReducer } from "./pending-page-data-writes";
26
+ import { schemaCustomizationReducer } from "./schema-customization";
27
+ import { inferenceMetadataReducer } from "./inference-metadata";
28
+ import { staticQueriesByTemplateReducer } from "./static-queries-by-template";
29
+ import { queriesReducer } from "./queries";
30
+ import { visitedPagesReducer } from "./visited-page";
31
+ /**
32
+ * @property exports.nodesTouched Set<string>
33
+ */
34
+ export { definitionsReducer as definitions, programReducer as program, nodesReducer as nodes, nodesByTypeReducer as nodesByType, resolvedNodesCacheReducer as resolvedNodesCache, nodesTouchedReducer as nodesTouched, lastActionReducer as lastAction, flattenedPluginsReducer as flattenedPlugins, configReducer as config, schemaReducer as schema, pagesReducer as pages, visitedPagesReducer as visitedPages, statusReducer as status, componentsReducer as components, staticQueryComponentsReducer as staticQueryComponents, jobsReducer as jobs, jobsV2Reducer as jobsV2, webpackReducer as webpack, webpackCompilationHashReducer as webpackCompilationHash, redirectsReducer as redirects, babelrcReducer as babelrc, schemaCustomizationReducer as schemaCustomization, themesReducer as themes, logReducer as logs, inferenceMetadataReducer as inferenceMetadata, pageDataStatsReducer as pageDataStats, pageDataReducer as pageData, pendingPageDataWritesReducer as pendingPageDataWrites, staticQueriesByTemplateReducer as staticQueriesByTemplate, queriesReducer as queries, };
@@ -1,7 +1,7 @@
1
- import { IGatsbyState, ActionsUnion } from "../types";
2
- export declare const inferenceMetadataReducer: (state: {
3
- step: string;
4
- typeMap: {
5
- [key: string]: import("../../schema/infer/inference-metadata").ITypeMetadata;
6
- };
7
- } | undefined, action: ActionsUnion) => IGatsbyState["inferenceMetadata"];
1
+ import { IGatsbyState, ActionsUnion } from "../types";
2
+ export declare const inferenceMetadataReducer: (state: {
3
+ step: string;
4
+ typeMap: {
5
+ [key: string]: import("../../schema/infer/inference-metadata").ITypeMetadata;
6
+ };
7
+ } | undefined, action: ActionsUnion) => IGatsbyState["inferenceMetadata"];
@@ -1,5 +1,5 @@
1
- import { IGatsbyState, ActionsUnion } from "../types";
2
- export declare const jobsReducer: (state: {
3
- active: any[];
4
- done: any[];
5
- } | undefined, action: ActionsUnion) => IGatsbyState["jobs"];
1
+ import { IGatsbyState, ActionsUnion } from "../types";
2
+ export declare const jobsReducer: (state: {
3
+ active: any[];
4
+ done: any[];
5
+ } | undefined, action: ActionsUnion) => IGatsbyState["jobs"];
@@ -1,5 +1,5 @@
1
- import { ActionsUnion, IGatsbyState, IGatsbyIncompleteJobV2, IGatsbyCompleteJobV2 } from "../types";
2
- export declare const jobsV2Reducer: (state: {
3
- incomplete: Map<string, IGatsbyIncompleteJobV2>;
4
- complete: Map<string, IGatsbyCompleteJobV2>;
5
- } | undefined, action: ActionsUnion) => IGatsbyState["jobsV2"];
1
+ import { ActionsUnion, IGatsbyState, IGatsbyIncompleteJobV2, IGatsbyCompleteJobV2 } from "../types";
2
+ export declare const jobsV2Reducer: (state: {
3
+ incomplete: Map<string, IGatsbyIncompleteJobV2>;
4
+ complete: Map<string, IGatsbyCompleteJobV2>;
5
+ } | undefined, action: ActionsUnion) => IGatsbyState["jobsV2"];
@@ -1,2 +1,2 @@
1
- import { IGatsbyState, ActionsUnion } from "../types";
2
- export declare const lastActionReducer: (_state: unknown, action: ActionsUnion) => IGatsbyState["lastAction"];
1
+ import { IGatsbyState, ActionsUnion } from "../types";
2
+ export declare const lastActionReducer: (_state: unknown, action: ActionsUnion) => IGatsbyState["lastAction"];
@@ -1,2 +1,2 @@
1
- import { IGatsbyNode, IGatsbyState, ActionsUnion } from "../types";
2
- export declare const nodesByTypeReducer: (state: Map<string, Map<string, IGatsbyNode>> | undefined, action: ActionsUnion) => IGatsbyState["nodesByType"];
1
+ import { IGatsbyNode, IGatsbyState, ActionsUnion } from "../types";
2
+ export declare const nodesByTypeReducer: (state: Map<string, Map<string, IGatsbyNode>> | undefined, action: ActionsUnion) => IGatsbyState["nodesByType"];
@@ -1,3 +1,3 @@
1
- import { ActionsUnion } from "./../types";
2
- import { IGatsbyState } from "gatsby/src/redux/types";
3
- export declare const nodesTouchedReducer: (state: Set<string> | undefined, action: ActionsUnion) => IGatsbyState["nodesTouched"];
1
+ import { ActionsUnion } from "./../types";
2
+ import { IGatsbyState } from "gatsby/src/redux/types";
3
+ export declare const nodesTouchedReducer: (state: Set<string> | undefined, action: ActionsUnion) => IGatsbyState["nodesTouched"];
@@ -1,2 +1,2 @@
1
- import { ActionsUnion, IGatsbyState } from "../types";
2
- export declare const nodesReducer: (state: Map<string, import("../types").IGatsbyNode> | undefined, action: ActionsUnion) => IGatsbyState["nodes"];
1
+ import { ActionsUnion, IGatsbyState } from "../types";
2
+ export declare const nodesReducer: (state: Map<string, import("../types").IGatsbyNode> | undefined, action: ActionsUnion) => IGatsbyState["nodes"];
@@ -1,2 +1,2 @@
1
- import { IGatsbyState, ActionsUnion } from "./../types";
2
- export declare const pageDataStatsReducer: (state: Map<string, number> | undefined, action: ActionsUnion) => IGatsbyState["pageDataStats"];
1
+ import { IGatsbyState, ActionsUnion } from "./../types";
2
+ export declare const pageDataStatsReducer: (state: Map<string, number> | undefined, action: ActionsUnion) => IGatsbyState["pageDataStats"];
@@ -1,2 +1,2 @@
1
- import { ActionsUnion, IGatsbyState } from "../types";
2
- export declare const pageDataReducer: (state: Map<string, string> | undefined, action: ActionsUnion) => IGatsbyState["pageData"];
1
+ import { ActionsUnion, IGatsbyState } from "../types";
2
+ export declare const pageDataReducer: (state: Map<string, string> | undefined, action: ActionsUnion) => IGatsbyState["pageData"];
@@ -1,2 +1,2 @@
1
- import { IGatsbyState, IGatsbyPage, IDeleteCacheAction, ICreatePageAction, IDeletePageAction } from "../types";
2
- export declare const pagesReducer: (state: Map<string, IGatsbyPage> | undefined, action: IDeleteCacheAction | ICreatePageAction | IDeletePageAction) => IGatsbyState["pages"];
1
+ import { IGatsbyState, IGatsbyPage, IDeleteCacheAction, ICreatePageAction, IDeletePageAction } from "../types";
2
+ export declare const pagesReducer: (state: Map<string, IGatsbyPage> | undefined, action: IDeleteCacheAction | ICreatePageAction | IDeletePageAction) => IGatsbyState["pages"];
@@ -1,4 +1,4 @@
1
- import { ActionsUnion, IGatsbyState } from "../types";
2
- export declare const pendingPageDataWritesReducer: (state: {
3
- pagePaths: Set<string>;
4
- } | undefined, action: ActionsUnion) => IGatsbyState["pendingPageDataWrites"];
1
+ import { ActionsUnion, IGatsbyState } from "../types";
2
+ export declare const pendingPageDataWritesReducer: (state: {
3
+ pagePaths: Set<string>;
4
+ } | undefined, action: ActionsUnion) => IGatsbyState["pendingPageDataWrites"];
@@ -1,2 +1,2 @@
1
- import { IStateProgram, ActionsUnion } from "../types";
2
- export declare const programReducer: (state: IStateProgram | undefined, action: ActionsUnion) => IStateProgram;
1
+ import { IStateProgram, ActionsUnion } from "../types";
2
+ export declare const programReducer: (state: IStateProgram | undefined, action: ActionsUnion) => IStateProgram;
@@ -1,26 +1,26 @@
1
- import { ActionsUnion, IComponentState, IGatsbyState, IQueryState } from "../types";
2
- export declare const FLAG_DIRTY_NEW_PAGE = 1;
3
- export declare const FLAG_DIRTY_TEXT = 2;
4
- export declare const FLAG_DIRTY_DATA = 4;
5
- export declare const FLAG_DIRTY_PAGE_CONTEXT = 8;
6
- export declare const FLAG_ERROR_EXTRACTION = 1;
7
- export declare const FLAG_RUNNING_INFLIGHT = 1;
8
- /**
9
- * Tracks query dirtiness. Dirty queries are queries that:
10
- *
11
- * - depend on nodes or node collections (via `actions.createPageDependency`) that have changed.
12
- * - have been recently extracted (or their query text has changed)
13
- * - belong to newly created pages (or pages with modified context)
14
- *
15
- * Dirty queries must be re-ran.
16
- */
17
- export declare function queriesReducer(state: {
18
- byNode: Map<string, Set<string>>;
19
- byConnection: Map<string, Set<string>>;
20
- queryNodes: Map<string, Set<string>>;
21
- trackedQueries: Map<string, IQueryState>;
22
- trackedComponents: Map<string, IComponentState>;
23
- deletedQueries: Set<string>;
24
- dirtyQueriesListToEmitViaWebsocket: string[];
25
- } | undefined, action: ActionsUnion): IGatsbyState["queries"];
26
- export declare function hasFlag(allFlags: number, flag: number): boolean;
1
+ import { ActionsUnion, IComponentState, IGatsbyState, IQueryState } from "../types";
2
+ export declare const FLAG_DIRTY_NEW_PAGE = 1;
3
+ export declare const FLAG_DIRTY_TEXT = 2;
4
+ export declare const FLAG_DIRTY_DATA = 4;
5
+ export declare const FLAG_DIRTY_PAGE_CONTEXT = 8;
6
+ export declare const FLAG_ERROR_EXTRACTION = 1;
7
+ export declare const FLAG_RUNNING_INFLIGHT = 1;
8
+ /**
9
+ * Tracks query dirtiness. Dirty queries are queries that:
10
+ *
11
+ * - depend on nodes or node collections (via `actions.createPageDependency`) that have changed.
12
+ * - have been recently extracted (or their query text has changed)
13
+ * - belong to newly created pages (or pages with modified context)
14
+ *
15
+ * Dirty queries must be re-ran.
16
+ */
17
+ export declare function queriesReducer(state: {
18
+ byNode: Map<string, Set<string>>;
19
+ byConnection: Map<string, Set<string>>;
20
+ queryNodes: Map<string, Set<string>>;
21
+ trackedQueries: Map<string, IQueryState>;
22
+ trackedComponents: Map<string, IComponentState>;
23
+ deletedQueries: Set<string>;
24
+ dirtyQueriesListToEmitViaWebsocket: string[];
25
+ } | undefined, action: ActionsUnion): IGatsbyState["queries"];
26
+ export declare function hasFlag(allFlags: number, flag: number): boolean;
@@ -1,2 +1,2 @@
1
- import { IGatsbyState, IRedirect, ICreateRedirectAction } from "../types";
2
- export declare const redirectsReducer: (state: IRedirect[] | undefined, action: ICreateRedirectAction) => IGatsbyState["redirects"];
1
+ import { IGatsbyState, IRedirect, ICreateRedirectAction } from "../types";
2
+ export declare const redirectsReducer: (state: IRedirect[] | undefined, action: ICreateRedirectAction) => IGatsbyState["redirects"];
@@ -1,2 +1,2 @@
1
- import { IGatsbyState, ActionsUnion } from "../types";
2
- export declare const resolvedNodesCacheReducer: (state: Map<string, any> | undefined, action: ActionsUnion) => IGatsbyState["resolvedNodesCache"];
1
+ import { IGatsbyState, ActionsUnion } from "../types";
2
+ export declare const resolvedNodesCacheReducer: (state: Map<string, any> | undefined, action: ActionsUnion) => IGatsbyState["resolvedNodesCache"];
@@ -1,23 +1,23 @@
1
- import { IGatsbyState, ActionsUnion } from "../types";
2
- export declare const schemaCustomizationReducer: (state: {
3
- composer: import("graphql-compose").SchemaComposer<any> | null;
4
- context: Record<string, any>;
5
- fieldExtensions: any;
6
- printConfig: {
7
- path?: string | undefined;
8
- include?: {
9
- types?: string[] | undefined;
10
- plugins?: string[] | undefined;
11
- } | undefined;
12
- exclude?: {
13
- types?: string[] | undefined;
14
- plugins?: string[] | undefined;
15
- } | undefined;
16
- withFieldTypes?: boolean | undefined;
17
- } | null;
18
- thirdPartySchemas: import("graphql").GraphQLSchema[];
19
- types: (string | {
20
- typeOrTypeDef: import("graphql").DocumentNode;
21
- plugin: import("../types").IGatsbyPlugin;
22
- })[];
23
- } | undefined, action: ActionsUnion) => IGatsbyState["schemaCustomization"];
1
+ import { IGatsbyState, ActionsUnion } from "../types";
2
+ export declare const schemaCustomizationReducer: (state: {
3
+ composer: import("graphql-compose").SchemaComposer<any> | null;
4
+ context: Record<string, any>;
5
+ fieldExtensions: any;
6
+ printConfig: {
7
+ path?: string | undefined;
8
+ include?: {
9
+ types?: string[] | undefined;
10
+ plugins?: string[] | undefined;
11
+ } | undefined;
12
+ exclude?: {
13
+ types?: string[] | undefined;
14
+ plugins?: string[] | undefined;
15
+ } | undefined;
16
+ withFieldTypes?: boolean | undefined;
17
+ } | null;
18
+ thirdPartySchemas: import("graphql").GraphQLSchema[];
19
+ types: (string | {
20
+ typeOrTypeDef: import("graphql").DocumentNode;
21
+ plugin: import("../types").IGatsbyPlugin;
22
+ })[];
23
+ } | undefined, action: ActionsUnion) => IGatsbyState["schemaCustomization"];
@@ -1,3 +1,3 @@
1
- import { ActionsUnion, IGatsbyState } from "../types";
2
- import { GraphQLSchema } from "graphql";
3
- export declare const schemaReducer: (state: GraphQLSchema | undefined, action: ActionsUnion) => IGatsbyState["schema"];
1
+ import { ActionsUnion, IGatsbyState } from "../types";
2
+ import { GraphQLSchema } from "graphql";
3
+ export declare const schemaReducer: (state: GraphQLSchema | undefined, action: ActionsUnion) => IGatsbyState["schema"];
@@ -1,2 +1,2 @@
1
- import { ActionsUnion, IGatsbyState } from "../types";
2
- export declare const staticQueriesByTemplateReducer: (state: Map<string, string[]> | undefined, action: ActionsUnion) => IGatsbyState["staticQueriesByTemplate"];
1
+ import { ActionsUnion, IGatsbyState } from "../types";
2
+ export declare const staticQueriesByTemplateReducer: (state: Map<string, string[]> | undefined, action: ActionsUnion) => IGatsbyState["staticQueriesByTemplate"];
@@ -1,2 +1,2 @@
1
- import { ActionsUnion, IGatsbyState } from "../types";
2
- export declare const staticQueryComponentsReducer: (state: Map<string, import("../types").IGatsbyStaticQueryComponents> | undefined, action: ActionsUnion) => IGatsbyState["staticQueryComponents"];
1
+ import { ActionsUnion, IGatsbyState } from "../types";
2
+ export declare const staticQueryComponentsReducer: (state: Map<string, import("../types").IGatsbyStaticQueryComponents> | undefined, action: ActionsUnion) => IGatsbyState["staticQueryComponents"];
@@ -1,5 +1,5 @@
1
- import { ActionsUnion, IGatsbyState } from "../types";
2
- export declare const statusReducer: (state: {
3
- plugins: Record<string, import("../types").IGatsbyPlugin>;
4
- PLUGINS_HASH: string;
5
- } | undefined, action: ActionsUnion) => IGatsbyState["status"];
1
+ import { ActionsUnion, IGatsbyState } from "../types";
2
+ export declare const statusReducer: (state: {
3
+ plugins: Record<string, import("../types").IGatsbyPlugin>;
4
+ PLUGINS_HASH: string;
5
+ } | undefined, action: ActionsUnion) => IGatsbyState["status"];
@@ -1,2 +1,2 @@
1
- import { IGatsbyState, ISetResolvedThemesAction } from "../types";
2
- export declare const themesReducer: (state: IGatsbyState["themes"], action: ISetResolvedThemesAction) => IGatsbyState["themes"];
1
+ import { IGatsbyState, ISetResolvedThemesAction } from "../types";
2
+ export declare const themesReducer: (state: IGatsbyState["themes"], action: ISetResolvedThemesAction) => IGatsbyState["themes"];
@@ -1,2 +1,2 @@
1
- import { IGatsbyState, IDeleteCacheAction, ICreateServerVisitedPage } from "../types";
2
- export declare const visitedPagesReducer: (state: Map<string, Set<string>> | undefined, action: IDeleteCacheAction | ICreateServerVisitedPage) => IGatsbyState["visitedPages"];
1
+ import { IGatsbyState, IDeleteCacheAction, ICreateServerVisitedPage } from "../types";
2
+ export declare const visitedPagesReducer: (state: Map<string, Set<string>> | undefined, action: IDeleteCacheAction | ICreateServerVisitedPage) => IGatsbyState["visitedPages"];