Socket
Book a DemoInstallSign in
Socket

@homebound/graphql-typescript-possible-types

Package Overview
Dependencies
Maintainers
46
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@homebound/graphql-typescript-possible-types

[![NPM](https://img.shields.io/npm/v/@homebound/graphql-typescript-possible-types)](https://www.npmjs.com/package/@homebound/graphql-typescript-possible-types)

npmnpm
Version
2.12.0
Version published
Weekly downloads
1.1K
0.72%
Maintainers
46
Weekly downloads
 
Created
Source

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:

  • Make your desired changes in the src directory

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

  • Run npm run build, to create a build with your changes

  • Run npm run graphql-codegen, and verify the output in graphql-types.ts matches your expected output.

FAQs

Package last updated on 26 Aug 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts