@azrico/webobject 1.4.112 → 1.4.114

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.
@@ -460,6 +460,8 @@ var WebObject = /*#__PURE__*/function (_SimpleObject, _setMetaValue, _Save, _Del
460
460
  /* -------------------------------------------------------------------------- */
461
461
  if (allProperties) {
462
462
  final_object["_created_date"] = this["_created_date"];
463
+ final_object["_archived"] = this.isArchived;
464
+ final_object["_deleted"] = this.isDeleted;
463
465
  }
464
466
  if (allProperties || needId) {
465
467
  if (this["_index_key"]) final_object["_index_key"] = this["_index_key"];
@@ -56,14 +56,14 @@ export declare class SimpleObject extends MapableObject {
56
56
  [key in K]: any;
57
57
  }): Promise<boolean>;
58
58
  /**
59
- * set value of a key only if the value is empty
59
+ * set value of a key only if the value is empty (null,undef,"")
60
60
  * @param key
61
61
  * @param value
62
62
  * @returns
63
63
  */
64
64
  setDefaultValue(key: WriteablePropOf<this>, value: any): boolean;
65
65
  /**
66
- * set value of a key only if the value is empty
66
+ * set value of a key only if the value is empty (null,undef,"")
67
67
  * @param key
68
68
  * @param value
69
69
  * @returns
@@ -95,7 +95,7 @@ var SimpleObject = /*#__PURE__*/function (_MapableObject, _setValue, _setTemp, _
95
95
  _defineProperty(_assertThisInitialized(_this), "get", _classPrivateMethodGet(_assertThisInitialized(_this), _getProperty, _getProperty2));
96
96
  _defineProperty(_assertThisInitialized(_this), "set", _this.setValue);
97
97
  /**
98
- * set value of a key only if the value is empty
98
+ * set value of a key only if the value is empty (null,undef,"")
99
99
  * @param key
100
100
  * @param value
101
101
  * @returns
@@ -251,7 +251,7 @@ var SimpleObject = /*#__PURE__*/function (_MapableObject, _setValue, _setTemp, _
251
251
  }))).apply(this, arguments);
252
252
  }
253
253
  /**
254
- * set value of a key only if the value is empty
254
+ * set value of a key only if the value is empty (null,undef,"")
255
255
  * @param key
256
256
  * @param value
257
257
  * @returns
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@azrico/webobject",
3
- "version": "1.4.112",
3
+ "version": "1.4.114",
4
4
  "description": "Stateful object",
5
5
  "author": "Azrideus",
6
6
  "license": "MIT",