@azrico/webobject 1.2.9 → 1.2.11
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 +18 -1
- package/dist/src/WebObjects/ParentWebObject.js +96 -1
- package/dist/src/WebObjects/WebObject.js +742 -15
- package/dist/src/WebObjects/WebObjectManager.js +356 -6
- package/dist/src/index.js +109 -1
- package/dist/src/structs/DummyObject.js +54 -1
- package/dist/src/structs/MapableObject.js +130 -2
- package/dist/src/structs/MetaObject.js +171 -1
- package/dist/src/structs/ObjectArray.js +84 -1
- package/dist/src/structs/ObjectManager.js +659 -9
- package/dist/src/structs/SimpleObject.d.ts +7 -1
- package/dist/src/structs/SimpleObject.js +974 -7
- package/package.json +2 -2
|
@@ -57,7 +57,13 @@ export declare class SimpleObject extends MapableObject {
|
|
|
57
57
|
*/
|
|
58
58
|
apply_changes(): false | undefined;
|
|
59
59
|
clear_changes(): void;
|
|
60
|
-
|
|
60
|
+
/**
|
|
61
|
+
* Sets readonly property on given objects
|
|
62
|
+
* @param objs array of given objects or a single object
|
|
63
|
+
* @param readonlyval readonly
|
|
64
|
+
* @param clearChanges should we clean the changes after setting readonly
|
|
65
|
+
*/
|
|
66
|
+
static setReadonly(objs?: SimpleObject[] | SimpleObject, readonlyval?: boolean, clearChanges?: boolean): void;
|
|
61
67
|
static setThrowErrors(objs?: SimpleObject[] | SimpleObject, throwErr?: boolean): void;
|
|
62
68
|
get isChanged(): boolean;
|
|
63
69
|
get isDeleted(): boolean;
|