graphcool-json-schema

JSON schema of graphcool.yml files

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
graphcool-json-schema
1281.2.15 years ago5 years agoMinified + gzip package size for graphcool-json-schema in KB

Readme

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'