@rentman/rm-core 1.2.4 → 1.2.5

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,10 @@
1
1
  #Changelog
2
2
  Contains new features, breaking changes and their reasoning
3
3
 
4
+ ## v1.2.5
5
+ - When a local item cannot by found, return a newly created item in `getItemByState` (`ItemAdministrator`) only. This
6
+ solves an issue with refreshing on a local edit view.
7
+
4
8
  ## v1.2.4
5
9
  - **Breaking:** When a local item cannot by found, instead of a new item being created an error is thrown. This means it
6
10
  is no longer possible to create local items using `getItemById` or `getItemsById` in the `ItemAdministrator` class.
@@ -30,7 +30,7 @@ export declare class ApiFormatter {
30
30
  formatRequestDate(value: any): any;
31
31
  formatRequestDuration(value: any): any;
32
32
  formatRequestColor(value: any): any;
33
- getDefaultValue(columnType: any): false | moment.Moment | 0 | moment.Duration | "" | "0" | "#000000" | null;
33
+ getDefaultValue(columnType: any): false | 0 | "" | moment.Moment | moment.Duration | "0" | "#000000" | null;
34
34
  isDefaultValue(columnType: any, value: any): boolean;
35
35
  clone(columnType: any, value: any): any;
36
36
  getCloneFunction(columnType: any): (date: any) => any;