@homebound/graphql-typescript-possible-types
TypeScript icon, indicating that this package has built-in type declarations

2.18.0 • Public • Published

NPM

This is a graphql-code-generator plugin that generates types for implementating an Apollo-/graphql-style implementation in TypeScript.

Overview

This plugin generates a possibleTypes object defining possible types which implement interfaces, needed by Apollo

Contributing

In order to develop changes for this package, follow these steps:

  1. Make your desired changes in the src directory

  2. Adjust the example files under the integration directory to use your new feature.

  3. Run yarn build, to create a build with your changes

  4. Run yarn graphql-codegen, and verify the output in graphql-types.ts matches your expected output.

/@homebound/graphql-typescript-possible-types/

    Package Sidebar

    Install

    npm i @homebound/graphql-typescript-possible-types

    Weekly Downloads

    1,953

    Version

    2.18.0

    License

    none

    Unpacked Size

    3.46 kB

    Total Files

    4

    Last publish

    Collaborators

    • apattersonatx-hb
    • dmcgarry
    • zovington
    • shaberman
    • larryhomebound
    • cfrazier91
    • foxy
    • homebound-publisher
    • blimmer-
    • ghaislip
    • roberth-gomez
    • hbitaccounts
    • blambillottehomebound
    • nbhargava-hb
    • arvinsiva
    • allangaldino
    • tyambaohb
    • icampbellsmith
    • zgavin
    • pmishra40
    • kyeh
    • marcin_soja
    • galonso_homebound
    • henrysipp