@rentman/rm-core 1.1.12 → 1.1.14

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 CHANGED
@@ -1,6 +1,13 @@
1
1
  #Changelog
2
2
  Contains new features, breaking changes and their reasoning
3
3
 
4
+ ##v1.14
5
+ - The `ChangesCompiler` now always processes local collections. (Even if they don't have edit resources.) This fixes an
6
+ issue with recurring appointments in the front-end.
7
+
8
+ ##v1.13
9
+ - Add option to exclude itemTypes during createLocalEntries.
10
+
4
11
  ##v1.12
5
12
  - **Breaking:** `ItemResource.isNew` returns true *only* if the resource was created using
6
13
  `ItemAdministrator.getNewResource` or `ItemAdministrator.getItemByDef`. This fixes an issue where items where removed
@@ -89,7 +89,7 @@ export declare class ItemAdministrator {
89
89
  updateItemIdMap(collectionMap: any, conversionMap: any): void;
90
90
  createCollectionResource(collectionEntry: CollectionEntry, resourceOptions: any, processOptions?: boolean): CollectionResource;
91
91
  createItemResource(itemEntry: ItemEntry, options: any, isRoot: boolean): ItemResource;
92
- onBeforeSave(key: string, callback: any): () => boolean;
93
- onSaveSuccess(key: string, callback: any): () => boolean;
94
- onSaveWithoutClosing(key: string, callback: any): () => boolean;
92
+ onBeforeSave(key: string, callback: any): () => void;
93
+ onSaveSuccess(key: string, callback: any): () => void;
94
+ onSaveWithoutClosing(key: string, callback: any): () => void;
95
95
  }
@@ -54,7 +54,7 @@ export declare class ItemHandler {
54
54
  * then return a array of the resulting ItemEntryArray
55
55
  */
56
56
  batchResolve(itemType: any, batchStatus: BatchStatus, requestColumns: any, resolved: any, localItemCache: ItemCache): ItemEntry[] | Promise<any>;
57
- createLocalEntries(parentType: ItemType, localParentId: ItemId, template: any, itemIdConversion: ItemIdConversionMap, localItemCache: ItemCache): TemplateResponseLinkedItemEntryMap[];
57
+ createLocalEntries(parentType: ItemType, localParentId: ItemId, template: any, itemIdConversion: ItemIdConversionMap, localItemCache: ItemCache, excludeItemTypes?: ItemType[]): TemplateResponseLinkedItemEntryMap[];
58
58
  fetchTitle(itemType: ItemType, itemId: ItemId, deferRequest: boolean | undefined, localItemCache: ItemCache): Promise<any>;
59
59
  requestItems(itemType: string, itemIds: ItemId[], columns: any): Promise<ApiResponseProcessor>;
60
60
  }
@@ -45,7 +45,7 @@ export declare class LocalCache {
45
45
  private executeCallbacks(event, ...args);
46
46
  enableChangesWatcher(): void;
47
47
  disableChangesWatcher(): void;
48
- registerCallback(event: string, key: string, callback: any): () => boolean;
48
+ registerCallback(event: string, key: string, callback: any): () => void;
49
49
  onDeactivateItem(itemEntry: any): void;
50
50
  onActivateItem(itemEntry: any): void;
51
51
  }