/appwrite-types-generator

CLI tool to generate Typescript Definitions from your Appwrite Collections.

Primary LanguageJavaScript

Welcome to `appwrite-types-generator` 👋

Version License: ISC Twitter: DittmannTorsten

CLI tool to generate Typescript, Kotlin or PHP Definitions from your Appwrite Collections.

This is work in progress

Install

npm i appwrite-types-generator

CLI Usage

aw-types generate -l typescript -c config.json -o types/ 

package.json

{
    "scripts": {
        "types": "aw-types generate -l typescript -c config.json -o types/"
    }
}

config.json

{
    "endpoint": "http://appwrite.io/v1",
    "project": "607dd16494ca6",
    "key": "159b16ec27dcd686ca0927fb4a7e....."
}

Languages

  • typescript
  • kotlin
  • php

Author

👤 Torsten Dittmann