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
Readme
- generete file, if you first generate file, you can write value, example is file
exampleFileGenerate.jsyou can writelaunchesPast(limit: 1)adjust schema qraphql. commandnode example/exampleFileGenerate.js - generate schema. command
node example/exampleSchema.jsand change codeurl. example :const result = await generateSchema.generateSchema({ url: `https://api.spacex.land/graphql/` }); - change code
launchesPastandinsert_usersadjust 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); }
