@punks/backend-entity-manager 0.0.139 → 0.0.140
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.
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/types/platforms/nest/__test__/server/database/core/entities/foo.entity.d.ts +2 -1
- package/dist/cjs/types/platforms/nest/__test__/server/entities/foos/foo.snapshot.d.ts +3 -3
- package/dist/cjs/types/platforms/nest/base/entitySnapshotService.d.ts +1 -1
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/platforms/nest/__test__/server/database/core/entities/foo.entity.d.ts +2 -1
- package/dist/esm/types/platforms/nest/__test__/server/entities/foos/foo.snapshot.d.ts +3 -3
- package/dist/esm/types/platforms/nest/base/entitySnapshotService.d.ts +1 -1
- package/dist/index.d.ts +1 -1
- package/package.json +1 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { EntityManagerRegistry } from "../../../../../..";
|
|
2
2
|
import { NestEntitySnapshotService } from "../../../../base/entitySnapshotService";
|
|
3
|
-
import { FooEntity } from "../../database/core/entities/foo.entity";
|
|
3
|
+
import { FooEntity, FooEntityId } from "../../database/core/entities/foo.entity";
|
|
4
4
|
import { FooRepository } from "../../database/core/repositories/foo.repository";
|
|
5
|
-
export declare class FooEntitySnapshotService extends NestEntitySnapshotService<FooEntity,
|
|
5
|
+
export declare class FooEntitySnapshotService extends NestEntitySnapshotService<FooEntity, FooEntityId, FooRepository, any> {
|
|
6
6
|
constructor(registry: EntityManagerRegistry);
|
|
7
|
-
getSnapshot(id:
|
|
7
|
+
getSnapshot(id: FooEntityId): Promise<any>;
|
|
8
8
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { EntitySnapshotService } from "../../../base/snapshot";
|
|
2
2
|
import { EntityServiceLocator } from "../../../providers/services";
|
|
3
3
|
import { EntityManagerRegistry } from "../ioc";
|
|
4
|
-
export declare abstract class NestEntitySnapshotService<TEntity, TEntityId, TEntityRepository> extends EntitySnapshotService<
|
|
4
|
+
export declare abstract class NestEntitySnapshotService<TEntity, TEntityId, TEntityRepository, TEntitySnapshot> extends EntitySnapshotService<TEntityId, TEntitySnapshot> {
|
|
5
5
|
protected readonly services: EntityServiceLocator<TEntity, unknown>;
|
|
6
6
|
constructor(entityName: string, registry: EntityManagerRegistry);
|
|
7
7
|
get repository(): TEntityRepository;
|
package/dist/index.d.ts
CHANGED
|
@@ -1451,7 +1451,7 @@ declare abstract class NestEntitySerializer<TEntity, TEntityId> extends EntitySe
|
|
|
1451
1451
|
constructor(entityName: string, registry: EntityManagerRegistry);
|
|
1452
1452
|
}
|
|
1453
1453
|
|
|
1454
|
-
declare abstract class NestEntitySnapshotService<TEntity, TEntityId, TEntityRepository> extends EntitySnapshotService<
|
|
1454
|
+
declare abstract class NestEntitySnapshotService<TEntity, TEntityId, TEntityRepository, TEntitySnapshot> extends EntitySnapshotService<TEntityId, TEntitySnapshot> {
|
|
1455
1455
|
protected readonly services: EntityServiceLocator<TEntity, unknown>;
|
|
1456
1456
|
constructor(entityName: string, registry: EntityManagerRegistry);
|
|
1457
1457
|
get repository(): TEntityRepository;
|