@camstack/addon-provider-dreo 0.2.11 → 0.2.12
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 +42 -0
- package/dist/addon.mjs +42 -0
- package/package.json +1 -1
package/dist/addon.js
CHANGED
|
@@ -18615,6 +18615,22 @@ var TerminalProfileInfoSchema = object({
|
|
|
18615
18615
|
label: string(),
|
|
18616
18616
|
description: string().optional()
|
|
18617
18617
|
});
|
|
18618
|
+
var TerminalOutputEventSchema = discriminatedUnion("kind", [object({
|
|
18619
|
+
seq: number().int().positive(),
|
|
18620
|
+
kind: literal("data"),
|
|
18621
|
+
data: string()
|
|
18622
|
+
}), object({
|
|
18623
|
+
seq: number().int().positive(),
|
|
18624
|
+
kind: literal("exit"),
|
|
18625
|
+
exitCode: number().int(),
|
|
18626
|
+
signal: number().int().optional()
|
|
18627
|
+
})]);
|
|
18628
|
+
var TerminalOutputBatchSchema = object({
|
|
18629
|
+
cursor: number().int().nonnegative(),
|
|
18630
|
+
reset: boolean(),
|
|
18631
|
+
snapshot: string().optional(),
|
|
18632
|
+
events: array(TerminalOutputEventSchema).readonly()
|
|
18633
|
+
});
|
|
18618
18634
|
method(_void(), array(TerminalProfileInfoSchema).readonly(), { auth: "admin" }), method(_void(), array(TerminalSessionInfoSchema).readonly(), { auth: "admin" }), method(object({
|
|
18619
18635
|
profileId: string(),
|
|
18620
18636
|
cols: number().int().positive(),
|
|
@@ -18629,6 +18645,20 @@ method(_void(), array(TerminalProfileInfoSchema).readonly(), { auth: "admin" }),
|
|
|
18629
18645
|
}), _void(), {
|
|
18630
18646
|
kind: "mutation",
|
|
18631
18647
|
auth: "admin"
|
|
18648
|
+
}), method(object({
|
|
18649
|
+
sessionId: string(),
|
|
18650
|
+
afterSeq: number().int().nonnegative(),
|
|
18651
|
+
waitMs: number().int().min(0).max(2e3).default(0)
|
|
18652
|
+
}), TerminalOutputBatchSchema, {
|
|
18653
|
+
kind: "mutation",
|
|
18654
|
+
auth: "admin",
|
|
18655
|
+
timeoutMs: 15e3
|
|
18656
|
+
}), method(object({
|
|
18657
|
+
sessionId: string(),
|
|
18658
|
+
data: string().max(64 * 1024)
|
|
18659
|
+
}), _void(), {
|
|
18660
|
+
kind: "mutation",
|
|
18661
|
+
auth: "admin"
|
|
18632
18662
|
}), method(object({ sessionId: string() }), _void(), {
|
|
18633
18663
|
kind: "mutation",
|
|
18634
18664
|
auth: "admin"
|
|
@@ -32235,12 +32265,24 @@ Object.freeze({
|
|
|
32235
32265
|
addonId: null,
|
|
32236
32266
|
access: "create"
|
|
32237
32267
|
},
|
|
32268
|
+
"terminalSession.pullOutput": {
|
|
32269
|
+
capName: "terminal-session",
|
|
32270
|
+
capScope: "system",
|
|
32271
|
+
addonId: null,
|
|
32272
|
+
access: "create"
|
|
32273
|
+
},
|
|
32238
32274
|
"terminalSession.resize": {
|
|
32239
32275
|
capName: "terminal-session",
|
|
32240
32276
|
capScope: "system",
|
|
32241
32277
|
addonId: null,
|
|
32242
32278
|
access: "create"
|
|
32243
32279
|
},
|
|
32280
|
+
"terminalSession.writeInput": {
|
|
32281
|
+
capName: "terminal-session",
|
|
32282
|
+
capScope: "system",
|
|
32283
|
+
addonId: null,
|
|
32284
|
+
access: "create"
|
|
32285
|
+
},
|
|
32244
32286
|
"toast.onToast": {
|
|
32245
32287
|
capName: "toast",
|
|
32246
32288
|
capScope: "system",
|
package/dist/addon.mjs
CHANGED
|
@@ -18616,6 +18616,22 @@ var TerminalProfileInfoSchema = object({
|
|
|
18616
18616
|
label: string(),
|
|
18617
18617
|
description: string().optional()
|
|
18618
18618
|
});
|
|
18619
|
+
var TerminalOutputEventSchema = discriminatedUnion("kind", [object({
|
|
18620
|
+
seq: number().int().positive(),
|
|
18621
|
+
kind: literal("data"),
|
|
18622
|
+
data: string()
|
|
18623
|
+
}), object({
|
|
18624
|
+
seq: number().int().positive(),
|
|
18625
|
+
kind: literal("exit"),
|
|
18626
|
+
exitCode: number().int(),
|
|
18627
|
+
signal: number().int().optional()
|
|
18628
|
+
})]);
|
|
18629
|
+
var TerminalOutputBatchSchema = object({
|
|
18630
|
+
cursor: number().int().nonnegative(),
|
|
18631
|
+
reset: boolean(),
|
|
18632
|
+
snapshot: string().optional(),
|
|
18633
|
+
events: array(TerminalOutputEventSchema).readonly()
|
|
18634
|
+
});
|
|
18619
18635
|
method(_void(), array(TerminalProfileInfoSchema).readonly(), { auth: "admin" }), method(_void(), array(TerminalSessionInfoSchema).readonly(), { auth: "admin" }), method(object({
|
|
18620
18636
|
profileId: string(),
|
|
18621
18637
|
cols: number().int().positive(),
|
|
@@ -18630,6 +18646,20 @@ method(_void(), array(TerminalProfileInfoSchema).readonly(), { auth: "admin" }),
|
|
|
18630
18646
|
}), _void(), {
|
|
18631
18647
|
kind: "mutation",
|
|
18632
18648
|
auth: "admin"
|
|
18649
|
+
}), method(object({
|
|
18650
|
+
sessionId: string(),
|
|
18651
|
+
afterSeq: number().int().nonnegative(),
|
|
18652
|
+
waitMs: number().int().min(0).max(2e3).default(0)
|
|
18653
|
+
}), TerminalOutputBatchSchema, {
|
|
18654
|
+
kind: "mutation",
|
|
18655
|
+
auth: "admin",
|
|
18656
|
+
timeoutMs: 15e3
|
|
18657
|
+
}), method(object({
|
|
18658
|
+
sessionId: string(),
|
|
18659
|
+
data: string().max(64 * 1024)
|
|
18660
|
+
}), _void(), {
|
|
18661
|
+
kind: "mutation",
|
|
18662
|
+
auth: "admin"
|
|
18633
18663
|
}), method(object({ sessionId: string() }), _void(), {
|
|
18634
18664
|
kind: "mutation",
|
|
18635
18665
|
auth: "admin"
|
|
@@ -32236,12 +32266,24 @@ Object.freeze({
|
|
|
32236
32266
|
addonId: null,
|
|
32237
32267
|
access: "create"
|
|
32238
32268
|
},
|
|
32269
|
+
"terminalSession.pullOutput": {
|
|
32270
|
+
capName: "terminal-session",
|
|
32271
|
+
capScope: "system",
|
|
32272
|
+
addonId: null,
|
|
32273
|
+
access: "create"
|
|
32274
|
+
},
|
|
32239
32275
|
"terminalSession.resize": {
|
|
32240
32276
|
capName: "terminal-session",
|
|
32241
32277
|
capScope: "system",
|
|
32242
32278
|
addonId: null,
|
|
32243
32279
|
access: "create"
|
|
32244
32280
|
},
|
|
32281
|
+
"terminalSession.writeInput": {
|
|
32282
|
+
capName: "terminal-session",
|
|
32283
|
+
capScope: "system",
|
|
32284
|
+
addonId: null,
|
|
32285
|
+
access: "create"
|
|
32286
|
+
},
|
|
32245
32287
|
"toast.onToast": {
|
|
32246
32288
|
capName: "toast",
|
|
32247
32289
|
capScope: "system",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@camstack/addon-provider-dreo",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.12",
|
|
4
4
|
"description": "Dreo smart-device (fan / air-circulator / purifier / heater / humidifier) device-provider addon for CamStack — wraps the @apocaliss92/nodedreo Dreo cloud client (REST + WebSocket)",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"camstack",
|