0.2.4 • Published 3 years ago
opvious-graph v0.2.4
Opvious GraphQL API types 
npm i opvious-graph
This package contains auto-generated types for Opvious' underlying GraphQL API.
Consider also using the higher level SDK exported by
opvious
.
Quickstart
You'll need an Opvious API access token to call SDK methods. You can generate one at https://hub.opvious.io/authorizations.
import {GraphQLClient} from 'graphql-request';
import {getSdk} from 'opvious-graph';
// Underlying generic GraphQL client.
const client = new GraphQLClient('https://api.opvious.io/graphql', {
headers: {authorization: process.env.OPVIOUS_TOKEN},
});
// Typesafe GraphQL SDK.
const sdk = getSdk(
<R, V>(query: string, vars: V) => client.rawRequest<R, V>(query, vars)
);
0.1.30
3 years ago
0.1.31
3 years ago
0.1.32
3 years ago
0.1.33
3 years ago
0.1.34
3 years ago
0.1.35
3 years ago
0.1.36
3 years ago
0.1.37
3 years ago
0.1.27
3 years ago
0.1.28
3 years ago
0.1.29
3 years ago
0.1.41
3 years ago
0.1.42
3 years ago
0.1.43
3 years ago
0.1.21
3 years ago
0.1.44
3 years ago
0.1.22
3 years ago
0.1.23
3 years ago
0.1.24
3 years ago
0.1.26
3 years ago
0.1.40
3 years ago
0.2.1
3 years ago
0.2.0
3 years ago
0.1.38
3 years ago
0.1.39
3 years ago
0.2.2
3 years ago
0.2.4
3 years ago
0.1.20
3 years ago
0.1.19
3 years ago
0.1.18
3 years ago
0.1.17
3 years ago
0.1.16
3 years ago
0.1.15
3 years ago
0.1.14
3 years ago
0.1.13
3 years ago
0.1.12
3 years ago
0.1.11
3 years ago
0.1.10
3 years ago
0.1.9
3 years ago
0.1.7
3 years ago