@camstack/addon-import-alexa 0.2.10 → 0.2.11
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
|
@@ -18819,6 +18819,22 @@ var TerminalProfileInfoSchema = object({
|
|
|
18819
18819
|
label: string(),
|
|
18820
18820
|
description: string().optional()
|
|
18821
18821
|
});
|
|
18822
|
+
var TerminalOutputEventSchema = discriminatedUnion("kind", [object({
|
|
18823
|
+
seq: number().int().positive(),
|
|
18824
|
+
kind: literal("data"),
|
|
18825
|
+
data: string()
|
|
18826
|
+
}), object({
|
|
18827
|
+
seq: number().int().positive(),
|
|
18828
|
+
kind: literal("exit"),
|
|
18829
|
+
exitCode: number().int(),
|
|
18830
|
+
signal: number().int().optional()
|
|
18831
|
+
})]);
|
|
18832
|
+
var TerminalOutputBatchSchema = object({
|
|
18833
|
+
cursor: number().int().nonnegative(),
|
|
18834
|
+
reset: boolean(),
|
|
18835
|
+
snapshot: string().optional(),
|
|
18836
|
+
events: array(TerminalOutputEventSchema).readonly()
|
|
18837
|
+
});
|
|
18822
18838
|
method(_void(), array(TerminalProfileInfoSchema).readonly(), { auth: "admin" }), method(_void(), array(TerminalSessionInfoSchema).readonly(), { auth: "admin" }), method(object({
|
|
18823
18839
|
profileId: string(),
|
|
18824
18840
|
cols: number().int().positive(),
|
|
@@ -18833,6 +18849,20 @@ method(_void(), array(TerminalProfileInfoSchema).readonly(), { auth: "admin" }),
|
|
|
18833
18849
|
}), _void(), {
|
|
18834
18850
|
kind: "mutation",
|
|
18835
18851
|
auth: "admin"
|
|
18852
|
+
}), method(object({
|
|
18853
|
+
sessionId: string(),
|
|
18854
|
+
afterSeq: number().int().nonnegative(),
|
|
18855
|
+
waitMs: number().int().min(0).max(2e3).default(0)
|
|
18856
|
+
}), TerminalOutputBatchSchema, {
|
|
18857
|
+
kind: "mutation",
|
|
18858
|
+
auth: "admin",
|
|
18859
|
+
timeoutMs: 15e3
|
|
18860
|
+
}), method(object({
|
|
18861
|
+
sessionId: string(),
|
|
18862
|
+
data: string().max(64 * 1024)
|
|
18863
|
+
}), _void(), {
|
|
18864
|
+
kind: "mutation",
|
|
18865
|
+
auth: "admin"
|
|
18836
18866
|
}), method(object({ sessionId: string() }), _void(), {
|
|
18837
18867
|
kind: "mutation",
|
|
18838
18868
|
auth: "admin"
|
|
@@ -32448,12 +32478,24 @@ Object.freeze({
|
|
|
32448
32478
|
addonId: null,
|
|
32449
32479
|
access: "create"
|
|
32450
32480
|
},
|
|
32481
|
+
"terminalSession.pullOutput": {
|
|
32482
|
+
capName: "terminal-session",
|
|
32483
|
+
capScope: "system",
|
|
32484
|
+
addonId: null,
|
|
32485
|
+
access: "create"
|
|
32486
|
+
},
|
|
32451
32487
|
"terminalSession.resize": {
|
|
32452
32488
|
capName: "terminal-session",
|
|
32453
32489
|
capScope: "system",
|
|
32454
32490
|
addonId: null,
|
|
32455
32491
|
access: "create"
|
|
32456
32492
|
},
|
|
32493
|
+
"terminalSession.writeInput": {
|
|
32494
|
+
capName: "terminal-session",
|
|
32495
|
+
capScope: "system",
|
|
32496
|
+
addonId: null,
|
|
32497
|
+
access: "create"
|
|
32498
|
+
},
|
|
32457
32499
|
"toast.onToast": {
|
|
32458
32500
|
capName: "toast",
|
|
32459
32501
|
capScope: "system",
|
package/dist/addon.mjs
CHANGED
|
@@ -18819,6 +18819,22 @@ var TerminalProfileInfoSchema = object({
|
|
|
18819
18819
|
label: string(),
|
|
18820
18820
|
description: string().optional()
|
|
18821
18821
|
});
|
|
18822
|
+
var TerminalOutputEventSchema = discriminatedUnion("kind", [object({
|
|
18823
|
+
seq: number().int().positive(),
|
|
18824
|
+
kind: literal("data"),
|
|
18825
|
+
data: string()
|
|
18826
|
+
}), object({
|
|
18827
|
+
seq: number().int().positive(),
|
|
18828
|
+
kind: literal("exit"),
|
|
18829
|
+
exitCode: number().int(),
|
|
18830
|
+
signal: number().int().optional()
|
|
18831
|
+
})]);
|
|
18832
|
+
var TerminalOutputBatchSchema = object({
|
|
18833
|
+
cursor: number().int().nonnegative(),
|
|
18834
|
+
reset: boolean(),
|
|
18835
|
+
snapshot: string().optional(),
|
|
18836
|
+
events: array(TerminalOutputEventSchema).readonly()
|
|
18837
|
+
});
|
|
18822
18838
|
method(_void(), array(TerminalProfileInfoSchema).readonly(), { auth: "admin" }), method(_void(), array(TerminalSessionInfoSchema).readonly(), { auth: "admin" }), method(object({
|
|
18823
18839
|
profileId: string(),
|
|
18824
18840
|
cols: number().int().positive(),
|
|
@@ -18833,6 +18849,20 @@ method(_void(), array(TerminalProfileInfoSchema).readonly(), { auth: "admin" }),
|
|
|
18833
18849
|
}), _void(), {
|
|
18834
18850
|
kind: "mutation",
|
|
18835
18851
|
auth: "admin"
|
|
18852
|
+
}), method(object({
|
|
18853
|
+
sessionId: string(),
|
|
18854
|
+
afterSeq: number().int().nonnegative(),
|
|
18855
|
+
waitMs: number().int().min(0).max(2e3).default(0)
|
|
18856
|
+
}), TerminalOutputBatchSchema, {
|
|
18857
|
+
kind: "mutation",
|
|
18858
|
+
auth: "admin",
|
|
18859
|
+
timeoutMs: 15e3
|
|
18860
|
+
}), method(object({
|
|
18861
|
+
sessionId: string(),
|
|
18862
|
+
data: string().max(64 * 1024)
|
|
18863
|
+
}), _void(), {
|
|
18864
|
+
kind: "mutation",
|
|
18865
|
+
auth: "admin"
|
|
18836
18866
|
}), method(object({ sessionId: string() }), _void(), {
|
|
18837
18867
|
kind: "mutation",
|
|
18838
18868
|
auth: "admin"
|
|
@@ -32448,12 +32478,24 @@ Object.freeze({
|
|
|
32448
32478
|
addonId: null,
|
|
32449
32479
|
access: "create"
|
|
32450
32480
|
},
|
|
32481
|
+
"terminalSession.pullOutput": {
|
|
32482
|
+
capName: "terminal-session",
|
|
32483
|
+
capScope: "system",
|
|
32484
|
+
addonId: null,
|
|
32485
|
+
access: "create"
|
|
32486
|
+
},
|
|
32451
32487
|
"terminalSession.resize": {
|
|
32452
32488
|
capName: "terminal-session",
|
|
32453
32489
|
capScope: "system",
|
|
32454
32490
|
addonId: null,
|
|
32455
32491
|
access: "create"
|
|
32456
32492
|
},
|
|
32493
|
+
"terminalSession.writeInput": {
|
|
32494
|
+
capName: "terminal-session",
|
|
32495
|
+
capScope: "system",
|
|
32496
|
+
addonId: null,
|
|
32497
|
+
access: "create"
|
|
32498
|
+
},
|
|
32457
32499
|
"toast.onToast": {
|
|
32458
32500
|
capName: "toast",
|
|
32459
32501
|
capScope: "system",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@camstack/addon-import-alexa",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.11",
|
|
4
4
|
"description": "Alexa device-import provider for CamStack — imports the smart-home devices in a user's Alexa account via the unofficial alexa-remote2 cookie/token client (the inverse of the Alexa exporter)",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"camstack",
|