@azrico/webobject 1.4.6 → 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.
- package/dist/index.js +1 -16
- package/dist/src/WebObjects/ParentWebObject.js +20 -51
- package/dist/src/WebObjects/WebObject.js +305 -749
- package/dist/src/WebObjects/WebObjectManager.js +121 -363
- package/dist/src/index.js +9 -104
- package/dist/src/structs/DummyObject.js +8 -35
- package/dist/src/structs/MapableObject.js +74 -113
- package/dist/src/structs/MetaObject.js +35 -125
- package/dist/src/structs/ObjectArray.js +43 -71
- package/dist/src/structs/ObjectManager.js +214 -538
- package/dist/src/structs/SimpleObject.d.ts +5 -4
- package/dist/src/structs/SimpleObject.js +734 -1067
- package/package.json +6 -6
|
@@ -90,12 +90,13 @@ export declare class SimpleObject extends MapableObject {
|
|
|
90
90
|
notifyChanged<MKey extends PropOf<this>>(type: string, key: MKey | string, value: any, subvalue?: any): Promise<void>;
|
|
91
91
|
/**
|
|
92
92
|
* check if a key can be changed on an object
|
|
93
|
-
* @param object
|
|
94
|
-
* @param key
|
|
95
|
-
* @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?
|
|
96
96
|
* @returns
|
|
97
97
|
*/
|
|
98
|
-
static canChangeKey(object: SimpleObject, key: string, useExtraProps: boolean):
|
|
98
|
+
static canChangeKey(object: SimpleObject, key: string, useExtraProps: boolean): boolean;
|
|
99
|
+
static hasIllegalChanges(referenceObject: any, changesObject: any, userObject: any): boolean;
|
|
99
100
|
/**
|
|
100
101
|
* Apply the changes and empty the delta object
|
|
101
102
|
*/
|