@rentman/rm-core 8.1.7 → 8.1.8-dev1
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 +923 -917
- package/dist/rm-core.js +18307 -11023
- package/dist/rm-core.min.js +1 -16
- package/dist/types/classes/ApiFormatter.d.ts +73 -66
- package/dist/types/classes/ApiRequestService.d.ts +18 -21
- package/dist/types/classes/ApiResponseProcessor.d.ts +29 -30
- package/dist/types/classes/CacheSyncer.d.ts +36 -0
- package/dist/types/classes/ChangesCompilation.d.ts +33 -36
- package/dist/types/classes/ChangesDelta.d.ts +61 -68
- package/dist/types/classes/ChangesDeltaBase.d.ts +76 -79
- package/dist/types/classes/ChangesProcessor.d.ts +40 -45
- package/dist/types/classes/CollectionEntryService.d.ts +23 -27
- package/dist/types/classes/CollectionResourceService.d.ts +6 -7
- package/dist/types/classes/ColumnCache.d.ts +21 -22
- package/dist/types/classes/ColumnExpansion.d.ts +21 -23
- package/dist/types/classes/ColumnHandler.d.ts +20 -22
- package/dist/types/classes/ColumnInfo.d.ts +14 -14
- package/dist/types/classes/ColumnSet.d.ts +37 -39
- package/dist/types/classes/ColumnSubsetCache.d.ts +14 -15
- package/dist/types/classes/ColumnUtil.d.ts +100 -101
- package/dist/types/classes/ConversionMapService.d.ts +25 -28
- package/dist/types/classes/CreateRequest.d.ts +17 -20
- package/dist/types/classes/CreatedChangesDelta.d.ts +17 -18
- package/dist/types/classes/InternalChangesDelta.d.ts +47 -51
- package/dist/types/classes/ItemCache.d.ts +27 -30
- package/dist/types/classes/ItemCreateService.d.ts +18 -25
- package/dist/types/classes/ItemEntryService.d.ts +32 -35
- package/dist/types/classes/KeyService.d.ts +18 -18
- package/dist/types/classes/LockService.d.ts +29 -32
- package/dist/types/classes/ModuleChangesCompilation.d.ts +18 -19
- package/dist/types/classes/ParentChangesDelta.d.ts +39 -47
- package/dist/types/classes/QueryColumnExtractor.d.ts +18 -20
- package/dist/types/classes/QueryContainsLocalIdParser.d.ts +15 -17
- package/dist/types/classes/QueryLinkedToParser.d.ts +15 -16
- package/dist/types/classes/QueryLocallyMatchableParser.d.ts +18 -19
- package/dist/types/classes/QueryMatcher.d.ts +18 -19
- package/dist/types/classes/QueryParser.d.ts +25 -26
- package/dist/types/classes/QueryParserBase.d.ts +20 -20
- package/dist/types/classes/QueryParserIdUpdater.d.ts +15 -16
- package/dist/types/classes/QueryService.d.ts +12 -13
- package/dist/types/classes/RequestBuffer.d.ts +24 -29
- package/dist/types/classes/RequestBufferManager.d.ts +20 -26
- package/dist/types/classes/RequestColumnExpansion.d.ts +15 -16
- package/dist/types/classes/SocketMessageHandler.d.ts +34 -43
- package/dist/types/classes/TemplateCache.d.ts +63 -70
- package/dist/types/classes/Util.d.ts +28 -31
- package/dist/types/classes/cache/AbstractCache.d.ts +95 -112
- package/dist/types/classes/cache/CachedQueryHandlerBase.d.ts +68 -75
- package/dist/types/classes/cache/ItemHandlerBase.d.ts +95 -106
- package/dist/types/classes/cache/server/ServerCache.d.ts +82 -94
- package/dist/types/classes/cache/server/ServerCachedQueryHandler.d.ts +25 -34
- package/dist/types/classes/cache/server/ServerItemHandler.d.ts +44 -53
- package/dist/types/classes/cache/transaction/TransactionCache.d.ts +319 -327
- package/dist/types/classes/cache/transaction/TransactionCachedQueryHandler.d.ts +31 -30
- package/dist/types/classes/cache/transaction/TransactionCollectionHandler.d.ts +24 -30
- package/dist/types/classes/cache/transaction/TransactionEventHandler.d.ts +21 -24
- package/dist/types/classes/cache/transaction/TransactionItemHandler.d.ts +89 -97
- package/dist/types/classes/cache/transaction/TransactionValidator.d.ts +33 -35
- package/dist/types/constants.d.ts +7 -7
- package/dist/types/core.d.ts +45 -51
- package/dist/types/factories/ApiResponseProcessorFactory.d.ts +6 -6
- package/dist/types/factories/CacheSyncerFactory.d.ts +10 -0
- package/dist/types/factories/ChangesCompilationFactory.d.ts +5 -6
- package/dist/types/factories/ChangesDeltaFactory.d.ts +13 -15
- package/dist/types/factories/ChangesProcessorFactory.d.ts +13 -19
- package/dist/types/factories/CollectionEntryFactory.d.ts +11 -14
- package/dist/types/factories/CollectionResourceFactory.d.ts +18 -22
- package/dist/types/factories/ColumnExpansionFactory.d.ts +7 -9
- package/dist/types/factories/ColumnInfoFactory.d.ts +7 -8
- package/dist/types/factories/ColumnSetFactory.d.ts +18 -20
- package/dist/types/factories/ColumnSubsetCacheFactory.d.ts +8 -9
- package/dist/types/factories/CreateRequestFactory.d.ts +9 -11
- package/dist/types/factories/ItemCacheFactory.d.ts +6 -8
- package/dist/types/factories/ItemEntryFactory.d.ts +12 -15
- package/dist/types/factories/ItemResourceFactory.d.ts +11 -14
- package/dist/types/factories/ModuleChangesCompilationFactory.d.ts +4 -5
- package/dist/types/factories/QueryMatcherFactory.d.ts +7 -8
- package/dist/types/factories/QueryParserFactory.d.ts +5 -6
- package/dist/types/factories/RequestColumnExpansionFactory.d.ts +8 -9
- package/dist/types/factories/TemplateFactory.d.ts +8 -11
- package/dist/types/factories/TransactionCacheFactory.d.ts +13 -15
- package/dist/types/index.d.ts +1 -7
- package/dist/types/interfaces/AbstractCacheDependencyInterface.d.ts +36 -43
- package/dist/types/interfaces/ApiRequestServiceInterface.d.ts +12 -12
- package/dist/types/interfaces/AuthInterface.d.ts +10 -10
- package/dist/types/interfaces/ErrorHandlerInterface.d.ts +5 -5
- package/dist/types/interfaces/ExceptionHandlerInterface.d.ts +3 -3
- package/dist/types/interfaces/LinkTreeServiceInterface.d.ts +4 -4
- package/dist/types/interfaces/PromiseLibraryInterface.d.ts +25 -25
- package/dist/types/interfaces/ServerCacheDependencyInterface.d.ts +5 -7
- package/dist/types/interfaces/SocketMessageInterface.d.ts +3 -3
- package/dist/types/interfaces/TransactionCollectionHandlerDependencyInterface.d.ts +17 -21
- package/dist/types/interfaces/TransactionItemHandlerDependencyInterface.d.ts +22 -27
- package/dist/types/internal.d.ts +104 -0
- package/dist/types/models/CachedQueryItem.d.ts +19 -0
- package/dist/types/models/CollectionEntry.d.ts +21 -24
- package/dist/types/models/CollectionOptions.d.ts +42 -24
- package/dist/types/models/CollectionResource.d.ts +87 -78
- package/dist/types/models/ItemEntry.d.ts +18 -19
- package/dist/types/models/ItemEntryOptions.d.ts +8 -8
- package/dist/types/models/ItemResource.d.ts +90 -88
- package/dist/types/models/Template.d.ts +11 -13
- package/dist/types/types/ItemTypesCollection.d.ts +343 -345
- package/dist/types/types/PromiseInterface.d.ts +2 -2
- package/package.json +48 -38
- package/readme.md +15 -15
- package/dist/types/classes/CollectionMatcherBase.d.ts +0 -22
- package/dist/types/classes/CollectionMatcherCachedCollectionProcessor.d.ts +0 -32
- package/dist/types/classes/cache/CollectionMatcherCachedQueryProcessor.d.ts +0 -36
- package/dist/types/classes/index.d.ts +0 -46
- package/dist/types/factories/CollectionMatcherFactory.d.ts +0 -19
- package/dist/types/factories/index.d.ts +0 -21
- package/dist/types/interfaces/index.d.ts +0 -11
- package/dist/types/models/index.d.ts +0 -7
- package/dist/types/types/index.d.ts +0 -2
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export interface PromiseInterface<T> extends Promise<T> {
|
|
2
|
-
}
|
|
1
|
+
export interface PromiseInterface<T> extends Promise<T> {
|
|
2
|
+
}
|
package/package.json
CHANGED
|
@@ -1,38 +1,48 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@rentman/rm-core",
|
|
3
|
-
"version": "8.1.
|
|
4
|
-
"description": "Rentman core functionalities",
|
|
5
|
-
"main": "./dist/rm-core.js",
|
|
6
|
-
"types": "./dist/types/index.d.ts",
|
|
7
|
-
"dependencies": {
|
|
8
|
-
"@rentman/backend-types": "0.0.7"
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
"
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
"@
|
|
17
|
-
"
|
|
18
|
-
"
|
|
19
|
-
"
|
|
20
|
-
"
|
|
21
|
-
"
|
|
22
|
-
"
|
|
23
|
-
"
|
|
24
|
-
"
|
|
25
|
-
"
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
"
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
"
|
|
32
|
-
"
|
|
33
|
-
"
|
|
34
|
-
"
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
"
|
|
38
|
-
|
|
1
|
+
{
|
|
2
|
+
"name": "@rentman/rm-core",
|
|
3
|
+
"version": "8.1.8-dev1",
|
|
4
|
+
"description": "Rentman core functionalities",
|
|
5
|
+
"main": "./dist/rm-core.js",
|
|
6
|
+
"types": "./dist/types/index.d.ts",
|
|
7
|
+
"dependencies": {
|
|
8
|
+
"@rentman/backend-types": "0.0.7",
|
|
9
|
+
"@babel/runtime": "^7.8.3"
|
|
10
|
+
},
|
|
11
|
+
"repository": {
|
|
12
|
+
"type": "git",
|
|
13
|
+
"url": "https://github.com/rentmanpublic/frontend-core"
|
|
14
|
+
},
|
|
15
|
+
"devDependencies": {
|
|
16
|
+
"@babel/core": "^7.8.3",
|
|
17
|
+
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.8.3",
|
|
18
|
+
"@babel/plugin-proposal-optional-chaining": "^7.8.3",
|
|
19
|
+
"@babel/plugin-transform-runtime": "^7.8.3",
|
|
20
|
+
"@babel/plugin-transform-classes": "^7.8.3",
|
|
21
|
+
"@babel/preset-env": "^7.8.3",
|
|
22
|
+
"@babel/runtime-corejs3": "^7.8.3",
|
|
23
|
+
"babel-loader": "^8.0.6",
|
|
24
|
+
"core-js": "^3.6.4",
|
|
25
|
+
"@types/moment": "^2.13.0",
|
|
26
|
+
"@types/q": "^1.5.0",
|
|
27
|
+
"clean-webpack-plugin": "^0.1.19",
|
|
28
|
+
"ts-loader": "^6.2.1",
|
|
29
|
+
"tslint": "5.19.0",
|
|
30
|
+
"typescript": "^3.9.2",
|
|
31
|
+
"typescript-tslint-plugin": "^0.5.5",
|
|
32
|
+
"uglifyjs-webpack-plugin": "^1.2.5",
|
|
33
|
+
"webpack": "4.41.2",
|
|
34
|
+
"webpack-cli": "3.3.6",
|
|
35
|
+
"webpack-merge": "^4.1.4"
|
|
36
|
+
},
|
|
37
|
+
"files": [
|
|
38
|
+
"dist"
|
|
39
|
+
],
|
|
40
|
+
"scripts": {
|
|
41
|
+
"prepublishOnly": "npm run bundle",
|
|
42
|
+
"bundle-dev": "webpack --config webpack.dev.js",
|
|
43
|
+
"bundle": "webpack --config webpack.prod.js",
|
|
44
|
+
"type-check": "tsc --noEmit"
|
|
45
|
+
},
|
|
46
|
+
"author": "Martijn Welker <martijn@rentman.nl>",
|
|
47
|
+
"license": "UNLICENSED"
|
|
48
|
+
}
|
package/readme.md
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
# Running a local test version
|
|
2
|
-
1. Make changes
|
|
3
|
-
2. run `npm run bundle-dev`
|
|
4
|
-
3. copy `dist` folder to
|
|
5
|
-
- Frontend: `<project>/bower_components/rentman-rm-core/`
|
|
6
|
-
- App: `<project>/node_modules/@rentman/rm-core/`
|
|
7
|
-
|
|
8
|
-
# Publishing your local version
|
|
9
|
-
|
|
10
|
-
(You have to be logged in as rentman-user on npm, run `npm whoami` to see who you are logged in as)
|
|
11
|
-
|
|
12
|
-
1. Make changes
|
|
13
|
-
2. Report changes in changelog
|
|
14
|
-
3. Update version in package.json and main.ts
|
|
15
|
-
4. Commit, tag and push changes
|
|
1
|
+
# Running a local test version
|
|
2
|
+
1. Make changes
|
|
3
|
+
2. run `npm run bundle-dev`
|
|
4
|
+
3. copy `dist` folder to
|
|
5
|
+
- Frontend: `<project>/bower_components/rentman-rm-core/`
|
|
6
|
+
- App: `<project>/node_modules/@rentman/rm-core/`
|
|
7
|
+
|
|
8
|
+
# Publishing your local version
|
|
9
|
+
|
|
10
|
+
(You have to be logged in as rentman-user on npm, run `npm whoami` to see who you are logged in as)
|
|
11
|
+
|
|
12
|
+
1. Make changes
|
|
13
|
+
2. Report changes in changelog
|
|
14
|
+
3. Update version in package.json and main.ts
|
|
15
|
+
4. Commit, tag and push changes
|
|
16
16
|
5. run `npm publish`
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { ApiEnumItemType } from '@rentman/backend-types';
|
|
2
|
-
import { AbstractCache, CollectionQuery, FieldMap, QueryService } from '../';
|
|
3
|
-
import { QueryMatcherFactory } from '../factories/';
|
|
4
|
-
import { ItemEntry } from '../models';
|
|
5
|
-
import { GroupedCollectionMatcherResult } from './cache/CollectionMatcherCachedQueryProcessor';
|
|
6
|
-
import { ParentChangesDelta } from './ParentChangesDelta';
|
|
7
|
-
export declare type CollectionMatcherMatches<ItemTypeType extends ApiEnumItemType = any> = {
|
|
8
|
-
[itemId: number]: {
|
|
9
|
-
item: ItemEntry<ItemTypeType>;
|
|
10
|
-
isMatch: boolean | 'maybe';
|
|
11
|
-
};
|
|
12
|
-
};
|
|
13
|
-
export declare abstract class CollectionMatcherBase {
|
|
14
|
-
protected queryService: QueryService;
|
|
15
|
-
protected queryMatcherFactory: QueryMatcherFactory;
|
|
16
|
-
protected transaction: AbstractCache;
|
|
17
|
-
protected constructor(queryService: QueryService, queryMatcherFactory: QueryMatcherFactory, transaction: AbstractCache);
|
|
18
|
-
expand<ItemEntryType extends ItemEntry>(itemEntry: ItemEntryType, fields: FieldMap<ItemEntryType['itemType']>): this;
|
|
19
|
-
processDelta(parentChangesDelta: ParentChangesDelta): this;
|
|
20
|
-
protected groupItemEntries<ItemTypeType extends ApiEnumItemType>(matches: CollectionMatcherMatches<ItemTypeType>): GroupedCollectionMatcherResult<ItemTypeType>;
|
|
21
|
-
protected abstract _expand<ItemTypeType extends ApiEnumItemType = any>(itemEntry: ItemEntry<ItemTypeType>, matchFunction: (itemType: ItemTypeType, parsedQuery: CollectionQuery) => boolean | 'maybe'): this;
|
|
22
|
-
}
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import { ApiEnumItemType } from '@rentman/backend-types';
|
|
2
|
-
import { QueryMatcherFactory } from '../factories';
|
|
3
|
-
import { PromiseLibraryInterface } from '../interfaces';
|
|
4
|
-
import { CollectionResource, ItemEntry } from '../models';
|
|
5
|
-
import { CollectionQuery, PromiseInterface } from '../types';
|
|
6
|
-
import { ApiRequestService } from './ApiRequestService';
|
|
7
|
-
import { AbstractCache } from './cache/AbstractCache';
|
|
8
|
-
import { ChangesDeltaBase } from './ChangesDeltaBase';
|
|
9
|
-
import { CollectionMatcherBase, CollectionMatcherMatches } from './CollectionMatcherBase';
|
|
10
|
-
import { QueryService } from './QueryService';
|
|
11
|
-
/**
|
|
12
|
-
* @description
|
|
13
|
-
* Processes all {@link CollectionResource CollectionResources} and adds/removes item entries that do/don't fit the query
|
|
14
|
-
*/
|
|
15
|
-
export declare class CollectionMatcherCachedCollectionProcessor extends CollectionMatcherBase {
|
|
16
|
-
private apiRequestService;
|
|
17
|
-
private promiseService;
|
|
18
|
-
private getCollections;
|
|
19
|
-
protected map: {
|
|
20
|
-
[itemTypeAndQueryString: string]: {
|
|
21
|
-
itemType: ApiEnumItemType;
|
|
22
|
-
query: CollectionQuery;
|
|
23
|
-
collectionResources: CollectionResource[];
|
|
24
|
-
matches: CollectionMatcherMatches;
|
|
25
|
-
};
|
|
26
|
-
};
|
|
27
|
-
constructor(apiRequestService: ApiRequestService, promiseService: PromiseLibraryInterface, queryService: QueryService, queryMatcherFactory: QueryMatcherFactory, transaction: AbstractCache, getCollections: <ItemTypeType extends ApiEnumItemType>(itemType: ItemTypeType) => {
|
|
28
|
-
[queryString: string]: Array<CollectionResource<ItemTypeType>>;
|
|
29
|
-
});
|
|
30
|
-
__removeFromAndAddToCollections(isCalledAfterSocketUpdate?: boolean, changesDelta?: ChangesDeltaBase): PromiseInterface<void[]>;
|
|
31
|
-
protected _expand<ItemTypeType extends ApiEnumItemType = any>(itemEntry: ItemEntry<ItemTypeType>, matchFunction: (itemType: ItemTypeType, parsedQuery: CollectionQuery) => boolean | 'maybe'): this;
|
|
32
|
-
}
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import { ApiEnumItemType } from '@rentman/backend-types';
|
|
2
|
-
import { QueryMatcherFactory } from '../../factories';
|
|
3
|
-
import { PromiseLibraryInterface } from '../../interfaces';
|
|
4
|
-
import { ItemEntry } from '../../models';
|
|
5
|
-
import { CollectionQuery, PromiseInterface } from '../../types';
|
|
6
|
-
import { ApiRequestService } from '../ApiRequestService';
|
|
7
|
-
import { ChangesDeltaBase } from '../ChangesDeltaBase';
|
|
8
|
-
import { CollectionMatcherBase, CollectionMatcherMatches } from '../CollectionMatcherBase';
|
|
9
|
-
import { QueryService } from '../QueryService';
|
|
10
|
-
import { AbstractCache } from './AbstractCache';
|
|
11
|
-
import { CachedQueryItem } from './CachedQueryHandlerBase';
|
|
12
|
-
export declare type GroupedCollectionMatcherResult<ItemTypeType extends ApiEnumItemType> = {
|
|
13
|
-
fitting: Array<ItemEntry<ItemTypeType>>;
|
|
14
|
-
notFitting: Array<ItemEntry<ItemTypeType>>;
|
|
15
|
-
maybe: Array<ItemEntry<ItemTypeType>>;
|
|
16
|
-
};
|
|
17
|
-
/**
|
|
18
|
-
* @description
|
|
19
|
-
* Processes all cached queries and adds/removes item entries that do/don't fit the query
|
|
20
|
-
*/
|
|
21
|
-
export declare class CollectionMatcherCachedQueryProcessor extends CollectionMatcherBase {
|
|
22
|
-
private apiRequestService;
|
|
23
|
-
private promiseService;
|
|
24
|
-
private getQueries;
|
|
25
|
-
protected map: {
|
|
26
|
-
[itemTypeAndQueryString: string]: {
|
|
27
|
-
itemType: ApiEnumItemType;
|
|
28
|
-
query: CollectionQuery;
|
|
29
|
-
matches: CollectionMatcherMatches;
|
|
30
|
-
cachedQuery: CachedQueryItem;
|
|
31
|
-
};
|
|
32
|
-
};
|
|
33
|
-
constructor(apiRequestService: ApiRequestService, promiseService: PromiseLibraryInterface, queryService: QueryService, queryMatcherFactory: QueryMatcherFactory, transaction: AbstractCache, getQueries: <ItemTypeType extends ApiEnumItemType>(itemType: ItemTypeType) => Array<CachedQueryItem<ItemTypeType>>);
|
|
34
|
-
__removeFromAndAddToCachedQueries(_isCalledAfterSocketUpdate?: boolean, changesDelta?: ChangesDeltaBase): PromiseInterface<void[]>;
|
|
35
|
-
protected _expand<ItemTypeType extends ApiEnumItemType>(itemEntry: ItemEntry<ItemTypeType>, matchFunction: (itemType: ItemTypeType, parsedQuery: CollectionQuery) => boolean | 'maybe'): this;
|
|
36
|
-
}
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
export * from './ApiFormatter';
|
|
2
|
-
export * from './ApiRequestService';
|
|
3
|
-
export * from './ApiResponseProcessor';
|
|
4
|
-
export * from './ChangesCompilation';
|
|
5
|
-
export * from './ChangesProcessor';
|
|
6
|
-
export * from './CollectionEntryService';
|
|
7
|
-
export * from './CollectionMatcherCachedCollectionProcessor';
|
|
8
|
-
export * from './CollectionResourceService';
|
|
9
|
-
export * from './ColumnCache';
|
|
10
|
-
export * from './ColumnExpansion';
|
|
11
|
-
export * from './ColumnHandler';
|
|
12
|
-
export * from './ColumnInfo';
|
|
13
|
-
export * from './ColumnSet';
|
|
14
|
-
export * from './ColumnSubsetCache';
|
|
15
|
-
export * from './ColumnUtil';
|
|
16
|
-
export * from './ConversionMapService';
|
|
17
|
-
export * from './CreateRequest';
|
|
18
|
-
export * from './ItemCache';
|
|
19
|
-
export * from './ItemEntryService';
|
|
20
|
-
export * from './KeyService';
|
|
21
|
-
export * from './cache/transaction/TransactionEventHandler';
|
|
22
|
-
export * from './LockService';
|
|
23
|
-
export * from './ModuleChangesCompilation';
|
|
24
|
-
export * from './QueryMatcher';
|
|
25
|
-
export * from './QueryParser';
|
|
26
|
-
export * from './QueryService';
|
|
27
|
-
export * from './RequestColumnExpansion';
|
|
28
|
-
export * from './SocketMessageHandler';
|
|
29
|
-
export * from './Util';
|
|
30
|
-
export * from './cache/AbstractCache';
|
|
31
|
-
export * from './cache/server/ServerCache';
|
|
32
|
-
export * from './cache/server/ServerItemHandler';
|
|
33
|
-
export * from './cache/server/ServerCachedQueryHandler';
|
|
34
|
-
export * from './cache/transaction/TransactionCache';
|
|
35
|
-
export * from './cache/transaction/TransactionItemHandler';
|
|
36
|
-
export * from './cache/transaction/TransactionCachedQueryHandler';
|
|
37
|
-
export * from './cache/transaction/TransactionCollectionHandler';
|
|
38
|
-
export * from './cache/transaction/TransactionEventHandler';
|
|
39
|
-
export * from './cache/transaction/TransactionValidator';
|
|
40
|
-
export * from './ChangesDeltaBase';
|
|
41
|
-
export * from './ChangesDelta';
|
|
42
|
-
export * from './InternalChangesDelta';
|
|
43
|
-
export * from './RequestBufferManager';
|
|
44
|
-
export * from './RequestBuffer';
|
|
45
|
-
export * from './ItemCreateService';
|
|
46
|
-
export * from './CreatedChangesDelta';
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { ApiEnumItemType } from '@rentman/backend-types';
|
|
2
|
-
import { AbstractCache, ApiRequestService, QueryService } from '../classes';
|
|
3
|
-
import { CachedQueryItem } from '../classes/cache/CachedQueryHandlerBase';
|
|
4
|
-
import { CollectionMatcherCachedQueryProcessor } from '../classes/cache/CollectionMatcherCachedQueryProcessor';
|
|
5
|
-
import { CollectionMatcherCachedCollectionProcessor } from '../classes/CollectionMatcherCachedCollectionProcessor';
|
|
6
|
-
import { QueryMatcherFactory } from '../factories';
|
|
7
|
-
import { PromiseLibraryInterface } from '../interfaces';
|
|
8
|
-
import { CollectionResource } from '../models';
|
|
9
|
-
export declare class CollectionMatcherFactory {
|
|
10
|
-
private queryMatcherFactory;
|
|
11
|
-
private queryService;
|
|
12
|
-
private apiRequestService;
|
|
13
|
-
private promiseService;
|
|
14
|
-
constructor(queryMatcherFactory: QueryMatcherFactory, queryService: QueryService, apiRequestService: ApiRequestService, promiseService: PromiseLibraryInterface);
|
|
15
|
-
constructCachedCollectionProcessor(transaction: AbstractCache, getCollections: <ItemTypeType extends ApiEnumItemType>(itemType: ItemTypeType) => {
|
|
16
|
-
[queryString: string]: Array<CollectionResource<ItemTypeType>>;
|
|
17
|
-
}): CollectionMatcherCachedCollectionProcessor;
|
|
18
|
-
constructCachedQueryProcessor(transaction: AbstractCache, getQueries: <ItemTypeType extends ApiEnumItemType>(itemType: ItemTypeType) => Array<CachedQueryItem<ItemTypeType>>): CollectionMatcherCachedQueryProcessor;
|
|
19
|
-
}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
export * from './ApiResponseProcessorFactory';
|
|
2
|
-
export * from './ChangesCompilationFactory';
|
|
3
|
-
export * from './CollectionEntryFactory';
|
|
4
|
-
export * from './CollectionMatcherFactory';
|
|
5
|
-
export * from './CollectionResourceFactory';
|
|
6
|
-
export * from './ColumnExpansionFactory';
|
|
7
|
-
export * from './ColumnInfoFactory';
|
|
8
|
-
export * from './ColumnSetFactory';
|
|
9
|
-
export * from './ColumnSubsetCacheFactory';
|
|
10
|
-
export * from './CreateRequestFactory';
|
|
11
|
-
export * from './ItemCacheFactory';
|
|
12
|
-
export * from './ItemEntryFactory';
|
|
13
|
-
export * from './ItemResourceFactory';
|
|
14
|
-
export * from './TransactionCacheFactory';
|
|
15
|
-
export * from './ModuleChangesCompilationFactory';
|
|
16
|
-
export * from './QueryMatcherFactory';
|
|
17
|
-
export * from './QueryParserFactory';
|
|
18
|
-
export * from './RequestColumnExpansionFactory';
|
|
19
|
-
export * from './TemplateFactory';
|
|
20
|
-
export * from './ChangesDeltaFactory';
|
|
21
|
-
export * from './ChangesProcessorFactory';
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
export * from './PromiseLibraryInterface';
|
|
2
|
-
export * from './ErrorHandlerInterface';
|
|
3
|
-
export * from './ExceptionHandlerInterface';
|
|
4
|
-
export * from './AuthInterface';
|
|
5
|
-
export * from './ApiRequestServiceInterface';
|
|
6
|
-
export * from './SocketMessageInterface';
|
|
7
|
-
export * from './LinkTreeServiceInterface';
|
|
8
|
-
export * from './AbstractCacheDependencyInterface';
|
|
9
|
-
export * from './TransactionItemHandlerDependencyInterface';
|
|
10
|
-
export * from './TransactionCollectionHandlerDependencyInterface';
|
|
11
|
-
export * from './ServerCacheDependencyInterface';
|