6.0.6 • Published 3 years ago

@openland/spacex-cli v6.0.6

Weekly downloads
19
License
-
Repository
-
Last release
3 years ago

SpaceX GraphQL Compiler

Compiler for SpaceX GraphQL.

Install

yarn add -D @openland/spacex-cli get-graphql-schema

Generate Client

Requirements

Generate Client

SpaceX Compiler generates three files:

  • spacex.definitions.json: Descriptors of all fragments and operations for GraphQL Engines
  • spacex.types.ts: Typescript fragments and operations files
  • spacex.ts: Client itself
get-graphql-schema https://api.example.com/graphql --json > schema.json
yarn spacex-cli compile \
    --path "./src/api/definitions/*.graphql" \
    --schema ./schema.json \
    --output ./src/api/ \
    --name ExampleClient

License

MIT

6.0.5

3 years ago

6.0.6

3 years ago

5.0.4

3 years ago

5.0.3

3 years ago

5.0.2

3 years ago

5.0.1

3 years ago

5.0.0

3 years ago

6.0.1

3 years ago

6.0.0

3 years ago

6.0.3

3 years ago

6.0.2

3 years ago

6.0.4

3 years ago

4.1.4

3 years ago

4.1.3

3 years ago

4.1.6

3 years ago

4.1.5

3 years ago

4.1.0

3 years ago

4.0.1

3 years ago

4.1.2

3 years ago

4.1.1

3 years ago

4.0.2

3 years ago

3.1.1

4 years ago

3.1.0

4 years ago

3.0.2

4 years ago

3.0.1

4 years ago

3.0.0

4 years ago

1.0.8

4 years ago

1.0.7

4 years ago

1.0.6

4 years ago

1.0.5

4 years ago

1.0.4

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago