6 Commits

Author SHA1 Message Date
Patrick Moody
6a77cd0b73 Add support for geoPoint field (#128)
* add geoPoint field

* refactor dockerfile

* update snapshots

* fix integration tests

* fix output directory
2025-04-28 09:07:26 +10:00
Patrick Moody
9b0b580077 Improved Expand type (#119)
* refactor integration tests

* if expand type is provided, expand no longer optional

* test and build

* readme

* fix workflow
2025-04-06 21:26:41 +10:00
Maximilian Skowron
8744267b3e Support PocketBase version 0.23.0-rc12 (#103)
* feat(*): upgrade to schema version 0.23.0 of pocketbase

* test(*): update all snapshots and test-db/schema

* test(Dockerfile): use pocketbase version 0.23.0-rc12 for integration tests

* refactor(constants): remove updated/created fields from baserecords

PocketBase no longer adds those fields by default.

* feat(*): use new _superusers collection for url generation

* refactor(test): remove auxiliary.db

* docs(readme): update target version and add npx command example with version

* test(Dockerfile): upgrade rc version to 0.23.0-rc13

* test(*): fix integration tests to be compatible with 0.23.0-rc14

* refactor(Dockerfile): upgrade to 0.23.1
2024-11-27 20:27:38 +11:00
Wojciech Koperski
44b8350f1b Add option to use environment variables as url, email and password (#68)
* feat: using env variables as url, email and pass

* feat: Update readme

* feat: Add built index.js

* fix: typo in readme
2023-06-27 22:18:47 -07:00
Patrick Moody
edb4d7db2c fix integration test (#62)
* fix exit code

* update test db and schema for new PB versions
2023-04-30 20:53:14 -07:00
Patrick Moody
d04a445072 Support PocketBase v0.8 (#19)
* add v0.8 schema

* update system fields to handle base and auth collection types

* handle relation fields with multiple items

* create enums for select fields that have values

* additional typecheck

* add user field for backwards compatability

* refactor strings

* refactor system types

* readme

* Add lint and formatting (#17)

* add linting and formatting

* lint codebase

* prettier

* update test workflow

* update test workflow again

* fix: url login for pocketbase 0.8.0-rc2 servers (#16)

Co-authored-by: Ethan Olsen <ethan@crowdhubapps.com>

* e2e integration test (#18)

* add dockerfile to run e2e tests

* add db typegen

* cleanup

* add test

* add github workflow

* remove interactive flag

* intentionally fail integration test

* save artifacts in case of failing tests

* fix output dir

* ignore files

Co-authored-by: Ethan Olsen <46045126+o2dependent@users.noreply.github.com>
Co-authored-by: Ethan Olsen <ethan@crowdhubapps.com>
2022-11-18 21:06:55 -08:00