@forinda/kickjs-db 5.2.0 → 5.2.2

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/README.md CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  > KickJS-native ORM — code-first schema, reversible migrations, multi-dialect SQL.
4
4
 
5
- Phantom-typed column builders, `SchemaToKysely<S>` for end-to-end row inference, `KickDbRegister` module augmentation, runtime lifecycle hooks (`query` / `queryError` / `slowQuery`), `customType` mapper, `pgEnum` with full migration pipeline, and `db.$extends({ model })` per-table methods.
5
+ Phantom-typed column builders, `SchemaToTypes<S>` for end-to-end row inference, `KickDbRegister` module augmentation, runtime lifecycle hooks (`query` / `queryError` / `slowQuery`), `customType` mapper, `pgEnum` with full migration pipeline, and `db.$extends({ model })` per-table methods.
6
6
 
7
7
  ## Install
8
8
 
@@ -1,5 +1,5 @@
1
1
 
2
- import { a as QueryErrorEvent, s as SlowQueryEvent } from "./types-snBo_IiR.mjs";
2
+ import { a as QueryErrorEvent, s as SlowQueryEvent } from "./types-DlFKeljT.mjs";
3
3
 
4
4
  //#region src/devtools-events.d.ts
5
5
  declare module '@forinda/kickjs-devtools-kit/bus' {
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @forinda/kickjs-db v5.2.0
2
+ * @forinda/kickjs-db v5.2.2
3
3
  *
4
4
  * Copyright (c) Felix Orinda
5
5
  *
@@ -8,4 +8,4 @@
8
8
  *
9
9
  * @license MIT
10
10
  */
11
- export {};
11
+ export{};
package/dist/index.d.mts CHANGED
@@ -1,5 +1,5 @@
1
1
 
2
- import { a as QueryErrorEvent, c as TransactionEvent, d as RegisteredDB, f as ExtendedClient, i as KickDbClientEvents, l as TransactionRollbackEvent, m as ModelExtensions, n as CreateDbClientOptions, o as QueryEvent, p as ExtensionDefinition, r as KickDbClient, t as BeforeQueryEvent, u as KickDbRegister } from "./types-snBo_IiR.mjs";
2
+ import { a as QueryErrorEvent, c as TransactionEvent, d as RegisteredDB, f as ExtendedClient, i as KickDbClientEvents, l as TransactionRollbackEvent, m as ModelExtensions, n as CreateDbClientOptions, o as QueryEvent, p as ExtensionDefinition, r as KickDbClient, t as BeforeQueryEvent, u as KickDbRegister } from "./types-DlFKeljT.mjs";
3
3
  import { _ as TableSnapshot, a as GeneratedBrand, c as NotNullBrand, d as Dialect, f as EnumSnapshot, g as SchemaSnapshot, h as IndexSnapshot, i as FkSpec, l as CheckSnapshot, m as ForeignKeySnapshot, n as ColumnRef, o as KICK_GENERATED, p as FkAction, r as ColumnState, s as KICK_NOT_NULL, t as ColumnBuilder, u as ColumnSnapshot } from "./types-Dc9RQGSf.mjs";
4
4
  import * as _$_forinda_kickjs0 from "@forinda/kickjs";
5
5
  import { InjectionToken } from "@forinda/kickjs";
@@ -324,7 +324,7 @@ interface KickDbAdapterConfig {
324
324
  * `migrateLatest()` on boot (apply policy only). Pair with
325
325
  * `DEVTOOLS_BUS` so the events surface in the DevTools panel:
326
326
  *
327
- * import { DEVTOOLS_BUS } from '@forinda/kickjs-devtools-kit/bus'
327
+ * import { DEVTOOLS_BUS } from '@forinda/kickjs-devtools-kit/bus/token'
328
328
  * // Resolve only when devtools is actually wired — adopters who
329
329
  * // skip @forinda/kickjs-devtools never register the token, and
330
330
  * // resolve() throws on missing tokens.