@rentman/rm-core 2.0.12 → 2.0.13
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.
|
@@ -3,6 +3,7 @@ import { FieldMap, ItemId, ItemType, ItemTypeMap, ResponseColumn } from '../type
|
|
|
3
3
|
export declare class ApiResponseProcessor {
|
|
4
4
|
apiFormatter: ApiFormatter;
|
|
5
5
|
response: any;
|
|
6
|
+
itemType: ItemType;
|
|
6
7
|
columns: ItemTypeMap<ResponseColumn[]>;
|
|
7
8
|
links: ItemTypeMap<ItemId[]>;
|
|
8
9
|
cacheable: boolean;
|
|
@@ -5,7 +5,7 @@ import { ChangesProcessorFactory } from '../../../factories/ChangesProcessorFact
|
|
|
5
5
|
import { AuthInterface, ErrorHandlerInterface, ExceptionHandlerInterface, PromiseLibraryInterface } from '../../../interfaces';
|
|
6
6
|
import { LinkTreeServiceInterface } from '../../../interfaces/LinkTreeServiceInterface';
|
|
7
7
|
import { CollectionEntry, ItemEntry } from '../../../models';
|
|
8
|
-
import { EntryParent, EntryParentNull, FieldMap, ItemIdConversionMap, ItemType, PromiseInterface } from '../../../types';
|
|
8
|
+
import { ApiRequestColumnMap, EntryParent, EntryParentNull, FieldMap, ItemIdConversionMap, ItemType, PromiseInterface } from '../../../types';
|
|
9
9
|
import { ApiFormatter } from '../../ApiFormatter';
|
|
10
10
|
import { ApiRequestService } from '../../ApiRequestService';
|
|
11
11
|
import { ApiResponseProcessor } from '../../ApiResponseProcessor';
|
|
@@ -41,7 +41,7 @@ export declare class ServerCache extends AbstractCache {
|
|
|
41
41
|
parent: null;
|
|
42
42
|
constructor(changesProcessorFactory: ChangesProcessorFactory, core: RmCore, columnCache: ColumnCache, requestBufferManager: RequestBufferManager, requestColumnExpansionFactory: RequestColumnExpansionFactory, queryMatcherFactory: QueryMatcherFactory, authInterface: AuthInterface, changesDeltaFactory: ChangesDeltaFactory, lockService: LockService, moduleChangesCompilationFactory: ModuleChangesCompilationFactory, collectionResourceFactory: CollectionResourceFactory, itemResourceFactory: ItemResourceFactory, templateCache: TemplateCache, itemCacheFactory: ItemCacheFactory, collectionCacheFactory: CollectionCacheFactory, errorHandler: ErrorHandlerInterface, exceptionHandler: ExceptionHandlerInterface, promiseService: PromiseLibraryInterface, apiFormatter: ApiFormatter, apiRequestService: ApiRequestService, columnExpansionFactory: ColumnExpansionFactory, columnHandler: ColumnHandler, columnSetFactory: ColumnSetFactory, columnSubsetCacheFactory: ColumnSubsetCacheFactory, columnUtil: ColumnUtil, itemEntryFactory: ItemEntryFactory, itemEntryService: ItemEntryService, keyService: KeyService, collectionEntryFactory: CollectionEntryFactory, collectionEntryService: CollectionEntryService, collectionMatcherFactory: CollectionMatcherFactory, queryParserFactory: QueryParserFactory, queryService: QueryService, linkTreeService: LinkTreeServiceInterface);
|
|
43
43
|
getServerCache(): ServerCache;
|
|
44
|
-
processResponse(response: ApiResponseProcessor, isCalledAfterApiSave?: boolean, isCalledAfterSocketUpdate?: boolean): PromiseInterface<ChangesDeltaResult>;
|
|
44
|
+
processResponse(response: ApiResponseProcessor, requestColumnMap: ApiRequestColumnMap, isCalledAfterApiSave?: boolean, isCalledAfterSocketUpdate?: boolean): PromiseInterface<ChangesDeltaResult>;
|
|
45
45
|
/**
|
|
46
46
|
* @description
|
|
47
47
|
* Applies the changes of the changesDelta created by the API call ({@link ChangesProcessor ChangesProcessor}/{@link SocketMessageHandler SocketMessageHandler}, or manually through a module function) on all caches
|