@genql/wapm-registry
v0.0.0
Published
SDK client for registry.wapm.io GraphQL API
Downloads
2
Maintainers
Readme
wapm.io TypeScript API client
GraphQL client for wapm.io with full TypeScript support
Installation
npm install @genql/wapm-registry
Docs
You can read more about usage in the client docs and Genql docs
Example usage
import { createClient } from '@genql/wapm-registry'
const client = createClient()
// query variables
let name = ''
let namespace = ''
client
.query({
getAnyDeployConfig: {
__args: {
name: name,
namespace: namespace,
},
createdAt: true,
id: true,
name: true,
},
})
.then((x) => console.log(JSON.stringify(x, null, 4)))
// query variables
let name = ''
let namespace = ''
client
.query({
getAnyDeployConfigVersion: {
__args: {
name: name,
namespace: namespace,
},
config: true,
configWebc: true,
createdAt: true,
},
})
.then((x) => console.log(JSON.stringify(x, null, 4)))
Sponsor
This project is sponsored by Notaku: Create public docs websites from your Notion pages