1
0
mirror of https://github.com/yldio/copilot.git synced 2024-12-27 04:10:05 +02:00
copilot/packages/cp-gql-schema/README.md

31 lines
879 B
Markdown
Raw Normal View History

# joyent-portal-gql-cp-schema
2017-06-01 00:35:35 +03:00
[![License: MPL 2.0](https://img.shields.io/badge/License-MPL%202.0-brightgreen.svg)](https://opensource.org/licenses/MPL-2.0)
[![standard-readme compliant](https://img.shields.io/badge/standard--readme-OK-green.svg)](https://github.com/RichardLitt/standard-readme)
[GraphQL](http://graphql.org) schema that represents the data structure and dependencies of the Container Pilot Portal. To be used by other packages so that they can lock and adapt properly to changes made to it, rather than having duplicates of this schema.
## Table of Contents
- [Install](#install)
- [Usage](#usage)
- [License](#license)
## Install
```
yarn add --dev joyent-portal-gql-cp-schema
```
## Usage
```js
const containerPilotSchema = require('joyent-portal-gql-cp-schema');
containerPilotSchema().then((schema) => console.log(schema))
```
## License
MPL-2.0