@camstack/types 1.2.250 → 1.2.252
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/addon.js +1 -1
- package/dist/addon.mjs +1 -1
- package/dist/capabilities/device-manager.cap.d.ts +19 -0
- package/dist/capabilities/index.d.ts +2 -2
- package/dist/capabilities/network-quality.cap.d.ts +10 -0
- package/dist/capabilities/notification-output.cap.d.ts +2 -0
- package/dist/capabilities/notification-rules.cap.d.ts +23 -0
- package/dist/capabilities/osd-manager.cap.d.ts +6 -0
- package/dist/capabilities/settings-store.cap.d.ts +10 -0
- package/dist/capabilities/webrtc-session.cap.d.ts +129 -0
- package/dist/generated/addon-api.d.ts +7 -0
- package/dist/generated/method-access-map.d.ts +1 -1
- package/dist/generated/system-proxy.d.ts +1 -1
- package/dist/index.js +332 -51
- package/dist/index.mjs +329 -52
- package/dist/interfaces/network-quality.d.ts +4 -0
- package/dist/{sleep-CvwUEq16.js → sleep-BAgDk7I9.js} +8 -2
- package/dist/{sleep-pM_J7YnY.mjs → sleep-D_4W7xuQ.mjs} +8 -2
- package/package.json +1 -1
|
@@ -17,6 +17,10 @@ export interface ClientNetworkStats {
|
|
|
17
17
|
* inducing real RTCP loss.
|
|
18
18
|
*/
|
|
19
19
|
readonly packetLossPercent: number;
|
|
20
|
+
/** Latest `/adaptive-probe` reading, Mbps, whatever it read (D635 I4); absent = unknown. */
|
|
21
|
+
readonly downlinkMbps?: number;
|
|
22
|
+
/** Age of that reading when the report was sent, ms. */
|
|
23
|
+
readonly downlinkAgeMs?: number;
|
|
20
24
|
readonly lastUpdated: number;
|
|
21
25
|
}
|
|
22
26
|
export interface DeviceNetworkStats {
|
|
@@ -3075,7 +3075,10 @@ var deviceOpsCapability = {
|
|
|
3075
3075
|
setConfig: method(zod.z.object({
|
|
3076
3076
|
deviceId: zod.z.number(),
|
|
3077
3077
|
values: zod.z.record(zod.z.string(), zod.z.unknown())
|
|
3078
|
-
}), zod.z.void(), {
|
|
3078
|
+
}), zod.z.void(), {
|
|
3079
|
+
kind: "mutation",
|
|
3080
|
+
auth: "admin"
|
|
3081
|
+
}),
|
|
3079
3082
|
/**
|
|
3080
3083
|
* Invoke a device custom action on a forked/remote device (the
|
|
3081
3084
|
* cross-process transport for `IDevice.runDeviceAction`). Mirrors
|
|
@@ -3092,7 +3095,10 @@ var deviceOpsCapability = {
|
|
|
3092
3095
|
* (close sockets, stop background tasks, …). The device-manager still
|
|
3093
3096
|
* performs its own persistence cleanup before/after this call.
|
|
3094
3097
|
*/
|
|
3095
|
-
removeDevice: method(zod.z.object({ deviceId: zod.z.number() }), zod.z.void(), {
|
|
3098
|
+
removeDevice: method(zod.z.object({ deviceId: zod.z.number() }), zod.z.void(), {
|
|
3099
|
+
kind: "mutation",
|
|
3100
|
+
auth: "admin"
|
|
3101
|
+
}),
|
|
3096
3102
|
/**
|
|
3097
3103
|
* Build the ConfigUISchema (FormBuilder input shape) from the device's
|
|
3098
3104
|
* Zod config schema. Runs on the worker that owns the IDevice so the
|
|
@@ -3075,7 +3075,10 @@ var deviceOpsCapability = {
|
|
|
3075
3075
|
setConfig: method(z.object({
|
|
3076
3076
|
deviceId: z.number(),
|
|
3077
3077
|
values: z.record(z.string(), z.unknown())
|
|
3078
|
-
}), z.void(), {
|
|
3078
|
+
}), z.void(), {
|
|
3079
|
+
kind: "mutation",
|
|
3080
|
+
auth: "admin"
|
|
3081
|
+
}),
|
|
3079
3082
|
/**
|
|
3080
3083
|
* Invoke a device custom action on a forked/remote device (the
|
|
3081
3084
|
* cross-process transport for `IDevice.runDeviceAction`). Mirrors
|
|
@@ -3092,7 +3095,10 @@ var deviceOpsCapability = {
|
|
|
3092
3095
|
* (close sockets, stop background tasks, …). The device-manager still
|
|
3093
3096
|
* performs its own persistence cleanup before/after this call.
|
|
3094
3097
|
*/
|
|
3095
|
-
removeDevice: method(z.object({ deviceId: z.number() }), z.void(), {
|
|
3098
|
+
removeDevice: method(z.object({ deviceId: z.number() }), z.void(), {
|
|
3099
|
+
kind: "mutation",
|
|
3100
|
+
auth: "admin"
|
|
3101
|
+
}),
|
|
3096
3102
|
/**
|
|
3097
3103
|
* Build the ConfigUISchema (FormBuilder input shape) from the device's
|
|
3098
3104
|
* Zod config schema. Runs on the worker that owns the IDevice so the
|