@punks/backend-entity-manager 0.0.292 → 0.0.293

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.
@@ -22,8 +22,13 @@ export declare class EntityOperationUnauthorizedException<TEntity> extends Entit
22
22
  }
23
23
  export declare class EntityNotFoundException<TEntityId> extends EntityManagerException {
24
24
  private readonly entityId;
25
- constructor(id?: TEntityId);
25
+ private readonly entityType;
26
+ constructor(entityData: {
27
+ id: TEntityId;
28
+ type: string;
29
+ });
26
30
  getEntityId(): TEntityId | undefined;
31
+ getEntityType(): string | undefined;
27
32
  }
28
33
  export declare class MultipleEntitiesFoundException extends EntityManagerException {
29
34
  constructor();
package/dist/index.d.ts CHANGED
@@ -3221,8 +3221,13 @@ declare class EntityOperationUnauthorizedException<TEntity> extends EntityManage
3221
3221
  }
3222
3222
  declare class EntityNotFoundException<TEntityId> extends EntityManagerException {
3223
3223
  private readonly entityId;
3224
- constructor(id?: TEntityId);
3224
+ private readonly entityType;
3225
+ constructor(entityData: {
3226
+ id: TEntityId;
3227
+ type: string;
3228
+ });
3225
3229
  getEntityId(): TEntityId | undefined;
3230
+ getEntityType(): string | undefined;
3226
3231
  }
3227
3232
  declare class MultipleEntitiesFoundException extends EntityManagerException {
3228
3233
  constructor();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@punks/backend-entity-manager",
3
- "version": "0.0.292",
3
+ "version": "0.0.293",
4
4
  "description": "",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",