@airpower/web 1.7.7 → 1.8.0

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/dist/main.js CHANGED
@@ -19763,6 +19763,12 @@ class RootEntity extends RootModel {
19763
19763
  this.isDisabled = isDisabled;
19764
19764
  return this;
19765
19765
  }
19766
+ /**
19767
+ * ### 只暴露ID
19768
+ */
19769
+ exposeOnlyId() {
19770
+ return super.expose("id");
19771
+ }
19766
19772
  }
19767
19773
  __decorateClass([
19768
19774
  Field({
@@ -20,4 +20,8 @@ export declare class RootEntity extends RootModel {
20
20
  * @param isDisabled 禁用
21
21
  */
22
22
  setDisable(isDisabled?: boolean): this;
23
+ /**
24
+ * ### 只暴露ID
25
+ */
26
+ exposeOnlyId(): this;
23
27
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@airpower/web",
3
3
  "type": "module",
4
- "version": "1.7.7",
4
+ "version": "1.8.0",
5
5
  "description": "AirPower-Web",
6
6
  "author": {
7
7
  "name": "Hamm",