yaku-sdk
v1.0.2
Published
1. generete file, if you first generate file, you can write value, example is file `exampleFileGenerate.js` you can write `launchesPast(limit: 1)` adjust schema qraphql. command `node example/exampleFileGenerate.js` 2. generate schema. command `node examp
Downloads
2
Readme
- generete file, if you first generate file, you can write value, example is file
exampleFileGenerate.js
you can writelaunchesPast(limit: 1)
adjust schema qraphql. commandnode example/exampleFileGenerate.js
- generate schema. command
node example/exampleSchema.js
and change codeurl
. example :const result = await generateSchema.generateSchema({ url: `https://api.spacex.land/graphql/` });
- change code
launchesPast
andinsert_users
adjust with name your schema
and build typescript. npm run buildif (resultMethod === 'query') { return await sdk.launchesPast(resultQuery); } else if (resultMethod === 'mutation') { return await sdk.insert_users(resultQuery); }