@tuya-sat/micro-utils 2.2.14 → 2.2.18

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.
@@ -2,6 +2,7 @@ export interface Privilege {
2
2
  name: string;
3
3
  code: string;
4
4
  }
5
+ export declare type MICRO_FRAMEWORKS_TYPE = "REACT_TS" | "REACT_JS" | "VUE_TS" | "VUE_JS";
5
6
  export interface Manifest {
6
7
  name: string;
7
8
  defaultMenuIcon: {
@@ -20,6 +21,10 @@ export interface Manifest {
20
21
  universalId: string;
21
22
  supportedPlatform: ["MOBILE" | "DESKTOP"];
22
23
  privileges: Privilege[];
24
+ annotations: {
25
+ ["sdf.cli:microFramework"]: MICRO_FRAMEWORKS_TYPE;
26
+ ["sdf.feat:theme"]?: true;
27
+ };
23
28
  }
24
29
  export declare function parseManifest(): Manifest;
25
30
  export declare function isMobile(): boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tuya-sat/micro-utils",
3
- "version": "2.2.14",
3
+ "version": "2.2.18",
4
4
  "type": "commonjs",
5
5
  "license": "MIT",
6
6
  "main": "dist/index.js",