@morlay/session-rdb 0.1.4 → 0.1.6

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.
Files changed (37) hide show
  1. package/README.md +4 -7
  2. package/dist/artifact.d.mts +2 -1
  3. package/dist/{src-BmogreEz.mjs → deletion-ODZFcbZm.mjs} +134 -90
  4. package/dist/deletion.d.mts +1 -1
  5. package/dist/deletion.mjs +1 -1
  6. package/dist/export.d.mts +1 -1
  7. package/dist/gc.d.mts +1 -1
  8. package/dist/import.d.mts +2 -2
  9. package/dist/import.mjs +2 -2
  10. package/dist/index.d.mts +1 -1
  11. package/dist/index.mjs +3 -3
  12. package/dist/log-C0q5svm7.d.mts +594 -0
  13. package/dist/{sqlite-YCr2-Fov.mjs → sqlite-DjOnMRh2.mjs} +73 -2
  14. package/dist/storage.d.mts +2 -2
  15. package/dist/storage.mjs +1 -2
  16. package/dist/testing.d.mts +2 -2
  17. package/dist/testing.mjs +95 -14669
  18. package/dist/usage.d.mts +1 -1
  19. package/drizzle/postgres/20261008103001_v3_schedule_tasks/migration.sql +11 -0
  20. package/drizzle/sqlite/20261008103000_v3_schedule_tasks/migration.sql +14 -0
  21. package/package.json +60 -42
  22. package/src/branch.ts +1 -1
  23. package/src/entities/v3/index.ts +4 -0
  24. package/src/entities/v3/schedule-tasks.ts +16 -0
  25. package/src/index.ts +2 -1
  26. package/src/schema.ts +2 -0
  27. package/src/sqlite.ts +5 -2
  28. package/src/storage-takeover/repository.ts +61 -0
  29. package/src/storage-takeover/storage-backend.ts +120 -42
  30. package/src/storage-takeover/types.ts +9 -0
  31. package/dist/dist-DHer1cql.mjs +0 -1531
  32. package/dist/invariant.d.mts +0 -6
  33. package/dist/invariant.mjs +0 -8
  34. package/dist/log-DYyxRh7j.d.mts +0 -6078
  35. package/dist/rolldown-runtime-EAsCxrDo.mjs +0 -14
  36. package/src/invariant.ts +0 -13
  37. package/dist/{branch-aiXPmnKC.mjs → branch-DbFW3rJX.mjs} +1 -1
@@ -1,6 +0,0 @@
1
- import { Context } from "@deepseek-ai/cordis";
2
- //#region src/invariant.d.ts
3
- export declare const name = "session-rdb-invariant";
4
- export declare const inject: string[];
5
- export declare const apply: (ctx: Context) => Promise<() => void>;
6
- //#endregion
@@ -1,8 +0,0 @@
1
- //#region src/invariant.ts
2
- const PACKAGE_NAME = "@morlay/session-rdb";
3
- const name = "session-rdb-invariant";
4
- const inject = ["invariants"];
5
- const install = () => {};
6
- const apply = (ctx) => Promise.resolve(ctx.invariants.register(PACKAGE_NAME, install));
7
- //#endregion
8
- export { apply, inject, name };