@punks/backend-entity-manager 0.0.326 → 0.0.327
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 +66 -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 +66 -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);
|
|
@@ -23443,6 +23457,18 @@ let EntityManagerInitializer = EntityManagerInitializer_1 = class EntityManagerI
|
|
|
23443
23457
|
.getEntitiesServicesLocator()
|
|
23444
23458
|
.registerEmailTemplatesCollection(collection);
|
|
23445
23459
|
}
|
|
23460
|
+
async registerOperationLockService() {
|
|
23461
|
+
const operationLockServices = await this.discoverOperationLockService();
|
|
23462
|
+
if (!operationLockServices.length) {
|
|
23463
|
+
this.logger.warn("No operation lock services found ⚠️");
|
|
23464
|
+
return;
|
|
23465
|
+
}
|
|
23466
|
+
this.registry
|
|
23467
|
+
.getContainer()
|
|
23468
|
+
.getEntitiesServicesLocator()
|
|
23469
|
+
.registerOperationLockService(operationLockServices[0].discoveredClass
|
|
23470
|
+
.instance);
|
|
23471
|
+
}
|
|
23446
23472
|
async registerPipelinesServices() {
|
|
23447
23473
|
this.registry
|
|
23448
23474
|
.getContainer()
|
|
@@ -23508,6 +23534,9 @@ let EntityManagerInitializer = EntityManagerInitializer_1 = class EntityManagerI
|
|
|
23508
23534
|
async discoverEmailLogger() {
|
|
23509
23535
|
return await this.discover.providersWithMetaAtKey(EntityManagerSymbols.EmailLogger);
|
|
23510
23536
|
}
|
|
23537
|
+
async discoverOperationLockService() {
|
|
23538
|
+
return await this.discover.providersWithMetaAtKey(EntityManagerSymbols.OperationLockService);
|
|
23539
|
+
}
|
|
23511
23540
|
async discoverBucketProviders() {
|
|
23512
23541
|
return await this.discover.providersWithMetaAtKey(EntityManagerSymbols.BucketProvider);
|
|
23513
23542
|
}
|
|
@@ -34362,13 +34391,17 @@ class PipelineUtils {
|
|
|
34362
34391
|
}
|
|
34363
34392
|
|
|
34364
34393
|
class NestPipelineTemplate {
|
|
34365
|
-
constructor() {
|
|
34394
|
+
constructor(options) {
|
|
34395
|
+
this.options = options;
|
|
34366
34396
|
this.logger = Log.getLogger(NestPipelineTemplate.name);
|
|
34367
34397
|
this.utils = new PipelineUtils();
|
|
34368
34398
|
}
|
|
34369
34399
|
isAuthorized(context) {
|
|
34370
34400
|
return true;
|
|
34371
34401
|
}
|
|
34402
|
+
getConcurrencyKey(input) {
|
|
34403
|
+
return this.constructor.name;
|
|
34404
|
+
}
|
|
34372
34405
|
async invoke(input) {
|
|
34373
34406
|
const result = await this.execute({
|
|
34374
34407
|
input,
|
|
@@ -34380,6 +34413,26 @@ class NestPipelineTemplate {
|
|
|
34380
34413
|
return result.output;
|
|
34381
34414
|
}
|
|
34382
34415
|
async execute(data) {
|
|
34416
|
+
if (this.options?.concurrency === "sequential") {
|
|
34417
|
+
return await this.operationsLockService.executeSequential({
|
|
34418
|
+
lockUid: this.getConcurrencyKey(data.input),
|
|
34419
|
+
operation: async () => {
|
|
34420
|
+
return await this.pipelineExecute(data);
|
|
34421
|
+
},
|
|
34422
|
+
});
|
|
34423
|
+
}
|
|
34424
|
+
if (this.options?.concurrency === "exclusive") {
|
|
34425
|
+
const result = await this.operationsLockService.executeExclusive({
|
|
34426
|
+
lockUid: this.getConcurrencyKey(data.input),
|
|
34427
|
+
operation: async () => {
|
|
34428
|
+
return await this.pipelineExecute(data);
|
|
34429
|
+
},
|
|
34430
|
+
});
|
|
34431
|
+
return result.result;
|
|
34432
|
+
}
|
|
34433
|
+
return await this.pipelineExecute(data);
|
|
34434
|
+
}
|
|
34435
|
+
async pipelineExecute(data) {
|
|
34383
34436
|
const instanceId = newUuid$1();
|
|
34384
34437
|
const logMetadata = {
|
|
34385
34438
|
input: data.input,
|
|
@@ -34430,6 +34483,12 @@ class NestPipelineTemplate {
|
|
|
34430
34483
|
.resolveAuthenticationContextProvider();
|
|
34431
34484
|
return (await contextService?.getContext());
|
|
34432
34485
|
}
|
|
34486
|
+
get operationsLockService() {
|
|
34487
|
+
return this.registry
|
|
34488
|
+
.getContainer()
|
|
34489
|
+
.getEntitiesServicesLocator()
|
|
34490
|
+
.resolveOperationLockService();
|
|
34491
|
+
}
|
|
34433
34492
|
get controller() {
|
|
34434
34493
|
return this.registry
|
|
34435
34494
|
.getContainer()
|
|
@@ -43726,5 +43785,5 @@ InMemorySecretsProvider = __decorate([
|
|
|
43726
43785
|
WpSecretsProvider("inMemorySecretsManager")
|
|
43727
43786
|
], InMemorySecretsProvider);
|
|
43728
43787
|
|
|
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 };
|
|
43788
|
+
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
43789
|
//# sourceMappingURL=index.js.map
|