@punks/backend-entity-manager 0.0.246 → 0.0.247
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 +88 -9
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/types/platforms/nest/decorators/connector.d.ts +4 -2
- package/dist/cjs/types/platforms/nest/decorators/connectorMapper.d.ts +5 -0
- package/dist/cjs/types/platforms/nest/decorators/index.d.ts +1 -0
- package/dist/cjs/types/platforms/nest/decorators/symbols.d.ts +1 -0
- package/dist/cjs/types/platforms/nest/ioc/registry/index.d.ts +4 -2
- package/dist/cjs/types/platforms/nest/processors/initializer/index.d.ts +2 -0
- package/dist/cjs/types/services/connectors.d.ts +1 -0
- package/dist/esm/index.js +89 -11
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/platforms/nest/decorators/connector.d.ts +4 -2
- package/dist/esm/types/platforms/nest/decorators/connectorMapper.d.ts +5 -0
- package/dist/esm/types/platforms/nest/decorators/index.d.ts +1 -0
- package/dist/esm/types/platforms/nest/decorators/symbols.d.ts +1 -0
- package/dist/esm/types/platforms/nest/ioc/registry/index.d.ts +4 -2
- package/dist/esm/types/platforms/nest/processors/initializer/index.d.ts +2 -0
- package/dist/esm/types/services/connectors.d.ts +1 -0
- package/dist/index.d.ts +16 -4
- package/package.json +3 -3
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
|
|
1
|
+
import { ConnectorOptions } from "../../../abstractions/connectors";
|
|
2
|
+
export interface EntityConnectorProps extends ConnectorOptions {
|
|
2
3
|
entityName: string;
|
|
4
|
+
connectorName: string;
|
|
3
5
|
}
|
|
4
|
-
export declare const WpEntityConnector: (entityName: string, props
|
|
6
|
+
export declare const WpEntityConnector: (entityName: string, props: Omit<EntityConnectorProps, "entityName">) => <TFunction extends Function, Y>(target: object | TFunction, propertyKey?: string | symbol | undefined, descriptor?: TypedPropertyDescriptor<Y> | undefined) => void;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export interface EntityConnectorMapperProps {
|
|
2
|
+
entityName: string;
|
|
3
|
+
connectorName: string;
|
|
4
|
+
}
|
|
5
|
+
export declare const WpEntityConnectorMapper: (entityName: string, props: Omit<EntityConnectorMapperProps, "entityName">) => <TFunction extends Function, Y>(target: object | TFunction, propertyKey?: string | symbol | undefined, descriptor?: TypedPropertyDescriptor<Y> | undefined) => void;
|
|
@@ -5,6 +5,7 @@ export { WpCacheInstance, CacheInstanceProps } from "./cache";
|
|
|
5
5
|
export { WpEntityActions, EntityActionsProps } from "./actions";
|
|
6
6
|
export { WpEntityAdapter, EntityAdapterProps } from "./adapter";
|
|
7
7
|
export { WpEntityConnector, EntityConnectorProps } from "./connector";
|
|
8
|
+
export { WpEntityConnectorMapper, EntityConnectorMapperProps, } from "./connectorMapper";
|
|
8
9
|
export { WpEntityConverter, EntityConverterProps } from "./converter";
|
|
9
10
|
export { WpEmailTemplate, EmailTemplateProps, WpEmailLogger, EmailLoggerProps, WpEmailProvider, EmailProviderProps, } from "./email";
|
|
10
11
|
export { WpEntity, EntityProps } from "./entity";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { INestApplicationContext } from "@nestjs/common";
|
|
2
|
-
import { EntityAuthMiddlewareProps, EntityConverterProps, EntityProps, EntityQueryBuilderProps, EntityRepositoryProps, EntitySerializerProps, EntitySnapshotServiceProps } from "../../decorators";
|
|
2
|
+
import { EntityAuthMiddlewareProps, EntityConnectorMapperProps, EntityConnectorProps, EntityConverterProps, EntityProps, EntityQueryBuilderProps, EntityRepositoryProps, EntitySerializerProps, EntitySnapshotServiceProps } from "../../decorators";
|
|
3
3
|
import { EntityManagerSettings } from "../../../../abstractions";
|
|
4
4
|
import { EntityServiceLocator } from "../../../../providers/services";
|
|
5
5
|
import { DiscoveredClassWithMeta } from "../discovery";
|
|
@@ -11,7 +11,7 @@ export declare class EntityManagerRegistry {
|
|
|
11
11
|
registerGlobalServices({ eventEmitter, }: {
|
|
12
12
|
eventEmitter?: IEventEmitter;
|
|
13
13
|
}): Promise<void>;
|
|
14
|
-
registerDiscoveredEntity(app: INestApplicationContext, { adapter, entityName, entity, converter, queryBuilder, repository, authMiddleware, serializer, snapshotService, settings, }: {
|
|
14
|
+
registerDiscoveredEntity(app: INestApplicationContext, { adapter, entityName, entity, converter, queryBuilder, repository, authMiddleware, serializer, snapshotService, connectors, connectorMappers, settings, }: {
|
|
15
15
|
entityName: string;
|
|
16
16
|
entity: DiscoveredClassWithMeta<EntityProps>;
|
|
17
17
|
repository: DiscoveredClassWithMeta<EntityRepositoryProps>;
|
|
@@ -21,6 +21,8 @@ export declare class EntityManagerRegistry {
|
|
|
21
21
|
serializer: DiscoveredClassWithMeta<EntitySerializerProps>;
|
|
22
22
|
snapshotService?: DiscoveredClassWithMeta<EntitySnapshotServiceProps>;
|
|
23
23
|
authMiddleware?: DiscoveredClassWithMeta<EntityAuthMiddlewareProps>;
|
|
24
|
+
connectors?: DiscoveredClassWithMeta<EntityConnectorProps>[];
|
|
25
|
+
connectorMappers?: DiscoveredClassWithMeta<EntityConnectorMapperProps>[];
|
|
24
26
|
settings: EntityManagerSettings;
|
|
25
27
|
}): Promise<void>;
|
|
26
28
|
resolveEntityServicesCollection<TEntity>(entityName: string): EntityServiceLocator<TEntity, unknown>;
|
|
@@ -46,6 +46,8 @@ export declare class EntityManagerInitializer {
|
|
|
46
46
|
private discoverAdapters;
|
|
47
47
|
private discoverAuthMiddlewares;
|
|
48
48
|
private discoverGlobalAuthenticationMiddlewares;
|
|
49
|
+
private discoverEntityConnectors;
|
|
50
|
+
private discoverEntityConnectorMappers;
|
|
49
51
|
private discoverAppInitializers;
|
|
50
52
|
private discoverEntitySeeders;
|
|
51
53
|
private discoverEmailTemplates;
|
|
@@ -2,6 +2,7 @@ import { IEntityConnectorDeleteManager, IEntityConnectorSyncManager } from "../a
|
|
|
2
2
|
import { EntityServiceLocator } from "../providers/services";
|
|
3
3
|
export declare class EntityConnectorsManager<TEntity, TEntityId> implements IEntityConnectorSyncManager<TEntity>, IEntityConnectorDeleteManager<TEntity, TEntityId> {
|
|
4
4
|
private readonly services;
|
|
5
|
+
private readonly logger;
|
|
5
6
|
constructor(services: EntityServiceLocator<TEntity, TEntityId>);
|
|
6
7
|
syncEntity(entity: TEntity): Promise<void>;
|
|
7
8
|
private processSync;
|
package/dist/esm/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Log, csvParse, excelParse, excelBuild, csvBuild, isNullOrUndefined, addTime, newUuid as newUuid$1, buildObject, sort, byField,
|
|
1
|
+
import { Log, csvParse, excelParse, excelBuild, csvBuild, isNullOrUndefined, addTime, newUuid as newUuid$1, buildObject, toDict, sort, byField, toArrayDict, ensureTailingSlash, ensureStartSlash, removeUndefinedProps } from '@punks/backend-core';
|
|
2
2
|
import { MoreThanOrEqual, In, Equal, Not, IsNull, And, MoreThan, LessThanOrEqual, LessThan, ILike } from 'typeorm';
|
|
3
3
|
import { applyDecorators, Injectable, SetMetadata, createParamDecorator, Global, Module, Scope, Logger, StreamableFile, HttpException, HttpStatus } from '@nestjs/common';
|
|
4
4
|
import { Reflector } from '@nestjs/core';
|
|
@@ -2097,15 +2097,33 @@ var ConnectorMode;
|
|
|
2097
2097
|
class EntityConnectorsManager {
|
|
2098
2098
|
constructor(services) {
|
|
2099
2099
|
this.services = services;
|
|
2100
|
+
this.logger = Log.getLogger(`[${services.getEntityName()}]: ${EntityConnectorsManager.name}`);
|
|
2100
2101
|
}
|
|
2101
2102
|
async syncEntity(entity) {
|
|
2102
2103
|
for (const connector of this.getEnabledConnectors()) {
|
|
2104
|
+
this.logger.debug(`Entity sync started - connector: ${connector.name}`, {
|
|
2105
|
+
entity,
|
|
2106
|
+
});
|
|
2103
2107
|
switch (connector.options.mode) {
|
|
2104
2108
|
case ConnectorMode.Sync:
|
|
2105
2109
|
await this.processSync(connector, entity);
|
|
2110
|
+
this.logger.debug(`Entity sync completed - connector: ${connector.name}`, {
|
|
2111
|
+
connector: connector.name,
|
|
2112
|
+
entity,
|
|
2113
|
+
});
|
|
2106
2114
|
break;
|
|
2107
2115
|
case ConnectorMode.Async:
|
|
2108
|
-
this.processSync(connector, entity)
|
|
2116
|
+
this.processSync(connector, entity)
|
|
2117
|
+
.then(() => this.logger.debug(`Entity sync completed - connector: ${connector.name}`, {
|
|
2118
|
+
connector: connector.name,
|
|
2119
|
+
entity,
|
|
2120
|
+
}))
|
|
2121
|
+
.catch((error) => {
|
|
2122
|
+
this.logger.exception(`Entity sync error - connector: ${connector.name}`, error, {
|
|
2123
|
+
connector: connector.name,
|
|
2124
|
+
entity,
|
|
2125
|
+
});
|
|
2126
|
+
});
|
|
2109
2127
|
break;
|
|
2110
2128
|
default:
|
|
2111
2129
|
throw new Error("Invalid connector mode found");
|
|
@@ -2120,12 +2138,28 @@ class EntityConnectorsManager {
|
|
|
2120
2138
|
}
|
|
2121
2139
|
async deleteEntity(entityId) {
|
|
2122
2140
|
for (const connector of this.getEnabledConnectors()) {
|
|
2141
|
+
this.logger.debug(`Entity sync delete started - connector: ${connector.name}`, {
|
|
2142
|
+
entityId,
|
|
2143
|
+
});
|
|
2123
2144
|
switch (connector.options.mode) {
|
|
2124
2145
|
case ConnectorMode.Sync:
|
|
2125
2146
|
await this.processDelete(connector, entityId);
|
|
2147
|
+
this.logger.debug(`Entity sync delete completed - connector: ${connector.name}`, {
|
|
2148
|
+
entityId,
|
|
2149
|
+
});
|
|
2126
2150
|
break;
|
|
2127
2151
|
case ConnectorMode.Async:
|
|
2128
|
-
this.processDelete(connector, entityId)
|
|
2152
|
+
this.processDelete(connector, entityId)
|
|
2153
|
+
.then(() => this.logger.debug(`Entity sync delete completed - connector: ${connector.name}`, {
|
|
2154
|
+
connector: connector.name,
|
|
2155
|
+
entityId,
|
|
2156
|
+
}))
|
|
2157
|
+
.catch((error) => {
|
|
2158
|
+
this.logger.exception(`Entity sync delete error - connector: ${connector.name}`, error, {
|
|
2159
|
+
connector: connector.name,
|
|
2160
|
+
entityId,
|
|
2161
|
+
});
|
|
2162
|
+
});
|
|
2129
2163
|
break;
|
|
2130
2164
|
default:
|
|
2131
2165
|
throw new Error("Invalid connector mode");
|
|
@@ -2157,15 +2191,15 @@ class EntityEventsManager {
|
|
|
2157
2191
|
this.logger = Log.getLogger("EntityEventsManager");
|
|
2158
2192
|
}
|
|
2159
2193
|
async processEntityCreatedEvent(entity) {
|
|
2160
|
-
this.services.resolveReplicaSyncManager().syncReplicas(entity);
|
|
2161
|
-
this.services.resolveConnectorSyncManager().syncEntity(entity);
|
|
2194
|
+
await this.services.resolveReplicaSyncManager().syncReplicas(entity);
|
|
2195
|
+
await this.services.resolveConnectorSyncManager().syncEntity(entity);
|
|
2162
2196
|
await this.emitEntityEvent("created", {
|
|
2163
2197
|
entity,
|
|
2164
2198
|
});
|
|
2165
2199
|
}
|
|
2166
2200
|
async processEntityUpdatedEvent(entity) {
|
|
2167
|
-
this.services.resolveReplicaSyncManager().syncReplicas(entity);
|
|
2168
|
-
this.services.resolveConnectorSyncManager().syncEntity(entity);
|
|
2201
|
+
await this.services.resolveReplicaSyncManager().syncReplicas(entity);
|
|
2202
|
+
await this.services.resolveConnectorSyncManager().syncEntity(entity);
|
|
2169
2203
|
await this.emitEntityEvent("updated", {
|
|
2170
2204
|
entity,
|
|
2171
2205
|
});
|
|
@@ -3465,6 +3499,7 @@ const EntityManagerSymbols = {
|
|
|
3465
3499
|
EntityAuthMiddleware: Symbol.for("WP:ENTITY_AUTH_MIDDLEWARE"),
|
|
3466
3500
|
EntityRepository: Symbol.for("WP:ENTITY_REPOSITORY"),
|
|
3467
3501
|
EntityConnector: Symbol.for("WP:ENTITY_CONNECTOR"),
|
|
3502
|
+
EntityConnectorMapper: Symbol.for("WP:ENTITY_CONNECTOR_MAPPER"),
|
|
3468
3503
|
EntityConverter: Symbol.for("WP:ENTITY_CONVERTER"),
|
|
3469
3504
|
EntitySerializer: Symbol.for("WP:ENTITY_SERIALIZER"),
|
|
3470
3505
|
EntitySnapshotService: Symbol.for("WP:ENTITY_SNAPSHOT_SERVICE"),
|
|
@@ -3514,7 +3549,12 @@ const WpEntityAdapter = (entityName, props = {}) => applyDecorators(Injectable()
|
|
|
3514
3549
|
...props,
|
|
3515
3550
|
}));
|
|
3516
3551
|
|
|
3517
|
-
const WpEntityConnector = (entityName, props
|
|
3552
|
+
const WpEntityConnector = (entityName, props) => applyDecorators(Injectable(), SetMetadata(EntityManagerSymbols.EntityConnector, {
|
|
3553
|
+
entityName,
|
|
3554
|
+
...props,
|
|
3555
|
+
}));
|
|
3556
|
+
|
|
3557
|
+
const WpEntityConnectorMapper = (entityName, props) => applyDecorators(Injectable(), SetMetadata(EntityManagerSymbols.EntityConnectorMapper, {
|
|
3518
3558
|
entityName,
|
|
3519
3559
|
...props,
|
|
3520
3560
|
}));
|
|
@@ -3937,7 +3977,7 @@ let EntityManagerRegistry = class EntityManagerRegistry {
|
|
|
3937
3977
|
.registerEventEmitter(eventEmitter);
|
|
3938
3978
|
}
|
|
3939
3979
|
}
|
|
3940
|
-
async registerDiscoveredEntity(app, { adapter, entityName, entity, converter, queryBuilder, repository, authMiddleware, serializer, snapshotService, settings, }) {
|
|
3980
|
+
async registerDiscoveredEntity(app, { adapter, entityName, entity, converter, queryBuilder, repository, authMiddleware, serializer, snapshotService, connectors, connectorMappers, settings, }) {
|
|
3941
3981
|
if (!repository.discoveredClass.injectType) {
|
|
3942
3982
|
throw new Error(`No inject type found for entity repository: ${entityName}`);
|
|
3943
3983
|
}
|
|
@@ -3981,7 +4021,31 @@ let EntityManagerRegistry = class EntityManagerRegistry {
|
|
|
3981
4021
|
middleware: authMiddlewareInstance,
|
|
3982
4022
|
});
|
|
3983
4023
|
}
|
|
3984
|
-
|
|
4024
|
+
const mappers = toDict(connectorMappers ?? [], (x) => x.meta.connectorName);
|
|
4025
|
+
for (const connector of connectors ?? []) {
|
|
4026
|
+
if (!connector.discoveredClass.injectType) {
|
|
4027
|
+
throw new Error(`No inject type found for entity connector: ${entityName}`);
|
|
4028
|
+
}
|
|
4029
|
+
const mapper = mappers[connector.meta.connectorName];
|
|
4030
|
+
if (!mapper) {
|
|
4031
|
+
throw new Error(`No connector mapper found for entity connector: entityName:${entityName} - connectorName:${connector.meta.connectorName}`);
|
|
4032
|
+
}
|
|
4033
|
+
if (!mapper.discoveredClass.injectType) {
|
|
4034
|
+
throw new Error(`No inject type found for entity connector mapper: ${entityName} - ${connector.meta.connectorName}`);
|
|
4035
|
+
}
|
|
4036
|
+
const connectorInstance = (await app.resolve(connector.discoveredClass.injectType));
|
|
4037
|
+
const mapperInstance = (await app.resolve(connector.discoveredClass.injectType));
|
|
4038
|
+
registration.withSynchronization({
|
|
4039
|
+
name: connector.meta.connectorName,
|
|
4040
|
+
mapper: mapperInstance,
|
|
4041
|
+
connector: connectorInstance,
|
|
4042
|
+
options: {
|
|
4043
|
+
mode: connector.meta.mode,
|
|
4044
|
+
enabled: connector.meta.enabled,
|
|
4045
|
+
},
|
|
4046
|
+
});
|
|
4047
|
+
}
|
|
4048
|
+
// todo: configure replica
|
|
3985
4049
|
}
|
|
3986
4050
|
resolveEntityServicesCollection(entityName) {
|
|
3987
4051
|
return this.container.getEntityServicesLocator(entityName);
|
|
@@ -22614,6 +22678,8 @@ let EntityManagerInitializer = EntityManagerInitializer_1 = class EntityManagerI
|
|
|
22614
22678
|
const snapshotServices = await this.discoverSnapshotService();
|
|
22615
22679
|
const adapters = await this.discoverAdapters();
|
|
22616
22680
|
const auth = await this.discoverAuthMiddlewares();
|
|
22681
|
+
const connectors = await this.discoverEntityConnectors();
|
|
22682
|
+
const connectorMappers = await this.discoverEntityConnectorMappers();
|
|
22617
22683
|
const repositoriesDict = toDict(repositories, (q) => q.meta.entityName);
|
|
22618
22684
|
const queryBuilderDict = toDict(queryBuilders, (q) => q.meta.entityName);
|
|
22619
22685
|
const converterDict = toDict(converters, (c) => c.meta.entityName);
|
|
@@ -22621,6 +22687,8 @@ let EntityManagerInitializer = EntityManagerInitializer_1 = class EntityManagerI
|
|
|
22621
22687
|
const snapshotServicesDict = toDict(snapshotServices, (s) => s.meta.entityName);
|
|
22622
22688
|
const adapterDict = toDict(adapters, (a) => a.meta.entityName);
|
|
22623
22689
|
const authDict = toDict(auth, (a) => a.meta.entityName);
|
|
22690
|
+
const connectorsDict = toArrayDict(connectors, (c) => c.meta.entityName);
|
|
22691
|
+
const connectorMappersDict = toArrayDict(connectorMappers, (c) => c.meta.entityName);
|
|
22624
22692
|
const sortedEntities = lodash.exports.orderBy(entities, (x) => x.meta.name);
|
|
22625
22693
|
this.logger.log(`Discovered entities: \n${sortedEntities
|
|
22626
22694
|
.map((x) => x.discoveredClass.name)
|
|
@@ -22644,6 +22712,8 @@ let EntityManagerInitializer = EntityManagerInitializer_1 = class EntityManagerI
|
|
|
22644
22712
|
const authMiddleware = authDict[entityName];
|
|
22645
22713
|
const serializer = serializerDict[entityName];
|
|
22646
22714
|
const snapshotService = snapshotServicesDict[entityName];
|
|
22715
|
+
const connectors = connectorsDict[entityName];
|
|
22716
|
+
const connectorMappers = connectorMappersDict[entityName];
|
|
22647
22717
|
await this.registry.registerDiscoveredEntity(app, {
|
|
22648
22718
|
entityName,
|
|
22649
22719
|
entity,
|
|
@@ -22655,6 +22725,8 @@ let EntityManagerInitializer = EntityManagerInitializer_1 = class EntityManagerI
|
|
|
22655
22725
|
snapshotService,
|
|
22656
22726
|
authMiddleware,
|
|
22657
22727
|
settings: staticProviders.settings,
|
|
22728
|
+
connectorMappers,
|
|
22729
|
+
connectors,
|
|
22658
22730
|
});
|
|
22659
22731
|
this.logger.log(`Entity ${entityName} registered:
|
|
22660
22732
|
- Repository: ${repository.discoveredClass.injectType?.name ?? ""}
|
|
@@ -22901,6 +22973,12 @@ let EntityManagerInitializer = EntityManagerInitializer_1 = class EntityManagerI
|
|
|
22901
22973
|
async discoverGlobalAuthenticationMiddlewares() {
|
|
22902
22974
|
return await this.discover.providersWithMetaAtKey(EntityManagerSymbols.GlobalAuthenticationMiddleware);
|
|
22903
22975
|
}
|
|
22976
|
+
async discoverEntityConnectors() {
|
|
22977
|
+
return await this.discover.providersWithMetaAtKey(EntityManagerSymbols.EntityConnector);
|
|
22978
|
+
}
|
|
22979
|
+
async discoverEntityConnectorMappers() {
|
|
22980
|
+
return await this.discover.providersWithMetaAtKey(EntityManagerSymbols.EntityConnectorMapper);
|
|
22981
|
+
}
|
|
22904
22982
|
async discoverAppInitializers() {
|
|
22905
22983
|
return await this.discover.providersWithMetaAtKey(EntityManagerSymbols.AppInitializer);
|
|
22906
22984
|
}
|
|
@@ -32530,5 +32608,5 @@ AwsSecretsModule = AwsSecretsModule_1 = __decorate([
|
|
|
32530
32608
|
})
|
|
32531
32609
|
], AwsSecretsModule);
|
|
32532
32610
|
|
|
32533
|
-
export { AUTHENTICATION_EVENTS_NAMESPACE, ApiKeyAccess, AppExceptionsFilterBase, AppHashingService, AppInMemorySettings, AppSessionMiddleware, AppSessionService, AuthGuard, Authenticated, AuthenticationEmailTemplates, AuthenticationError, AuthenticationEvents, AuthenticationExtensionSymbols, AuthenticationModule, AuthenticationService, AwsBucketModule, AwsEmailModule, AwsS3BucketError, AwsS3BucketProvider, AwsS3MediaError, AwsS3MediaModule, AwsS3MediaProvider, AwsSecretsModule, AwsSecretsProvider, AwsSesEmailTemplate, BucketItemType, CacheService, CurrentUser, CustomDiscoveryModule, CustomDiscoveryService, EmailService, EntityManagerConfigurationError, EntityManagerException, EntityManagerInitializer, EntityManagerModule, EntityManagerRegistry, EntityManagerService, EntityManagerSymbols, EntityManagerUnauthorizedException, EntityNotFoundException, EntityOperationType, EntityOperationUnauthorizedException, EntitySeeder, EntitySerializationFormat, EntitySerializer, EntitySnapshotService, EntityVersionOperation, EventsService, FilesManager, IEntityVersionsCursor, InMemoryBucketProvider, InMemoryEmailProvider, InMemoryMediaProvider, InvalidCredentialsError, MediaLibraryService, MemberOf, MissingEntityIdError, ModulesContainerProvider, MultiTenancyModule, MultipleEntitiesFoundException, NestEntityActions, NestEntityAuthorizationMiddleware, NestEntityManager, NestEntitySerializer, NestEntitySnapshotService, NestPipelineTemplate, NestTypeOrmEntitySeeder, NestTypeOrmQueryBuilder, NestTypeOrmRepository, OperationTokenMismatchError, PLATFORM_EVENT_NAMESPACE, Permissions, PipelineController, PipelineErrorType, PipelineInvocationError, PipelineStatus, PipelineStepErrorType, PipelinesBuilder, PipelinesRunner, PlatformEvents, Public, QueryBuilderBase, QueryBuilderOperation, ReplicationMode, Roles, SanityMediaError, SanityMediaModule, SanityMediaProvider, SecretsService, SendgridEmailModule, SendgridEmailTemplate, SortDirection, TrackingService, TypeOrmQueryBuilder, TypeOrmRepository, TypeormCacheInstance, UserCreationError, UserRegistrationError, WpApiKeysService, WpAppInitializer, WpAwsSesEmailTemplate, WpBucketProvider, WpCacheInstance, WpEmailLogger, WpEmailProvider, WpEmailTemplate, WpEntity, WpEntityActions, WpEntityAdapter, WpEntityAuthMiddleware, WpEntityConnector, WpEntityConverter, WpEntityManager, WpEntityQueryBuilder, WpEntityRepository, WpEntitySeeder, WpEntitySerializer, WpEntitySnapshotService, WpEntityVersioningProvider, WpEventsTracker, WpFileProvider, WpFileReferenceRepository, WpGlobalAuthenticationMiddleware, WpMediaFolderRepository, WpMediaProvider, WpMediaReferenceRepository, WpPermissionsService, WpPipeline, WpRolesService, WpSendgridEmailTemplate, WpUserRolesService, WpUserService, buildPermissionsGuard, buildRolesGuard, createContainer, createExpressFileResponse, getLocalizedText, newUuid, renderHandlebarsTemplate, toEntitiesImportInput };
|
|
32611
|
+
export { AUTHENTICATION_EVENTS_NAMESPACE, ApiKeyAccess, AppExceptionsFilterBase, AppHashingService, AppInMemorySettings, AppSessionMiddleware, AppSessionService, AuthGuard, Authenticated, AuthenticationEmailTemplates, AuthenticationError, AuthenticationEvents, AuthenticationExtensionSymbols, AuthenticationModule, AuthenticationService, AwsBucketModule, AwsEmailModule, AwsS3BucketError, AwsS3BucketProvider, AwsS3MediaError, AwsS3MediaModule, AwsS3MediaProvider, AwsSecretsModule, AwsSecretsProvider, AwsSesEmailTemplate, BucketItemType, CacheService, CurrentUser, CustomDiscoveryModule, CustomDiscoveryService, EmailService, EntityManagerConfigurationError, EntityManagerException, EntityManagerInitializer, EntityManagerModule, EntityManagerRegistry, EntityManagerService, EntityManagerSymbols, EntityManagerUnauthorizedException, EntityNotFoundException, EntityOperationType, EntityOperationUnauthorizedException, EntitySeeder, EntitySerializationFormat, EntitySerializer, EntitySnapshotService, EntityVersionOperation, EventsService, FilesManager, IEntityVersionsCursor, InMemoryBucketProvider, InMemoryEmailProvider, InMemoryMediaProvider, InvalidCredentialsError, MediaLibraryService, MemberOf, MissingEntityIdError, ModulesContainerProvider, MultiTenancyModule, MultipleEntitiesFoundException, NestEntityActions, NestEntityAuthorizationMiddleware, NestEntityManager, NestEntitySerializer, NestEntitySnapshotService, NestPipelineTemplate, NestTypeOrmEntitySeeder, NestTypeOrmQueryBuilder, NestTypeOrmRepository, OperationTokenMismatchError, PLATFORM_EVENT_NAMESPACE, Permissions, PipelineController, PipelineErrorType, PipelineInvocationError, PipelineStatus, PipelineStepErrorType, PipelinesBuilder, PipelinesRunner, PlatformEvents, Public, QueryBuilderBase, QueryBuilderOperation, ReplicationMode, Roles, SanityMediaError, SanityMediaModule, SanityMediaProvider, SecretsService, SendgridEmailModule, SendgridEmailTemplate, SortDirection, TrackingService, TypeOrmQueryBuilder, TypeOrmRepository, TypeormCacheInstance, UserCreationError, UserRegistrationError, WpApiKeysService, WpAppInitializer, WpAwsSesEmailTemplate, WpBucketProvider, WpCacheInstance, WpEmailLogger, WpEmailProvider, WpEmailTemplate, WpEntity, WpEntityActions, WpEntityAdapter, WpEntityAuthMiddleware, WpEntityConnector, WpEntityConnectorMapper, WpEntityConverter, WpEntityManager, WpEntityQueryBuilder, WpEntityRepository, WpEntitySeeder, WpEntitySerializer, WpEntitySnapshotService, WpEntityVersioningProvider, WpEventsTracker, WpFileProvider, WpFileReferenceRepository, WpGlobalAuthenticationMiddleware, WpMediaFolderRepository, WpMediaProvider, WpMediaReferenceRepository, WpPermissionsService, WpPipeline, WpRolesService, WpSendgridEmailTemplate, WpUserRolesService, WpUserService, buildPermissionsGuard, buildRolesGuard, createContainer, createExpressFileResponse, getLocalizedText, newUuid, renderHandlebarsTemplate, toEntitiesImportInput };
|
|
32534
32612
|
//# sourceMappingURL=index.js.map
|