@decaf-ts/db-decorators 0.6.19 → 0.6.20

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.
@@ -15,4 +15,4 @@ export * from "./validation";
15
15
  * @const VERSION
16
16
  * @memberOf module:db-decorators
17
17
  */
18
- export declare const VERSION = "0.6.18";
18
+ export declare const VERSION = "0.6.19";
package/lib/esm/index.js CHANGED
@@ -15,5 +15,5 @@ export * from "./validation/index.js";
15
15
  * @const VERSION
16
16
  * @memberOf module:db-decorators
17
17
  */
18
- export const VERSION = "0.6.18";
18
+ export const VERSION = "0.6.19";
19
19
  //# sourceMappingURL=index.js.map
@@ -14,7 +14,7 @@ export type ModelExtension<M extends Model = Model> = M extends Model ? M : neve
14
14
  * @description Configuration flags for repository operations.
15
15
  * @summary Defines the configuration options that control repository behavior during operations.
16
16
  * These flags manage context relationships, validation behavior, operation metadata, and error handling.
17
- * @typedef {Object} RepositoryFlags
17
+ * @interface RepositoryFlags
18
18
  * @property {Context} [parentContext] - The parent context for hierarchical operations
19
19
  * @property {Context[]} [childContexts] - Child contexts spawned from this context
20
20
  * @property {any[]} [callArgs] - Arguments passed to the operation
@@ -27,7 +27,7 @@ export type ModelExtension<M extends Model = Model> = M extends Model ? M : neve
27
27
  * @property {boolean} rebuildWithTransient - Whether to include transient properties when rebuilding models
28
28
  * @memberOf module:db-decorators
29
29
  */
30
- export type RepositoryFlags = {
30
+ export interface RepositoryFlags {
31
31
  parentContext?: Context<any>;
32
32
  childContexts?: Context<any>[];
33
33
  callArgs?: any[];
@@ -38,4 +38,4 @@ export type RepositoryFlags = {
38
38
  operation?: OperationKeys;
39
39
  breakOnHandlerError: boolean;
40
40
  rebuildWithTransient: boolean;
41
- };
41
+ }
package/lib/index.cjs CHANGED
@@ -32,5 +32,5 @@ __exportStar(require("./validation/index.cjs"), exports);
32
32
  * @const VERSION
33
33
  * @memberOf module:db-decorators
34
34
  */
35
- exports.VERSION = "0.6.18";
35
+ exports.VERSION = "0.6.19";
36
36
  //# sourceMappingURL=index.js.map
package/lib/index.d.ts CHANGED
@@ -15,4 +15,4 @@ export * from "./validation";
15
15
  * @const VERSION
16
16
  * @memberOf module:db-decorators
17
17
  */
18
- export declare const VERSION = "0.6.18";
18
+ export declare const VERSION = "0.6.19";
@@ -14,7 +14,7 @@ export type ModelExtension<M extends Model = Model> = M extends Model ? M : neve
14
14
  * @description Configuration flags for repository operations.
15
15
  * @summary Defines the configuration options that control repository behavior during operations.
16
16
  * These flags manage context relationships, validation behavior, operation metadata, and error handling.
17
- * @typedef {Object} RepositoryFlags
17
+ * @interface RepositoryFlags
18
18
  * @property {Context} [parentContext] - The parent context for hierarchical operations
19
19
  * @property {Context[]} [childContexts] - Child contexts spawned from this context
20
20
  * @property {any[]} [callArgs] - Arguments passed to the operation
@@ -27,7 +27,7 @@ export type ModelExtension<M extends Model = Model> = M extends Model ? M : neve
27
27
  * @property {boolean} rebuildWithTransient - Whether to include transient properties when rebuilding models
28
28
  * @memberOf module:db-decorators
29
29
  */
30
- export type RepositoryFlags = {
30
+ export interface RepositoryFlags {
31
31
  parentContext?: Context<any>;
32
32
  childContexts?: Context<any>[];
33
33
  callArgs?: any[];
@@ -38,4 +38,4 @@ export type RepositoryFlags = {
38
38
  operation?: OperationKeys;
39
39
  breakOnHandlerError: boolean;
40
40
  rebuildWithTransient: boolean;
41
- };
41
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@decaf-ts/db-decorators",
3
- "version": "0.6.19",
3
+ "version": "0.6.20",
4
4
  "description": "Agnostic database decorators and repository",
5
5
  "type": "module",
6
6
  "exports": {