@duraxis/orm 0.3.0 → 0.4.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.
@@ -1,5 +1,6 @@
1
1
  import type { EntityClass } from "../metadata/entity-metadata.js";
2
2
  import type { Repository } from "../repository/repository.js";
3
3
  export interface TransactionContext {
4
+ readonly signal?: AbortSignal;
4
5
  getRepository<TEntity extends object>(entity: EntityClass<TEntity>): Repository<TEntity>;
5
6
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@duraxis/orm",
3
- "version": "0.3.0",
3
+ "version": "0.4.0",
4
4
  "description": "Decorator-based entity mapping and repositories for the Duraxis database.",
5
5
  "license": "ISC",
6
6
  "author": "João Paulo Dias <joaopdias.dev@gmail.com>",
@@ -45,12 +45,12 @@
45
45
  "CHANGELOG.md"
46
46
  ],
47
47
  "dependencies": {
48
- "@duraxis/core": "0.3.0"
48
+ "@duraxis/core": "0.4.0"
49
49
  },
50
50
  "devDependencies": {
51
- "@duraxis/storage": "0.1.2",
52
- "@duraxis/storage-memory": "0.1.3",
53
- "@duraxis/storage-disk": "0.1.3"
51
+ "@duraxis/storage": "0.2.0",
52
+ "@duraxis/storage-memory": "0.2.0",
53
+ "@duraxis/storage-disk": "0.2.0"
54
54
  },
55
55
  "scripts": {
56
56
  "build": "vite build && tsc -p tsconfig.build.json",