@mega-yfue/eufy-sdk 0.6.0-beta.11 → 0.6.0-beta.13
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.
|
@@ -34,9 +34,9 @@ export declare const MOWER_DP: {
|
|
|
34
34
|
readonly SPARSE_LAWN_OPTIMIZATION: 141;
|
|
35
35
|
};
|
|
36
36
|
/** The `net_media_type` (DP 134) range, as the schema lists it. */
|
|
37
|
-
|
|
37
|
+
declare const MOWER_NETWORKS: readonly ["None", "Wifi", "Cellular"];
|
|
38
38
|
/** The mower's network link (DP 134). */
|
|
39
|
-
|
|
39
|
+
type MowerNetwork = (typeof MOWER_NETWORKS)[number];
|
|
40
40
|
/**
|
|
41
41
|
* Every `mower` read, declared once.
|
|
42
42
|
*
|
|
@@ -228,3 +228,4 @@ export declare const MOWER_MEMBERS: {
|
|
|
228
228
|
export type MowerActions = Surface<typeof MOWER_MEMBERS>;
|
|
229
229
|
/** `mower` — robot-mower state from its Tuya data points. */
|
|
230
230
|
export declare const MOWER: CapabilityModule;
|
|
231
|
+
export {};
|
|
@@ -14,10 +14,10 @@ export interface RecordingFrame {
|
|
|
14
14
|
raw: Buffer;
|
|
15
15
|
}
|
|
16
16
|
/**
|
|
17
|
-
* The path a HomeBase 2 stores a camera's recording under: the
|
|
18
|
-
*
|
|
19
|
-
*
|
|
20
|
-
*
|
|
17
|
+
* The path a HomeBase 2 stores a camera's recording under: the channel as two digits, then the recording's
|
|
18
|
+
* name as `yyyyMMddHHmmss` or `h265_yyyyMMddHHmmss`. Answers `undefined` for any other name, and for a channel
|
|
19
|
+
* outside `0`–`99`. Both forms are digits behind one fixed prefix, so the anchored test lets no `..`, slash or
|
|
20
|
+
* other character that could reach another path on the station through.
|
|
21
21
|
*/
|
|
22
22
|
export declare function homeBase2RecordingPath(channel: number, recording: string): string | undefined;
|
|
23
23
|
/** One recording transfer on a station session. */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mega-yfue/eufy-sdk",
|
|
3
|
-
"version": "0.6.0-beta.
|
|
3
|
+
"version": "0.6.0-beta.13",
|
|
4
4
|
"description": "One typed TypeScript client for the Anker eufy v6 cloud — capability-driven devices, realtime events over P2P/MQTT/push, and live media",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": "mega-yfue",
|