@azrico/webobject 1.4.132 → 1.4.135

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/README.md CHANGED
@@ -1,9 +1,9 @@
1
- # deus-object
2
-
3
- > Some useful object functions
4
-
5
- ## Install
6
-
7
- ```bash
8
- yarn add @azrico/webobject
9
- ```
1
+ # deus-object
2
+
3
+ > Some useful object functions
4
+
5
+ ## Install
6
+
7
+ ```bash
8
+ yarn add @azrico/webobject
9
+ ```
@@ -64,6 +64,8 @@ export declare class WebObject extends SimpleObject {
64
64
  }): Promise<boolean>;
65
65
  Save(): Promise<any>;
66
66
  Delete(): Promise<any>;
67
+ Lock(): Promise<any>;
68
+ UnLock(): Promise<any>;
67
69
  Archive(): Promise<any>;
68
70
  UnArchive(): Promise<any>;
69
71
  canSave(deltaObj?: any): true | string;
@@ -72,6 +74,8 @@ export declare class WebObject extends SimpleObject {
72
74
  deltaIsValid(d: any): true | string;
73
75
  /**
74
76
  * calls the `get_deltaObject` with `allProperties=true` `extraProperties=true`
77
+ *
78
+ * useful in server applications
75
79
  * @returns
76
80
  */
77
81
  get_fullDeltaObject(p?: deltaParams): Promise<any>;
@@ -89,6 +93,8 @@ export declare class WebObject extends SimpleObject {
89
93
  onDelete(...p: any): Promise<any>;
90
94
  onArchive(...p: any): Promise<any>;
91
95
  onUnArchive(...p: any): Promise<any>;
96
+ onLock(...p: any): Promise<any>;
97
+ onUnLock(...p: any): Promise<any>;
92
98
  onLoad(...p: any): Promise<any>;
93
99
  onSave(...p: any): Promise<any>;
94
100
  onAfterSave(...p: any): Promise<any>;