@geekmidas/db 1.1.1 → 10.0.0-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/errors-CfFCan-X.mjs +69 -0
- package/dist/errors-CfFCan-X.mjs.map +1 -0
- package/dist/errors-Cs5jlAv-.cjs +93 -0
- package/dist/errors-Cs5jlAv-.cjs.map +1 -0
- package/dist/errors.cjs +6 -0
- package/dist/errors.d.cts +53 -0
- package/dist/errors.d.cts.map +1 -0
- package/dist/errors.d.mts +53 -0
- package/dist/errors.d.mts.map +1 -0
- package/dist/errors.mjs +3 -0
- package/dist/kysely/pagination.cjs +1 -1
- package/dist/kysely/pagination.d.mts +1 -1
- package/dist/kysely/pagination.mjs +1 -1
- package/dist/{kysely-Dm1w5gAY.d.mts → kysely-BAedYsvn.d.mts} +1 -1
- package/dist/{kysely-Dm1w5gAY.d.mts.map → kysely-BAedYsvn.d.mts.map} +1 -1
- package/dist/{kysely-DmfA94RY.mjs → kysely-Bo_Zg-D3.mjs} +1 -1
- package/dist/{kysely-DmfA94RY.mjs.map → kysely-Bo_Zg-D3.mjs.map} +1 -1
- package/dist/{kysely-8WPSKCZG.cjs → kysely-LWvS2ekY.cjs} +1 -1
- package/dist/{kysely-8WPSKCZG.cjs.map → kysely-LWvS2ekY.cjs.map} +1 -1
- package/dist/kysely.cjs +1 -1
- package/dist/kysely.d.mts +1 -1
- package/dist/kysely.mjs +1 -1
- package/dist/objection/pagination.cjs +1 -1
- package/dist/objection/pagination.d.mts +1 -1
- package/dist/objection/pagination.mjs +1 -1
- package/dist/{pagination-Bdoa4PVj.cjs → pagination-Bu1dqOy0.cjs} +1 -1
- package/dist/{pagination-Bdoa4PVj.cjs.map → pagination-Bu1dqOy0.cjs.map} +1 -1
- package/dist/{pagination-BDLa7Yb_.mjs → pagination-CQ8QHXaL.mjs} +1 -1
- package/dist/{pagination-BDLa7Yb_.mjs.map → pagination-CQ8QHXaL.mjs.map} +1 -1
- package/dist/{pagination-BziGl-B8.d.mts → pagination-kv-KWS-7.d.mts} +1 -1
- package/dist/{pagination-BziGl-B8.d.mts.map → pagination-kv-KWS-7.d.mts.map} +1 -1
- package/dist/pagination.cjs +1 -1
- package/dist/pagination.d.mts +1 -1
- package/dist/pagination.mjs +1 -1
- package/dist/pg/roles.cjs +154 -0
- package/dist/pg/roles.cjs.map +1 -0
- package/dist/pg/roles.d.cts +82 -0
- package/dist/pg/roles.d.cts.map +1 -0
- package/dist/pg/roles.d.mts +82 -0
- package/dist/pg/roles.d.mts.map +1 -0
- package/dist/pg/roles.mjs +150 -0
- package/dist/pg/roles.mjs.map +1 -0
- package/dist/pg/url.cjs +33 -0
- package/dist/pg/url.cjs.map +1 -0
- package/dist/pg/url.d.cts +47 -0
- package/dist/pg/url.d.cts.map +1 -0
- package/dist/pg/url.d.mts +47 -0
- package/dist/pg/url.d.mts.map +1 -0
- package/dist/pg/url.mjs +33 -0
- package/dist/pg/url.mjs.map +1 -0
- package/dist/rls.cjs +1 -1
- package/dist/rls.d.mts +1 -1
- package/dist/rls.mjs +1 -1
- package/package.json +34 -1
- package/CHANGELOG.md +0 -47
- package/src/__tests__/kysely.integration.spec.ts +0 -741
- package/src/__tests__/kysely.spec.ts +0 -394
- package/src/__tests__/rls.spec.ts +0 -716
- package/src/kysely/__tests__/pagination.integration.spec.ts +0 -341
- package/src/kysely/pagination.ts +0 -113
- package/src/kysely.ts +0 -33
- package/src/objection/__tests__/pagination.integration.spec.ts +0 -291
- package/src/objection/pagination.ts +0 -98
- package/src/pagination.ts +0 -49
- package/src/rls.ts +0 -90
- package/tsconfig.json +0 -9
package/CHANGELOG.md
DELETED
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
# @geekmidas/db
|
|
2
|
-
|
|
3
|
-
## 1.1.1
|
|
4
|
-
|
|
5
|
-
### Patch Changes
|
|
6
|
-
|
|
7
|
-
- 🐛 [#11](https://github.com/geekmidas/toolbox/pull/11) [`40f4dc0`](https://github.com/geekmidas/toolbox/commit/40f4dc095911b2223a255029d8f776caf7781309) Thanks [@geekmidas](https://github.com/geekmidas)! - Patch release across all packages to realign published versions with the
|
|
8
|
-
registry. The previous release only published the four packages that had
|
|
9
|
-
version bumps; the remaining packages failed with "cannot publish over the
|
|
10
|
-
previously published versions" because their versions were unchanged.
|
|
11
|
-
|
|
12
|
-
## 1.1.0
|
|
13
|
-
|
|
14
|
-
### Minor Changes
|
|
15
|
-
|
|
16
|
-
- [#9](https://github.com/geekmidas/toolbox/pull/9) [`e31a60a`](https://github.com/geekmidas/toolbox/commit/e31a60a971366180a0e7bec6e7da56d8f36aa21f) Thanks [@geekmidas](https://github.com/geekmidas)! - Support kysely 0.29.
|
|
17
|
-
|
|
18
|
-
kysely 0.29 moved `Migrator` and `FileMigrationProvider` from the root barrel
|
|
19
|
-
(`'kysely'`) to the `'kysely/migration'` subpath. `@geekmidas/testkit`'s
|
|
20
|
-
`PostgresKyselyMigrator` now imports `Migrator` from `'kysely/migration'` and
|
|
21
|
-
its kysely peer becomes `~0.29.4` — consumers must be on kysely 0.29+.
|
|
22
|
-
|
|
23
|
-
The library packages that only declare a kysely _peer_ (`db`, `audit`, `studio`,
|
|
24
|
-
`telescope`) don't touch the moved symbols, so their peer range is _widened_ to
|
|
25
|
-
`>=0.28.2 <0.30.0` — they now support both 0.28 and 0.29 (non-breaking).
|
|
26
|
-
|
|
27
|
-
`@geekmidas/cli`'s scaffolded `test/globalSetup.ts` template now imports
|
|
28
|
-
`FileMigrationProvider` from `'kysely/migration'` so generated projects work on
|
|
29
|
-
kysely 0.29.
|
|
30
|
-
|
|
31
|
-
## 1.0.2
|
|
32
|
-
|
|
33
|
-
### Patch Changes
|
|
34
|
-
|
|
35
|
-
- 🐛 [`d70c6c0`](https://github.com/geekmidas/toolbox/commit/d70c6c0aeb8a79da2473ac77dbd8255a4a2f5651) Thanks [@geekmidas](https://github.com/geekmidas)! - Fix `package.json` exports so TypeScript declarations resolve correctly under NodeNext/Bundler module resolution. Each subpath export now nests `types` inside its `import`/`require` condition, pointing at the `.d.mts` and `.d.cts` files that `tsdown` actually emits (previously the exports referenced non-existent `.d.ts` files, causing type-resolution failures for consumers). Both ESM (`.mjs`) and CJS (`.cjs`) runtime entry points are preserved. Additionally, `@geekmidas/ui` had `import` paths pointing at `.js` files that were never emitted — those are corrected to `.mjs`.
|
|
36
|
-
|
|
37
|
-
## 1.0.1
|
|
38
|
-
|
|
39
|
-
### Patch Changes
|
|
40
|
-
|
|
41
|
-
- ✨ [`ac041cc`](https://github.com/geekmidas/toolbox/commit/ac041cc459e87107ffb4e508e85c04c3079bf040) Thanks [@geekmidas](https://github.com/geekmidas)! - Add objection pagination and fix secret loading for server apps
|
|
42
|
-
|
|
43
|
-
## 1.0.0
|
|
44
|
-
|
|
45
|
-
### Major Changes
|
|
46
|
-
|
|
47
|
-
- [`ff7b115`](https://github.com/geekmidas/toolbox/commit/ff7b11599f60f84ac6cdc73714c853ecf786b2e8) Thanks [@geekmidas](https://github.com/geekmidas)! - Version 1 Stable release
|