@azrico/webobject 1.4.4 → 1.4.7

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.
@@ -11,6 +11,7 @@ export declare class SimpleObject extends MapableObject {
11
11
  static readonly __cache_name?: string;
12
12
  static readonly __unchangeables?: string[];
13
13
  static readonly __changeables?: string[];
14
+ static readonly __protectedProperties?: string[];
14
15
  static readonly __extraProperties?: string[];
15
16
  static readonly __use_delta: boolean;
16
17
  _static(): Function;
@@ -89,12 +90,13 @@ export declare class SimpleObject extends MapableObject {
89
90
  notifyChanged<MKey extends PropOf<this>>(type: string, key: MKey | string, value: any, subvalue?: any): Promise<void>;
90
91
  /**
91
92
  * check if a key can be changed on an object
92
- * @param object
93
- * @param key
94
- * @param useExtraProps
93
+ * @param object the object we are checking
94
+ * @param key key of the object
95
+ * @param useExtraProps should we check extra props?
95
96
  * @returns
96
97
  */
97
98
  static canChangeKey(object: SimpleObject, key: string, useExtraProps: boolean): boolean;
99
+ static hasIllegalChanges(referenceObject: any, changesObject: any, userObject: any): boolean;
98
100
  /**
99
101
  * Apply the changes and empty the delta object
100
102
  */