@lingxia/types 0.10.0 → 0.11.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.
Files changed (130) hide show
  1. package/dist/automation/index.d.ts +942 -0
  2. package/dist/automation/index.d.ts.map +1 -0
  3. package/dist/automation/index.js +13 -0
  4. package/dist/automation/index.js.map +1 -0
  5. package/dist/generated/i18n.d.ts +1 -1
  6. package/dist/generated/i18n.d.ts.map +1 -1
  7. package/dist/generated/i18n.js +29 -0
  8. package/dist/generated/i18n.js.map +1 -1
  9. package/dist/generated/logic-web.d.ts +305 -0
  10. package/dist/generated/logic.d.ts +1909 -0
  11. package/dist/generated/logic.d.ts.map +1 -0
  12. package/dist/generated/logic.js +5 -0
  13. package/dist/generated/logic.js.map +1 -0
  14. package/dist/index.d.ts +16 -313
  15. package/dist/index.d.ts.map +1 -1
  16. package/dist/index.js +3 -16
  17. package/dist/index.js.map +1 -1
  18. package/dist/logic-globals.d.ts +1 -0
  19. package/dist/process.d.ts +117 -0
  20. package/dist/process.d.ts.map +1 -0
  21. package/dist/process.js +10 -0
  22. package/dist/process.js.map +1 -0
  23. package/package.json +73 -47
  24. package/src/automation/index.ts +1074 -0
  25. package/src/generated/i18n.ts +29 -0
  26. package/src/generated/logic-web.d.ts +305 -0
  27. package/src/generated/logic.ts +2123 -0
  28. package/src/index.ts +18 -459
  29. package/src/logic-globals.d.ts +1 -0
  30. package/src/process.ts +135 -0
  31. package/dist/app/index.d.ts +0 -328
  32. package/dist/app/index.d.ts.map +0 -1
  33. package/dist/app/index.js +0 -6
  34. package/dist/app/index.js.map +0 -1
  35. package/dist/device/actions.d.ts +0 -7
  36. package/dist/device/actions.d.ts.map +0 -1
  37. package/dist/device/actions.js +0 -6
  38. package/dist/device/actions.js.map +0 -1
  39. package/dist/device/index.d.ts +0 -5
  40. package/dist/device/index.d.ts.map +0 -1
  41. package/dist/device/index.js +0 -21
  42. package/dist/device/index.js.map +0 -1
  43. package/dist/device/info.d.ts +0 -16
  44. package/dist/device/info.d.ts.map +0 -1
  45. package/dist/device/info.js +0 -6
  46. package/dist/device/info.js.map +0 -1
  47. package/dist/device/network.d.ts +0 -12
  48. package/dist/device/network.d.ts.map +0 -1
  49. package/dist/device/network.js +0 -6
  50. package/dist/device/network.js.map +0 -1
  51. package/dist/device/wifi.d.ts +0 -20
  52. package/dist/device/wifi.d.ts.map +0 -1
  53. package/dist/device/wifi.js +0 -6
  54. package/dist/device/wifi.js.map +0 -1
  55. package/dist/display/index.d.ts +0 -8
  56. package/dist/display/index.d.ts.map +0 -1
  57. package/dist/display/index.js +0 -6
  58. package/dist/display/index.js.map +0 -1
  59. package/dist/env/index.d.ts +0 -8
  60. package/dist/env/index.d.ts.map +0 -1
  61. package/dist/env/index.js +0 -6
  62. package/dist/env/index.js.map +0 -1
  63. package/dist/file/index.d.ts +0 -146
  64. package/dist/file/index.d.ts.map +0 -1
  65. package/dist/file/index.js +0 -6
  66. package/dist/file/index.js.map +0 -1
  67. package/dist/input/index.d.ts +0 -18
  68. package/dist/input/index.d.ts.map +0 -1
  69. package/dist/input/index.js +0 -8
  70. package/dist/input/index.js.map +0 -1
  71. package/dist/location/index.d.ts +0 -19
  72. package/dist/location/index.d.ts.map +0 -1
  73. package/dist/location/index.js +0 -6
  74. package/dist/location/index.js.map +0 -1
  75. package/dist/lxapp/index.d.ts +0 -11
  76. package/dist/lxapp/index.d.ts.map +0 -1
  77. package/dist/lxapp/index.js +0 -6
  78. package/dist/lxapp/index.js.map +0 -1
  79. package/dist/media/index.d.ts +0 -372
  80. package/dist/media/index.d.ts.map +0 -1
  81. package/dist/media/index.js +0 -6
  82. package/dist/media/index.js.map +0 -1
  83. package/dist/navigator/index.d.ts +0 -14
  84. package/dist/navigator/index.d.ts.map +0 -1
  85. package/dist/navigator/index.js +0 -6
  86. package/dist/navigator/index.js.map +0 -1
  87. package/dist/share/index.d.ts +0 -90
  88. package/dist/share/index.d.ts.map +0 -1
  89. package/dist/share/index.js +0 -6
  90. package/dist/share/index.js.map +0 -1
  91. package/dist/storage/index.d.ts +0 -13
  92. package/dist/storage/index.d.ts.map +0 -1
  93. package/dist/storage/index.js +0 -6
  94. package/dist/storage/index.js.map +0 -1
  95. package/dist/system/index.d.ts +0 -9
  96. package/dist/system/index.d.ts.map +0 -1
  97. package/dist/system/index.js +0 -6
  98. package/dist/system/index.js.map +0 -1
  99. package/dist/transfer/index.d.ts +0 -166
  100. package/dist/transfer/index.d.ts.map +0 -1
  101. package/dist/transfer/index.js +0 -6
  102. package/dist/transfer/index.js.map +0 -1
  103. package/dist/ui/index.d.ts +0 -134
  104. package/dist/ui/index.d.ts.map +0 -1
  105. package/dist/ui/index.js +0 -6
  106. package/dist/ui/index.js.map +0 -1
  107. package/dist/update/index.d.ts +0 -17
  108. package/dist/update/index.d.ts.map +0 -1
  109. package/dist/update/index.js +0 -6
  110. package/dist/update/index.js.map +0 -1
  111. package/src/app/index.ts +0 -378
  112. package/src/device/actions.ts +0 -7
  113. package/src/device/index.ts +0 -4
  114. package/src/device/info.ts +0 -17
  115. package/src/device/network.ts +0 -23
  116. package/src/device/wifi.ts +0 -23
  117. package/src/display/index.ts +0 -9
  118. package/src/env/index.ts +0 -8
  119. package/src/file/index.ts +0 -171
  120. package/src/input/index.ts +0 -19
  121. package/src/location/index.ts +0 -20
  122. package/src/lxapp/index.ts +0 -12
  123. package/src/media/index.ts +0 -411
  124. package/src/navigator/index.ts +0 -16
  125. package/src/share/index.ts +0 -97
  126. package/src/storage/index.ts +0 -13
  127. package/src/system/index.ts +0 -9
  128. package/src/transfer/index.ts +0 -194
  129. package/src/ui/index.ts +0 -165
  130. package/src/update/index.ts +0 -19
