@decaf-ts/db-decorators 0.6.15 → 0.6.16

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.14";
18
+ export declare const VERSION = "0.6.16";
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.14";
18
+ export const VERSION = "0.6.16";
19
19
  //# sourceMappingURL=index.js.map
@@ -278,10 +278,10 @@ export declare function operation<V = object>(baseOp: OperationKeys.ON | Operati
278
278
  * @template P - Represents a tuple of any parameter types that the handler function accepts.
279
279
  *
280
280
  * @param {string} key - The metadata key used to store and later retrieve the handler and its parameters.
281
- * @param {(...params: P) => boolean} handler - A predicate or handler function that receives the same parameters as the decorator
281
+ * @param {function(...P):boolean} handler - A predicate or handler function that receives the same parameters as the decorator
282
282
  * and determines whether the associated logic should execute.
283
283
  *
284
- * @return {(...params: P) => ReturnType<typeof metadata>}
284
+ * @return {function(...P):function(...Partial<P>):void}
285
285
  * Returns a function that, when invoked with the given parameters, stores a metadata object containing
286
286
  * both the parameters and the handler reference under the provided key.
287
287
  *
@@ -396,10 +396,10 @@ export function operation(baseOp, operation = DBOperations.ALL, handler, dataToA
396
396
  * @template P - Represents a tuple of any parameter types that the handler function accepts.
397
397
  *
398
398
  * @param {string} key - The metadata key used to store and later retrieve the handler and its parameters.
399
- * @param {(...params: P) => boolean} handler - A predicate or handler function that receives the same parameters as the decorator
399
+ * @param {function(...P):boolean} handler - A predicate or handler function that receives the same parameters as the decorator
400
400
  * and determines whether the associated logic should execute.
401
401
  *
402
- * @return {(...params: P) => ReturnType<typeof metadata>}
402
+ * @return {function(...P):function(...Partial<P>):void}
403
403
  * Returns a function that, when invoked with the given parameters, stores a metadata object containing
404
404
  * both the parameters and the handler reference under the provided key.
405
405
  *
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.14";
35
+ exports.VERSION = "0.6.16";
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.14";
18
+ export declare const VERSION = "0.6.16";
@@ -418,10 +418,10 @@ function operation(baseOp, operation = constants_1.DBOperations.ALL, handler, da
418
418
  * @template P - Represents a tuple of any parameter types that the handler function accepts.
419
419
  *
420
420
  * @param {string} key - The metadata key used to store and later retrieve the handler and its parameters.
421
- * @param {(...params: P) => boolean} handler - A predicate or handler function that receives the same parameters as the decorator
421
+ * @param {function(...P):boolean} handler - A predicate or handler function that receives the same parameters as the decorator
422
422
  * and determines whether the associated logic should execute.
423
423
  *
424
- * @return {(...params: P) => ReturnType<typeof metadata>}
424
+ * @return {function(...P):function(...Partial<P>):void}
425
425
  * Returns a function that, when invoked with the given parameters, stores a metadata object containing
426
426
  * both the parameters and the handler reference under the provided key.
427
427
  *
@@ -278,10 +278,10 @@ export declare function operation<V = object>(baseOp: OperationKeys.ON | Operati
278
278
  * @template P - Represents a tuple of any parameter types that the handler function accepts.
279
279
  *
280
280
  * @param {string} key - The metadata key used to store and later retrieve the handler and its parameters.
281
- * @param {(...params: P) => boolean} handler - A predicate or handler function that receives the same parameters as the decorator
281
+ * @param {function(...P):boolean} handler - A predicate or handler function that receives the same parameters as the decorator
282
282
  * and determines whether the associated logic should execute.
283
283
  *
284
- * @return {(...params: P) => ReturnType<typeof metadata>}
284
+ * @return {function(...P):function(...Partial<P>):void}
285
285
  * Returns a function that, when invoked with the given parameters, stores a metadata object containing
286
286
  * both the parameters and the handler reference under the provided key.
287
287
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@decaf-ts/db-decorators",
3
- "version": "0.6.15",
3
+ "version": "0.6.16",
4
4
  "description": "Agnostic database decorators and repository",
5
5
  "type": "module",
6
6
  "exports": {