@azrico/webobject 1.4.24 → 1.4.25
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.
|
@@ -15,7 +15,7 @@ export declare class WebObject extends SimpleObject {
|
|
|
15
15
|
meta_data: MetaObject[];
|
|
16
16
|
_id: string;
|
|
17
17
|
_creator?: string;
|
|
18
|
-
_created_date
|
|
18
|
+
_created_date?: string | Date;
|
|
19
19
|
constructor(is_readonly?: boolean);
|
|
20
20
|
/**
|
|
21
21
|
* Update meta value of this object , meta data is stored in meta_data variable
|
|
@@ -48,7 +48,7 @@ var WebObject = /*#__PURE__*/function (_SimpleObject) {
|
|
|
48
48
|
_defineProperty(_assertThisInitialized(_this), "meta_data", void 0);
|
|
49
49
|
_defineProperty(_assertThisInitialized(_this), "_id", "");
|
|
50
50
|
_defineProperty(_assertThisInitialized(_this), "_creator", void 0);
|
|
51
|
-
_defineProperty(_assertThisInitialized(_this), "_created_date",
|
|
51
|
+
_defineProperty(_assertThisInitialized(_this), "_created_date", void 0);
|
|
52
52
|
_defineProperty(_assertThisInitialized(_this), "get_webtype", function () {
|
|
53
53
|
return _this.__web_type || _this.get_webpath();
|
|
54
54
|
});
|
|
@@ -462,6 +462,8 @@ var WebObject = /*#__PURE__*/function (_SimpleObject) {
|
|
|
462
462
|
_context8.next = 15;
|
|
463
463
|
return this.onAfterSave();
|
|
464
464
|
case 15:
|
|
465
|
+
return _context8.abrupt("return", true);
|
|
466
|
+
case 16:
|
|
465
467
|
case "end":
|
|
466
468
|
return _context8.stop();
|
|
467
469
|
}
|
|
@@ -490,7 +492,7 @@ var WebObject = /*#__PURE__*/function (_SimpleObject) {
|
|
|
490
492
|
_context9.next = 3;
|
|
491
493
|
return (_this$manager5 = this.manager) === null || _this$manager5 === void 0 ? void 0 : _this$manager5.onAfterSave.apply(_this$manager5, p);
|
|
492
494
|
case 3:
|
|
493
|
-
return _context9.abrupt("return",
|
|
495
|
+
return _context9.abrupt("return", true);
|
|
494
496
|
case 4:
|
|
495
497
|
case "end":
|
|
496
498
|
return _context9.stop();
|