@rentman/rm-core 67.0.0-beta.0 → 67.0.1
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/rm-core.js +1 -1
- package/dist/rm-core.js.map +1 -1
- package/dist/types/src/classes/BusinessLogicManager/Planningmateriaal/PlanningmateriaalCreatePeriodBusinessLogicRule.d.ts +1 -1
- package/dist/types/src/classes/SocketMessageHandler.d.ts +5 -0
- package/dist/types/src/classes/cache/AbstractCache.d.ts +1 -1
- package/dist/types/src/classes/cache/transaction/TransactionCache.d.ts +1 -1
- package/dist/types/src/models/CollectionResource.d.ts +1 -1
- package/package.json +1 -1
|
@@ -5,7 +5,7 @@ import { TransactionCache } from '../../cache/transaction/TransactionCache';
|
|
|
5
5
|
import { ItemResource } from '../../../models/ItemResource';
|
|
6
6
|
import { BusinessLogicRuleApplyContext } from '../BusinessLogicRuleApplyContext';
|
|
7
7
|
import { RmProjectDefaultTimeResources } from '../../../services/rm-project-default-time.service';
|
|
8
|
-
declare const planningmateriaalColumns: readonly ["id", "parent", {
|
|
8
|
+
declare const planningmateriaalColumns: readonly ["id", "parent", "duur", {
|
|
9
9
|
readonly categorie: readonly ["subproject", "project"];
|
|
10
10
|
}];
|
|
11
11
|
type ConditionResult = Set<ItemId> | typeof BLR_SKIP_RULE;
|
|
@@ -26,5 +26,10 @@ export declare class SocketMessageHandler {
|
|
|
26
26
|
* If we think it fits (or maybe) we should fetch the complete item with the superset of columns (the socket message might not have all values)
|
|
27
27
|
*/
|
|
28
28
|
private processMessage;
|
|
29
|
+
/**
|
|
30
|
+
* A created item can be deleted again before its fetch returns. Its delete message is then ignored, because the
|
|
31
|
+
* item is not cached yet, so the socket values must not be applied either: the item no longer exists.
|
|
32
|
+
*/
|
|
33
|
+
private dropCreatedItemsMissingFromResponse;
|
|
29
34
|
private processRequests;
|
|
30
35
|
}
|
|
@@ -39,7 +39,7 @@ export declare abstract class AbstractCache {
|
|
|
39
39
|
getCurrentItemEntryCache(): ItemCache;
|
|
40
40
|
abstract getServerCache(): ServerCache;
|
|
41
41
|
abstract getLocalItemEntry(itemEntryId: ItemEntry['id']): ItemEntry;
|
|
42
|
-
abstract getLocalItemEntryByItemId<const ItemTypeType extends ApiItemType>(itemType: ItemTypeType, itemId: ItemEntry<ItemTypeType>['itemId']): ItemEntry<ItemTypeType
|
|
42
|
+
abstract getLocalItemEntryByItemId<const ItemTypeType extends ApiItemType>(itemType: ItemTypeType, itemId: ItemEntry<ItemTypeType>['itemId']): ItemEntry<ItemTypeType>;
|
|
43
43
|
abstract containsLocalItemEntryByItemId(itemType: ApiItemType, itemId: ItemEntry['itemId']): boolean;
|
|
44
44
|
/**
|
|
45
45
|
* @description
|
|
@@ -395,7 +395,7 @@ export declare class TransactionCache extends AbstractCache {
|
|
|
395
395
|
* @description
|
|
396
396
|
* Gets an ItemEntry from the cache by ItemId. Looks at the current as well as the parent transaction.
|
|
397
397
|
*/
|
|
398
|
-
getLocalItemEntryByItemId<const ItemTypeType extends ApiItemType>(itemType: ItemTypeType, itemId: ItemEntry<ItemTypeType>['itemId']): ItemEntry<ItemTypeType
|
|
398
|
+
getLocalItemEntryByItemId<const ItemTypeType extends ApiItemType>(itemType: ItemTypeType, itemId: ItemEntry<ItemTypeType>['itemId']): ItemEntry<ItemTypeType>;
|
|
399
399
|
containsLocalItemEntryByItemId(itemType: ApiItemType, itemId: ItemEntry['itemId']): boolean;
|
|
400
400
|
/**
|
|
401
401
|
* @description
|
|
@@ -94,7 +94,7 @@ export declare class CollectionResource<ItemTypeType extends ApiItemType, Reques
|
|
|
94
94
|
*/
|
|
95
95
|
onRemove(callback: OnRemoveCallback<this>): DeregFunction;
|
|
96
96
|
getIdArray(): ItemId[];
|
|
97
|
-
getItemById(itemId: ItemId): ItemResource<ItemTypeType, RequestColumns, Children
|
|
97
|
+
getItemById(itemId: ItemId): ItemResource<ItemTypeType, RequestColumns, Children>;
|
|
98
98
|
triggerCollectionChangesListeners(changedItemResources: AddedRemovedItemResources<ItemResource<ItemTypeType, RequestColumns, Children>> & {
|
|
99
99
|
changedItems?: undefined;
|
|
100
100
|
}, sourceChangesDelta: null, itemIdConversionMap: ItemIdConversionMap | undefined, isCalledAfterSocketUpdate: boolean, isInitialCall: boolean, collectionChangesAccumulator: AggregatedChangesByListener | null): void;
|