@etsoo/appscript 1.3.63 → 1.3.64

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.
@@ -19,7 +19,12 @@ export declare class PublicApi extends BaseApi {
19
19
  * Asset units
20
20
  * @returns Result
21
21
  */
22
- assetUnits(): ListType1[];
22
+ assetUnits(): ListType[];
23
+ /**
24
+ * Asset string id units
25
+ * @returns Result
26
+ */
27
+ assetStrUnits(): ListType1[];
23
28
  /**
24
29
  * Base units
25
30
  * @returns Result
@@ -24,6 +24,13 @@ class PublicApi extends BaseApi_1.BaseApi {
24
24
  * @returns Result
25
25
  */
26
26
  assetUnits() {
27
+ return this.app.getEnumList(ProductUnit_1.AssetUnits, unitPrefix);
28
+ }
29
+ /**
30
+ * Asset string id units
31
+ * @returns Result
32
+ */
33
+ assetStrUnits() {
27
34
  return this.app.getEnumStrList(ProductUnit_1.AssetUnits, unitPrefix);
28
35
  }
29
36
  /**
@@ -19,7 +19,12 @@ export declare class PublicApi extends BaseApi {
19
19
  * Asset units
20
20
  * @returns Result
21
21
  */
22
- assetUnits(): ListType1[];
22
+ assetUnits(): ListType[];
23
+ /**
24
+ * Asset string id units
25
+ * @returns Result
26
+ */
27
+ assetStrUnits(): ListType1[];
23
28
  /**
24
29
  * Base units
25
30
  * @returns Result
@@ -21,6 +21,13 @@ export class PublicApi extends BaseApi {
21
21
  * @returns Result
22
22
  */
23
23
  assetUnits() {
24
+ return this.app.getEnumList(AssetUnits, unitPrefix);
25
+ }
26
+ /**
27
+ * Asset string id units
28
+ * @returns Result
29
+ */
30
+ assetStrUnits() {
24
31
  return this.app.getEnumStrList(AssetUnits, unitPrefix);
25
32
  }
26
33
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@etsoo/appscript",
3
- "version": "1.3.63",
3
+ "version": "1.3.64",
4
4
  "description": "Applications shared TypeScript framework",
5
5
  "main": "lib/cjs/index.js",
6
6
  "module": "lib/mjs/index.js",
@@ -29,6 +29,14 @@ export class PublicApi extends BaseApi {
29
29
  * @returns Result
30
30
  */
31
31
  assetUnits() {
32
+ return this.app.getEnumList(AssetUnits, unitPrefix);
33
+ }
34
+
35
+ /**
36
+ * Asset string id units
37
+ * @returns Result
38
+ */
39
+ assetStrUnits() {
32
40
  return this.app.getEnumStrList(AssetUnits, unitPrefix);
33
41
  }
34
42