@punks/backend-entity-manager 0.0.334 → 0.0.336
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 +348 -51
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/types/integrations/cache/dynamo/converter.d.ts +4 -0
- package/dist/cjs/types/integrations/cache/dynamo/index.d.ts +2 -0
- package/dist/cjs/types/integrations/cache/dynamo/instance.d.ts +27 -0
- package/dist/cjs/types/integrations/cache/dynamo/types.d.ts +8 -0
- package/dist/cjs/types/integrations/cache/index.d.ts +1 -0
- package/dist/cjs/types/platforms/nest/__test__/server/app/appAuth/appAuth.actions.d.ts +1 -1
- package/dist/cjs/types/platforms/nest/extensions/authentication/handlers/index.d.ts +1 -1
- package/dist/cjs/types/platforms/nest/plugins/collections/aws-dynamodb/collection.d.ts +33 -0
- package/dist/cjs/types/platforms/nest/plugins/collections/aws-dynamodb/index.d.ts +2 -0
- package/dist/cjs/types/platforms/nest/plugins/collections/aws-dynamodb/module.d.ts +5 -0
- package/dist/cjs/types/platforms/nest/plugins/collections/aws-dynamodb/settings.d.ts +7 -0
- package/dist/cjs/types/platforms/nest/plugins/collections/aws-dynamodb/types.d.ts +66 -0
- package/dist/cjs/types/platforms/nest/plugins/collections/index.d.ts +1 -0
- package/dist/cjs/types/platforms/nest/plugins/index.d.ts +1 -0
- package/dist/esm/index.js +347 -52
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/integrations/cache/dynamo/converter.d.ts +4 -0
- package/dist/esm/types/integrations/cache/dynamo/index.d.ts +2 -0
- package/dist/esm/types/integrations/cache/dynamo/instance.d.ts +27 -0
- package/dist/esm/types/integrations/cache/dynamo/types.d.ts +8 -0
- package/dist/esm/types/integrations/cache/index.d.ts +1 -0
- package/dist/esm/types/platforms/nest/__test__/server/app/appAuth/appAuth.actions.d.ts +1 -1
- package/dist/esm/types/platforms/nest/extensions/authentication/handlers/index.d.ts +1 -1
- package/dist/esm/types/platforms/nest/plugins/collections/aws-dynamodb/collection.d.ts +33 -0
- package/dist/esm/types/platforms/nest/plugins/collections/aws-dynamodb/index.d.ts +2 -0
- package/dist/esm/types/platforms/nest/plugins/collections/aws-dynamodb/module.d.ts +5 -0
- package/dist/esm/types/platforms/nest/plugins/collections/aws-dynamodb/settings.d.ts +7 -0
- package/dist/esm/types/platforms/nest/plugins/collections/aws-dynamodb/types.d.ts +66 -0
- package/dist/esm/types/platforms/nest/plugins/collections/index.d.ts +1 -0
- package/dist/esm/types/platforms/nest/plugins/index.d.ts +1 -0
- package/dist/index.d.ts +184 -38
- package/package.json +5 -1
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { CacheEntryDetail, CacheEntryInfo } from "../../../abstractions/cache";
|
|
2
|
+
import { DynamoDbCacheItem } from "./types";
|
|
3
|
+
export declare const toCacheEntryInfo: (item: DynamoDbCacheItem) => CacheEntryInfo;
|
|
4
|
+
export declare const toCacheEntryDetail: (item: DynamoDbCacheItem) => CacheEntryDetail;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { CacheEntryDetail, CacheEntryInfo, CacheTtl, ICacheInstance } from "../../../abstractions/cache";
|
|
2
|
+
export type DynamoDbCacheInstanceOptions = {
|
|
3
|
+
tableName: string;
|
|
4
|
+
partitionKey?: string;
|
|
5
|
+
sortKey?: string;
|
|
6
|
+
};
|
|
7
|
+
export declare abstract class DynamoDbCacheInstance implements ICacheInstance {
|
|
8
|
+
protected readonly instanceName: string;
|
|
9
|
+
private readonly logger;
|
|
10
|
+
private readonly collection;
|
|
11
|
+
constructor(instanceName: string, dynamoDbOptions: DynamoDbCacheInstanceOptions);
|
|
12
|
+
getEntries(): Promise<CacheEntryInfo[]>;
|
|
13
|
+
getEntry(key: string): Promise<CacheEntryDetail | undefined>;
|
|
14
|
+
get<T>(key: string): Promise<T | undefined>;
|
|
15
|
+
set<T>(key: string, input: {
|
|
16
|
+
value: T;
|
|
17
|
+
ttl: CacheTtl;
|
|
18
|
+
}): Promise<void>;
|
|
19
|
+
retrieve<T>(key: string, input: {
|
|
20
|
+
ttl: CacheTtl;
|
|
21
|
+
valueFactory: () => Promise<T>;
|
|
22
|
+
}): Promise<T>;
|
|
23
|
+
delete(key: string): Promise<void>;
|
|
24
|
+
clear(): Promise<void>;
|
|
25
|
+
getInstanceName(): string;
|
|
26
|
+
private isExpired;
|
|
27
|
+
}
|
|
@@ -7,6 +7,6 @@ export declare class AppAuthActions {
|
|
|
7
7
|
register(data: UserRegisterRequest): Promise<import("../../../../extensions").UserRegistrationResult>;
|
|
8
8
|
passwordReset(data: UserPasswordResetRequest): Promise<import("../../../../extensions").UserPasswordResetRequestResult>;
|
|
9
9
|
passwordResetComplete(data: UserPasswordResetCompleteRequest): Promise<void>;
|
|
10
|
-
userVerifyRequest(data: UserEmailVerifyRequest): Promise<import("../../../../extensions").
|
|
10
|
+
userVerifyRequest(data: UserEmailVerifyRequest): Promise<import("../../../../extensions").UserVerifyRequestResult>;
|
|
11
11
|
userVerifyComplete(data: UserEmailVerifyCompleteRequest): Promise<void>;
|
|
12
12
|
}
|
|
@@ -9,4 +9,4 @@ export { UserPasswordResetRequestInput, UserPasswordResetRequestResult, UserPass
|
|
|
9
9
|
export { UserRegisterCallbackTemplate, UserRegistrationInput, UserRegistrationResult, } from "./user-register/types";
|
|
10
10
|
export { UserTokenVerifyInput, UserTokenVerifyResult, } from "./user-token-verify/types";
|
|
11
11
|
export { UserVerifyCompleteInput } from "./user-verify-complete/types";
|
|
12
|
-
export { UserVerifyRequestInput, UserVerifyRequestCallbackTemplate, UserVerifyRequestResult
|
|
12
|
+
export { UserVerifyRequestInput, UserVerifyRequestCallbackTemplate, UserVerifyRequestResult, } from "./user-verify-request/types";
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { DynamoItem, QueryDynamoTableInput, QueryDynamoTableItemsInput, QueryDynamoTablePageInput, QueryDynamoTablePageInputRaw, QueryDynamoTablePageRawResult, QueryDynamoTablePageResult, RawQueryDynamoTableInput, RawScanDynamoTableInput, ScanDynamoTableInput, ScanDynamoTableItemsInput } from "./types";
|
|
2
|
+
export type DynamoDbPrimaryKey = {
|
|
3
|
+
partitionKey: string;
|
|
4
|
+
sortKey?: string;
|
|
5
|
+
};
|
|
6
|
+
export type DynamoDbCollectionOptions = {
|
|
7
|
+
tableName: string;
|
|
8
|
+
primaryKey: DynamoDbPrimaryKey;
|
|
9
|
+
};
|
|
10
|
+
export declare class DynamoDbCollection {
|
|
11
|
+
private readonly settings;
|
|
12
|
+
private client;
|
|
13
|
+
constructor(settings: DynamoDbCollectionOptions);
|
|
14
|
+
queryTableItems<T>(input: QueryDynamoTableItemsInput): Promise<T[]>;
|
|
15
|
+
queryTable<T>(input: QueryDynamoTableInput<T>): Promise<void>;
|
|
16
|
+
protected rawQueryTable(input: RawQueryDynamoTableInput): Promise<void>;
|
|
17
|
+
queryTablePage<T>(input: QueryDynamoTablePageInput): Promise<QueryDynamoTablePageResult<T>>;
|
|
18
|
+
protected queryTablePageRaw(input: QueryDynamoTablePageInputRaw): Promise<QueryDynamoTablePageRawResult>;
|
|
19
|
+
scanTableItems<T>(input: ScanDynamoTableItemsInput): Promise<T[]>;
|
|
20
|
+
scanTable<T>(input: ScanDynamoTableInput<T>): Promise<void>;
|
|
21
|
+
protected rawScanTable(input: RawScanDynamoTableInput): Promise<void>;
|
|
22
|
+
itemExists(key: DynamoItem): Promise<boolean>;
|
|
23
|
+
getItem<T>(key: DynamoItem): Promise<T | undefined>;
|
|
24
|
+
protected getItemRaw(key: DynamoItem): Promise<DynamoItem | undefined>;
|
|
25
|
+
putItem<T>(item: T): Promise<void>;
|
|
26
|
+
protected putItemRaw(item: DynamoItem): Promise<void>;
|
|
27
|
+
deleteItem(key: DynamoItem): Promise<void>;
|
|
28
|
+
private deserializeItem;
|
|
29
|
+
private serializeItem;
|
|
30
|
+
private serializeCursor;
|
|
31
|
+
private deserializeCursor;
|
|
32
|
+
private getClient;
|
|
33
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { AppInMemorySettings } from "../../../../../settings";
|
|
2
|
+
export type AwsDynamoDbSettings = {
|
|
3
|
+
awsAccessKeyId?: string;
|
|
4
|
+
awsSecretAccessKey?: string;
|
|
5
|
+
region?: string;
|
|
6
|
+
};
|
|
7
|
+
export declare const awsDynamoDbSettings: AppInMemorySettings<AwsDynamoDbSettings>;
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import { AttributeValue } from "@aws-sdk/client-dynamodb";
|
|
2
|
+
export type DynamoItem = {
|
|
3
|
+
[key: string]: AttributeValue;
|
|
4
|
+
};
|
|
5
|
+
export type RawScanDynamoTableInput = {
|
|
6
|
+
index?: string;
|
|
7
|
+
pageSize: number;
|
|
8
|
+
filter?: string;
|
|
9
|
+
callback: (data: DynamoItem[]) => void;
|
|
10
|
+
};
|
|
11
|
+
export type ScanDynamoTableInput<T> = {
|
|
12
|
+
index?: string;
|
|
13
|
+
pageSize: number;
|
|
14
|
+
filter?: string;
|
|
15
|
+
callback: (data: T[]) => void;
|
|
16
|
+
};
|
|
17
|
+
export type ScanDynamoTableItemsInput = {
|
|
18
|
+
index?: string;
|
|
19
|
+
pageSize: number;
|
|
20
|
+
filter?: string;
|
|
21
|
+
};
|
|
22
|
+
export type SortDirection = "asc" | "desc";
|
|
23
|
+
export type QueryDynamoTablePageInputBase = {
|
|
24
|
+
index?: string;
|
|
25
|
+
pageSize: number;
|
|
26
|
+
cursor?: string;
|
|
27
|
+
direction?: SortDirection;
|
|
28
|
+
keyFilter?: string;
|
|
29
|
+
dataFilter?: string;
|
|
30
|
+
};
|
|
31
|
+
export type QueryDynamoTablePageInputRaw = QueryDynamoTablePageInputBase & {
|
|
32
|
+
filterAttributes?: DynamoItem;
|
|
33
|
+
};
|
|
34
|
+
export type QueryDynamoTablePageInput = QueryDynamoTablePageInputBase & {
|
|
35
|
+
filterAttributes?: any;
|
|
36
|
+
};
|
|
37
|
+
export type QueryDynamoTablePageRawResult = {
|
|
38
|
+
items: DynamoItem[];
|
|
39
|
+
cursor?: string;
|
|
40
|
+
};
|
|
41
|
+
export type QueryDynamoTablePageResult<T> = {
|
|
42
|
+
items: T[];
|
|
43
|
+
cursor?: string;
|
|
44
|
+
};
|
|
45
|
+
export type RawQueryDynamoTableInput = {
|
|
46
|
+
index?: string;
|
|
47
|
+
pageSize: number;
|
|
48
|
+
keyFilter?: string;
|
|
49
|
+
attributesFilter?: string;
|
|
50
|
+
filterAttributes?: DynamoItem;
|
|
51
|
+
callback: (data: DynamoItem[]) => void;
|
|
52
|
+
};
|
|
53
|
+
export type QueryDynamoTableInput<T> = {
|
|
54
|
+
index?: string;
|
|
55
|
+
pageSize: number;
|
|
56
|
+
keyFilter?: string;
|
|
57
|
+
callback: (data: T[]) => void;
|
|
58
|
+
};
|
|
59
|
+
export type QueryDynamoTableItemsInput = {
|
|
60
|
+
index?: string;
|
|
61
|
+
pageSize: number;
|
|
62
|
+
keyFilter?: string;
|
|
63
|
+
attributesFilter?: string;
|
|
64
|
+
filterAttributes?: DynamoItem;
|
|
65
|
+
direction?: SortDirection;
|
|
66
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./aws-dynamodb";
|
package/dist/index.d.ts
CHANGED
|
@@ -16,6 +16,7 @@ import { SchedulerRegistry } from '@nestjs/schedule';
|
|
|
16
16
|
import { CommandBus } from '@nestjs/cqrs';
|
|
17
17
|
import * as express from 'express';
|
|
18
18
|
import { Response, Request, NextFunction } from 'express';
|
|
19
|
+
import { AttributeValue } from '@aws-sdk/client-dynamodb';
|
|
19
20
|
import { EventEmitter2 } from '@nestjs/event-emitter';
|
|
20
21
|
import * as qs from 'qs';
|
|
21
22
|
import * as express_serve_static_core from 'express-serve-static-core';
|
|
@@ -63,12 +64,12 @@ interface ISearchRequestPaging<TCursor> {
|
|
|
63
64
|
}
|
|
64
65
|
interface ISearchSortingField<TSorting> {
|
|
65
66
|
field: TSorting;
|
|
66
|
-
direction: SortDirection;
|
|
67
|
+
direction: SortDirection$1;
|
|
67
68
|
}
|
|
68
69
|
interface ISearchSorting<TSorting> {
|
|
69
70
|
fields: ISearchSortingField<TSorting>[];
|
|
70
71
|
}
|
|
71
|
-
declare enum SortDirection {
|
|
72
|
+
declare enum SortDirection$1 {
|
|
72
73
|
Asc = "asc",
|
|
73
74
|
Desc = "desc"
|
|
74
75
|
}
|
|
@@ -111,7 +112,7 @@ interface IEntityVersionsFilters {
|
|
|
111
112
|
timestampTo?: Date;
|
|
112
113
|
}
|
|
113
114
|
interface IEntityVersionsSorting {
|
|
114
|
-
direction: SortDirection;
|
|
115
|
+
direction: SortDirection$1;
|
|
115
116
|
}
|
|
116
117
|
declare class IEntityVersionsCursor<TCursor> {
|
|
117
118
|
cursor?: TCursor;
|
|
@@ -2331,6 +2332,76 @@ declare const createExpressFileResponse: (res: Response, file: {
|
|
|
2331
2332
|
name: string;
|
|
2332
2333
|
}) => StreamableFile;
|
|
2333
2334
|
|
|
2335
|
+
type CacheTtl = {
|
|
2336
|
+
value: number;
|
|
2337
|
+
unit: "years" | "months" | "days" | "hours" | "minutes" | "seconds";
|
|
2338
|
+
};
|
|
2339
|
+
type CacheEntryInfo = {
|
|
2340
|
+
instanceName: string;
|
|
2341
|
+
key: string;
|
|
2342
|
+
expiration: Date;
|
|
2343
|
+
createdOn: Date;
|
|
2344
|
+
updatedOn: Date;
|
|
2345
|
+
};
|
|
2346
|
+
type CacheEntryDetail = CacheEntryInfo & {
|
|
2347
|
+
data: any;
|
|
2348
|
+
};
|
|
2349
|
+
interface ICacheInstance {
|
|
2350
|
+
getInstanceName(): string;
|
|
2351
|
+
getEntries(): Promise<CacheEntryInfo[]>;
|
|
2352
|
+
getEntry(key: string): Promise<CacheEntryDetail | undefined>;
|
|
2353
|
+
get<T>(key: string): Promise<T | undefined>;
|
|
2354
|
+
set<T>(key: string, input: {
|
|
2355
|
+
value: T;
|
|
2356
|
+
ttl: CacheTtl;
|
|
2357
|
+
}): Promise<void>;
|
|
2358
|
+
retrieve<T>(key: string, input: {
|
|
2359
|
+
ttl: CacheTtl;
|
|
2360
|
+
valueFactory: () => Promise<T>;
|
|
2361
|
+
}): Promise<T>;
|
|
2362
|
+
delete(key: string): Promise<void>;
|
|
2363
|
+
clear(): Promise<void>;
|
|
2364
|
+
}
|
|
2365
|
+
interface ICache {
|
|
2366
|
+
getInstance(instanceName: string): Promise<ICacheInstance>;
|
|
2367
|
+
}
|
|
2368
|
+
|
|
2369
|
+
type DynamoDbCacheInstanceOptions = {
|
|
2370
|
+
tableName: string;
|
|
2371
|
+
partitionKey?: string;
|
|
2372
|
+
sortKey?: string;
|
|
2373
|
+
};
|
|
2374
|
+
declare abstract class DynamoDbCacheInstance implements ICacheInstance {
|
|
2375
|
+
protected readonly instanceName: string;
|
|
2376
|
+
private readonly logger;
|
|
2377
|
+
private readonly collection;
|
|
2378
|
+
constructor(instanceName: string, dynamoDbOptions: DynamoDbCacheInstanceOptions);
|
|
2379
|
+
getEntries(): Promise<CacheEntryInfo[]>;
|
|
2380
|
+
getEntry(key: string): Promise<CacheEntryDetail | undefined>;
|
|
2381
|
+
get<T>(key: string): Promise<T | undefined>;
|
|
2382
|
+
set<T>(key: string, input: {
|
|
2383
|
+
value: T;
|
|
2384
|
+
ttl: CacheTtl;
|
|
2385
|
+
}): Promise<void>;
|
|
2386
|
+
retrieve<T>(key: string, input: {
|
|
2387
|
+
ttl: CacheTtl;
|
|
2388
|
+
valueFactory: () => Promise<T>;
|
|
2389
|
+
}): Promise<T>;
|
|
2390
|
+
delete(key: string): Promise<void>;
|
|
2391
|
+
clear(): Promise<void>;
|
|
2392
|
+
getInstanceName(): string;
|
|
2393
|
+
private isExpired;
|
|
2394
|
+
}
|
|
2395
|
+
|
|
2396
|
+
type DynamoDbCacheItem = {
|
|
2397
|
+
instance: string;
|
|
2398
|
+
key: string;
|
|
2399
|
+
expiration: number;
|
|
2400
|
+
createdOn: number;
|
|
2401
|
+
updatedOn: number;
|
|
2402
|
+
data: any;
|
|
2403
|
+
};
|
|
2404
|
+
|
|
2334
2405
|
interface ICacheDatabaseItem {
|
|
2335
2406
|
id: string;
|
|
2336
2407
|
instance: string;
|
|
@@ -2807,6 +2878,115 @@ declare class InMemoryBucketProvider implements IBucketProvider {
|
|
|
2807
2878
|
fileDelete(input: BucketFileDeleteInput): Promise<void>;
|
|
2808
2879
|
}
|
|
2809
2880
|
|
|
2881
|
+
type DynamoItem = {
|
|
2882
|
+
[key: string]: AttributeValue;
|
|
2883
|
+
};
|
|
2884
|
+
type RawScanDynamoTableInput = {
|
|
2885
|
+
index?: string;
|
|
2886
|
+
pageSize: number;
|
|
2887
|
+
filter?: string;
|
|
2888
|
+
callback: (data: DynamoItem[]) => void;
|
|
2889
|
+
};
|
|
2890
|
+
type ScanDynamoTableInput<T> = {
|
|
2891
|
+
index?: string;
|
|
2892
|
+
pageSize: number;
|
|
2893
|
+
filter?: string;
|
|
2894
|
+
callback: (data: T[]) => void;
|
|
2895
|
+
};
|
|
2896
|
+
type ScanDynamoTableItemsInput = {
|
|
2897
|
+
index?: string;
|
|
2898
|
+
pageSize: number;
|
|
2899
|
+
filter?: string;
|
|
2900
|
+
};
|
|
2901
|
+
type SortDirection = "asc" | "desc";
|
|
2902
|
+
type QueryDynamoTablePageInputBase = {
|
|
2903
|
+
index?: string;
|
|
2904
|
+
pageSize: number;
|
|
2905
|
+
cursor?: string;
|
|
2906
|
+
direction?: SortDirection;
|
|
2907
|
+
keyFilter?: string;
|
|
2908
|
+
dataFilter?: string;
|
|
2909
|
+
};
|
|
2910
|
+
type QueryDynamoTablePageInputRaw = QueryDynamoTablePageInputBase & {
|
|
2911
|
+
filterAttributes?: DynamoItem;
|
|
2912
|
+
};
|
|
2913
|
+
type QueryDynamoTablePageInput = QueryDynamoTablePageInputBase & {
|
|
2914
|
+
filterAttributes?: any;
|
|
2915
|
+
};
|
|
2916
|
+
type QueryDynamoTablePageRawResult = {
|
|
2917
|
+
items: DynamoItem[];
|
|
2918
|
+
cursor?: string;
|
|
2919
|
+
};
|
|
2920
|
+
type QueryDynamoTablePageResult<T> = {
|
|
2921
|
+
items: T[];
|
|
2922
|
+
cursor?: string;
|
|
2923
|
+
};
|
|
2924
|
+
type RawQueryDynamoTableInput = {
|
|
2925
|
+
index?: string;
|
|
2926
|
+
pageSize: number;
|
|
2927
|
+
keyFilter?: string;
|
|
2928
|
+
attributesFilter?: string;
|
|
2929
|
+
filterAttributes?: DynamoItem;
|
|
2930
|
+
callback: (data: DynamoItem[]) => void;
|
|
2931
|
+
};
|
|
2932
|
+
type QueryDynamoTableInput<T> = {
|
|
2933
|
+
index?: string;
|
|
2934
|
+
pageSize: number;
|
|
2935
|
+
keyFilter?: string;
|
|
2936
|
+
callback: (data: T[]) => void;
|
|
2937
|
+
};
|
|
2938
|
+
type QueryDynamoTableItemsInput = {
|
|
2939
|
+
index?: string;
|
|
2940
|
+
pageSize: number;
|
|
2941
|
+
keyFilter?: string;
|
|
2942
|
+
attributesFilter?: string;
|
|
2943
|
+
filterAttributes?: DynamoItem;
|
|
2944
|
+
direction?: SortDirection;
|
|
2945
|
+
};
|
|
2946
|
+
|
|
2947
|
+
type DynamoDbPrimaryKey = {
|
|
2948
|
+
partitionKey: string;
|
|
2949
|
+
sortKey?: string;
|
|
2950
|
+
};
|
|
2951
|
+
type DynamoDbCollectionOptions = {
|
|
2952
|
+
tableName: string;
|
|
2953
|
+
primaryKey: DynamoDbPrimaryKey;
|
|
2954
|
+
};
|
|
2955
|
+
declare class DynamoDbCollection {
|
|
2956
|
+
private readonly settings;
|
|
2957
|
+
private client;
|
|
2958
|
+
constructor(settings: DynamoDbCollectionOptions);
|
|
2959
|
+
queryTableItems<T>(input: QueryDynamoTableItemsInput): Promise<T[]>;
|
|
2960
|
+
queryTable<T>(input: QueryDynamoTableInput<T>): Promise<void>;
|
|
2961
|
+
protected rawQueryTable(input: RawQueryDynamoTableInput): Promise<void>;
|
|
2962
|
+
queryTablePage<T>(input: QueryDynamoTablePageInput): Promise<QueryDynamoTablePageResult<T>>;
|
|
2963
|
+
protected queryTablePageRaw(input: QueryDynamoTablePageInputRaw): Promise<QueryDynamoTablePageRawResult>;
|
|
2964
|
+
scanTableItems<T>(input: ScanDynamoTableItemsInput): Promise<T[]>;
|
|
2965
|
+
scanTable<T>(input: ScanDynamoTableInput<T>): Promise<void>;
|
|
2966
|
+
protected rawScanTable(input: RawScanDynamoTableInput): Promise<void>;
|
|
2967
|
+
itemExists(key: DynamoItem): Promise<boolean>;
|
|
2968
|
+
getItem<T>(key: DynamoItem): Promise<T | undefined>;
|
|
2969
|
+
protected getItemRaw(key: DynamoItem): Promise<DynamoItem | undefined>;
|
|
2970
|
+
putItem<T>(item: T): Promise<void>;
|
|
2971
|
+
protected putItemRaw(item: DynamoItem): Promise<void>;
|
|
2972
|
+
deleteItem(key: DynamoItem): Promise<void>;
|
|
2973
|
+
private deserializeItem;
|
|
2974
|
+
private serializeItem;
|
|
2975
|
+
private serializeCursor;
|
|
2976
|
+
private deserializeCursor;
|
|
2977
|
+
private getClient;
|
|
2978
|
+
}
|
|
2979
|
+
|
|
2980
|
+
type AwsDynamoDbSettings = {
|
|
2981
|
+
awsAccessKeyId?: string;
|
|
2982
|
+
awsSecretAccessKey?: string;
|
|
2983
|
+
region?: string;
|
|
2984
|
+
};
|
|
2985
|
+
|
|
2986
|
+
declare class AwsDynamoDbModule {
|
|
2987
|
+
static forRoot(input: AwsDynamoDbSettings): DynamicModule;
|
|
2988
|
+
}
|
|
2989
|
+
|
|
2810
2990
|
type AwsSesEmailTemplateData = {
|
|
2811
2991
|
subjectTemplate: string;
|
|
2812
2992
|
htmlTemplate: string;
|
|
@@ -3155,40 +3335,6 @@ interface IAppInitializer {
|
|
|
3155
3335
|
initialize(app: INestApplicationContext): Promise<void>;
|
|
3156
3336
|
}
|
|
3157
3337
|
|
|
3158
|
-
type CacheTtl = {
|
|
3159
|
-
value: number;
|
|
3160
|
-
unit: "years" | "months" | "days" | "hours" | "minutes" | "seconds";
|
|
3161
|
-
};
|
|
3162
|
-
type CacheEntryInfo = {
|
|
3163
|
-
instanceName: string;
|
|
3164
|
-
key: string;
|
|
3165
|
-
expiration: Date;
|
|
3166
|
-
createdOn: Date;
|
|
3167
|
-
updatedOn: Date;
|
|
3168
|
-
};
|
|
3169
|
-
type CacheEntryDetail = CacheEntryInfo & {
|
|
3170
|
-
data: any;
|
|
3171
|
-
};
|
|
3172
|
-
interface ICacheInstance {
|
|
3173
|
-
getInstanceName(): string;
|
|
3174
|
-
getEntries(): Promise<CacheEntryInfo[]>;
|
|
3175
|
-
getEntry(key: string): Promise<CacheEntryDetail | undefined>;
|
|
3176
|
-
get<T>(key: string): Promise<T | undefined>;
|
|
3177
|
-
set<T>(key: string, input: {
|
|
3178
|
-
value: T;
|
|
3179
|
-
ttl: CacheTtl;
|
|
3180
|
-
}): Promise<void>;
|
|
3181
|
-
retrieve<T>(key: string, input: {
|
|
3182
|
-
ttl: CacheTtl;
|
|
3183
|
-
valueFactory: () => Promise<T>;
|
|
3184
|
-
}): Promise<T>;
|
|
3185
|
-
delete(key: string): Promise<void>;
|
|
3186
|
-
clear(): Promise<void>;
|
|
3187
|
-
}
|
|
3188
|
-
interface ICache {
|
|
3189
|
-
getInstance(instanceName: string): Promise<ICacheInstance>;
|
|
3190
|
-
}
|
|
3191
|
-
|
|
3192
3338
|
interface IEntitySnapshotService<TEntityId, TEntitySnapshot> {
|
|
3193
3339
|
getSnapshot(id: TEntityId): Promise<TEntitySnapshot>;
|
|
3194
3340
|
}
|
|
@@ -3614,4 +3760,4 @@ declare const renderHandlebarsTemplate: <TContext extends object>(input: {
|
|
|
3614
3760
|
|
|
3615
3761
|
declare const newUuid: () => string;
|
|
3616
3762
|
|
|
3617
|
-
export { AUTHENTICATION_EVENTS_NAMESPACE, ApiKeyAccess, ApiKeyRouteOptions, AppExceptionsFilterBase, AppHashingService, AppInMemorySettings, AppPermission, AppRole, AppSecret, AppSecretDefinition, AppSecretInput, AppSecretType, AppSecretsPageMetadata, AppSession, AppSessionMiddleware, AppSessionService, AuthGuard, Authenticated, AuthenticationEmailTemplates, AuthenticationError, AuthenticationEvents, AuthenticationExtensionSymbols, AuthenticationModule, AuthenticationModuleSettings, AuthenticationService, AwsBatchInfrastructureParams, AwsBatchInvocationParams, AwsBatchSettings, AwsBucketModule, AwsBucketSettings, AwsEmailModule, AwsJobComputePlatformType, AwsJobDefinition, AwsJobEnvironmentVariable, AwsJobsModule, AwsMediaSettings, AwsS3BucketError, AwsS3BucketProvider, AwsS3MediaError, AwsS3MediaModule, AwsS3MediaProvider, AwsSecretsModule, AwsSecretsProvider, AwsSecretsSettings, AwsSesEmailTemplate, AwsSesEmailTemplateData, AwsSesSettings, BooleanFacetsType, BucketContentItem, BucketFileCopyInput, BucketFileDeleteInput, BucketFileDownloadInput, BucketFileMoveInput, BucketFilePublicUrlCreateInput, BucketFileUploadInput, BucketFolderContentResult, BucketFolderCreateInput, BucketFolderEnsureInput, BucketFolderExistsInput, BucketFolderListInput, BucketFolderListResult, BucketItemType, BucketProviderProps, CacheEntryDetail, CacheEntryInfo, CacheInstanceProps, CacheService, CacheTtl, ClassType, ConnectorMode, ConnectorOptions, CurrentUser, CurrentUserData, CustomDiscoveryModule, CustomDiscoveryService, DateFacetsType, DeepPartial, EmailLoggerProps, EmailProviderProps, EmailService, EmailTemplateProps, EmailVerifyEmailPayload, EmailVerifyTokenPayload, EntitiesExportFile, EntitiesExportInput, EntitiesExportOptions, EntitiesExportResult, EntitiesImportExportSettings, EntitiesImportInput, EntitiesImportResult, EntitiesImportStatistics, EntitiesSampleDownloadOptions, EntitiesSampleDownloadResult, EntityActionsProps, EntityAdapterProps, EntityAuthMiddlewareProps, EntityConnectorMapperProps, EntityConnectorProps, EntityConverterProps, EntityExportBucketSettings, EntityManagerConfigurationError, EntityManagerException, EntityManagerInitializer, EntityManagerModule, EntityManagerProps, EntityManagerRegistry, EntityManagerService, EntityManagerSettings, EntityManagerSymbols, EntityManagerUnauthorizedException, EntityNotFoundException, EntityOperationType, EntityOperationUnauthorizedException, EntityProps, EntityQueryBuilderProps, EntityReference, EntityRepositoryProps, EntitySeeder, EntitySeederProps, EntitySerializationFormat, EntitySerializer, EntitySerializerColumnDefinition, EntitySerializerProps, EntitySerializerSheetDefinition, EntitySnapshotService, EntitySnapshotServiceProps, EntityVersionInput, EntityVersionOperation, EntityVersioningProviderProps, EnumType, EventsService, EventsTrackerProps, ExclusiveOperationResult, ExecuteExclusiveInput, ExecuteSequentialInput, FacetBuilderInput, FacetRelations, FacetType, FacetValueType, FileData, FileDownloadUrl, FileProviderDownloadData, FileProviderDownloadUrl, FileProviderProps, FileProviderReference, FileProviderUploadData, FileReference, FileReferenceRecord, FileReferenceRepositoryProps, FilesManager, FilesReferenceData, FilterExpression, GlobalAuthenticationMiddlewareProps, HtmlEmailInput, IAppCompany, IAppDirectory, IAppDivision, IAppInitializer, IAppOrganization, IAppRole, IAppTenant, IAppUser, IAppUserGroup, IAppUserProfile, IAuthApiKey, IAuthApiKeysService, IAuthDirectory, IAuthOrganization, IAuthOrganizationalUnit, IAuthPermission, IAuthPermissionService, IAuthRole, IAuthRoleService, IAuthService, IAuthTenant, IAuthUser, IAuthUserContext, IAuthUserProfile, IAuthUserRolesService, IAuthUserService, IAuthUserTokenData, IAuthenticationContext, IAuthenticationContextProvider, IAuthenticationData, IAuthenticationMiddleware, IAuthenticationOrganizationalUnit, IAuthenticationUserPermission, IAuthenticationUserRole, IAuthorizationResult, IBucketProvider, ICache, ICacheDatabaseItem, ICacheInstance, IEmailLogger, IEmailProvider, IEmailTemplate, IEmailTemplatesCollection, IEntitiesCountAction, IEntitiesCountQuery, IEntitiesDeleteAction, IEntitiesDeleteCommand, IEntitiesDeleteParameters, IEntitiesDeleteResult$1 as IEntitiesDeleteResult, IEntitiesExportAction, IEntitiesExportCommand, IEntitiesImportAction, IEntitiesImportCommand, IEntitiesQueryBuilder, IEntitiesSampleDownloadAction, IEntitiesSampleDownloadCommand, IEntitiesSearchAction, IEntitiesSearchQuery, IEntitiesSearchResults, IEntitiesSearchResultsPaging, IEntityUpsertByCommand as IEntitiesUpsertByCommand, IEntityUpsertByParameters as IEntitiesUpsertByParameters, IEntityUpsertByResult as IEntitiesUpsertByResult, IEntityActions, IEntityAdapter, IEntityAuthorizationMiddleware, IEntityConnector, IEntityConverter, IEntityCreateAction, IEntityCreateCommand, IEntityDeleteAction, IEntityDeleteCommand, IEntityEventsManager, IEntityExistsAction, IEntityExistsQuery, IEntityFacet, IEntityFacetValue, IEntityFacets, IEntityGetAction, IEntityGetQuery, IEntityManager, IEntityManagerServiceCollection, IEntityManagerServiceRoot, IEntityMapper, IEntityReplicaDeleteManager, IEntityReplicaSyncManager, IEntityRepository, IEntitySearchParameters, IEntitySearchResults, IEntitySerializer, IEntitySnapshotService, IEntityUpdateAction, IEntityUpdateCommand, IEntityUpsertAction, IEntityUpsertCommand, IEntityVersionCommand, IEntityVersioningProvider, IEntityVersioningResults, IEntityVersionsCursor, IEntityVersionsFilters, IEntityVersionsReference, IEntityVersionsResultsPaging, IEntityVersionsSearchAction, IEntityVersionsSearchInput, IEntityVersionsSearchParameters, IEntityVersionsSearchQuery, IEntityVersionsSearchResults, IEntityVersionsSorting, IEventLog, IEventsTracker, IFileManager, IFileProvider, IFilesReferenceRepository, IFullTextQuery, IJobDefinitionsRepository, IJobInstancesRepository, ILockRepository, IMediaFolderRepository, IMediaLibraryManager, IMediaProvider, IMediaReferenceRepository, IMultiCompanyEntity, IMultiOrganizationEntity, IMultiTenantEntity, IOperationLockService, IPipelineStepBuilder, IPipelineStepOperationBuilder, IPipelineStepOperationOptionsBuilder, IPipelineTemplateBuilder, IReplicasConfiguration, ISearchFilters, ISearchOptions, ISearchQueryRelations, ISearchQueryRelationsProperty, ISearchRequestPaging, ISearchResultsPaging, ISearchSorting, ISearchSortingField, ISecretsProvider, ITraverseFilters, InMemoryBucketProvider, InMemoryEmailProvider, InMemoryMediaProvider, InMemorySecretsProvider, InvalidCredentialsError, JobConcurrency, JobDefinition, JobInstance, JobProviderState$1 as JobProviderState, JobRunType, JobSchedule, JobStatus, JobTriggerInput, JobsModule, JobsService, JobsSettings, LocalizedMap, LocalizedTexts, LockAcquireInput, LockAcquireResult, LockItem, LockNotFoundError, LockReleaseInput, MediaFolderCreateInput, MediaFolderEnsureInput, MediaFolderMoveInput, MediaFolderRecord, MediaFolderReference, MediaFolderRenameInput, MediaFolderRepositoryProps, MediaInfo, MediaItemReference, MediaLibraryService, MediaProviderProps, MediaReference, MediaReferenceCreateInput, MediaReferenceRecord, MediaReferenceRepositoryProps, MediaUploadInput, MemberOf, MessagingEmailSentPayload, MissingEntityIdError, ModulesContainerProvider, MultiTenancyModule, MultipleEntitiesFoundException, NestEntityActions, NestEntityAuthorizationMiddleware, NestEntityManager, NestEntitySerializer, NestEntitySnapshotService, NestPipelineTemplate, NestTypeOrmEntitySeeder, NestTypeOrmQueryBuilder, NestTypeOrmRepository, NonNullable$1 as NonNullable, NumberFacetsType, OperationDefinition, OperationLockService, OperationTokenMismatchError, PLATFORM_EVENT_NAMESPACE, PasswordResetEmailPayload, Permissions, PipelineCompletedStepState, PipelineController, PipelineCurrentStepState, PipelineDefinition, PipelineErrorType, PipelineInvocationError, PipelineOperationError, PipelineOperationResult, PipelineOperationResultType, PipelineOperationRollbackResult, PipelineOperationRollbackResultType, PipelineResult, PipelineResultType, PipelineStatus, PipelineStep, PipelineStepErrorType, PipelineStepOperation, PipelineStepReference, PipelineStepResult, PipelineStepResultType, PipelineStepRollbackResult, PipelineStepRollbackResultType, PipelineStepState, PipelineTemplateProps, PipelinesBuilder, PipelinesRunner, PlatformEvents, Public, QueryBuilderBase, QueryBuilderOperation, RegistrationEmailPayload, ReplicaConfiguration, ReplicaOptions, ReplicationMode, Roles, RolesGuardOptions, RollbackOperationDefinition, RuntimeErrorInformation, SanityMediaError, SanityMediaModule, SanityMediaProvider, SanityMediaSettings, SecretsService, SendgridEmailModule, SendgridEmailTemplate, SendgridEmailTemplateData, SendgridSettings, SendgridTemplateBaseData, SendgridTemplateType, SortDirection, SortingType, StringFacetsType, TemplatedEmailInput, TrackingService, TypeOrmQueryBuilder, TypeOrmRepository, TypeormCacheInstance, TypeormOperationLockRepository, UserCreationError, UserCreationInput, UserCreationResult, UserDeleteInput, UserDisableInput, UserEnableInput, UserLoginEventPayload, UserLoginInput, UserLoginResult, UserPasswordChangeInput, UserPasswordResetCompleteInput, UserPasswordResetCompletedEventPayload, UserPasswordResetRequestCallbackTemplate, UserPasswordResetRequestInput, UserPasswordResetRequestResult, UserPasswordResetStartedEventPayload, UserPasswordResetTokenPayload, UserProfile, UserRegisterCallbackTemplate, UserRegistrationCompletedEventPayload, UserRegistrationError, UserRegistrationInput, UserRegistrationResult, UserRegistrationStartedEventPayload, UserTokenVerifyInput, UserTokenVerifyResult, UserVerifyCompleteInput, UserVerifyRequestCallbackTemplate, UserVerifyRequestInput, UserVerifyRequestResult as UserVerifyResetRequestResult, 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 };
|
|
3763
|
+
export { AUTHENTICATION_EVENTS_NAMESPACE, ApiKeyAccess, ApiKeyRouteOptions, AppExceptionsFilterBase, AppHashingService, AppInMemorySettings, AppPermission, AppRole, AppSecret, AppSecretDefinition, AppSecretInput, AppSecretType, AppSecretsPageMetadata, AppSession, AppSessionMiddleware, AppSessionService, AuthGuard, Authenticated, AuthenticationEmailTemplates, AuthenticationError, AuthenticationEvents, AuthenticationExtensionSymbols, AuthenticationModule, AuthenticationModuleSettings, AuthenticationService, AwsBatchInfrastructureParams, AwsBatchInvocationParams, AwsBatchSettings, AwsBucketModule, AwsBucketSettings, AwsDynamoDbModule, AwsEmailModule, AwsJobComputePlatformType, AwsJobDefinition, AwsJobEnvironmentVariable, AwsJobsModule, AwsMediaSettings, AwsS3BucketError, AwsS3BucketProvider, AwsS3MediaError, AwsS3MediaModule, AwsS3MediaProvider, AwsSecretsModule, AwsSecretsProvider, AwsSecretsSettings, AwsSesEmailTemplate, AwsSesEmailTemplateData, AwsSesSettings, BooleanFacetsType, BucketContentItem, BucketFileCopyInput, BucketFileDeleteInput, BucketFileDownloadInput, BucketFileMoveInput, BucketFilePublicUrlCreateInput, BucketFileUploadInput, BucketFolderContentResult, BucketFolderCreateInput, BucketFolderEnsureInput, BucketFolderExistsInput, BucketFolderListInput, BucketFolderListResult, BucketItemType, BucketProviderProps, CacheEntryDetail, CacheEntryInfo, CacheInstanceProps, CacheService, CacheTtl, ClassType, ConnectorMode, ConnectorOptions, CurrentUser, CurrentUserData, CustomDiscoveryModule, CustomDiscoveryService, DateFacetsType, DeepPartial, DynamoDbCacheInstance, DynamoDbCacheItem, DynamoDbCollection, EmailLoggerProps, EmailProviderProps, EmailService, EmailTemplateProps, EmailVerifyEmailPayload, EmailVerifyTokenPayload, EntitiesExportFile, EntitiesExportInput, EntitiesExportOptions, EntitiesExportResult, EntitiesImportExportSettings, EntitiesImportInput, EntitiesImportResult, EntitiesImportStatistics, EntitiesSampleDownloadOptions, EntitiesSampleDownloadResult, EntityActionsProps, EntityAdapterProps, EntityAuthMiddlewareProps, EntityConnectorMapperProps, EntityConnectorProps, EntityConverterProps, EntityExportBucketSettings, EntityManagerConfigurationError, EntityManagerException, EntityManagerInitializer, EntityManagerModule, EntityManagerProps, EntityManagerRegistry, EntityManagerService, EntityManagerSettings, EntityManagerSymbols, EntityManagerUnauthorizedException, EntityNotFoundException, EntityOperationType, EntityOperationUnauthorizedException, EntityProps, EntityQueryBuilderProps, EntityReference, EntityRepositoryProps, EntitySeeder, EntitySeederProps, EntitySerializationFormat, EntitySerializer, EntitySerializerColumnDefinition, EntitySerializerProps, EntitySerializerSheetDefinition, EntitySnapshotService, EntitySnapshotServiceProps, EntityVersionInput, EntityVersionOperation, EntityVersioningProviderProps, EnumType, EventsService, EventsTrackerProps, ExclusiveOperationResult, ExecuteExclusiveInput, ExecuteSequentialInput, FacetBuilderInput, FacetRelations, FacetType, FacetValueType, FileData, FileDownloadUrl, FileProviderDownloadData, FileProviderDownloadUrl, FileProviderProps, FileProviderReference, FileProviderUploadData, FileReference, FileReferenceRecord, FileReferenceRepositoryProps, FilesManager, FilesReferenceData, FilterExpression, GlobalAuthenticationMiddlewareProps, HtmlEmailInput, IAppCompany, IAppDirectory, IAppDivision, IAppInitializer, IAppOrganization, IAppRole, IAppTenant, IAppUser, IAppUserGroup, IAppUserProfile, IAuthApiKey, IAuthApiKeysService, IAuthDirectory, IAuthOrganization, IAuthOrganizationalUnit, IAuthPermission, IAuthPermissionService, IAuthRole, IAuthRoleService, IAuthService, IAuthTenant, IAuthUser, IAuthUserContext, IAuthUserProfile, IAuthUserRolesService, IAuthUserService, IAuthUserTokenData, IAuthenticationContext, IAuthenticationContextProvider, IAuthenticationData, IAuthenticationMiddleware, IAuthenticationOrganizationalUnit, IAuthenticationUserPermission, IAuthenticationUserRole, IAuthorizationResult, IBucketProvider, ICache, ICacheDatabaseItem, ICacheInstance, IEmailLogger, IEmailProvider, IEmailTemplate, IEmailTemplatesCollection, IEntitiesCountAction, IEntitiesCountQuery, IEntitiesDeleteAction, IEntitiesDeleteCommand, IEntitiesDeleteParameters, IEntitiesDeleteResult$1 as IEntitiesDeleteResult, IEntitiesExportAction, IEntitiesExportCommand, IEntitiesImportAction, IEntitiesImportCommand, IEntitiesQueryBuilder, IEntitiesSampleDownloadAction, IEntitiesSampleDownloadCommand, IEntitiesSearchAction, IEntitiesSearchQuery, IEntitiesSearchResults, IEntitiesSearchResultsPaging, IEntityUpsertByCommand as IEntitiesUpsertByCommand, IEntityUpsertByParameters as IEntitiesUpsertByParameters, IEntityUpsertByResult as IEntitiesUpsertByResult, IEntityActions, IEntityAdapter, IEntityAuthorizationMiddleware, IEntityConnector, IEntityConverter, IEntityCreateAction, IEntityCreateCommand, IEntityDeleteAction, IEntityDeleteCommand, IEntityEventsManager, IEntityExistsAction, IEntityExistsQuery, IEntityFacet, IEntityFacetValue, IEntityFacets, IEntityGetAction, IEntityGetQuery, IEntityManager, IEntityManagerServiceCollection, IEntityManagerServiceRoot, IEntityMapper, IEntityReplicaDeleteManager, IEntityReplicaSyncManager, IEntityRepository, IEntitySearchParameters, IEntitySearchResults, IEntitySerializer, IEntitySnapshotService, IEntityUpdateAction, IEntityUpdateCommand, IEntityUpsertAction, IEntityUpsertCommand, IEntityVersionCommand, IEntityVersioningProvider, IEntityVersioningResults, IEntityVersionsCursor, IEntityVersionsFilters, IEntityVersionsReference, IEntityVersionsResultsPaging, IEntityVersionsSearchAction, IEntityVersionsSearchInput, IEntityVersionsSearchParameters, IEntityVersionsSearchQuery, IEntityVersionsSearchResults, IEntityVersionsSorting, IEventLog, IEventsTracker, IFileManager, IFileProvider, IFilesReferenceRepository, IFullTextQuery, IJobDefinitionsRepository, IJobInstancesRepository, ILockRepository, IMediaFolderRepository, IMediaLibraryManager, IMediaProvider, IMediaReferenceRepository, IMultiCompanyEntity, IMultiOrganizationEntity, IMultiTenantEntity, IOperationLockService, IPipelineStepBuilder, IPipelineStepOperationBuilder, IPipelineStepOperationOptionsBuilder, IPipelineTemplateBuilder, IReplicasConfiguration, ISearchFilters, ISearchOptions, ISearchQueryRelations, ISearchQueryRelationsProperty, ISearchRequestPaging, ISearchResultsPaging, ISearchSorting, ISearchSortingField, ISecretsProvider, ITraverseFilters, InMemoryBucketProvider, InMemoryEmailProvider, InMemoryMediaProvider, InMemorySecretsProvider, InvalidCredentialsError, JobConcurrency, JobDefinition, JobInstance, JobProviderState$1 as JobProviderState, JobRunType, JobSchedule, JobStatus, JobTriggerInput, JobsModule, JobsService, JobsSettings, LocalizedMap, LocalizedTexts, LockAcquireInput, LockAcquireResult, LockItem, LockNotFoundError, LockReleaseInput, MediaFolderCreateInput, MediaFolderEnsureInput, MediaFolderMoveInput, MediaFolderRecord, MediaFolderReference, MediaFolderRenameInput, MediaFolderRepositoryProps, MediaInfo, MediaItemReference, MediaLibraryService, MediaProviderProps, MediaReference, MediaReferenceCreateInput, MediaReferenceRecord, MediaReferenceRepositoryProps, MediaUploadInput, MemberOf, MessagingEmailSentPayload, MissingEntityIdError, ModulesContainerProvider, MultiTenancyModule, MultipleEntitiesFoundException, NestEntityActions, NestEntityAuthorizationMiddleware, NestEntityManager, NestEntitySerializer, NestEntitySnapshotService, NestPipelineTemplate, NestTypeOrmEntitySeeder, NestTypeOrmQueryBuilder, NestTypeOrmRepository, NonNullable$1 as NonNullable, NumberFacetsType, OperationDefinition, OperationLockService, OperationTokenMismatchError, PLATFORM_EVENT_NAMESPACE, PasswordResetEmailPayload, Permissions, PipelineCompletedStepState, PipelineController, PipelineCurrentStepState, PipelineDefinition, PipelineErrorType, PipelineInvocationError, PipelineOperationError, PipelineOperationResult, PipelineOperationResultType, PipelineOperationRollbackResult, PipelineOperationRollbackResultType, PipelineResult, PipelineResultType, PipelineStatus, PipelineStep, PipelineStepErrorType, PipelineStepOperation, PipelineStepReference, PipelineStepResult, PipelineStepResultType, PipelineStepRollbackResult, PipelineStepRollbackResultType, PipelineStepState, PipelineTemplateProps, PipelinesBuilder, PipelinesRunner, PlatformEvents, Public, QueryBuilderBase, QueryBuilderOperation, RegistrationEmailPayload, ReplicaConfiguration, ReplicaOptions, ReplicationMode, Roles, RolesGuardOptions, RollbackOperationDefinition, RuntimeErrorInformation, SanityMediaError, SanityMediaModule, SanityMediaProvider, SanityMediaSettings, SecretsService, SendgridEmailModule, SendgridEmailTemplate, SendgridEmailTemplateData, SendgridSettings, SendgridTemplateBaseData, SendgridTemplateType, SortDirection$1 as SortDirection, SortingType, StringFacetsType, TemplatedEmailInput, TrackingService, TypeOrmQueryBuilder, TypeOrmRepository, TypeormCacheInstance, TypeormOperationLockRepository, UserCreationError, UserCreationInput, UserCreationResult, UserDeleteInput, UserDisableInput, UserEnableInput, UserLoginEventPayload, UserLoginInput, UserLoginResult, UserPasswordChangeInput, UserPasswordResetCompleteInput, UserPasswordResetCompletedEventPayload, UserPasswordResetRequestCallbackTemplate, UserPasswordResetRequestInput, UserPasswordResetRequestResult, UserPasswordResetStartedEventPayload, UserPasswordResetTokenPayload, UserProfile, UserRegisterCallbackTemplate, UserRegistrationCompletedEventPayload, UserRegistrationError, UserRegistrationInput, UserRegistrationResult, UserRegistrationStartedEventPayload, UserTokenVerifyInput, UserTokenVerifyResult, UserVerifyCompleteInput, UserVerifyRequestCallbackTemplate, UserVerifyRequestInput, UserVerifyRequestResult, 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 };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@punks/backend-entity-manager",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.336",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "dist/cjs/index.js",
|
|
6
6
|
"module": "dist/esm/index.js",
|
|
@@ -28,10 +28,12 @@
|
|
|
28
28
|
"devDependencies": {
|
|
29
29
|
"@aws-sdk/client-batch": "^3.525.0",
|
|
30
30
|
"@aws-sdk/client-cloudwatch-logs": "3.525.0",
|
|
31
|
+
"@aws-sdk/client-dynamodb": "3.525.0",
|
|
31
32
|
"@aws-sdk/client-s3": "3.525.0",
|
|
32
33
|
"@aws-sdk/client-secrets-manager": "3.525.0",
|
|
33
34
|
"@aws-sdk/client-ses": "3.525.0",
|
|
34
35
|
"@aws-sdk/s3-request-presigner": "3.525.0",
|
|
36
|
+
"@aws-sdk/util-dynamodb": "3.525.0",
|
|
35
37
|
"@babel/core": "^7.21.0",
|
|
36
38
|
"@faker-js/faker": "^8.1.0",
|
|
37
39
|
"@nestjs-plus/discovery": "^2.0.2",
|
|
@@ -91,10 +93,12 @@
|
|
|
91
93
|
"peerDependencies": {
|
|
92
94
|
"@aws-sdk/client-batch": "^3.525.0",
|
|
93
95
|
"@aws-sdk/client-cloudwatch-logs": "3.525.0",
|
|
96
|
+
"@aws-sdk/client-dynamodb": "3.525.0",
|
|
94
97
|
"@aws-sdk/client-s3": "3.525.0",
|
|
95
98
|
"@aws-sdk/client-secrets-manager": "3.525.0",
|
|
96
99
|
"@aws-sdk/client-ses": "3.525.0",
|
|
97
100
|
"@aws-sdk/s3-request-presigner": "3.525.0",
|
|
101
|
+
"@aws-sdk/util-dynamodb": "3.525.0",
|
|
98
102
|
"@nestjs-plus/discovery": "^2.0.2",
|
|
99
103
|
"@nestjs/common": "^10.3.3",
|
|
100
104
|
"@nestjs/core": "^10.3.3",
|