@rentman/rm-core 1.6.5 → 1.6.7
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.
|
@@ -25,7 +25,7 @@ export declare class CollectionHandler {
|
|
|
25
25
|
/**
|
|
26
26
|
* @deprecated, use collectionMatcherFactory
|
|
27
27
|
*/
|
|
28
|
-
removeFromAndAddToCollections(collectionMap: any
|
|
28
|
+
removeFromAndAddToCollections(collectionMap: any): void;
|
|
29
29
|
getCollectionMatcher(): CollectionMatcher;
|
|
30
30
|
/**
|
|
31
31
|
* @deprecated, use collectionMatcherFactory
|
|
@@ -36,7 +36,7 @@ export declare class CollectionHandler {
|
|
|
36
36
|
*/
|
|
37
37
|
addToCollections<T extends CollectionResource = CollectionViewResource>(collectionMap: any, updateInitial: boolean, resultResource?: T | null): T['items'];
|
|
38
38
|
batchExpand(parentType: ItemType, itemType: ItemType, collections: CollectionResourceParentIdMap, newColumns: ApiRequestColumn[]): PromiseInterface<CollectionResourceParentIdMap>;
|
|
39
|
-
batchExtend<T extends CollectionResourceParentIdMap>(parentType: ItemType, itemType: ItemType, options: CollectionEntryOptions, queryCallback: QueryCallback, collections: T, returnAllItems?: boolean): PromiseInterface<ItemResourceItemIdMap>;
|
|
39
|
+
batchExtend<T extends CollectionResourceParentIdMap>(parentType: ItemType, itemType: ItemType, options: CollectionEntryOptions, queryCallback: QueryCallback, collections: T, returnAllItems?: boolean, callOnAdd?: boolean): PromiseInterface<ItemResourceItemIdMap>;
|
|
40
40
|
batchFetch(parentType: ItemType, parentIdArray: ItemId[] | (() => ItemId[]), itemType: ItemType, options: CollectionEntryOptions, itemCache: ItemCache, localCollectionCache: CollectionCache, deferredCollectionCache: CollectionCache): PromiseInterface<CollectionEntryParentIdMap>;
|
|
41
41
|
handleBatchResponse(batchStatus: BatchStatus<CollectionEntry>, itemEntryCompound: {
|
|
42
42
|
columns: ColumnSet;
|
|
@@ -53,8 +53,8 @@ export declare class CollectionEntry {
|
|
|
53
53
|
private expandRemote;
|
|
54
54
|
expand(newColumns: ApiRequestColumns, localItemCache: ItemCache): PromiseInterface<this>;
|
|
55
55
|
extendQuery(callback?: QueryCallback): CollectionQuery;
|
|
56
|
-
extend<U extends CollectionResource>(queryCallback: QueryCallback, collectionResource?: U, callOnAdd?: boolean
|
|
57
|
-
extend(queryCallback: QueryCallback, collectionResource?: null, callOnAdd?: boolean
|
|
56
|
+
extend<U extends CollectionResource>(queryCallback: QueryCallback, collectionResource?: U, callOnAdd?: boolean): PromiseInterface<U['items']>;
|
|
57
|
+
extend(queryCallback: QueryCallback, collectionResource?: null, callOnAdd?: boolean): PromiseInterface<null>;
|
|
58
58
|
queueReload(): void;
|
|
59
59
|
expandColumns(columnExpansion: ColumnExpansion): void;
|
|
60
60
|
expandRequestColumns(requestColumns: ApiRequestColumns): void;
|