@genql/bible
v1.0.0
Published
Graphql client
Downloads
6
Readme
@genql/bible
Your awesome graphql client ❤️
Example usage
import { createClient } from '@genql/bible'
const client = createClient()
client
.query({
passages: {
verses: {
content: true,
book: true,
version: true,
verse: true,
type: true,
},
chapter: true,
version: true,
},
})
.then(x => console.log(JSON.stringify(x, null, 4)))
client
.query({
passages: {
verses: {
content: true,
version: true,
chapter: true,
verse: true,
order: true,
},
book: true,
version: true,
},
})
.then(x => console.log(JSON.stringify(x, null, 4)))
client
.query({
passages: {
verses: {
book: true,
type: true,
},
},
})
.then(x => console.log(JSON.stringify(x, null, 4)))
client
.query({
passages: {
verses: {
book: true,
verse: true,
},
chapter: true,
version: true,
},
})
.then(x => console.log(JSON.stringify(x, null, 4)))
