@imperium/graphql-client
v13.0.0
Published
Imperium Graphql client package
Downloads
281
Readme
@imperium/graphql-client
Environment Variables
These can be specified in a .env
file in the client package. These are also not secret as they are included in the client build and available on the client.
| Variable | Default | Description |
|----------------|--------------------------|-----------------------------------------------------------------------------------------------|
| IMP_API_URL | 'http://localhost:4001' | The URL of the api endpoint. |
| graphql | '/api/graphql' | What endpoint the graphql server is accessible at. |
| graphqlws | '' | What endpoint the graphql subscriptions server is accessible at. Should be a ws:// websocket. |
| apolloDefaults | see defaults.ts
file | The defaults options loaded into Apollo client. |