@azrico/webobject 1.4.124 → 1.4.125

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.
@@ -59,9 +59,14 @@ export declare class SimpleObject extends MapableObject {
59
59
  setRefreshFunction(new_fnc: any): Promise<any>;
60
60
  addRefreshFunction(new_fnc: any): any;
61
61
  runRefreshFunction(...params: any): Promise<void>;
62
- setAll<K extends WriteablePropOf<this>>(setObj: {
62
+ /**
63
+ * calls `setValue` function for all props of `setObj`
64
+ * @param setObj
65
+ * @returns
66
+ */
67
+ setAll<K extends WriteablePropOf<this>>(setObj: Partial<{
63
68
  [key in K]: any;
64
- }): Promise<boolean>;
69
+ }>): Promise<boolean>;
65
70
  /**
66
71
  * set value of a key only if the value is empty (null,undef,"")
67
72
  * @param key
@@ -321,7 +321,13 @@ var SimpleObject = /*#__PURE__*/function (_MapableObject, _setValue, _setTemp, _
321
321
  }
322
322
  }, _callee6, this);
323
323
  }))).apply(this, arguments);
324
- } /* -------------------------------------------------------------------------- */
324
+ }
325
+ /* -------------------------------------------------------------------------- */
326
+ /**
327
+ * calls `setValue` function for all props of `setObj`
328
+ * @param setObj
329
+ * @returns
330
+ */
325
331
  }, {
326
332
  key: "setAll",
327
333
  value: function setAll(_x8) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@azrico/webobject",
3
- "version": "1.4.124",
3
+ "version": "1.4.125",
4
4
  "description": "Stateful object",
5
5
  "author": "Azrideus",
6
6
  "license": "MIT",