graphcool-json-schema
TypeScript icon, indicating that this package has built-in type declarations

1.2.1 • Public • Published

graphcool-json-schema

JSON schema of graphcool.yml files

CircleCI npm version

Usage

JSON Schema

As hosted URL

You can use the following URL for the current JSON schema file:

https://raw.githubusercontent.com/graphcool/graphcool-json-schema/master/src/schema.json

Import as file in Node

const schema = require('graphcool-json-schema/dist/schema.json')

Usage with VSCode

Add the following to your settings:

{
  "yaml.schemas": {
    "https://raw.githubusercontent.com/graphcool/graphcool-json-schema/master/src/schema.json": "graphcool.yml"
  }
}

Typescript Definitions

yarn add graphcool-json-schema
import { GraphcoolDefinition } from 'graphcool-json-schema'

Readme

Keywords

none

Package Sidebar

Install

npm i graphcool-json-schema

Weekly Downloads

5,819

Version

1.2.1

License

none

Last publish

Collaborators

  • schickling
  • timsuchanek