github patmood/pocketbase-typegen v1.2.0

latest releases: v1.3.2, v1.3.1, v1.3.0...
2 years ago

You can now automatically type the whole PocketBase SDK using the TypedPocketBase type generated by this library 🎉

import { TypedPocketBase } from "./pocketbase-types"
const pb = new PocketBase('http://127.0.0.1:8090') as TypedPocketBase

You need to be using PocketBase SDK v0.18.3+. If using a lower version of PocketBase SDK and v1.2.0 of this package, pass the --no-sdk option for full compatibility.

Thanks to @scriptcoded for quickly adding this.

What's Changed

New Contributors

Full Changelog: v1.1.13...v1.2.0

Don't miss a new pocketbase-typegen release

NewReleases is sending notifications on new releases.