0.0.1 ā€¢ Published 5 months ago

appwrite-typer v0.0.1

Weekly downloads
-
License
ISC
Repository
github
Last release
5 months ago

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

Credits to

šŸ‘¤ Torsten Dittmann