@piggly/ddd-toolkit
Advanced tools
Comparing version 1.1.1 to 1.1.2
@@ -14,3 +14,3 @@ import { PaginateQuery } from '../types'; | ||
* | ||
* @type {DatabaseContext<Context>} _context | ||
* @type {DatabaseContext} _context | ||
* @protected | ||
@@ -25,3 +25,3 @@ * @memberof Repository | ||
* | ||
* @param {DatabaseContext<Context>} context | ||
* @param {DatabaseContext} context | ||
* @public | ||
@@ -37,3 +37,3 @@ * @constructor | ||
* | ||
* @param {EntityUUID} id | ||
* @param {EntityID<any>} id | ||
* @returns {Promise<Entity | undefined>} | ||
@@ -47,3 +47,3 @@ * @public | ||
*/ | ||
abstract findById(id: EntityID): Promise<Entity | undefined>; | ||
abstract findById(id: EntityID<any>): Promise<Entity | undefined>; | ||
/** | ||
@@ -50,0 +50,0 @@ * Find entities by a filter. |
@@ -11,3 +11,3 @@ "use strict"; | ||
* | ||
* @type {DatabaseContext<Context>} _context | ||
* @type {DatabaseContext} _context | ||
* @protected | ||
@@ -22,3 +22,3 @@ * @memberof Repository | ||
* | ||
* @param {DatabaseContext<Context>} context | ||
* @param {DatabaseContext} context | ||
* @public | ||
@@ -25,0 +25,0 @@ * @constructor |
@@ -14,3 +14,3 @@ import { PaginateQuery } from '../types'; | ||
* | ||
* @type {DatabaseContext<Context>} _context | ||
* @type {DatabaseContext} _context | ||
* @protected | ||
@@ -25,3 +25,3 @@ * @memberof Repository | ||
* | ||
* @param {DatabaseContext<Context>} context | ||
* @param {DatabaseContext} context | ||
* @public | ||
@@ -37,3 +37,3 @@ * @constructor | ||
* | ||
* @param {EntityUUID} id | ||
* @param {EntityID<any>} id | ||
* @returns {Promise<Entity | undefined>} | ||
@@ -47,3 +47,3 @@ * @public | ||
*/ | ||
abstract findById(id: EntityID): Promise<Entity | undefined>; | ||
abstract findById(id: EntityID<any>): Promise<Entity | undefined>; | ||
/** | ||
@@ -50,0 +50,0 @@ * Find entities by a filter. |
@@ -9,3 +9,3 @@ /** | ||
* | ||
* @type {DatabaseContext<Context>} _context | ||
* @type {DatabaseContext} _context | ||
* @protected | ||
@@ -20,3 +20,3 @@ * @memberof Repository | ||
* | ||
* @param {DatabaseContext<Context>} context | ||
* @param {DatabaseContext} context | ||
* @public | ||
@@ -23,0 +23,0 @@ * @constructor |
{ | ||
"name": "@piggly/ddd-toolkit", | ||
"version": "1.1.1", | ||
"version": "1.1.2", | ||
"description": "A bunch of tools to use Model-Driven Design and Domain-Driven Design architecture in a back-end application.", | ||
@@ -5,0 +5,0 @@ "scripts": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
119592