pocketbase-typegen icon indicating copy to clipboard operation
pocketbase-typegen copied to clipboard

Typescript generation for pocketbase records

Results 9 pocketbase-typegen issues
Sort by recently updated
recently updated
newest added

**Describe the bug** When you don't have any additional fields in Users collection, the *UsersRecord* will be typed as never, and with that *UsersResponse* will also be typed as never...

**Describe the bug** Pocketbase Typegen CLI is not correctly parsing `-e` flag. Not Working: ```bash pnpm dlx pocketbase-typegen -e ./.env.local --out ./src/types/pocketbase.ts (...) Missing schema path. Check options: pocketbase-typegen --help...

**Describe the bug** My view collection has only an ID field, as this returns a public count of entries. This was generated by typegen: ```ts export type MainDataCountResponse = Required...

**Describe the bug** Types for View collections are generated with `created` and `updated`, while View collections do not require or enforce those fields. Example View collection Response: ```json { "id":...

**Describe the bug** After [bun](https://bun.sh) hit v1.0.0 yesterday I was eager to give it a spin, but unfortunately this package doesn't seem to work right out of the box. Not...

Thanks for such a nice and straight forward tool. I was testing file upload with PocketBase/Vue/FormKit. I managed to strongly type my form. ```ts type FormKitS = FormKitSchemaFormKit & {...

**Describe the bug** DeprecationWarning when I run `npx pocketbase-typegen --env -o src/lib/types/pocketbase-types.ts`, the script stops/frezz. But the `pocketbase-types.ts` is updated with the new changes. Log: ``` % npx pocketbase-typegen --env...

**Describe the bug** A clear and concise description of what the bug is. npx pocketbase-typegen --url 'https:...' --email 'lalalal@email' --password 'secretstuff' **Versions** pocketbase-typegen version: [v1.2.1](https://github.com/patmood/pocketbase-typegen/tree/v1.2.1) pocketbase version:[PocketBase v0.22.14](https://github.com/pocketbase/pocketbase/releases)