File tree Expand file tree Collapse file tree
packages/gatsby-source-filesystem Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- import { Node , Store , Cache } from "gatsby"
1+ import { Node , Store , NodePluginArgs } from "gatsby"
22
33/**
44 * @see https://www.gatsbyjs.org/packages/gatsby-source-filesystem/?=files#createfilepath
@@ -29,7 +29,8 @@ export interface CreateFilePathArgs {
2929export interface CreateRemoteFileNodeArgs {
3030 url : string
3131 store : Store
32- cache : Cache [ "cache" ]
32+ // TODO: use GatsbyCache type (requires gatsby@2.22.13)
33+ cache : NodePluginArgs [ "cache" ]
3334 createNode : Function
3435 createNodeId : Function
3536 parentNodeId ?: string
@@ -46,7 +47,8 @@ export interface CreateRemoteFileNodeArgs {
4647export interface CreateFileNodeFromBufferArgs {
4748 buffer : Buffer
4849 store : Store
49- cache : Cache [ "cache" ]
50+ // TODO: use GatsbyCache type (requires gatsby@2.22.13)
51+ cache : NodePluginArgs [ "cache" ]
5052 createNode : Function
5153 createNodeId : Function
5254 parentNodeId ?: string
You can’t perform that action at this time.
0 commit comments