@rentman/rm-core 1.1.1 → 1.1.3

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,14 @@
1
1
  #Changelog
2
2
  Contains new features, breaking changes and their reasoning
3
3
 
4
+ ##v.1.1.3
5
+ - Fixed an issue where all collections in a local cache would be cleared.
6
+ - **Breaking:** Renamed `getCacheManager` to `getCurrentLocalCache` and `setCacheManager` to `setCurrentLocalCache` in
7
+ `LocalCacheManagerInterface`.
8
+
9
+ ##v1.1.2
10
+ - Fixed an issue concerning derived values.
11
+
4
12
  ## v1.1.1
5
13
  - Fixed an issue where changes wouldn't be detected.
6
14
  - **Breaking:** Removed the `_hasChanges` function in the `localCache` class. If you want to force changes detection,
@@ -27,7 +27,7 @@ export declare class ApiFormatter {
27
27
  formatRequestDate(value: any): any;
28
28
  formatRequestDuration(value: any): any;
29
29
  formatRequestColor(value: any): any;
30
- getDefaultValue(columnType: any): false | "" | 0 | moment.Moment | moment.Duration | "0" | "#000000" | null;
30
+ getDefaultValue(columnType: any): false | moment.Moment | 0 | moment.Duration | "" | "0" | "#000000" | null;
31
31
  isDefaultValue(columnType: any, value: any): any;
32
32
  clone(columnType: any, value: any): any;
33
33
  getCloneFunction(columnType: any): (date: any) => any;
@@ -29,6 +29,6 @@ export declare class ColumnSet {
29
29
  resolve(responseColumns: ResponseColumnMap, enableCaching?: boolean, includeIdColumn?: boolean): this;
30
30
  private processResponseColumns(responseColumns);
31
31
  private processRequestColumns(responseColumns, includeIdColumn);
32
- private getRequestColumnInfo(requestColumn, columnType, parent, responseColumns);
33
- private getColumnInfo(columnId, columnType, children, parent, responseColumns);
32
+ private getRequestColumnInfo(requestColumn, itemType, parent, responseColumns);
33
+ private getColumnInfo(columnId, itemType, children, parent, responseColumns);
34
34
  }
@@ -1,5 +1,5 @@
1
1
  import { LocalCache } from '../classes';
2
2
  export interface LocalCacheManagerInterface {
3
- getCacheManager(userId: string): LocalCache;
4
- setCacheManager(userId: string, entry: LocalCache): any;
3
+ getCurrentLocalCache(userId: string): LocalCache;
4
+ setCurrentLocalCache(userId: string, entry: LocalCache): any;
5
5
  }