appwrite-typer
v0.0.1
Published
CLI tool to generate Typescript definitions for your Appwrite collections.
Downloads
12
Readme
CLI tool to generate Typescript definitions for your Appwrite collections.
This is fork of a deprecated repo https://github.com/TorstenDittmann/appwrite-types-generator upgraded.
Install
npm i appwrite-typer
CLI Usage
aw-typer generate -c config.json -o types/
package.json
{
"scripts": {
"types": "aw-typer generate -c config.json -o types/"
}
}
config.json
{
"endpoint": "https://cloud.appwrite.io/v1",
"projectId": "6588091....",
"databaseId": "658827....",
"apiKey": "0da035ee4c522d239446c93b...."
}
Languages supported
- typescript
Author
👤 Oren Aksakal
- Twitter: @orenaksakal
- Github: @orenaksakal
Credits to
👤 Torsten Dittmann
- Website: https://dittmann.dev
- Twitter: @DittmannTorsten
- Github: @TorstenDittmann