@kiki.im.dev/zenstack-fetch
v0.2.1
Published
Generate fetch function from ZModel schema file of ZenStack with ofetch
Downloads
12
Readme
ZenStack Fetch Plugin
ZenStack Fetch Plugin is a standard plugin of ZenStack to generate fetch from the ZModel schema with ofetch.
Example
TBD
Setup
npm i -D @kiki.im.dev/zenstack-fetch
add the plugin in your ZModel schema file
plugin fetch {
provider = '@kiki.im.dev/zenstack-fetch'
}
run zenstack generate
npx zenstack generate
you will see the schema.md
generated in the same folder of your ZModel schema file.
Options
TBD
Local Development
TBD
Run Sample
simply run npm run dev
to see a more complicated result schema.md generated from schema.zmodel