@punks/backend-entity-manager 0.0.263 → 0.0.264
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 +1 -15
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/types/platforms/nest/ioc/tokens/index.d.ts +1 -1
- package/dist/esm/index.js +1 -15
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/platforms/nest/ioc/tokens/index.d.ts +1 -1
- package/dist/index.d.ts +2 -1
- package/package.json +1 -1
package/dist/cjs/index.js
CHANGED
|
@@ -21554,9 +21554,6 @@ exports.CustomDiscoveryModule = __decorate([
|
|
|
21554
21554
|
const LIB_DI_TOKEN_NAMESPACE = "WP";
|
|
21555
21555
|
const buildProviderToken = (name) => `${LIB_DI_TOKEN_NAMESPACE}.PROVIDER.${name}`;
|
|
21556
21556
|
|
|
21557
|
-
const EntityManagerProviderToken = {
|
|
21558
|
-
OperationsLockRepository: {},
|
|
21559
|
-
};
|
|
21560
21557
|
const toSnakeUpperCase = (str) => lodash.exports.trimStart(str.replace(/([A-Z])/g, (match) => `_${match}`).toUpperCase(), "_");
|
|
21561
21558
|
const getEntityManagerProviderToken = (name) => buildProviderToken(toSnakeUpperCase(name));
|
|
21562
21559
|
|
|
@@ -23527,17 +23524,6 @@ exports.EntityManagerModule = class EntityManagerModule {
|
|
|
23527
23524
|
constructor(registry) {
|
|
23528
23525
|
this.registry = registry;
|
|
23529
23526
|
}
|
|
23530
|
-
// static forRoot(input: {
|
|
23531
|
-
// imports?: ModuleMetadata["imports"]
|
|
23532
|
-
// providers?: ModuleMetadata["providers"]
|
|
23533
|
-
// }): DynamicModule {
|
|
23534
|
-
// return {
|
|
23535
|
-
// module: EntityManagerModule,
|
|
23536
|
-
// imports: ModuleData.imports,
|
|
23537
|
-
// providers: [...ModuleData.providers, ...(input.providers ?? [])],
|
|
23538
|
-
// exports: ModuleData.exports,
|
|
23539
|
-
// }
|
|
23540
|
-
// }
|
|
23541
23527
|
onModuleInit() {
|
|
23542
23528
|
initializeIoCContext({
|
|
23543
23529
|
registry: this.registry,
|
|
@@ -33004,7 +32990,6 @@ exports.AwsSesEmailTemplate = AwsSesEmailTemplate;
|
|
|
33004
32990
|
exports.CurrentUser = CurrentUser;
|
|
33005
32991
|
exports.EntityManagerConfigurationError = EntityManagerConfigurationError;
|
|
33006
32992
|
exports.EntityManagerException = EntityManagerException;
|
|
33007
|
-
exports.EntityManagerProviderToken = EntityManagerProviderToken;
|
|
33008
32993
|
exports.EntityManagerSymbols = EntityManagerSymbols;
|
|
33009
32994
|
exports.EntityManagerUnauthorizedException = EntityManagerUnauthorizedException;
|
|
33010
32995
|
exports.EntityNotFoundException = EntityNotFoundException;
|
|
@@ -33081,6 +33066,7 @@ exports.buildProviderToken = buildProviderToken;
|
|
|
33081
33066
|
exports.buildRolesGuard = buildRolesGuard;
|
|
33082
33067
|
exports.createContainer = createContainer;
|
|
33083
33068
|
exports.createExpressFileResponse = createExpressFileResponse;
|
|
33069
|
+
exports.getEntityManagerProviderToken = getEntityManagerProviderToken;
|
|
33084
33070
|
exports.getLocalizedText = getLocalizedText;
|
|
33085
33071
|
exports.newUuid = newUuid;
|
|
33086
33072
|
exports.renderHandlebarsTemplate = renderHandlebarsTemplate;
|