@punks/backend-entity-manager 0.0.326 → 0.0.328
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 +67 -6
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/types/abstractions/operations.d.ts +21 -0
- package/dist/cjs/types/platforms/nest/decorators/operations.d.ts +2 -0
- package/dist/cjs/types/platforms/nest/decorators/pipelines.d.ts +2 -2
- package/dist/cjs/types/platforms/nest/decorators/symbols.d.ts +1 -0
- package/dist/cjs/types/platforms/nest/pipelines/template/template.d.ts +9 -0
- package/dist/cjs/types/platforms/nest/processors/initializer/index.d.ts +2 -0
- package/dist/cjs/types/platforms/nest/services/operations/operation-lock.service.d.ts +2 -4
- package/dist/cjs/types/platforms/nest/services/operations/types.d.ts +0 -17
- package/dist/cjs/types/providers/services.d.ts +3 -1
- package/dist/cjs/types/symbols/ioc.d.ts +3 -0
- package/dist/esm/index.js +67 -7
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/abstractions/operations.d.ts +21 -0
- package/dist/esm/types/platforms/nest/decorators/operations.d.ts +2 -0
- package/dist/esm/types/platforms/nest/decorators/pipelines.d.ts +2 -2
- package/dist/esm/types/platforms/nest/decorators/symbols.d.ts +1 -0
- package/dist/esm/types/platforms/nest/pipelines/template/template.d.ts +9 -0
- package/dist/esm/types/platforms/nest/processors/initializer/index.d.ts +2 -0
- package/dist/esm/types/platforms/nest/services/operations/operation-lock.service.d.ts +2 -4
- package/dist/esm/types/platforms/nest/services/operations/types.d.ts +0 -17
- package/dist/esm/types/providers/services.d.ts +3 -1
- package/dist/esm/types/symbols/ioc.d.ts +3 -0
- package/dist/index.d.ts +39 -23
- package/package.json +1 -1
|
@@ -21,3 +21,24 @@ export interface ILockRepository {
|
|
|
21
21
|
releaseLock(input: LockReleaseInput): Promise<void>;
|
|
22
22
|
getLock(lockUid: string): Promise<LockItem | undefined>;
|
|
23
23
|
}
|
|
24
|
+
export interface ExecuteSequentialInput<T> {
|
|
25
|
+
lockUid: string;
|
|
26
|
+
requestedBy?: string;
|
|
27
|
+
lockTimeout?: number;
|
|
28
|
+
lockPolling?: number;
|
|
29
|
+
operation: () => Promise<T>;
|
|
30
|
+
}
|
|
31
|
+
export declare class ExclusiveOperationResult<T> {
|
|
32
|
+
skipped: boolean;
|
|
33
|
+
result?: T;
|
|
34
|
+
}
|
|
35
|
+
export interface ExecuteExclusiveInput<T> {
|
|
36
|
+
lockUid: string;
|
|
37
|
+
requestedBy?: string;
|
|
38
|
+
lockTimeout?: number;
|
|
39
|
+
operation: () => Promise<T>;
|
|
40
|
+
}
|
|
41
|
+
export interface IOperationLockService {
|
|
42
|
+
executeSequential<T>(input: ExecuteSequentialInput<T>): Promise<T>;
|
|
43
|
+
executeExclusive<T>(input: ExecuteExclusiveInput<T>): Promise<ExclusiveOperationResult<T>>;
|
|
44
|
+
}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export type OperationLockServiceProps = {};
|
|
2
|
+
export declare const WpOperationLockService: (props?: Omit<OperationLockServiceProps, "name">) => <TFunction extends Function, Y>(target: object | TFunction, propertyKey?: string | symbol | undefined, descriptor?: TypedPropertyDescriptor<Y> | undefined) => void;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export
|
|
1
|
+
export type PipelineTemplateProps = {
|
|
2
2
|
name: string;
|
|
3
|
-
}
|
|
3
|
+
};
|
|
4
4
|
export declare const WpPipeline: (name: string, props?: Omit<PipelineTemplateProps, "name">) => <TFunction extends Function, Y>(target: object | TFunction, propertyKey?: string | symbol | undefined, descriptor?: TypedPropertyDescriptor<Y> | undefined) => void;
|
|
@@ -2,20 +2,29 @@ import { PipelineDefinition, PipelineResult } from "../../../../types";
|
|
|
2
2
|
import { IPipelineTemplateBuilder } from "../builder/types";
|
|
3
3
|
import { PipelineUtils } from "./utils";
|
|
4
4
|
import { PipelineTemplateProps } from "../../decorators";
|
|
5
|
+
export type PipelineConcurrency = "exclusive" | "sequential";
|
|
6
|
+
export type PipelineTemplateOptions = {
|
|
7
|
+
concurrency?: PipelineConcurrency;
|
|
8
|
+
};
|
|
5
9
|
export declare abstract class NestPipelineTemplate<TPipelineInput, TPipelineOutput, TContext> {
|
|
10
|
+
private readonly options?;
|
|
11
|
+
constructor(options?: PipelineTemplateOptions | undefined);
|
|
6
12
|
protected readonly logger: import("@punks/backend-core").ILogger;
|
|
7
13
|
protected readonly utils: PipelineUtils<TPipelineInput, TPipelineOutput, TContext>;
|
|
8
14
|
private cachedDefinition;
|
|
9
15
|
protected abstract buildTemplate(builder: IPipelineTemplateBuilder<TPipelineInput, TContext>): PipelineDefinition<TPipelineInput, TPipelineOutput, TContext>;
|
|
10
16
|
protected isAuthorized(context: TContext): boolean;
|
|
17
|
+
protected getConcurrencyKey(input: TPipelineInput): string;
|
|
11
18
|
invoke(input: TPipelineInput): Promise<TPipelineOutput>;
|
|
12
19
|
execute(data: {
|
|
13
20
|
input: TPipelineInput;
|
|
14
21
|
context: TContext;
|
|
15
22
|
}): Promise<PipelineResult<TPipelineInput, TPipelineOutput>>;
|
|
23
|
+
private pipelineExecute;
|
|
16
24
|
private getDefinition;
|
|
17
25
|
private buildDefinition;
|
|
18
26
|
private getContext;
|
|
27
|
+
private get operationsLockService();
|
|
19
28
|
private get controller();
|
|
20
29
|
private get registry();
|
|
21
30
|
protected get metadata(): PipelineTemplateProps;
|
|
@@ -34,6 +34,7 @@ export declare class EntityManagerInitializer {
|
|
|
34
34
|
private registerVersioningProviders;
|
|
35
35
|
private registerEmailProviders;
|
|
36
36
|
private registerEmailTemplates;
|
|
37
|
+
private registerOperationLockService;
|
|
37
38
|
private registerPipelinesServices;
|
|
38
39
|
private initializeProviders;
|
|
39
40
|
private discoverEntities;
|
|
@@ -54,6 +55,7 @@ export declare class EntityManagerInitializer {
|
|
|
54
55
|
private discoverEmailProviders;
|
|
55
56
|
private discoverEventTrackingProviders;
|
|
56
57
|
private discoverEmailLogger;
|
|
58
|
+
private discoverOperationLockService;
|
|
57
59
|
private discoverBucketProviders;
|
|
58
60
|
private discoverSecretsProviders;
|
|
59
61
|
private discoverCacheInstances;
|
|
@@ -1,8 +1,6 @@
|
|
|
1
|
-
import { ILockRepository } from "../../../../abstractions";
|
|
2
|
-
|
|
3
|
-
export declare class OperationLockService {
|
|
1
|
+
import { ExclusiveOperationResult, ExecuteExclusiveInput, ExecuteSequentialInput, ILockRepository, IOperationLockService } from "../../../../abstractions";
|
|
2
|
+
export declare class OperationLockService implements IOperationLockService {
|
|
4
3
|
private readonly operations;
|
|
5
|
-
private readonly logger;
|
|
6
4
|
constructor(operations: ILockRepository);
|
|
7
5
|
executeSequential: <T>(input: ExecuteSequentialInput<T>) => Promise<T>;
|
|
8
6
|
executeExclusive: <T>(input: ExecuteExclusiveInput<T>) => Promise<ExclusiveOperationResult<T>>;
|
|
@@ -1,21 +1,4 @@
|
|
|
1
|
-
export interface ExecuteExclusiveInput<T> {
|
|
2
|
-
lockUid: string;
|
|
3
|
-
requestedBy?: string;
|
|
4
|
-
lockTimeout?: number;
|
|
5
|
-
operation: () => Promise<T>;
|
|
6
|
-
}
|
|
7
1
|
export declare class ExecuteExclusiveTimeoutError extends Error {
|
|
8
2
|
}
|
|
9
|
-
export declare class ExclusiveOperationResult<T> {
|
|
10
|
-
skipped: boolean;
|
|
11
|
-
result?: T;
|
|
12
|
-
}
|
|
13
|
-
export interface ExecuteSequentialInput<T> {
|
|
14
|
-
lockUid: string;
|
|
15
|
-
requestedBy?: string;
|
|
16
|
-
lockTimeout?: number;
|
|
17
|
-
lockPolling?: number;
|
|
18
|
-
operation: () => Promise<T>;
|
|
19
|
-
}
|
|
20
3
|
export declare class ExecuteSequentialTimeoutError extends Error {
|
|
21
4
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IAuthenticationContext, IAuthenticationContextProvider, IAuthenticationMiddleware, IBucketProvider, ICacheInstance, IEmailLogger, IEmailProvider, IEmailTemplatesCollection, IEntityFacets, IEntitySerializer, IEntitySnapshotService, IEntityVersioningProvider, IEventLog, IEventsTracker, IFileProvider, IFilesReferenceRepository, IMediaFolderRepository, IMediaProvider, IMediaReferenceRepository, ISecretsProvider } from "../abstractions";
|
|
1
|
+
import { IAuthenticationContext, IAuthenticationContextProvider, IAuthenticationMiddleware, IBucketProvider, ICacheInstance, IEmailLogger, IEmailProvider, IEmailTemplatesCollection, IEntityFacets, IEntitySerializer, IEntitySnapshotService, IEntityVersioningProvider, IEventLog, IEventsTracker, IFileProvider, IFilesReferenceRepository, IMediaFolderRepository, IMediaProvider, IMediaReferenceRepository, IOperationLockService, ISecretsProvider } from "../abstractions";
|
|
2
2
|
import { IEntitiesCountAction, IEntitiesDeleteAction, IEntitiesExportAction, IEntitiesImportAction, IEntitiesSampleDownloadAction, IEntitiesSearchAction, IEntityActions, IEntityCreateAction, IEntityDeleteAction, IEntityExistsAction, IEntityGetAction, IEntityUpdateAction, IEntityUpsertAction, IEntityVersionsSearchAction } from "../abstractions/actions";
|
|
3
3
|
import { IEntityAdapter } from "../abstractions/adapters";
|
|
4
4
|
import { IEntityAuthorizationMiddleware } from "../abstractions/authorization";
|
|
@@ -106,6 +106,8 @@ export declare class EntitiesServiceLocator {
|
|
|
106
106
|
registerFilesReferenceRepositoryProviders<TFilesReferenceRepo extends IFilesReferenceRepository>(instance: TFilesReferenceRepo): void;
|
|
107
107
|
resolveEventsTracker<TEventsTracker extends IEventsTracker<TEventLog>, TEventLog extends IEventLog<unknown>>(): TEventsTracker;
|
|
108
108
|
registerEventsTracker<TEventsTracker extends IEventsTracker<TEventLog>, TEventLog extends IEventLog<unknown>>(instance: TEventsTracker): void;
|
|
109
|
+
resolveOperationLockService(): IOperationLockService;
|
|
110
|
+
registerOperationLockService(instance: IOperationLockService): void;
|
|
109
111
|
resolveEmailTemplatesCollection(): IEmailTemplatesCollection;
|
|
110
112
|
registerEmailTemplatesCollection(instance: IEmailTemplatesCollection): void;
|
|
111
113
|
resolveEmailLogger(): IEmailLogger;
|
package/dist/esm/index.js
CHANGED
|
@@ -125,6 +125,8 @@ class MissingEntityIdError extends EntityManagerException {
|
|
|
125
125
|
|
|
126
126
|
class LockNotFoundError extends Error {
|
|
127
127
|
}
|
|
128
|
+
class ExclusiveOperationResult {
|
|
129
|
+
}
|
|
128
130
|
|
|
129
131
|
var ReplicationMode;
|
|
130
132
|
(function (ReplicationMode) {
|
|
@@ -1313,6 +1315,9 @@ const GlobalServices = {
|
|
|
1313
1315
|
IAuthenticationContextProvider: "IAuthenticationContextProvider",
|
|
1314
1316
|
IAuthenticationMiddleware: "IAuthenticationMiddleware",
|
|
1315
1317
|
},
|
|
1318
|
+
Operations: {
|
|
1319
|
+
IOperationLockService: "IOperationLockService",
|
|
1320
|
+
},
|
|
1316
1321
|
Pipelines: {
|
|
1317
1322
|
IPipelineController: "IPipelineController",
|
|
1318
1323
|
},
|
|
@@ -1609,6 +1614,12 @@ class EntitiesServiceLocator {
|
|
|
1609
1614
|
registerEventsTracker(instance) {
|
|
1610
1615
|
this.provider.register(GlobalServices.Events.IEventsTracker, instance);
|
|
1611
1616
|
}
|
|
1617
|
+
resolveOperationLockService() {
|
|
1618
|
+
return this.provider.resolve(GlobalServices.Operations.IOperationLockService);
|
|
1619
|
+
}
|
|
1620
|
+
registerOperationLockService(instance) {
|
|
1621
|
+
this.provider.register(GlobalServices.Operations.IOperationLockService, instance);
|
|
1622
|
+
}
|
|
1612
1623
|
resolveEmailTemplatesCollection() {
|
|
1613
1624
|
return this.provider.resolve(GlobalServices.Plugins.IEmailTemplatesCollection);
|
|
1614
1625
|
}
|
|
@@ -3613,6 +3624,7 @@ const EntityManagerSymbols = {
|
|
|
3613
3624
|
FileReferenceRepository: Symbol.for("WP:FILE_REFERENCE_REPO"),
|
|
3614
3625
|
PipelineTemplate: Symbol.for("WP:PIPELINE_TEMPLATE"),
|
|
3615
3626
|
CacheInstance: Symbol.for("WP:CACHE_INSTANCE"),
|
|
3627
|
+
OperationLockService: Symbol.for("WP:OPERATION_LOCK_SERVICE"),
|
|
3616
3628
|
};
|
|
3617
3629
|
|
|
3618
3630
|
const WpEntityAuthMiddleware = (entityName, props = {}) => applyDecorators(Injectable(), SetMetadata(EntityManagerSymbols.EntityAuthMiddleware, {
|
|
@@ -21946,12 +21958,14 @@ function subDays(dirtyDate, dirtyAmount) {
|
|
|
21946
21958
|
return addDays(dirtyDate, -amount);
|
|
21947
21959
|
}
|
|
21948
21960
|
|
|
21949
|
-
|
|
21961
|
+
const WpOperationLockService = (props = {}) => applyDecorators(Injectable(), SetMetadata(EntityManagerSymbols.OperationLockService, {
|
|
21962
|
+
...props,
|
|
21963
|
+
}));
|
|
21964
|
+
|
|
21950
21965
|
const DEFAULT_LOCK_POLLING = 100;
|
|
21951
|
-
let OperationLockService =
|
|
21966
|
+
let OperationLockService = class OperationLockService {
|
|
21952
21967
|
constructor(operations) {
|
|
21953
21968
|
this.operations = operations;
|
|
21954
|
-
this.logger = Log.getLogger(OperationLockService_1.name);
|
|
21955
21969
|
this.executeSequential = async (input) => {
|
|
21956
21970
|
const lock = await this.operations.acquireLock({
|
|
21957
21971
|
lockUid: input.lockUid,
|
|
@@ -22014,8 +22028,8 @@ let OperationLockService = OperationLockService_1 = class OperationLockService {
|
|
|
22014
22028
|
};
|
|
22015
22029
|
}
|
|
22016
22030
|
};
|
|
22017
|
-
OperationLockService =
|
|
22018
|
-
|
|
22031
|
+
OperationLockService = __decorate([
|
|
22032
|
+
WpOperationLockService(),
|
|
22019
22033
|
__param(0, Inject(getEntityManagerProviderToken("OperationsLockRepository"))),
|
|
22020
22034
|
__metadata("design:paramtypes", [Object])
|
|
22021
22035
|
], OperationLockService);
|
|
@@ -23166,6 +23180,7 @@ let EntityManagerInitializer = EntityManagerInitializer_1 = class EntityManagerI
|
|
|
23166
23180
|
await this.registerBucketProviders();
|
|
23167
23181
|
await this.registerSecretsProviders();
|
|
23168
23182
|
await this.registerCacheInstances();
|
|
23183
|
+
await this.registerOperationLockService();
|
|
23169
23184
|
await this.executeInitializers(app);
|
|
23170
23185
|
await this.executeSeeders();
|
|
23171
23186
|
this.logger.log("Entity manager initialization completed 🚀");
|
|
@@ -23443,6 +23458,18 @@ let EntityManagerInitializer = EntityManagerInitializer_1 = class EntityManagerI
|
|
|
23443
23458
|
.getEntitiesServicesLocator()
|
|
23444
23459
|
.registerEmailTemplatesCollection(collection);
|
|
23445
23460
|
}
|
|
23461
|
+
async registerOperationLockService() {
|
|
23462
|
+
const operationLockServices = await this.discoverOperationLockService();
|
|
23463
|
+
if (!operationLockServices.length) {
|
|
23464
|
+
this.logger.warn("No operation lock services found ⚠️");
|
|
23465
|
+
return;
|
|
23466
|
+
}
|
|
23467
|
+
this.registry
|
|
23468
|
+
.getContainer()
|
|
23469
|
+
.getEntitiesServicesLocator()
|
|
23470
|
+
.registerOperationLockService(operationLockServices[0].discoveredClass
|
|
23471
|
+
.instance);
|
|
23472
|
+
}
|
|
23446
23473
|
async registerPipelinesServices() {
|
|
23447
23474
|
this.registry
|
|
23448
23475
|
.getContainer()
|
|
@@ -23508,6 +23535,9 @@ let EntityManagerInitializer = EntityManagerInitializer_1 = class EntityManagerI
|
|
|
23508
23535
|
async discoverEmailLogger() {
|
|
23509
23536
|
return await this.discover.providersWithMetaAtKey(EntityManagerSymbols.EmailLogger);
|
|
23510
23537
|
}
|
|
23538
|
+
async discoverOperationLockService() {
|
|
23539
|
+
return await this.discover.providersWithMetaAtKey(EntityManagerSymbols.OperationLockService);
|
|
23540
|
+
}
|
|
23511
23541
|
async discoverBucketProviders() {
|
|
23512
23542
|
return await this.discover.providersWithMetaAtKey(EntityManagerSymbols.BucketProvider);
|
|
23513
23543
|
}
|
|
@@ -34362,13 +34392,17 @@ class PipelineUtils {
|
|
|
34362
34392
|
}
|
|
34363
34393
|
|
|
34364
34394
|
class NestPipelineTemplate {
|
|
34365
|
-
constructor() {
|
|
34395
|
+
constructor(options) {
|
|
34396
|
+
this.options = options;
|
|
34366
34397
|
this.logger = Log.getLogger(NestPipelineTemplate.name);
|
|
34367
34398
|
this.utils = new PipelineUtils();
|
|
34368
34399
|
}
|
|
34369
34400
|
isAuthorized(context) {
|
|
34370
34401
|
return true;
|
|
34371
34402
|
}
|
|
34403
|
+
getConcurrencyKey(input) {
|
|
34404
|
+
return this.constructor.name;
|
|
34405
|
+
}
|
|
34372
34406
|
async invoke(input) {
|
|
34373
34407
|
const result = await this.execute({
|
|
34374
34408
|
input,
|
|
@@ -34380,6 +34414,26 @@ class NestPipelineTemplate {
|
|
|
34380
34414
|
return result.output;
|
|
34381
34415
|
}
|
|
34382
34416
|
async execute(data) {
|
|
34417
|
+
if (this.options?.concurrency === "sequential") {
|
|
34418
|
+
return await this.operationsLockService.executeSequential({
|
|
34419
|
+
lockUid: this.getConcurrencyKey(data.input),
|
|
34420
|
+
operation: async () => {
|
|
34421
|
+
return await this.pipelineExecute(data);
|
|
34422
|
+
},
|
|
34423
|
+
});
|
|
34424
|
+
}
|
|
34425
|
+
if (this.options?.concurrency === "exclusive") {
|
|
34426
|
+
const result = await this.operationsLockService.executeExclusive({
|
|
34427
|
+
lockUid: this.getConcurrencyKey(data.input),
|
|
34428
|
+
operation: async () => {
|
|
34429
|
+
return await this.pipelineExecute(data);
|
|
34430
|
+
},
|
|
34431
|
+
});
|
|
34432
|
+
return result.result;
|
|
34433
|
+
}
|
|
34434
|
+
return await this.pipelineExecute(data);
|
|
34435
|
+
}
|
|
34436
|
+
async pipelineExecute(data) {
|
|
34383
34437
|
const instanceId = newUuid$1();
|
|
34384
34438
|
const logMetadata = {
|
|
34385
34439
|
input: data.input,
|
|
@@ -34430,6 +34484,12 @@ class NestPipelineTemplate {
|
|
|
34430
34484
|
.resolveAuthenticationContextProvider();
|
|
34431
34485
|
return (await contextService?.getContext());
|
|
34432
34486
|
}
|
|
34487
|
+
get operationsLockService() {
|
|
34488
|
+
return this.registry
|
|
34489
|
+
.getContainer()
|
|
34490
|
+
.getEntitiesServicesLocator()
|
|
34491
|
+
.resolveOperationLockService();
|
|
34492
|
+
}
|
|
34433
34493
|
get controller() {
|
|
34434
34494
|
return this.registry
|
|
34435
34495
|
.getContainer()
|
|
@@ -43726,5 +43786,5 @@ InMemorySecretsProvider = __decorate([
|
|
|
43726
43786
|
WpSecretsProvider("inMemorySecretsManager")
|
|
43727
43787
|
], InMemorySecretsProvider);
|
|
43728
43788
|
|
|
43729
|
-
export { AUTHENTICATION_EVENTS_NAMESPACE, ApiKeyAccess, AppExceptionsFilterBase, AppHashingService, AppInMemorySettings, AppSession, AppSessionMiddleware, AppSessionService, AuthGuard, Authenticated, AuthenticationEmailTemplates, AuthenticationError, AuthenticationEvents, AuthenticationExtensionSymbols, AuthenticationModule, AuthenticationService, AwsBucketModule, AwsEmailModule, AwsJobsModule, AwsS3BucketError, AwsS3BucketProvider, AwsS3MediaError, AwsS3MediaModule, AwsS3MediaProvider, AwsSecretsModule, AwsSecretsProvider, AwsSesEmailTemplate, BucketItemType, CacheService, ConnectorMode, 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, InMemorySecretsProvider, InvalidCredentialsError, JobConcurrency, JobInstance, JobProviderState, JobRunType, JobSchedule, JobStatus, JobsModule, JobsService, LockNotFoundError, MediaLibraryService, MemberOf, MissingEntityIdError, ModulesContainerProvider, MultiTenancyModule, MultipleEntitiesFoundException, NestEntityActions, NestEntityAuthorizationMiddleware, NestEntityManager, NestEntitySerializer, NestEntitySnapshotService, NestPipelineTemplate, NestTypeOrmEntitySeeder, NestTypeOrmQueryBuilder, NestTypeOrmRepository, OperationLockService, 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, TypeormOperationLockRepository, 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, awsBatchSettings, buildPermissionsGuard, buildProviderToken, buildRolesGuard, createContainer, createExpressFileResponse, getEntityManagerProviderToken, getLocalizedText, newUuid, renderHandlebarsTemplate, sessionStorage, toEntitiesImportInput };
|
|
43789
|
+
export { AUTHENTICATION_EVENTS_NAMESPACE, ApiKeyAccess, AppExceptionsFilterBase, AppHashingService, AppInMemorySettings, AppSession, AppSessionMiddleware, AppSessionService, AuthGuard, Authenticated, AuthenticationEmailTemplates, AuthenticationError, AuthenticationEvents, AuthenticationExtensionSymbols, AuthenticationModule, AuthenticationService, AwsBucketModule, AwsEmailModule, AwsJobsModule, AwsS3BucketError, AwsS3BucketProvider, AwsS3MediaError, AwsS3MediaModule, AwsS3MediaProvider, AwsSecretsModule, AwsSecretsProvider, AwsSesEmailTemplate, BucketItemType, CacheService, ConnectorMode, CurrentUser, CustomDiscoveryModule, CustomDiscoveryService, EmailService, EntityManagerConfigurationError, EntityManagerException, EntityManagerInitializer, EntityManagerModule, EntityManagerRegistry, EntityManagerService, EntityManagerSymbols, EntityManagerUnauthorizedException, EntityNotFoundException, EntityOperationType, EntityOperationUnauthorizedException, EntitySeeder, EntitySerializationFormat, EntitySerializer, EntitySnapshotService, EntityVersionOperation, EventsService, ExclusiveOperationResult, FilesManager, IEntityVersionsCursor, InMemoryBucketProvider, InMemoryEmailProvider, InMemoryMediaProvider, InMemorySecretsProvider, InvalidCredentialsError, JobConcurrency, JobInstance, JobProviderState, JobRunType, JobSchedule, JobStatus, JobsModule, JobsService, LockNotFoundError, MediaLibraryService, MemberOf, MissingEntityIdError, ModulesContainerProvider, MultiTenancyModule, MultipleEntitiesFoundException, NestEntityActions, NestEntityAuthorizationMiddleware, NestEntityManager, NestEntitySerializer, NestEntitySnapshotService, NestPipelineTemplate, NestTypeOrmEntitySeeder, NestTypeOrmQueryBuilder, NestTypeOrmRepository, OperationLockService, 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, TypeormOperationLockRepository, 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, awsBatchSettings, buildPermissionsGuard, buildProviderToken, buildRolesGuard, createContainer, createExpressFileResponse, getEntityManagerProviderToken, getLocalizedText, newUuid, renderHandlebarsTemplate, sessionStorage, toEntitiesImportInput };
|
|
43730
43790
|
//# sourceMappingURL=index.js.map
|