Skip to content

CLI tool to generate Typescript definitions for your Appwrite collections.

Notifications You must be signed in to change notification settings

orenaksakal/appwrite-typer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Welcome to `appwrite-typer` 👋

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.

code

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

About

CLI tool to generate Typescript definitions for your Appwrite collections.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published