@airpower/web 1.7.7 → 1.8.1

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,18 @@ class RootEntity extends RootModel {
19763
19763
  this.isDisabled = isDisabled;
19764
19764
  return this;
19765
19765
  }
19766
+ /**
19767
+ * ### 只暴露ID
19768
+ */
19769
+ exposeOnlyId() {
19770
+ return this.expose("id");
19771
+ }
19772
+ /**
19773
+ * ### 只复制ID
19774
+ */
19775
+ copyOnlyId() {
19776
+ return this.copy().exposeOnlyId();
19777
+ }
19766
19778
  }
19767
19779
  __decorateClass([
19768
19780
  Field({
@@ -20,4 +20,12 @@ 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;
27
+ /**
28
+ * ### 只复制ID
29
+ */
30
+ copyOnlyId(): this;
23
31
  }
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.1",
5
5
  "description": "AirPower-Web",
6
6
  "author": {
7
7
  "name": "Hamm",