@@ -1,146 +0,0 @@
1
- /**
2
- * File system APIs.
3
- */
4
- export interface OpenFileOptions {
5
- /** Local file path or runtime-managed temp path. */
6
- filePath: string;
7
- /** Optional coarse file type hint such as `pdf`, `docx`, or `xlsx`. */
8
- fileType?: string;
9
- /**
10
- * `auto`: prefer native review, then fall back to external open.
11
- * `review`: require native review UI and reject when unsupported.
12
- * `external`: hand off directly to the system / external app.
13
- */
14
- mode?: 'auto' | 'review' | 'external';
15
- /** Hint for whether the native review UI should expose its action menu when supported. */
16
- showMenu?: boolean;
17
- }
18
- export interface FileDialogFilter {
19
- /** Optional label shown in the native dialog. */
20
- name?: string;
21
- /** Allowed extensions without dots, e.g. ['pdf', 'txt']. */
22
- extensions: string[];
23
- }
24
- export interface ChooseFileOptions {
25
- /** Allow selecting multiple files. Default: false */
26
- multiple?: boolean;
27
- /** Optional file filters. Empty or omitted means all file types. */
28
- filters?: FileDialogFilter[];
29
- /**
30
- * Initial directory the dialog opens in.
31
- *
32
- * When this resolves to an app-local directory, LingXia may use its internal
33
- * file picker. When omitted, the platform system file picker is used.
34
- */
35
- defaultPath?: string;
36
- }
37
- export interface ChooseFileResult {
38
- /** True if the user dismissed the dialog without selecting. */
39
- canceled: boolean;
40
- /**
41
- * File paths returned by LingXia. Values may be app-local paths, `lx://...`
42
- * paths, or platform system-picker references. Treat them as opaque strings
43
- * and pass them back to LingXia APIs such as `lx.share`.
44
- */
45
- paths: string[];
46
- }
47
- export interface ChooseDirectoryOptions {
48
- /** Initial directory the dialog opens in. Platform default if omitted. */
49
- defaultPath?: string;
50
- }
51
- export interface ChooseDirectoryResult {
52
- /** True if the user dismissed the dialog without selecting. */
53
- canceled: boolean;
54
- /** Native-consumable directory reference (path or URI). Undefined when canceled. */
55
- path?: string;
56
- }
57
- export interface ExistsOptions {
58
- path: string;
59
- }
60
- export interface StatOptions {
61
- path: string;
62
- }
63
- export interface FileStats {
64
- isFile: boolean;
65
- isDirectory: boolean;
66
- isSymlink: boolean;
67
- size: number;
68
- lastModifiedTime?: number;
69
- lastAccessedTime?: number;
70
- createTime?: number;
71
- }
72
- export interface ReadDirOptions {
73
- path: string;
74
- }
75
- export interface DirEntry {
76
- name: string;
77
- isFile: boolean;
78
- isDirectory: boolean;
79
- isSymlink: boolean;
80
- }
81
- export interface MkdirOptions {
82
- path: string;
83
- recursive?: boolean;
84
- }
85
- export interface ReadTextFileOptions {
86
- filePath: string;
87
- encoding: 'utf8' | 'base64';
88
- }
89
- export interface ReadBinaryFileOptions {
90
- filePath: string;
91
- encoding?: undefined;
92
- }
93
- export type ReadFileOptions = ReadTextFileOptions | ReadBinaryFileOptions;
94
- export interface ReadTextFileResult {
95
- data: string;
96
- }
97
- export interface ReadBinaryFileResult {
98
- data: ArrayBuffer;
99
- }
100
- export type ReadFileResult = ReadTextFileResult | ReadBinaryFileResult;
101
- export type BinaryFileData = ArrayBuffer | ArrayBufferView;
102
- export interface WriteTextFileOptions {
103
- filePath: string;
104
- data: string;
105
- encoding?: 'utf8' | 'base64';
106
- /** Defaults to false. */
107
- overwrite?: boolean;
108
- }
109
- export interface WriteBinaryFileOptions {
110
- filePath: string;
111
- data: BinaryFileData;
112
- encoding?: never;
113
- /** Defaults to false. */
114
- overwrite?: boolean;
115
- }
116
- export type WriteFileOptions = WriteTextFileOptions | WriteBinaryFileOptions;
117
- export interface CopyFileOptions {
118
- srcPath: string;
119
- destPath: string;
120
- /** Defaults to false. */
121
- overwrite?: boolean;
122
- }
123
- export interface RenameOptions {
124
- oldPath: string;
125
- newPath: string;
126
- /** Defaults to false. */
127
- overwrite?: boolean;
128
- }
129
- export interface RemoveOptions {
130
- path: string;
131
- recursive?: boolean;
132
- }
133
- export interface FileManager {
134
- exists(options: ExistsOptions): Promise<boolean>;
135
- stat(options: StatOptions): Promise<FileStats>;
136
- readDir(options: ReadDirOptions): Promise<AsyncIterableIterator<DirEntry>>;
137
- mkdir(options: MkdirOptions): Promise<void>;
138
- readFile(options: ReadTextFileOptions): Promise<ReadTextFileResult>;
139
- readFile(options: ReadBinaryFileOptions): Promise<ReadBinaryFileResult>;
140
- readFile(options: ReadFileOptions): Promise<ReadFileResult>;
141
- writeFile(options: WriteFileOptions): Promise<void>;
142
- copyFile(options: CopyFileOptions): Promise<void>;
143
- rename(options: RenameOptions): Promise<void>;
144
- remove(options: RemoveOptions): Promise<void>;
145
- }
146
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/file/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,MAAM,WAAW,eAAe;IAC9B,oDAAoD;IACpD,QAAQ,EAAE,MAAM,CAAC;IACjB,uEAAuE;IACvE,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,IAAI,CAAC,EAAE,MAAM,GAAG,QAAQ,GAAG,UAAU,CAAC;IACtC,0FAA0F;IAC1F,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,MAAM,WAAW,gBAAgB;IAC/B,iDAAiD;IACjD,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,4DAA4D;IAC5D,UAAU,EAAE,MAAM,EAAE,CAAC;CACtB;AAED,MAAM,WAAW,iBAAiB;IAChC,qDAAqD;IACrD,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,oEAAoE;IACpE,OAAO,CAAC,EAAE,gBAAgB,EAAE,CAAC;IAC7B;;;;;OAKG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,MAAM,WAAW,gBAAgB;IAC/B,+DAA+D;IAC/D,QAAQ,EAAE,OAAO,CAAC;IAClB;;;;OAIG;IACH,KAAK,EAAE,MAAM,EAAE,CAAC;CACjB;AAED,MAAM,WAAW,sBAAsB;IACrC,0EAA0E;IAC1E,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,MAAM,WAAW,qBAAqB;IACpC,+DAA+D;IAC/D,QAAQ,EAAE,OAAO,CAAC;IAClB,oFAAoF;IACpF,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED,MAAM,WAAW,aAAa;IAC5B,IAAI,EAAE,MAAM,CAAC;CACd;AAED,MAAM,WAAW,WAAW;IAC1B,IAAI,EAAE,MAAM,CAAC;CACd;AAED,MAAM,WAAW,SAAS;IACxB,MAAM,EAAE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O,CAAC,IAAI,CAAC,CAAC;IACpD,QAAQ,CAAC,OAAO,EAAE,eAAe,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAClD,MAAM,CAAC,OAAO,EAAE,aAAa,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAC9C,MAAM,CAAC,OAAO,EAAE,aAAa,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;CAC/C"}
@@ -1,6 +0,0 @@
1
- "use strict";
2
- /**
3
- * File system APIs.
4
- */
5
- Object.defineProperty(exports, "__esModule", { value: true });
6
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/file/index.ts"],"names":[],"mappings":";AAAA;;GAEG"}
@@ -1,18 +0,0 @@
1
- /**
2
- * Input event APIs.
3
- *
4
- * Platform support: Android only
5
- */
6
- export interface KeyEvent {
7
- /** Key value following W3C naming (e.g. "Enter", "ArrowLeft", "a") */
8
- key: string;
9
- /** Physical key code (e.g. "ENTER", "DPAD_LEFT") */
10
- code: string;
11
- altKey?: boolean;
12
- ctrlKey?: boolean;
13
- shiftKey?: boolean;
14
- metaKey?: boolean;
15
- repeat?: boolean;
16
- }
17
- export type KeyEventCallback = (event: KeyEvent) => void;
18
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/input/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,MAAM,WAAW,QAAQ;IACvB,sEAAsE;IACtE,GAAG,EAAE,MAAM,CAAC;IACZ,oDAAoD;IACpD,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB;AAED,MAAM,MAAM,gBAAgB,GAAG,CAAC,KAAK,EAAE,QAAQ,KAAK,IAAI,CAAC"}
@@ -1,8 +0,0 @@
1
- "use strict";
2
- /**
3
- * Input event APIs.
4
- *
5
- * Platform support: Android only
6
- */
7
- Object.defineProperty(exports, "__esModule", { value: true });
8
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/input/index.ts"],"names":[],"mappings":";AAAA;;;;GAIG"}
@@ -1,19 +0,0 @@
1
- /**
2
- * Location APIs.
3
- */
4
- export interface GetLocationOptions {
5
- type?: 'wgs84' | 'gcj02';
6
- altitude?: boolean;
7
- isHighAccuracy?: boolean;
8
- highAccuracyExpireTime?: number;
9
- }
10
- export interface LocationInfo {
11
- latitude: number;
12
- longitude: number;
13
- speed?: number;
14
- accuracy?: number;
15
- altitude?: number;
16
- verticalAccuracy?: number;
17
- horizontalAccuracy?: number;
18
- }
19
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/location/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,MAAM,WAAW,kBAAkB;IACjC,IAAI,CAAC,EAAE,OAAO,GAAG,OAAO,CAAC;IACzB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,sBAAsB,CAAC,EAAE,MAAM,CAAC;CACjC;AAED,MAAM,WAAW,YAAY;IAC3B,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,EAAE,MAAM,CAAC;IAClB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,kBAAkB,CAAC,EAAE,MAAM,CAAC;CAC7B"}
@@ -1,6 +0,0 @@
1
- "use strict";
2
- /**
3
- * Location APIs.
4
- */
5
- Object.defineProperty(exports, "__esModule", { value: true });
6
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/location/index.ts"],"names":[],"mappings":";AAAA;;GAEG"}
@@ -1,11 +0,0 @@
1
- /**
2
- * LxApp metadata APIs.
3
- */
4
- export type LxAppReleaseType = 'release' | 'preview' | 'developer';
5
- export interface LxAppInfo {
6
- appId: string;
7
- appName: string;
8
- version: string;
9
- releaseType: LxAppReleaseType;
10
- }
11
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/lxapp/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,MAAM,MAAM,gBAAgB,GAAG,SAAS,GAAG,SAAS,GAAG,WAAW,CAAC;AAEnE,MAAM,WAAW,SAAS;IACxB,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,MAAM,CAAC;IAChB,WAAW,EAAE,gBAAgB,CAAC;CAC/B"}
@@ -1,6 +0,0 @@
1
- "use strict";
2
- /**
3
- * LxApp metadata APIs.
4
- */
5
- Object.defineProperty(exports, "__esModule", { value: true });
6
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/lxapp/index.ts"],"names":[],"mappings":";AAAA;;GAEG"}
@@ -1,372 +0,0 @@
1
- /**
2
- * Media picker, preview, scan, and file processing APIs.
3
- */
4
- export interface GetImageInfoOptions {
5
- path: string;
6
- }
7
- export interface ImageInfo {
8
- width: number;
9
- height: number;
10
- type: string;
11
- path: string;
12
- }
13
- export interface CompressImageOptions {
14
- path: string;
15
- quality?: number;
16
- compressedWidth?: number;
17
- compressedHeight?: number;
18
- }
19
- export interface CompressImageResult {
20
- tempFilePath: string;
21
- }
22
- export type VideoCompressQuality = 'low' | 'medium' | 'high';
23
- export interface CompressVideoOptions {
24
- /**
25
- * Source video path or `lx://` URI.
26
- */
27
- path: string;
28
- /**
29
- * Cross-platform note: video compression parameters are best-effort and may map to
30
- * native presets instead of exact encoder settings.
31
- *
32
- * Compression quality preset.
33
- * When provided, `bitrate`, `fps`, and `resolution` are ignored.
34
- */
35
- quality?: VideoCompressQuality;
36
- /**
37
- * Preferred target video bitrate in kbps.
38
- * May be adjusted or ignored by platform codec/runtime limitations.
39
- */
40
- bitrate?: number;
41
- /**
42
- * Preferred target frame rate in fps.
43
- * Some platforms may ignore this option.
44
- */
45
- fps?: number;
46
- /**
47
- * Target resolution scale ratio relative to source size, in range `(0, 1]`.
48
- * May be approximated or ignored by platform transcoder capabilities.
49
- */
50
- resolution?: number;
51
- /**
52
- * Optional output path for compressed file.
53
- */
54
- outputPath?: string;
55
- }
56
- export interface CompressVideoResult {
57
- tempFilePath: string;
58
- width: number;
59
- height: number;
60
- durationMs: number;
61
- /**
62
- * Output file size in bytes.
63
- * Could be close to source size when platform falls back to source content.
64
- */
65
- size: number;
66
- type: string;
67
- }
68
- export interface CompressVideoProgressEvent {
69
- /** Transcode progress in percent, `0`-`100`. */
70
- progress: number;
71
- }
72
- export interface CompressVideoIteratorResult {
73
- done: boolean;
74
- value?: CompressVideoProgressEvent;
75
- }
76
- /**
77
- * Handle returned by `lx.compressVideo`.
78
- *
79
- * Awaiting the task resolves with the final {@link CompressVideoResult}.
80
- * Iterating it with `for await` yields {@link CompressVideoProgressEvent}s
81
- * while the transcode runs.
82
- */
83
- export interface CompressVideoTask extends PromiseLike<CompressVideoResult>, AsyncIterable<CompressVideoProgressEvent> {
84
- next(): Promise<CompressVideoIteratorResult>;
85
- /** Stops iteration only. Does not cancel the compression. */
86
- return(): Promise<CompressVideoIteratorResult>;
87
- catch<TResult = never>(onrejected?: ((reason: unknown) => TResult | PromiseLike<TResult>) | null): Promise<CompressVideoResult | TResult>;
88
- finally(onfinally?: (() => void) | null): Promise<CompressVideoResult>;
89
- /**
90
- * Cancels the transcode and deletes any partial output.
91
- * The task promise rejects with an `AbortError` (`code: 'E_ABORT'`).
92
- */
93
- cancel(): void;
94
- wait(): Promise<CompressVideoResult>;
95
- }
96
- export interface GetVideoInfoOptions {
97
- /**
98
- * Video file path or `lx://` URI.
99
- */
100
- path: string;
101
- }
102
- export interface VideoInfo {
103
- /**
104
- * Encoded display width in pixels.
105
- */
106
- width: number;
107
- /**
108
- * Encoded display height in pixels.
109
- */
110
- height: number;
111
- /**
112
- * Video duration in milliseconds.
113
- */
114
- durationMs: number;
115
- /**
116
- * Clockwise rotation in degrees (usually `0 | 90 | 180 | 270`).
117
- */
118
- rotation?: number;
119
- /**
120
- * Average bitrate in bits per second (bps).
121
- */
122
- bitrate?: number;
123
- /**
124
- * Frame rate in frames per second (fps).
125
- */
126
- fps?: number;
127
- /**
128
- * MIME type, e.g. `video/mp4`.
129
- */
130
- type?: string;
131
- /**
132
- * Resolved path used by runtime (typically `lx://...`).
133
- */
134
- path: string;
135
- }
136
- export interface ExtractVideoThumbnailOptions {
137
- /**
138
- * Source video path or `lx://` URI.
139
- */
140
- path: string;
141
- /**
142
- * Optional output image path. If omitted, runtime chooses a temporary path.
143
- */
144
- outputPath?: string;
145
- /**
146
- * Max output width in pixels.
147
- * Optional; when set with/without `maxHeight`, output keeps aspect ratio (no cropping).
148
- */
149
- maxWidth?: number;
150
- /**
151
- * Max output height in pixels.
152
- * Optional; when set with/without `maxWidth`, output keeps aspect ratio (no cropping).
153
- */
154
- maxHeight?: number;
155
- /**
156
- * Target frame time in milliseconds from video start.
157
- * `0` means first frame.
158
- */
159
- timeMs?: number;
160
- /**
161
- * JPEG quality in range `0-100`.
162
- */
163
- quality?: number;
164
- }
165
- export interface ExtractVideoThumbnailResult {
166
- /**
167
- * Generated thumbnail file path.
168
- */
169
- tempFilePath: string;
170
- /**
171
- * Output image width in pixels.
172
- */
173
- width: number;
174
- /**
175
- * Output image height in pixels.
176
- */
177
- height: number;
178
- /**
179
- * Output MIME type, usually `image/jpeg`.
180
- */
181
- type: string;
182
- }
183
- export interface ChooseMediaOptions {
184
- count?: number;
185
- mediaType?: ('image' | 'video')[];
186
- sourceType?: ('album' | 'camera')[];
187
- camera?: 'back' | 'front';
188
- maxDuration?: number;
189
- }
190
- export interface ChosenMediaEntry {
191
- tempFilePath: string;
192
- fileType: 'image' | 'video';
193
- isOriginal: boolean;
194
- }
195
- export type MediaRotation = 0 | 90 | 180 | 270;
196
- export type MediaObjectFit = 'cover' | 'contain' | 'fill' | 'fit';
197
- export interface PreviewMediaSource {
198
- /**
199
- * Media source path.
200
- * Recommended: `lx://` path (for example `lx://usercache/...`) or a sandbox-local path
201
- * that can be resolved by runtime access rules.
202
- */
203
- path: string;
204
- type?: 'image' | 'video';
205
- /**
206
- * Optional clockwise rotation in degrees (`0 | 90 | 180 | 270`).
207
- * Default: when omitted, runtime resolves orientation from media metadata.
208
- */
209
- rotate?: MediaRotation;
210
- /**
211
- * Optional display fit mode for video preview.
212
- * Default: `contain`.
213
- */
214
- objectFit?: MediaObjectFit;
215
- /**
216
- * Display duration in milliseconds.
217
- * Effective when preview `advance` is not `manual`.
218
- */
219
- durationMs?: number;
220
- }
221
- export type PreviewMediaAdvance = 'manual' | 'next' | 'loop';
222
- export interface PreviewMediaSingleOptions extends PreviewMediaSource {
223
- /**
224
- * Auto behavior for the preview session.
225
- *
226
- * - `manual`: never auto-advance
227
- * - `next`: advance to the next item; if already on the last item, close the session
228
- * - `loop`: advance to the next item; if already on the last item, wrap to the first item
229
- *
230
- * Default: `manual`
231
- */
232
- advance?: PreviewMediaAdvance;
233
- /**
234
- * Optional cancellation signal for the preview request.
235
- *
236
- * Aborting rejects the returned promise with a cancellation error and requests the active
237
- * native preview session to close immediately.
238
- */
239
- signal?: AbortSignal;
240
- /**
241
- * Whether to show the top `current/total` indicator.
242
- *
243
- * Default: `true` when previewing multiple items, otherwise `false`.
244
- */
245
- showIndexIndicator?: boolean;
246
- }
247
- export interface PreviewMediaSequenceOptions {
248
- /**
249
- * Preview list. Supports images, videos, or a mixed queue.
250
- */
251
- sources: PreviewMediaSource[];
252
- /**
253
- * Initial item index in `sources`.
254
- * Must be an integer.
255
- * Out-of-range values are clamped by runtime.
256
- * Default: `0`.
257
- */
258
- startIndex?: number;
259
- /**
260
- * Auto behavior for the preview session.
261
- *
262
- * - `manual`: never auto-advance
263
- * - `next`: advance to the next item; if already on the last item, close the session
264
- * - `loop`: advance to the next item; if already on the last item, wrap to the first item
265
- *
266
- * Default: `manual`
267
- */
268
- advance?: PreviewMediaAdvance;
269
- /**
270
- * Optional cancellation signal for the preview request.
271
- *
272
- * Aborting rejects the returned promise with a cancellation error and requests the active
273
- * native preview session to close immediately.
274
- */
275
- signal?: AbortSignal;
276
- /**
277
- * Whether to show the top `current/total` indicator.
278
- *
279
- * Default: `true` when previewing multiple items, otherwise `false`.
280
- */
281
- showIndexIndicator?: boolean;
282
- }
283
- export type PreviewMediaOptions = string | PreviewMediaSingleOptions | PreviewMediaSequenceOptions;
284
- export type PreviewMediaCloseReason = 'manual' | 'completed' | 'interrupted' | 'error';
285
- /**
286
- * The item the user is (or was) looking at, handed back as the caller
287
- * described it — `path` is returned verbatim, so it can be matched against
288
- * the caller's own data without re-indexing an array.
289
- */
290
- export interface PreviewMediaShownSource {
291
- /** The path exactly as passed in the request. */
292
- path: string;
293
- /** Resolved media kind (after extension inference when `type` was omitted). */
294
- type: 'image' | 'video';
295
- }
296
- /** One change-stream event / the `current` snapshot. */
297
- export interface PreviewMediaChange {
298
- index: number;
299
- source: PreviewMediaShownSource;
300
- }
301
- export interface PreviewMediaResult {
302
- /**
303
- * Why the preview session finished.
304
- */
305
- reason: PreviewMediaCloseReason;
306
- /**
307
- * Index of the item on screen when the session closed.
308
- */
309
- index: number;
310
- /**
311
- * The item on screen when the session closed — "what the user just
312
- * viewed/played", without mapping `index` back yourself.
313
- */
314
- source: PreviewMediaShownSource;
315
- }
316
- /**
317
- * Handle returned synchronously from `lx.previewMedia(...)` — synchronous so
318
- * listeners can be attached before the first event fires:
319
- *
320
- * - `presented` resolves once the first pixel of the underlying media has
321
- * been composited to screen. Use this to time the hide of an overlay
322
- * surface above the preview so the swap is seamless. Never rejects;
323
- * resolves with no value when the first frame is up. Safe to ignore.
324
- * - `current` is a live `{ index, source }` snapshot of the item on screen,
325
- * updated as the user swipes and as the session auto-advances.
326
- * - `onChange(listener)` fires for every item change. Returns an
327
- * unsubscribe function.
328
- * - `completed` resolves `{ reason, index, source }` when the preview
329
- * session ends (manual / auto / interrupted / error), or rejects on abort.
330
- *
331
- * If the call was aborted before any frame was presented, `presented` still
332
- * resolves (with no value) once the abort takes effect — it never rejects,
333
- * to keep fire-and-forget usage safe.
334
- *
335
- * @example
336
- * const preview = lx.previewMedia({ sources, startIndex: 2 });
337
- * preview.onChange(({ source }) => markAsViewed(source.path));
338
- * const { reason, source } = await preview.completed;
339
- */
340
- export interface PreviewMediaHandle {
341
- readonly presented: Promise<void>;
342
- readonly current: PreviewMediaChange;
343
- onChange(listener: (change: PreviewMediaChange) => void): () => void;
344
- readonly completed: Promise<PreviewMediaResult>;
345
- }
346
- export interface SaveMediaOptions {
347
- filePath: string;
348
- }
349
- export interface ScanCodeOptions {
350
- onlyFromCamera?: boolean;
351
- scanType?: ('barCode' | 'qrCode' | 'datamatrix' | 'pdf417')[];
352
- }
353
- export interface ScanCodeResult {
354
- scanResult: string;
355
- scanType: string;
356
- }
357
- export interface StreamSourceOptions {
358
- provider: string;
359
- isLive: boolean;
360
- duration?: number;
361
- params?: Record<string, unknown>;
362
- }
363
- export interface VideoContext {
364
- play(): void;
365
- pause(): void;
366
- stop(): void;
367
- seek(position: number): void;
368
- requestFullScreen(): void;
369
- exitFullScreen(): void;
370
- setStreamSource(options: StreamSourceOptions): void;
371
- }
372
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/media/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,MAAM,WAAW,mBAAmB;IAClC,I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I,CAAC,CAAC;IAClC,QAAQ,CAAC,OAAO,EAAE,kBAAkB,CAAC;IACrC,QAAQ,CAAC,QAAQ,EAAE,CAAC,MAAM,EAAE,kBAAkB,KAAK,IAAI,GAAG,MAAM,IAAI,CAAC;IACrE,QAAQ,CAAC,SAAS,EAAE,OAAO,CAAC,kBAAkB,CAAC,CAAC;CACjD;AAED,MAAM,WAAW,gBAAgB;IAC/B,QAAQ,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,WAAW,eAAe;IAC9B,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,QAAQ,CAAC,EAAE,CAAC,SAAS,GAAG,QAAQ,GAAG,YAAY,GAAG,QAAQ,CAAC,EAAE,CAAC;CAC/D;AAED,MAAM,WAAW,cAAc;IAC7B,UAAU,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,WAAW,mBAAmB;IAClC,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,EAAE,OAAO,CAAC;IAChB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,MAAM,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CAClC;AAED,MAAM,WAAW,YAAY;IAC3B,IAAI,IAAI,IAAI,CAAC;IACb,KAAK,IAAI,IAAI,CAAC;IACd,IAAI,IAAI,IAAI,CAAC;IACb,IAAI,CAAC,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,iBAAiB,IAAI,IAAI,CAAC;IAC1B,cAAc,IAAI,IAAI,CAAC;IACvB,eAAe,CAAC,OAAO,EAAE,mBAAmB,GAAG,IAAI,CAAC;CACrD"}
@@ -1,6 +0,0 @@
1
- "use strict";
2
- /**
3
- * Media picker, preview, scan, and file processing APIs.
4
- */
5
- Object.defineProperty(exports, "__esModule", { value: true });
6
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/media/index.ts"],"names":[],"mappings":";AAAA;;GAEG"}
@@ -1,14 +0,0 @@
1
- /**
2
- * LxApp navigator APIs.
3
- */
4
- import type { PageQuery } from '../ui';
5
- export type LxAppEnvVersion = 'release' | 'preview' | 'develop';
6
- export interface NavigateToLxAppOptions {
7
- appId: string;
8
- page?: string;
9
- path?: string;
10
- query?: PageQuery;
11
- envVersion?: LxAppEnvVersion;
12
- targetVersion?: string;
13
- }
14
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/navigator/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,MAAM,MAAM,eAAe,GAAG,SAAS,GAAG,SAAS,GAAG,SAAS,CAAC;AAEhE,MAAM,WAAW,sBAAsB;IACrC,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,UAAU,CAAC,EAAE,eAAe,CAAC;IAC7B,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB"}