@rentman/rm-core 1.7.0 → 1.7.2
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/changelog.md +518 -509
- package/dist/rm-core.js +7477 -7473
- package/dist/rm-core.min.js +1 -1
- package/dist/src/classes/ApiFormatter.d.ts +39 -39
- package/dist/src/classes/ApiRequestService.d.ts +20 -20
- package/dist/src/classes/ApiResponseProcessor.d.ts +41 -41
- package/dist/src/classes/BatchStatus.d.ts +27 -27
- package/dist/src/classes/ChangesCompilation.d.ts +51 -51
- package/dist/src/classes/ChangesProcessor.d.ts +33 -33
- package/dist/src/classes/CollectionCache.d.ts +34 -34
- package/dist/src/classes/CollectionEntryService.d.ts +23 -23
- package/dist/src/classes/CollectionHandler.d.ts +54 -54
- package/dist/src/classes/CollectionMatcher.d.ts +42 -42
- package/dist/src/classes/CollectionResourceService.d.ts +6 -6
- package/dist/src/classes/ColumnCache.d.ts +21 -21
- package/dist/src/classes/ColumnExpansion.d.ts +18 -18
- package/dist/src/classes/ColumnHandler.d.ts +21 -21
- package/dist/src/classes/ColumnInfo.d.ts +14 -14
- package/dist/src/classes/ColumnSet.d.ts +46 -46
- package/dist/src/classes/ColumnSubsetCache.d.ts +8 -8
- package/dist/src/classes/ColumnUtil.d.ts +89 -89
- package/dist/src/classes/CreateRequest.d.ts +20 -20
- package/dist/src/classes/ItemAdministrator.d.ts +238 -238
- package/dist/src/classes/ItemCache.d.ts +23 -23
- package/dist/src/classes/ItemEntryService.d.ts +24 -24
- package/dist/src/classes/ItemHandler.d.ts +60 -60
- package/dist/src/classes/ItemRequestService.d.ts +23 -23
- package/dist/src/classes/KeyService.d.ts +16 -16
- package/dist/src/classes/LocalCache.d.ts +97 -97
- package/dist/src/classes/LockService.d.ts +32 -32
- package/dist/src/classes/ModuleChangesCompilation.d.ts +21 -21
- package/dist/src/classes/QueryMatcher.d.ts +14 -14
- package/dist/src/classes/QueryParser.d.ts +34 -34
- package/dist/src/classes/QueryService.d.ts +14 -14
- package/dist/src/classes/RequestColumnExpansion.d.ts +14 -14
- package/dist/src/classes/ResourceCache.d.ts +25 -25
- package/dist/src/classes/SocketMessageHandler.d.ts +41 -41
- package/dist/src/classes/Util.d.ts +28 -28
- package/dist/src/classes/index.d.ts +35 -35
- package/dist/src/constants.d.ts +18 -18
- package/dist/src/core.d.ts +48 -48
- package/dist/src/factories/ApiResponseProcessorFactory.d.ts +6 -6
- package/dist/src/factories/BatchStatusFactory.d.ts +8 -8
- package/dist/src/factories/ChangesCompilationFactory.d.ts +9 -9
- package/dist/src/factories/CollectionCacheFactory.d.ts +8 -8
- package/dist/src/factories/CollectionEntryFactory.d.ts +23 -23
- package/dist/src/factories/CollectionMatcherFactory.d.ts +7 -7
- package/dist/src/factories/CollectionResourceFactory.d.ts +32 -32
- package/dist/src/factories/ColumnExpansionFactory.d.ts +8 -8
- package/dist/src/factories/ColumnInfoFactory.d.ts +7 -7
- package/dist/src/factories/ColumnSetFactory.d.ts +11 -11
- package/dist/src/factories/ColumnSubsetCacheFactory.d.ts +6 -6
- package/dist/src/factories/CreateRequestFactory.d.ts +11 -11
- package/dist/src/factories/ItemCacheFactory.d.ts +7 -7
- package/dist/src/factories/ItemEntryFactory.d.ts +21 -21
- package/dist/src/factories/ItemResourceFactory.d.ts +29 -29
- package/dist/src/factories/LocalCacheFactory.d.ts +16 -16
- package/dist/src/factories/ModuleChangesCompilationFactory.d.ts +5 -5
- package/dist/src/factories/QueryMatcherFactory.d.ts +7 -7
- package/dist/src/factories/QueryParserFactory.d.ts +6 -6
- package/dist/src/factories/RequestColumnExpansionFactory.d.ts +6 -6
- package/dist/src/factories/TemplateFactory.d.ts +10 -10
- package/dist/src/factories/index.d.ts +21 -21
- package/dist/src/index.d.ts +7 -7
- package/dist/src/interfaces/ApiRequestServiceInterface.d.ts +11 -11
- package/dist/src/interfaces/AuthInterface.d.ts +9 -9
- package/dist/src/interfaces/ErrorHandlerInterface.d.ts +5 -5
- package/dist/src/interfaces/ExceptionHandlerInterface.d.ts +3 -3
- package/dist/src/interfaces/LocalCacheManagerInterface.d.ts +5 -5
- package/dist/src/interfaces/PromiseLibraryInterface.d.ts +25 -25
- package/dist/src/interfaces/SocketMessageInterface.d.ts +3 -3
- package/dist/src/interfaces/index.d.ts +7 -7
- package/dist/src/models/CollectionEditResource.d.ts +14 -14
- package/dist/src/models/CollectionEntry.d.ts +82 -82
- package/dist/src/models/CollectionEntryOptions.d.ts +12 -12
- package/dist/src/models/CollectionResource.d.ts +41 -41
- package/dist/src/models/CollectionResourceOptions.d.ts +22 -22
- package/dist/src/models/CollectionViewResource.d.ts +6 -6
- package/dist/src/models/EditResource.d.ts +18 -18
- package/dist/src/models/ItemEntry.d.ts +70 -70
- package/dist/src/models/ItemEntryOptions.d.ts +11 -11
- package/dist/src/models/ItemResource.d.ts +27 -27
- package/dist/src/models/ItemResourceOptions.d.ts +8 -8
- package/dist/src/models/LocalViewResource.d.ts +6 -6
- package/dist/src/models/RemoteViewResource.d.ts +6 -6
- package/dist/src/models/Template.d.ts +11 -11
- package/dist/src/models/ViewResource.d.ts +8 -8
- package/dist/src/models/index.d.ts +15 -15
- package/dist/src/types/ItemTypesCollection.d.ts +213 -213
- package/dist/src/types/PromiseInterface.d.ts +2 -2
- package/dist/src/types/index.d.ts +2 -2
- package/package.json +1 -1
- package/readme.md +15 -15
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { ApiQuery, EntryParentNull, ItemId } from '../types';
|
|
2
|
-
import { COMPARATORS } from './QueryParser';
|
|
3
|
-
export declare class QueryService {
|
|
4
|
-
constructor();
|
|
5
|
-
addAndCondition(query: ApiQuery, condition: ApiQuery): ApiQuery;
|
|
6
|
-
addOrCondition(query: ApiQuery, condition: ApiQuery): ApiQuery;
|
|
7
|
-
addParentCondition(query: ApiQuery, parent: EntryParentNull): ApiQuery;
|
|
8
|
-
createNotIn(idArray: ItemId[]): {
|
|
9
|
-
comparator: COMPARATORS;
|
|
10
|
-
key: string;
|
|
11
|
-
value: number[];
|
|
12
|
-
not: boolean;
|
|
13
|
-
};
|
|
14
|
-
}
|
|
1
|
+
import { ApiQuery, EntryParentNull, ItemId } from '../types';
|
|
2
|
+
import { COMPARATORS } from './QueryParser';
|
|
3
|
+
export declare class QueryService {
|
|
4
|
+
constructor();
|
|
5
|
+
addAndCondition(query: ApiQuery, condition: ApiQuery): ApiQuery;
|
|
6
|
+
addOrCondition(query: ApiQuery, condition: ApiQuery): ApiQuery;
|
|
7
|
+
addParentCondition(query: ApiQuery, parent: EntryParentNull): ApiQuery;
|
|
8
|
+
createNotIn(idArray: ItemId[]): {
|
|
9
|
+
comparator: COMPARATORS;
|
|
10
|
+
key: string;
|
|
11
|
+
value: number[];
|
|
12
|
+
not: boolean;
|
|
13
|
+
};
|
|
14
|
+
}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { ColumnSet, ColumnUtil } from '../classes';
|
|
2
|
-
import { ApiRequestColumns } from '../types';
|
|
3
|
-
declare type RequestColumnMap = {
|
|
4
|
-
[itemType: string]: ApiRequestColumns;
|
|
5
|
-
};
|
|
6
|
-
export declare class RequestColumnExpansion {
|
|
7
|
-
private columnUtil;
|
|
8
|
-
private columns;
|
|
9
|
-
private columnSetIdMap;
|
|
10
|
-
constructor(columnUtil: ColumnUtil);
|
|
11
|
-
expand(columnSet: ColumnSet): void;
|
|
12
|
-
get(): RequestColumnMap;
|
|
13
|
-
}
|
|
14
|
-
export {};
|
|
1
|
+
import { ColumnSet, ColumnUtil } from '../classes';
|
|
2
|
+
import { ApiRequestColumns } from '../types';
|
|
3
|
+
declare type RequestColumnMap = {
|
|
4
|
+
[itemType: string]: ApiRequestColumns;
|
|
5
|
+
};
|
|
6
|
+
export declare class RequestColumnExpansion {
|
|
7
|
+
private columnUtil;
|
|
8
|
+
private columns;
|
|
9
|
+
private columnSetIdMap;
|
|
10
|
+
constructor(columnUtil: ColumnUtil);
|
|
11
|
+
expand(columnSet: ColumnSet): void;
|
|
12
|
+
get(): RequestColumnMap;
|
|
13
|
+
}
|
|
14
|
+
export {};
|
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
import { CollectionResource, ItemResource } from '../models';
|
|
2
|
-
declare type Resource = ItemResource | CollectionResource;
|
|
3
|
-
export declare class ResourceCache<T extends Resource> {
|
|
4
|
-
private cache;
|
|
5
|
-
set<U extends T>(resource: U, level: number): U;
|
|
6
|
-
/**
|
|
7
|
-
* If an array of resources already exists for the specified level, return that. Otherwise insert a new tuple at the
|
|
8
|
-
* right place in the 'levels' array.
|
|
9
|
-
*/
|
|
10
|
-
private getCacheLevel;
|
|
11
|
-
private createCacheLevel;
|
|
12
|
-
hasResources(entry: T['entry']): boolean;
|
|
13
|
-
get(entry: T['entry']): T[];
|
|
14
|
-
getLatest(entry: T['entry']): T | null;
|
|
15
|
-
/**
|
|
16
|
-
* Clears a specific resource.
|
|
17
|
-
*/
|
|
18
|
-
clearResource(resource: T): boolean;
|
|
19
|
-
/**
|
|
20
|
-
* Removes all resources that have a level of 'level' or higher.
|
|
21
|
-
*/
|
|
22
|
-
clearResources(level: number): void;
|
|
23
|
-
clearEntry(entry: T['entry']): void;
|
|
24
|
-
}
|
|
25
|
-
export {};
|
|
1
|
+
import { CollectionResource, ItemResource } from '../models';
|
|
2
|
+
declare type Resource = ItemResource | CollectionResource;
|
|
3
|
+
export declare class ResourceCache<T extends Resource> {
|
|
4
|
+
private cache;
|
|
5
|
+
set<U extends T>(resource: U, level: number): U;
|
|
6
|
+
/**
|
|
7
|
+
* If an array of resources already exists for the specified level, return that. Otherwise insert a new tuple at the
|
|
8
|
+
* right place in the 'levels' array.
|
|
9
|
+
*/
|
|
10
|
+
private getCacheLevel;
|
|
11
|
+
private createCacheLevel;
|
|
12
|
+
hasResources(entry: T['entry']): boolean;
|
|
13
|
+
get(entry: T['entry']): T[];
|
|
14
|
+
getLatest(entry: T['entry']): T | null;
|
|
15
|
+
/**
|
|
16
|
+
* Clears a specific resource.
|
|
17
|
+
*/
|
|
18
|
+
clearResource(resource: T): boolean;
|
|
19
|
+
/**
|
|
20
|
+
* Removes all resources that have a level of 'level' or higher.
|
|
21
|
+
*/
|
|
22
|
+
clearResources(level: number): void;
|
|
23
|
+
clearEntry(entry: T['entry']): void;
|
|
24
|
+
}
|
|
25
|
+
export {};
|
|
@@ -1,41 +1,41 @@
|
|
|
1
|
-
import { ApiFormatter, CollectionHandler, ItemHandler } from '../classes';
|
|
2
|
-
import { ColumnExpansionFactory, ColumnSetFactory, ItemEntryFactory, RequestColumnExpansionFactory } from '../factories';
|
|
3
|
-
import { ApiRequestServiceInterface, ErrorHandlerInterface, LocalCacheManagerInterface, PromiseLibraryInterface } from '../interfaces';
|
|
4
|
-
import { ItemEntry } from '../models';
|
|
5
|
-
import { ApiRequestColumns, ApiResponse, CollectionMatchResult, FieldMap, FunctionChangesResolveSocketMessage, GroupedExtendedCollectionMatchResult, ItemId, ItemType, PromiseInterface, ResponseColumn, SocketMessage } from '../types';
|
|
6
|
-
export declare type SocketCollectionMap = {
|
|
7
|
-
[itemId: number]: CollectionMatchResult;
|
|
8
|
-
};
|
|
9
|
-
export declare class SocketMessageHandler {
|
|
10
|
-
private apiFormatter;
|
|
11
|
-
private apiRequestService;
|
|
12
|
-
private collectionHandler;
|
|
13
|
-
private columnExpansionFactory;
|
|
14
|
-
private columnSetFactory;
|
|
15
|
-
private errorHandler;
|
|
16
|
-
private itemEntryFactory;
|
|
17
|
-
private itemHandler;
|
|
18
|
-
private localCacheManager;
|
|
19
|
-
private promiseService;
|
|
20
|
-
private requestColumnExpansionFactory;
|
|
21
|
-
constructor(apiFormatter: ApiFormatter, apiRequestService: ApiRequestServiceInterface, collectionHandler: CollectionHandler, columnExpansionFactory: ColumnExpansionFactory, columnSetFactory: ColumnSetFactory, errorHandler: ErrorHandlerInterface, itemEntryFactory: ItemEntryFactory, itemHandler: ItemHandler, localCacheManager: LocalCacheManagerInterface, promiseService: PromiseLibraryInterface, requestColumnExpansionFactory: RequestColumnExpansionFactory);
|
|
22
|
-
onMessageReceived(message: SocketMessage): any;
|
|
23
|
-
formatMessageValues(values: any, columns: ResponseColumn[]): FieldMap;
|
|
24
|
-
createCollectionMap(itemType: ItemType, items: {
|
|
25
|
-
[itemId: number]: any;
|
|
26
|
-
}, columns: ResponseColumn[]): SocketCollectionMap;
|
|
27
|
-
groupByCollectionId(itemType: ItemType, collectionMap: SocketCollectionMap): GroupedExtendedCollectionMatchResult;
|
|
28
|
-
getRequestColumns(itemType: ItemType, collectionMap: SocketCollectionMap): {
|
|
29
|
-
[itemType: string]: ApiRequestColumns;
|
|
30
|
-
};
|
|
31
|
-
deferEntry(itemEntry: ItemEntry): ItemEntry | PromiseInterface<ItemEntry>;
|
|
32
|
-
processMessage(body: any): PromiseInterface<GroupedExtendedCollectionMatchResult>;
|
|
33
|
-
processFunctionChangesResolve(body: any): PromiseInterface<void>;
|
|
34
|
-
handleResponse(itemType: ItemType, requestIds: ItemId[], requestColumns: ApiRequestColumns, response: ApiResponse, collectionMap: SocketCollectionMap): GroupedExtendedCollectionMatchResult;
|
|
35
|
-
private isFunctionChangesResolveMessage;
|
|
36
|
-
handleCreate(message: FunctionChangesResolveSocketMessage): PromiseInterface<void>;
|
|
37
|
-
handleCreate(message: SocketMessage): PromiseInterface<null>;
|
|
38
|
-
handleUpdate(message: SocketMessage): PromiseInterface<void>;
|
|
39
|
-
handleDelete(message: SocketMessage): PromiseInterface<void>;
|
|
40
|
-
handleLinkMove(): PromiseInterface<void>;
|
|
41
|
-
}
|
|
1
|
+
import { ApiFormatter, CollectionHandler, ItemHandler } from '../classes';
|
|
2
|
+
import { ColumnExpansionFactory, ColumnSetFactory, ItemEntryFactory, RequestColumnExpansionFactory } from '../factories';
|
|
3
|
+
import { ApiRequestServiceInterface, ErrorHandlerInterface, LocalCacheManagerInterface, PromiseLibraryInterface } from '../interfaces';
|
|
4
|
+
import { ItemEntry } from '../models';
|
|
5
|
+
import { ApiRequestColumns, ApiResponse, CollectionMatchResult, FieldMap, FunctionChangesResolveSocketMessage, GroupedExtendedCollectionMatchResult, ItemId, ItemType, PromiseInterface, ResponseColumn, SocketMessage } from '../types';
|
|
6
|
+
export declare type SocketCollectionMap = {
|
|
7
|
+
[itemId: number]: CollectionMatchResult;
|
|
8
|
+
};
|
|
9
|
+
export declare class SocketMessageHandler {
|
|
10
|
+
private apiFormatter;
|
|
11
|
+
private apiRequestService;
|
|
12
|
+
private collectionHandler;
|
|
13
|
+
private columnExpansionFactory;
|
|
14
|
+
private columnSetFactory;
|
|
15
|
+
private errorHandler;
|
|
16
|
+
private itemEntryFactory;
|
|
17
|
+
private itemHandler;
|
|
18
|
+
private localCacheManager;
|
|
19
|
+
private promiseService;
|
|
20
|
+
private requestColumnExpansionFactory;
|
|
21
|
+
constructor(apiFormatter: ApiFormatter, apiRequestService: ApiRequestServiceInterface, collectionHandler: CollectionHandler, columnExpansionFactory: ColumnExpansionFactory, columnSetFactory: ColumnSetFactory, errorHandler: ErrorHandlerInterface, itemEntryFactory: ItemEntryFactory, itemHandler: ItemHandler, localCacheManager: LocalCacheManagerInterface, promiseService: PromiseLibraryInterface, requestColumnExpansionFactory: RequestColumnExpansionFactory);
|
|
22
|
+
onMessageReceived(message: SocketMessage): any;
|
|
23
|
+
formatMessageValues(values: any, columns: ResponseColumn[]): FieldMap;
|
|
24
|
+
createCollectionMap(itemType: ItemType, items: {
|
|
25
|
+
[itemId: number]: any;
|
|
26
|
+
}, columns: ResponseColumn[]): SocketCollectionMap;
|
|
27
|
+
groupByCollectionId(itemType: ItemType, collectionMap: SocketCollectionMap): GroupedExtendedCollectionMatchResult;
|
|
28
|
+
getRequestColumns(itemType: ItemType, collectionMap: SocketCollectionMap): {
|
|
29
|
+
[itemType: string]: ApiRequestColumns;
|
|
30
|
+
};
|
|
31
|
+
deferEntry(itemEntry: ItemEntry): ItemEntry | PromiseInterface<ItemEntry>;
|
|
32
|
+
processMessage(body: any): PromiseInterface<GroupedExtendedCollectionMatchResult>;
|
|
33
|
+
processFunctionChangesResolve(body: any): PromiseInterface<void>;
|
|
34
|
+
handleResponse(itemType: ItemType, requestIds: ItemId[], requestColumns: ApiRequestColumns, response: ApiResponse, collectionMap: SocketCollectionMap): GroupedExtendedCollectionMatchResult;
|
|
35
|
+
private isFunctionChangesResolveMessage;
|
|
36
|
+
handleCreate(message: FunctionChangesResolveSocketMessage): PromiseInterface<void>;
|
|
37
|
+
handleCreate(message: SocketMessage): PromiseInterface<null>;
|
|
38
|
+
handleUpdate(message: SocketMessage): PromiseInterface<void>;
|
|
39
|
+
handleDelete(message: SocketMessage): PromiseInterface<void>;
|
|
40
|
+
handleLinkMove(): PromiseInterface<void>;
|
|
41
|
+
}
|
|
@@ -1,28 +1,28 @@
|
|
|
1
|
-
export declare function instantiateOptions(options: {
|
|
2
|
-
[key: string]: any;
|
|
3
|
-
}, values: object): void;
|
|
4
|
-
export declare function shallowMerge(object: any, defaults: any): any;
|
|
5
|
-
export declare function hasProperties(object: any): boolean;
|
|
6
|
-
export declare function getFirstProperty(object: any): string | null;
|
|
7
|
-
export declare function inArray(needle: any, haystack: any): boolean;
|
|
8
|
-
export declare function filterArray<T>(source: T[], callback: (T: any) => boolean): boolean;
|
|
9
|
-
export declare function emptyArray(array: any): void;
|
|
10
|
-
export declare function pathExists(source: any, path: any): boolean;
|
|
11
|
-
export declare function createPath<T>(object: any, path: Array<number | string>, defaults: any[]): T;
|
|
12
|
-
export declare function getPath(object: {}, path: Array<number | string>, create?: boolean): any;
|
|
13
|
-
export declare function extend(dst: any, ...args: any[]): any;
|
|
14
|
-
export declare function merge(dst: any, ...args: any[]): any;
|
|
15
|
-
export declare function isObject(value: any): boolean;
|
|
16
|
-
export declare function isBlankObject(value: any): boolean;
|
|
17
|
-
export declare function isString(value: any): boolean;
|
|
18
|
-
export declare function isNumber(value: any): boolean;
|
|
19
|
-
export declare function isDate(value: any): boolean;
|
|
20
|
-
export declare const isArray: (arg: any) => arg is any[];
|
|
21
|
-
export declare function isFunction<T>(value: any): value is T;
|
|
22
|
-
export declare function isRegExp(value: any): boolean;
|
|
23
|
-
export declare function isBoolean(value: any): boolean;
|
|
24
|
-
export declare function isElement(node: any): boolean;
|
|
25
|
-
export declare function isWindow(obj: any): boolean;
|
|
26
|
-
export declare function isDefined(value: any): boolean;
|
|
27
|
-
export declare function equals(o1: any, o2: any): boolean;
|
|
28
|
-
export declare function copy(source: any, destination?: any, maxDepth?: any): any;
|
|
1
|
+
export declare function instantiateOptions(options: {
|
|
2
|
+
[key: string]: any;
|
|
3
|
+
}, values: object): void;
|
|
4
|
+
export declare function shallowMerge(object: any, defaults: any): any;
|
|
5
|
+
export declare function hasProperties(object: any): boolean;
|
|
6
|
+
export declare function getFirstProperty(object: any): string | null;
|
|
7
|
+
export declare function inArray(needle: any, haystack: any): boolean;
|
|
8
|
+
export declare function filterArray<T>(source: T[], callback: (T: any) => boolean): boolean;
|
|
9
|
+
export declare function emptyArray(array: any): void;
|
|
10
|
+
export declare function pathExists(source: any, path: any): boolean;
|
|
11
|
+
export declare function createPath<T>(object: any, path: Array<number | string>, defaults: any[]): T;
|
|
12
|
+
export declare function getPath(object: {}, path: Array<number | string>, create?: boolean): any;
|
|
13
|
+
export declare function extend(dst: any, ...args: any[]): any;
|
|
14
|
+
export declare function merge(dst: any, ...args: any[]): any;
|
|
15
|
+
export declare function isObject(value: any): boolean;
|
|
16
|
+
export declare function isBlankObject(value: any): boolean;
|
|
17
|
+
export declare function isString(value: any): boolean;
|
|
18
|
+
export declare function isNumber(value: any): boolean;
|
|
19
|
+
export declare function isDate(value: any): boolean;
|
|
20
|
+
export declare const isArray: (arg: any) => arg is any[];
|
|
21
|
+
export declare function isFunction<T>(value: any): value is T;
|
|
22
|
+
export declare function isRegExp(value: any): boolean;
|
|
23
|
+
export declare function isBoolean(value: any): boolean;
|
|
24
|
+
export declare function isElement(node: any): boolean;
|
|
25
|
+
export declare function isWindow(obj: any): boolean;
|
|
26
|
+
export declare function isDefined(value: any): boolean;
|
|
27
|
+
export declare function equals(o1: any, o2: any): boolean;
|
|
28
|
+
export declare function copy(source: any, destination?: any, maxDepth?: any): any;
|
|
@@ -1,35 +1,35 @@
|
|
|
1
|
-
export * from './ApiFormatter';
|
|
2
|
-
export * from './ApiRequestService';
|
|
3
|
-
export * from './ApiResponseProcessor';
|
|
4
|
-
export * from './BatchStatus';
|
|
5
|
-
export * from './ChangesCompilation';
|
|
6
|
-
export * from './ChangesProcessor';
|
|
7
|
-
export * from './CollectionCache';
|
|
8
|
-
export * from './CollectionEntryService';
|
|
9
|
-
export * from './CollectionHandler';
|
|
10
|
-
export * from './CollectionMatcher';
|
|
11
|
-
export * from './CollectionResourceService';
|
|
12
|
-
export * from './ColumnCache';
|
|
13
|
-
export * from './ColumnExpansion';
|
|
14
|
-
export * from './ColumnHandler';
|
|
15
|
-
export * from './ColumnInfo';
|
|
16
|
-
export * from './ColumnSet';
|
|
17
|
-
export * from './ColumnSubsetCache';
|
|
18
|
-
export * from './ColumnUtil';
|
|
19
|
-
export * from './CreateRequest';
|
|
20
|
-
export * from './ItemAdministrator';
|
|
21
|
-
export * from './ItemCache';
|
|
22
|
-
export * from './ItemEntryService';
|
|
23
|
-
export * from './ItemHandler';
|
|
24
|
-
export * from './ItemRequestService';
|
|
25
|
-
export * from './KeyService';
|
|
26
|
-
export * from './LocalCache';
|
|
27
|
-
export * from './LockService';
|
|
28
|
-
export * from './ModuleChangesCompilation';
|
|
29
|
-
export * from './QueryMatcher';
|
|
30
|
-
export * from './QueryParser';
|
|
31
|
-
export * from './QueryService';
|
|
32
|
-
export * from './ResourceCache';
|
|
33
|
-
export * from './RequestColumnExpansion';
|
|
34
|
-
export * from './SocketMessageHandler';
|
|
35
|
-
export * from './Util';
|
|
1
|
+
export * from './ApiFormatter';
|
|
2
|
+
export * from './ApiRequestService';
|
|
3
|
+
export * from './ApiResponseProcessor';
|
|
4
|
+
export * from './BatchStatus';
|
|
5
|
+
export * from './ChangesCompilation';
|
|
6
|
+
export * from './ChangesProcessor';
|
|
7
|
+
export * from './CollectionCache';
|
|
8
|
+
export * from './CollectionEntryService';
|
|
9
|
+
export * from './CollectionHandler';
|
|
10
|
+
export * from './CollectionMatcher';
|
|
11
|
+
export * from './CollectionResourceService';
|
|
12
|
+
export * from './ColumnCache';
|
|
13
|
+
export * from './ColumnExpansion';
|
|
14
|
+
export * from './ColumnHandler';
|
|
15
|
+
export * from './ColumnInfo';
|
|
16
|
+
export * from './ColumnSet';
|
|
17
|
+
export * from './ColumnSubsetCache';
|
|
18
|
+
export * from './ColumnUtil';
|
|
19
|
+
export * from './CreateRequest';
|
|
20
|
+
export * from './ItemAdministrator';
|
|
21
|
+
export * from './ItemCache';
|
|
22
|
+
export * from './ItemEntryService';
|
|
23
|
+
export * from './ItemHandler';
|
|
24
|
+
export * from './ItemRequestService';
|
|
25
|
+
export * from './KeyService';
|
|
26
|
+
export * from './LocalCache';
|
|
27
|
+
export * from './LockService';
|
|
28
|
+
export * from './ModuleChangesCompilation';
|
|
29
|
+
export * from './QueryMatcher';
|
|
30
|
+
export * from './QueryParser';
|
|
31
|
+
export * from './QueryService';
|
|
32
|
+
export * from './ResourceCache';
|
|
33
|
+
export * from './RequestColumnExpansion';
|
|
34
|
+
export * from './SocketMessageHandler';
|
|
35
|
+
export * from './Util';
|
package/dist/src/constants.d.ts
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
export declare enum ENTRY_STATUS {
|
|
2
|
-
CACHED = "cached",
|
|
3
|
-
LOCAL = "local",
|
|
4
|
-
PROMISED = "promised",
|
|
5
|
-
EXPAND = "expand",
|
|
6
|
-
PROMISED_EXPAND = "promised-expand",
|
|
7
|
-
EXPAND_LOCAL = "expand-local",
|
|
8
|
-
PROMISED_EXPAND_LOCAL = "promised-expand-local",
|
|
9
|
-
RESOLVE = "resolve",
|
|
10
|
-
RESOLVE_VALUES = "resolve-values"
|
|
11
|
-
}
|
|
12
|
-
export declare const ALL_PERMISSIONS = "7";
|
|
13
|
-
export declare const COLUMN_SEPERATOR = ">";
|
|
14
|
-
export declare const RENDER_AS_SEPERATOR = ":";
|
|
15
|
-
export declare const NEW_PREFIX: string;
|
|
16
|
-
export declare const DUPLICATE_PREFIX: string;
|
|
17
|
-
export declare const NEW_KEYWORD: string;
|
|
18
|
-
export declare const DUPLICATE_KEYWORD: string;
|
|
1
|
+
export declare enum ENTRY_STATUS {
|
|
2
|
+
CACHED = "cached",
|
|
3
|
+
LOCAL = "local",
|
|
4
|
+
PROMISED = "promised",
|
|
5
|
+
EXPAND = "expand",
|
|
6
|
+
PROMISED_EXPAND = "promised-expand",
|
|
7
|
+
EXPAND_LOCAL = "expand-local",
|
|
8
|
+
PROMISED_EXPAND_LOCAL = "promised-expand-local",
|
|
9
|
+
RESOLVE = "resolve",
|
|
10
|
+
RESOLVE_VALUES = "resolve-values"
|
|
11
|
+
}
|
|
12
|
+
export declare const ALL_PERMISSIONS = "7";
|
|
13
|
+
export declare const COLUMN_SEPERATOR = ">";
|
|
14
|
+
export declare const RENDER_AS_SEPERATOR = ":";
|
|
15
|
+
export declare const NEW_PREFIX: string;
|
|
16
|
+
export declare const DUPLICATE_PREFIX: string;
|
|
17
|
+
export declare const NEW_KEYWORD: string;
|
|
18
|
+
export declare const DUPLICATE_KEYWORD: string;
|
package/dist/src/core.d.ts
CHANGED
|
@@ -1,48 +1,48 @@
|
|
|
1
|
-
import { ApiFormatter, ApiRequestService, ChangesProcessor, CollectionEntryService, CollectionHandler, CollectionResourceService, ColumnCache, ColumnHandler, ColumnUtil, ItemAdministrator, ItemEntryService, ItemHandler, ItemRequestService, KeyService, LockService, QueryService, SocketMessageHandler } from './classes';
|
|
2
|
-
import { ApiResponseProcessorFactory, BatchStatusFactory, ChangesCompilationFactory, CollectionCacheFactory, CollectionEntryFactory, CollectionMatcherFactory, CollectionResourceFactory, ColumnExpansionFactory, ColumnInfoFactory, ColumnSetFactory, ColumnSubsetCacheFactory, CreateRequestFactory, ItemCacheFactory, ItemEntryFactory, ItemResourceFactory, LocalCacheFactory, ModuleChangesCompilationFactory, QueryMatcherFactory, QueryParserFactory, RequestColumnExpansionFactory, TemplateFactory } from './factories';
|
|
3
|
-
import { ApiRequestServiceInterface, AuthInterface, ErrorHandlerInterface, ExceptionHandlerInterface, LocalCacheManagerInterface, PromiseLibraryInterface } from './interfaces';
|
|
4
|
-
export declare class RmCore {
|
|
5
|
-
version: string;
|
|
6
|
-
noop: typeof noop;
|
|
7
|
-
apiFormatter: ApiFormatter;
|
|
8
|
-
apiRequestService: ApiRequestService;
|
|
9
|
-
apiResponseProcessorFactory: ApiResponseProcessorFactory;
|
|
10
|
-
batchStatusFactory: BatchStatusFactory;
|
|
11
|
-
changesCompilationFactory: ChangesCompilationFactory;
|
|
12
|
-
changesProcessor: ChangesProcessor;
|
|
13
|
-
collectionCacheFactory: CollectionCacheFactory;
|
|
14
|
-
collectionEntryFactory: CollectionEntryFactory;
|
|
15
|
-
collectionEntryService: CollectionEntryService;
|
|
16
|
-
collectionHandler: CollectionHandler;
|
|
17
|
-
collectionMatcherFactory: CollectionMatcherFactory;
|
|
18
|
-
collectionResourceFactory: CollectionResourceFactory;
|
|
19
|
-
collectionResourceService: CollectionResourceService;
|
|
20
|
-
columnCache: ColumnCache;
|
|
21
|
-
columnExpansionFactory: ColumnExpansionFactory;
|
|
22
|
-
columnHandler: ColumnHandler;
|
|
23
|
-
columnInfoFactory: ColumnInfoFactory;
|
|
24
|
-
columnSetFactory: ColumnSetFactory;
|
|
25
|
-
columnSubsetCacheFactory: ColumnSubsetCacheFactory;
|
|
26
|
-
columnUtil: ColumnUtil;
|
|
27
|
-
createRequestFactory: CreateRequestFactory;
|
|
28
|
-
itemAdministrator: ItemAdministrator;
|
|
29
|
-
itemCacheFactory: ItemCacheFactory;
|
|
30
|
-
itemEntryFactory: ItemEntryFactory;
|
|
31
|
-
itemEntryService: ItemEntryService;
|
|
32
|
-
itemHandler: ItemHandler;
|
|
33
|
-
itemRequestService: ItemRequestService;
|
|
34
|
-
itemResourceFactory: ItemResourceFactory;
|
|
35
|
-
keyService: KeyService;
|
|
36
|
-
localCacheFactory: LocalCacheFactory;
|
|
37
|
-
lockService: LockService;
|
|
38
|
-
moduleChangesCompilationFactory: ModuleChangesCompilationFactory;
|
|
39
|
-
queryMatcherFactory: QueryMatcherFactory;
|
|
40
|
-
queryParserFactory: QueryParserFactory;
|
|
41
|
-
queryService: QueryService;
|
|
42
|
-
requestColumnExpansionFactory: RequestColumnExpansionFactory;
|
|
43
|
-
socketMessageHandler: SocketMessageHandler;
|
|
44
|
-
templateFactory: TemplateFactory;
|
|
45
|
-
constructor(apiRequestServiceInterface: ApiRequestServiceInterface, authInterface: AuthInterface, errorHandlerInterface: ErrorHandlerInterface, exceptionHandlerInterface: ExceptionHandlerInterface, localCacheManager: LocalCacheManagerInterface, promiseLibraryInterface: PromiseLibraryInterface);
|
|
46
|
-
}
|
|
47
|
-
export declare function noop(): void;
|
|
48
|
-
export declare function identity(value: any): any;
|
|
1
|
+
import { ApiFormatter, ApiRequestService, ChangesProcessor, CollectionEntryService, CollectionHandler, CollectionResourceService, ColumnCache, ColumnHandler, ColumnUtil, ItemAdministrator, ItemEntryService, ItemHandler, ItemRequestService, KeyService, LockService, QueryService, SocketMessageHandler } from './classes';
|
|
2
|
+
import { ApiResponseProcessorFactory, BatchStatusFactory, ChangesCompilationFactory, CollectionCacheFactory, CollectionEntryFactory, CollectionMatcherFactory, CollectionResourceFactory, ColumnExpansionFactory, ColumnInfoFactory, ColumnSetFactory, ColumnSubsetCacheFactory, CreateRequestFactory, ItemCacheFactory, ItemEntryFactory, ItemResourceFactory, LocalCacheFactory, ModuleChangesCompilationFactory, QueryMatcherFactory, QueryParserFactory, RequestColumnExpansionFactory, TemplateFactory } from './factories';
|
|
3
|
+
import { ApiRequestServiceInterface, AuthInterface, ErrorHandlerInterface, ExceptionHandlerInterface, LocalCacheManagerInterface, PromiseLibraryInterface } from './interfaces';
|
|
4
|
+
export declare class RmCore {
|
|
5
|
+
version: string;
|
|
6
|
+
noop: typeof noop;
|
|
7
|
+
apiFormatter: ApiFormatter;
|
|
8
|
+
apiRequestService: ApiRequestService;
|
|
9
|
+
apiResponseProcessorFactory: ApiResponseProcessorFactory;
|
|
10
|
+
batchStatusFactory: BatchStatusFactory;
|
|
11
|
+
changesCompilationFactory: ChangesCompilationFactory;
|
|
12
|
+
changesProcessor: ChangesProcessor;
|
|
13
|
+
collectionCacheFactory: CollectionCacheFactory;
|
|
14
|
+
collectionEntryFactory: CollectionEntryFactory;
|
|
15
|
+
collectionEntryService: CollectionEntryService;
|
|
16
|
+
collectionHandler: CollectionHandler;
|
|
17
|
+
collectionMatcherFactory: CollectionMatcherFactory;
|
|
18
|
+
collectionResourceFactory: CollectionResourceFactory;
|
|
19
|
+
collectionResourceService: CollectionResourceService;
|
|
20
|
+
columnCache: ColumnCache;
|
|
21
|
+
columnExpansionFactory: ColumnExpansionFactory;
|
|
22
|
+
columnHandler: ColumnHandler;
|
|
23
|
+
columnInfoFactory: ColumnInfoFactory;
|
|
24
|
+
columnSetFactory: ColumnSetFactory;
|
|
25
|
+
columnSubsetCacheFactory: ColumnSubsetCacheFactory;
|
|
26
|
+
columnUtil: ColumnUtil;
|
|
27
|
+
createRequestFactory: CreateRequestFactory;
|
|
28
|
+
itemAdministrator: ItemAdministrator;
|
|
29
|
+
itemCacheFactory: ItemCacheFactory;
|
|
30
|
+
itemEntryFactory: ItemEntryFactory;
|
|
31
|
+
itemEntryService: ItemEntryService;
|
|
32
|
+
itemHandler: ItemHandler;
|
|
33
|
+
itemRequestService: ItemRequestService;
|
|
34
|
+
itemResourceFactory: ItemResourceFactory;
|
|
35
|
+
keyService: KeyService;
|
|
36
|
+
localCacheFactory: LocalCacheFactory;
|
|
37
|
+
lockService: LockService;
|
|
38
|
+
moduleChangesCompilationFactory: ModuleChangesCompilationFactory;
|
|
39
|
+
queryMatcherFactory: QueryMatcherFactory;
|
|
40
|
+
queryParserFactory: QueryParserFactory;
|
|
41
|
+
queryService: QueryService;
|
|
42
|
+
requestColumnExpansionFactory: RequestColumnExpansionFactory;
|
|
43
|
+
socketMessageHandler: SocketMessageHandler;
|
|
44
|
+
templateFactory: TemplateFactory;
|
|
45
|
+
constructor(apiRequestServiceInterface: ApiRequestServiceInterface, authInterface: AuthInterface, errorHandlerInterface: ErrorHandlerInterface, exceptionHandlerInterface: ExceptionHandlerInterface, localCacheManager: LocalCacheManagerInterface, promiseLibraryInterface: PromiseLibraryInterface);
|
|
46
|
+
}
|
|
47
|
+
export declare function noop(): void;
|
|
48
|
+
export declare function identity(value: any): any;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { ApiFormatter, ApiResponseProcessor } from '../classes';
|
|
2
|
-
export declare class ApiResponseProcessorFactory {
|
|
3
|
-
private apiFormatter;
|
|
4
|
-
constructor(apiFormatter: ApiFormatter);
|
|
5
|
-
construct(response: any): ApiResponseProcessor;
|
|
6
|
-
}
|
|
1
|
+
import { ApiFormatter, ApiResponseProcessor } from '../classes';
|
|
2
|
+
export declare class ApiResponseProcessorFactory {
|
|
3
|
+
private apiFormatter;
|
|
4
|
+
constructor(apiFormatter: ApiFormatter);
|
|
5
|
+
construct(response: any): ApiResponseProcessor;
|
|
6
|
+
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { BatchStatus } from '../classes';
|
|
2
|
-
import { PromiseLibraryInterface } from '../interfaces';
|
|
3
|
-
import { ItemId, ItemType, PromiseInterface } from '../types';
|
|
4
|
-
export declare class BatchStatusFactory {
|
|
5
|
-
private promiseService;
|
|
6
|
-
constructor(promiseService: PromiseLibraryInterface);
|
|
7
|
-
construct<T>(itemType: ItemType, getItemId: (entry: T) => ItemId, getPromise: (entry: T) => PromiseInterface<T>): BatchStatus<T>;
|
|
8
|
-
}
|
|
1
|
+
import { BatchStatus } from '../classes';
|
|
2
|
+
import { PromiseLibraryInterface } from '../interfaces';
|
|
3
|
+
import { ItemId, ItemType, PromiseInterface } from '../types';
|
|
4
|
+
export declare class BatchStatusFactory {
|
|
5
|
+
private promiseService;
|
|
6
|
+
constructor(promiseService: PromiseLibraryInterface);
|
|
7
|
+
construct<T>(itemType: ItemType, getItemId: (entry: T) => ItemId, getPromise: (entry: T) => PromiseInterface<T>): BatchStatus<T>;
|
|
8
|
+
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { ChangesCompilation, KeyService } from '../classes';
|
|
2
|
-
import { CollectionEntry, ItemEntry } from '../models';
|
|
3
|
-
import { CollectionCacheFactory } from './';
|
|
4
|
-
export declare class ChangesCompilationFactory {
|
|
5
|
-
private collectionCacheFactory;
|
|
6
|
-
private keyService;
|
|
7
|
-
constructor(collectionCacheFactory: CollectionCacheFactory, keyService: KeyService);
|
|
8
|
-
construct(singleItems: ItemEntry[], collections: CollectionEntry[]): ChangesCompilation;
|
|
9
|
-
}
|
|
1
|
+
import { ChangesCompilation, KeyService } from '../classes';
|
|
2
|
+
import { CollectionEntry, ItemEntry } from '../models';
|
|
3
|
+
import { CollectionCacheFactory } from './';
|
|
4
|
+
export declare class ChangesCompilationFactory {
|
|
5
|
+
private collectionCacheFactory;
|
|
6
|
+
private keyService;
|
|
7
|
+
constructor(collectionCacheFactory: CollectionCacheFactory, keyService: KeyService);
|
|
8
|
+
construct(singleItems: ItemEntry[], collections: CollectionEntry[]): ChangesCompilation;
|
|
9
|
+
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { CollectionCache } from '../classes';
|
|
2
|
-
import { CollectionResourceFactory, QueryMatcherFactory } from '../factories';
|
|
3
|
-
export declare class CollectionCacheFactory {
|
|
4
|
-
private collectionResourceFactory;
|
|
5
|
-
private queryMatcherFactory;
|
|
6
|
-
constructor(collectionResourceFactory: CollectionResourceFactory, queryMatcherFactory: QueryMatcherFactory);
|
|
7
|
-
construct(): CollectionCache;
|
|
8
|
-
}
|
|
1
|
+
import { CollectionCache } from '../classes';
|
|
2
|
+
import { CollectionResourceFactory, QueryMatcherFactory } from '../factories';
|
|
3
|
+
export declare class CollectionCacheFactory {
|
|
4
|
+
private collectionResourceFactory;
|
|
5
|
+
private queryMatcherFactory;
|
|
6
|
+
constructor(collectionResourceFactory: CollectionResourceFactory, queryMatcherFactory: QueryMatcherFactory);
|
|
7
|
+
construct(): CollectionCache;
|
|
8
|
+
}
|
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
import { CollectionEntryService, ColumnHandler, ItemEntryService, ItemHandler, ItemRequestService, KeyService, QueryService } from '../classes/';
|
|
2
|
-
import { CollectionResourceFactory, ColumnExpansionFactory, ColumnSetFactory, ItemEntryFactory } from '../factories/';
|
|
3
|
-
import { ErrorHandlerInterface, ExceptionHandlerInterface, PromiseLibraryInterface } from '../interfaces/';
|
|
4
|
-
import { CollectionEntry, CollectionEntryOptionsInterface } from '../models/';
|
|
5
|
-
import { ItemType } from '../types/';
|
|
6
|
-
export declare class CollectionEntryFactory {
|
|
7
|
-
collectionEntryService: CollectionEntryService;
|
|
8
|
-
collectionResourceFactory: CollectionResourceFactory;
|
|
9
|
-
columnExpansionFactory: ColumnExpansionFactory;
|
|
10
|
-
columnHandler: ColumnHandler;
|
|
11
|
-
columnSetFactory: ColumnSetFactory;
|
|
12
|
-
errorHandler: ErrorHandlerInterface;
|
|
13
|
-
exceptionHandler: ExceptionHandlerInterface;
|
|
14
|
-
itemEntryFactory: ItemEntryFactory;
|
|
15
|
-
itemEntryService: ItemEntryService;
|
|
16
|
-
itemHandler: ItemHandler;
|
|
17
|
-
itemRequestService: ItemRequestService;
|
|
18
|
-
keyService: KeyService;
|
|
19
|
-
promiseService: PromiseLibraryInterface;
|
|
20
|
-
queryService: QueryService;
|
|
21
|
-
constructor(collectionEntryService: CollectionEntryService, collectionResourceFactory: CollectionResourceFactory, columnExpansionFactory: ColumnExpansionFactory, columnHandler: ColumnHandler, columnSetFactory: ColumnSetFactory, errorHandler: ErrorHandlerInterface, exceptionHandler: ExceptionHandlerInterface, itemEntryFactory: ItemEntryFactory, itemEntryService: ItemEntryService, itemHandler: ItemHandler, itemRequestService: ItemRequestService, keyService: KeyService, promiseService: PromiseLibraryInterface, queryService: QueryService);
|
|
22
|
-
construct(itemType: ItemType, options: CollectionEntryOptionsInterface): CollectionEntry;
|
|
23
|
-
}
|
|
1
|
+
import { CollectionEntryService, ColumnHandler, ItemEntryService, ItemHandler, ItemRequestService, KeyService, QueryService } from '../classes/';
|
|
2
|
+
import { CollectionResourceFactory, ColumnExpansionFactory, ColumnSetFactory, ItemEntryFactory } from '../factories/';
|
|
3
|
+
import { ErrorHandlerInterface, ExceptionHandlerInterface, PromiseLibraryInterface } from '../interfaces/';
|
|
4
|
+
import { CollectionEntry, CollectionEntryOptionsInterface } from '../models/';
|
|
5
|
+
import { ItemType } from '../types/';
|
|
6
|
+
export declare class CollectionEntryFactory {
|
|
7
|
+
collectionEntryService: CollectionEntryService;
|
|
8
|
+
collectionResourceFactory: CollectionResourceFactory;
|
|
9
|
+
columnExpansionFactory: ColumnExpansionFactory;
|
|
10
|
+
columnHandler: ColumnHandler;
|
|
11
|
+
columnSetFactory: ColumnSetFactory;
|
|
12
|
+
errorHandler: ErrorHandlerInterface;
|
|
13
|
+
exceptionHandler: ExceptionHandlerInterface;
|
|
14
|
+
itemEntryFactory: ItemEntryFactory;
|
|
15
|
+
itemEntryService: ItemEntryService;
|
|
16
|
+
itemHandler: ItemHandler;
|
|
17
|
+
itemRequestService: ItemRequestService;
|
|
18
|
+
keyService: KeyService;
|
|
19
|
+
promiseService: PromiseLibraryInterface;
|
|
20
|
+
queryService: QueryService;
|
|
21
|
+
constructor(collectionEntryService: CollectionEntryService, collectionResourceFactory: CollectionResourceFactory, columnExpansionFactory: ColumnExpansionFactory, columnHandler: ColumnHandler, columnSetFactory: ColumnSetFactory, errorHandler: ErrorHandlerInterface, exceptionHandler: ExceptionHandlerInterface, itemEntryFactory: ItemEntryFactory, itemEntryService: ItemEntryService, itemHandler: ItemHandler, itemRequestService: ItemRequestService, keyService: KeyService, promiseService: PromiseLibraryInterface, queryService: QueryService);
|
|
22
|
+
construct(itemType: ItemType, options: CollectionEntryOptionsInterface): CollectionEntry;
|
|
23
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { CollectionCache, CollectionMatcher } from '../classes';
|
|
2
|
-
import { QueryMatcherFactory } from '../factories';
|
|
3
|
-
export declare class CollectionMatcherFactory {
|
|
4
|
-
private queryMatcherFactory;
|
|
5
|
-
constructor(queryMatcherFactory: QueryMatcherFactory);
|
|
6
|
-
construct(collectionCaches: CollectionCache[], updateInitial: boolean, callOnAdd: boolean, callOnActivate: boolean): CollectionMatcher;
|
|
7
|
-
}
|
|
1
|
+
import { CollectionCache, CollectionMatcher } from '../classes';
|
|
2
|
+
import { QueryMatcherFactory } from '../factories';
|
|
3
|
+
export declare class CollectionMatcherFactory {
|
|
4
|
+
private queryMatcherFactory;
|
|
5
|
+
constructor(queryMatcherFactory: QueryMatcherFactory);
|
|
6
|
+
construct(collectionCaches: CollectionCache[], updateInitial: boolean, callOnAdd: boolean, callOnActivate: boolean): CollectionMatcher;
|
|
7
|
+
}
|