Skip to content

fix(gatsby): various Typescript definitions - #15268

Merged
freiksenet merged 4 commits into
gatsbyjs:masterfrom
d4rekanguok:fix/ts-def-actions
Jul 2, 2019
Merged

fix(gatsby): various Typescript definitions#15268
freiksenet merged 4 commits into
gatsbyjs:masterfrom
d4rekanguok:fix/ts-def-actions

Conversation

@d4rekanguok

@d4rekanguok d4rekanguok commented Jul 1, 2019

Copy link
Copy Markdown
Contributor

Description

Hi folks, sorry about these droplet of tiny fixes, I wasn't actively looking for issues & only fix them as I go. If you keep this one open for a few days, I'll push here whenever I find more issues.

  • [gatsby] Fix touchNode def so plugin is the 2nd argument instead of being nested in the first one (reference)

  • [gatsby] Fix createRedirect def: make fromPath & toPath the only 2 required fields (reference)

  • [gatsby-source-filesystem] Fix Cache definition in createRemoteFileNode args (related to this one)

  • [gatsby-source-filesystem] add definition for createFileNodeFromBuffer (reference)

Related Issues

@d4rekanguok
d4rekanguok requested a review from a team July 1, 2019 09:31
@d4rekanguok d4rekanguok changed the title Fix/ts def actions fix(gatsby): Typescript definitions for some of the actions Jul 1, 2019
@d4rekanguok d4rekanguok changed the title fix(gatsby): Typescript definitions for some of the actions fix(gatsby): various Typescript definitions Jul 1, 2019
@freiksenet

Copy link
Copy Markdown
Contributor

Thanks a lot!

@freiksenet
freiksenet merged commit b8f3ed5 into gatsbyjs:master Jul 2, 2019
@sidharthachatterjee

Copy link
Copy Markdown
Contributor

Published in gatsby-source-filesystem@2.1.2 and gatsby@2.12.1

@d4rekanguok
d4rekanguok deleted the fix/ts-def-actions branch July 3, 2019 00:55
johno pushed a commit to johno/gatsby that referenced this pull request Jul 17, 2019
* fix touchNode def

* update createRedirect typings

* [gatsby-source-filesystem] fix cache definition in CreateRemoteFileNodeArgs

* [gatsby-source-filesystem] add definitions for createFileNodeFromBuffer
pragmaticpat pushed a commit to pragmaticpat/gatsby that referenced this pull request Apr 28, 2022
* fix touchNode def

* update createRedirect typings

* [gatsby-source-filesystem] fix cache definition in CreateRemoteFileNodeArgs

* [gatsby-source-filesystem] add definitions for createFileNodeFromBuffer
mwfrost pushed a commit to mwfrost/gatsby that referenced this pull request Apr 20, 2023
* fix touchNode def

* update createRedirect typings

* [gatsby-source-filesystem] fix cache definition in CreateRemoteFileNodeArgs

* [gatsby-source-filesystem] add definitions for createFileNodeFromBuffer
raffishquartan pushed a commit to raffishquartan/gatsby that referenced this pull request Apr 28, 2026
* fix touchNode def

* update createRedirect typings

* [gatsby-source-filesystem] fix cache definition in CreateRemoteFileNodeArgs

* [gatsby-source-filesystem] add definitions for createFileNodeFromBuffer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants