@camstack/addon-provider-onvif 1.2.10 → 1.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
|
@@ -18396,6 +18396,22 @@ var TerminalProfileInfoSchema = object({
|
|
|
18396
18396
|
label: string(),
|
|
18397
18397
|
description: string().optional()
|
|
18398
18398
|
});
|
|
18399
|
+
var TerminalOutputEventSchema = discriminatedUnion("kind", [object({
|
|
18400
|
+
seq: number().int().positive(),
|
|
18401
|
+
kind: literal("data"),
|
|
18402
|
+
data: string()
|
|
18403
|
+
}), object({
|
|
18404
|
+
seq: number().int().positive(),
|
|
18405
|
+
kind: literal("exit"),
|
|
18406
|
+
exitCode: number().int(),
|
|
18407
|
+
signal: number().int().optional()
|
|
18408
|
+
})]);
|
|
18409
|
+
var TerminalOutputBatchSchema = object({
|
|
18410
|
+
cursor: number().int().nonnegative(),
|
|
18411
|
+
reset: boolean(),
|
|
18412
|
+
snapshot: string().optional(),
|
|
18413
|
+
events: array(TerminalOutputEventSchema).readonly()
|
|
18414
|
+
});
|
|
18399
18415
|
method(_void(), array(TerminalProfileInfoSchema).readonly(), { auth: "admin" }), method(_void(), array(TerminalSessionInfoSchema).readonly(), { auth: "admin" }), method(object({
|
|
18400
18416
|
profileId: string(),
|
|
18401
18417
|
cols: number().int().positive(),
|
|
@@ -18410,6 +18426,20 @@ method(_void(), array(TerminalProfileInfoSchema).readonly(), { auth: "admin" }),
|
|
|
18410
18426
|
}), _void(), {
|
|
18411
18427
|
kind: "mutation",
|
|
18412
18428
|
auth: "admin"
|
|
18429
|
+
}), method(object({
|
|
18430
|
+
sessionId: string(),
|
|
18431
|
+
afterSeq: number().int().nonnegative(),
|
|
18432
|
+
waitMs: number().int().min(0).max(2e3).default(0)
|
|
18433
|
+
}), TerminalOutputBatchSchema, {
|
|
18434
|
+
kind: "mutation",
|
|
18435
|
+
auth: "admin",
|
|
18436
|
+
timeoutMs: 15e3
|
|
18437
|
+
}), method(object({
|
|
18438
|
+
sessionId: string(),
|
|
18439
|
+
data: string().max(64 * 1024)
|
|
18440
|
+
}), _void(), {
|
|
18441
|
+
kind: "mutation",
|
|
18442
|
+
auth: "admin"
|
|
18413
18443
|
}), method(object({ sessionId: string() }), _void(), {
|
|
18414
18444
|
kind: "mutation",
|
|
18415
18445
|
auth: "admin"
|
|
@@ -29742,12 +29772,24 @@ Object.freeze({
|
|
|
29742
29772
|
addonId: null,
|
|
29743
29773
|
access: "create"
|
|
29744
29774
|
},
|
|
29775
|
+
"terminalSession.pullOutput": {
|
|
29776
|
+
capName: "terminal-session",
|
|
29777
|
+
capScope: "system",
|
|
29778
|
+
addonId: null,
|
|
29779
|
+
access: "create"
|
|
29780
|
+
},
|
|
29745
29781
|
"terminalSession.resize": {
|
|
29746
29782
|
capName: "terminal-session",
|
|
29747
29783
|
capScope: "system",
|
|
29748
29784
|
addonId: null,
|
|
29749
29785
|
access: "create"
|
|
29750
29786
|
},
|
|
29787
|
+
"terminalSession.writeInput": {
|
|
29788
|
+
capName: "terminal-session",
|
|
29789
|
+
capScope: "system",
|
|
29790
|
+
addonId: null,
|
|
29791
|
+
access: "create"
|
|
29792
|
+
},
|
|
29751
29793
|
"toast.onToast": {
|
|
29752
29794
|
capName: "toast",
|
|
29753
29795
|
capScope: "system",
|
package/dist/addon.mjs
CHANGED
|
@@ -18397,6 +18397,22 @@ var TerminalProfileInfoSchema = object({
|
|
|
18397
18397
|
label: string(),
|
|
18398
18398
|
description: string().optional()
|
|
18399
18399
|
});
|
|
18400
|
+
var TerminalOutputEventSchema = discriminatedUnion("kind", [object({
|
|
18401
|
+
seq: number().int().positive(),
|
|
18402
|
+
kind: literal("data"),
|
|
18403
|
+
data: string()
|
|
18404
|
+
}), object({
|
|
18405
|
+
seq: number().int().positive(),
|
|
18406
|
+
kind: literal("exit"),
|
|
18407
|
+
exitCode: number().int(),
|
|
18408
|
+
signal: number().int().optional()
|
|
18409
|
+
})]);
|
|
18410
|
+
var TerminalOutputBatchSchema = object({
|
|
18411
|
+
cursor: number().int().nonnegative(),
|
|
18412
|
+
reset: boolean(),
|
|
18413
|
+
snapshot: string().optional(),
|
|
18414
|
+
events: array(TerminalOutputEventSchema).readonly()
|
|
18415
|
+
});
|
|
18400
18416
|
method(_void(), array(TerminalProfileInfoSchema).readonly(), { auth: "admin" }), method(_void(), array(TerminalSessionInfoSchema).readonly(), { auth: "admin" }), method(object({
|
|
18401
18417
|
profileId: string(),
|
|
18402
18418
|
cols: number().int().positive(),
|
|
@@ -18411,6 +18427,20 @@ method(_void(), array(TerminalProfileInfoSchema).readonly(), { auth: "admin" }),
|
|
|
18411
18427
|
}), _void(), {
|
|
18412
18428
|
kind: "mutation",
|
|
18413
18429
|
auth: "admin"
|
|
18430
|
+
}), method(object({
|
|
18431
|
+
sessionId: string(),
|
|
18432
|
+
afterSeq: number().int().nonnegative(),
|
|
18433
|
+
waitMs: number().int().min(0).max(2e3).default(0)
|
|
18434
|
+
}), TerminalOutputBatchSchema, {
|
|
18435
|
+
kind: "mutation",
|
|
18436
|
+
auth: "admin",
|
|
18437
|
+
timeoutMs: 15e3
|
|
18438
|
+
}), method(object({
|
|
18439
|
+
sessionId: string(),
|
|
18440
|
+
data: string().max(64 * 1024)
|
|
18441
|
+
}), _void(), {
|
|
18442
|
+
kind: "mutation",
|
|
18443
|
+
auth: "admin"
|
|
18414
18444
|
}), method(object({ sessionId: string() }), _void(), {
|
|
18415
18445
|
kind: "mutation",
|
|
18416
18446
|
auth: "admin"
|
|
@@ -29743,12 +29773,24 @@ Object.freeze({
|
|
|
29743
29773
|
addonId: null,
|
|
29744
29774
|
access: "create"
|
|
29745
29775
|
},
|
|
29776
|
+
"terminalSession.pullOutput": {
|
|
29777
|
+
capName: "terminal-session",
|
|
29778
|
+
capScope: "system",
|
|
29779
|
+
addonId: null,
|
|
29780
|
+
access: "create"
|
|
29781
|
+
},
|
|
29746
29782
|
"terminalSession.resize": {
|
|
29747
29783
|
capName: "terminal-session",
|
|
29748
29784
|
capScope: "system",
|
|
29749
29785
|
addonId: null,
|
|
29750
29786
|
access: "create"
|
|
29751
29787
|
},
|
|
29788
|
+
"terminalSession.writeInput": {
|
|
29789
|
+
capName: "terminal-session",
|
|
29790
|
+
capScope: "system",
|
|
29791
|
+
addonId: null,
|
|
29792
|
+
access: "create"
|
|
29793
|
+
},
|
|
29752
29794
|
"toast.onToast": {
|
|
29753
29795
|
capName: "toast",
|
|
29754
29796
|
capScope: "system",
|