@punks/backend-entity-manager 0.0.18 → 0.0.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.
- package/dist/cjs/index.js +8 -2
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/types/abstractions/searchParameters.d.ts +2 -2
- package/dist/cjs/types/platforms/nest/decorators/index.d.ts +1 -0
- package/dist/esm/index.js +8 -3
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/abstractions/searchParameters.d.ts +2 -2
- package/dist/esm/types/platforms/nest/decorators/index.d.ts +1 -0
- package/dist/index.d.ts +8 -7
- package/package.json +1 -1
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
export { WpEntityAuthMiddleware, EntityAuthMiddlewareProps, } from "./authorization";
|
|
2
2
|
export { WpEntityActions, EntityActionsProps } from "./actions";
|
|
3
|
+
export { WpEntityAdapter, EntityAdapterProps } from "./adapter";
|
|
3
4
|
export { WpEntityConnector, EntityConnectorProps } from "./connector";
|
|
4
5
|
export { WpEntityConverter, EntityConverterProps } from "./converter";
|
|
5
6
|
export { WpEntity, EntityProps } from "./entity";
|
package/dist/esm/index.js
CHANGED
|
@@ -62,8 +62,8 @@ var ReplicationMode;
|
|
|
62
62
|
|
|
63
63
|
var SortDirection;
|
|
64
64
|
(function (SortDirection) {
|
|
65
|
-
SortDirection[
|
|
66
|
-
SortDirection[
|
|
65
|
+
SortDirection["Asc"] = "asc";
|
|
66
|
+
SortDirection["Desc"] = "desc";
|
|
67
67
|
})(SortDirection || (SortDirection = {}));
|
|
68
68
|
|
|
69
69
|
class NestEntityActions {
|
|
@@ -29893,6 +29893,11 @@ const WpEntityActions = (entityName, props = {}) => common.applyDecorators(commo
|
|
|
29893
29893
|
...props,
|
|
29894
29894
|
}));
|
|
29895
29895
|
|
|
29896
|
+
const WpEntityAdapter = (entityName, props = {}) => common.applyDecorators(common.Injectable(), common.SetMetadata(EntityManagerSymbols.EntityAdapter, {
|
|
29897
|
+
entityName,
|
|
29898
|
+
...props,
|
|
29899
|
+
}));
|
|
29900
|
+
|
|
29896
29901
|
const WpEntityConnector = (entityName, props = {}) => common.applyDecorators(common.Injectable(), common.SetMetadata(EntityManagerSymbols.EntityConnector, {
|
|
29897
29902
|
entityName,
|
|
29898
29903
|
...props,
|
|
@@ -60621,5 +60626,5 @@ EntityManagerModule = __decorate$3([
|
|
|
60621
60626
|
})
|
|
60622
60627
|
], EntityManagerModule);
|
|
60623
60628
|
|
|
60624
|
-
export { EntityManagerException, EntityManagerInitializer, EntityManagerModule, EntityManagerRegistry, EntityManagerSymbols, EntityNotFoundException, EntityOperationType, EntityOperationUnauthorizedException, ModulesContainerProvider, MultipleEntitiesFoundException, NestEntityActions, NestEntityManager, NestTypeOrmQueryBuilder, NestTypeOrmRepository, QueryBuilderBase, ReplicationMode, SortDirection, WpEntity, WpEntityActions, WpEntityAuthMiddleware, WpEntityConnector, WpEntityConverter, WpEntityManager, WpEntityQueryBuilder, WpEntityRepository };
|
|
60629
|
+
export { EntityManagerException, EntityManagerInitializer, EntityManagerModule, EntityManagerRegistry, EntityManagerSymbols, EntityNotFoundException, EntityOperationType, EntityOperationUnauthorizedException, ModulesContainerProvider, MultipleEntitiesFoundException, NestEntityActions, NestEntityManager, NestTypeOrmQueryBuilder, NestTypeOrmRepository, QueryBuilderBase, ReplicationMode, SortDirection, WpEntity, WpEntityActions, WpEntityAdapter, WpEntityAuthMiddleware, WpEntityConnector, WpEntityConverter, WpEntityManager, WpEntityQueryBuilder, WpEntityRepository };
|
|
60625
60630
|
//# sourceMappingURL=index.js.map
|