@azrico/webobject 1.2.31 → 1.2.32

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.
@@ -1,11 +1,11 @@
1
1
  import { MapableObject } from "./MapableObject";
2
2
  import ObjectManager from "./ObjectManager";
3
- export declare type saveResultType = "normal" | "nothing" | "error" | "canceled";
4
- export declare type saveType = "normal" | "quick";
5
- export declare type sendChangesType = boolean | "auto";
6
- export declare type PropOf<obj> = keyof obj;
7
- export declare type WriteablePropOf<obj> = keyof obj;
8
- export declare type PropType<obj, prop extends keyof obj> = obj[prop];
3
+ export type saveResultType = "normal" | "nothing" | "error" | "canceled";
4
+ export type saveType = "normal" | "quick";
5
+ export type sendChangesType = boolean | "auto";
6
+ export type PropOf<obj> = keyof obj;
7
+ export type WriteablePropOf<obj> = keyof obj;
8
+ export type PropType<obj, prop extends keyof obj> = obj[prop];
9
9
  export declare class SimpleObject extends MapableObject {
10
10
  #private;
11
11
  static readonly __cache_name?: string;
@@ -60,7 +60,7 @@ export declare class SimpleObject extends MapableObject {
60
60
  /**
61
61
  * Apply the changes and empty the delta object
62
62
  */
63
- apply_changes(): false | undefined;
63
+ apply_changes(): true | undefined;
64
64
  clear_changes(): void;
65
65
  clear_cache(): void;
66
66
  /**
@@ -111,7 +111,7 @@ export declare class SimpleObject extends MapableObject {
111
111
  * @param toObj
112
112
  */
113
113
  setSaveResult(toObj: any, type: saveResultType | "auto"): void;
114
- getSaveResult(): any;
114
+ getSaveResult(original?: boolean): any;
115
115
  getSaveResultType(): saveResultType;
116
116
  static factoryClear(obj: SimpleObject): void;
117
117
  static delete_cache(): void;