@azrico/webobject 1.4.196 → 1.4.197

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.
@@ -96,6 +96,7 @@ export declare class WebObject extends SimpleObject {
96
96
  get __web_path(): string;
97
97
  get_webpath(): string;
98
98
  static get_webpath(): string;
99
+ static get_dbname(): string;
99
100
  onDelete(...p: any): Promise<any>;
100
101
  onArchive(...p: any): Promise<any>;
101
102
  onUnArchive(...p: any): Promise<any>;
@@ -1225,6 +1225,11 @@ var WebObject = exports.WebObject = /*#__PURE__*/function (_SimpleObject) {
1225
1225
  value: function get_webpath() {
1226
1226
  return this.__web_path || this.__db_name || "";
1227
1227
  }
1228
+ }, {
1229
+ key: "get_dbname",
1230
+ value: function get_dbname() {
1231
+ return this.__db_name || this.__web_path || "";
1232
+ }
1228
1233
  }, {
1229
1234
  key: "saveResultHasID",
1230
1235
  value: function saveResultHasID(s) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@azrico/webobject",
3
- "version": "1.4.196",
3
+ "version": "1.4.197",
4
4
  "description": "Stateful object",
5
5
  "author": "Azrideus",
6
6
  "license": "MIT",