shopify-graphql-types
TypeScript icon, indicating that this package has built-in type declarations

0.0.2 • Public • Published

Important

All necessary schema files are obtained from the main folder using symbolic links

Graphql Type builder

Use modules from https://the-guild.dev/

They are usually made in javascript but are constantly updated

Use build_schema.js to generate a graphql schema from our introspection query

Document Nodes

After you generate the schema.graphql, you can use .graphqlrc to create document Nodes with auto completion and syntax checking with neovim COC

Typescript

Then you can generate typescript interfaces for all schema types, and predefine documet nodes using:

npx graphql-code-generator

/shopify-graphql-types/

    Package Sidebar

    Install

    npm i shopify-graphql-types

    Weekly Downloads

    1

    Version

    0.0.2

    License

    none

    Unpacked Size

    3.17 MB

    Total Files

    4

    Last publish

    Collaborators

    • daviareias