prismagraphql/graphcool-json-schema

Name: graphcool-json-schema

Owner: Prisma

Description: JSON schema of graphcool.yml files

Created: 2017-09-06 12:37:01.0

Updated: 2018-05-22 09:38:44.0

Pushed: 2018-05-24 00:40:00.0

Homepage: null

Size: 41

Language: TypeScript

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

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:

s://raw.githubusercontent.com/graphcool/graphcool-json-schema/master/src/schema.json
Import as file in Node
t schema = require('graphcool-json-schema/dist/schema.json')
Usage with VSCode

Add the following to your settings:


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


Typescript Definitions
 add graphcool-json-schema
s
rt { GraphcoolDefinition } from 'graphcool-json-schema'

This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.