@camstack/addon-decoder-nodeav 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/index.js +42 -0
- package/dist/index.mjs +42 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -18381,6 +18381,22 @@ var TerminalProfileInfoSchema = object({
|
|
|
18381
18381
|
label: string(),
|
|
18382
18382
|
description: string().optional()
|
|
18383
18383
|
});
|
|
18384
|
+
var TerminalOutputEventSchema = discriminatedUnion("kind", [object({
|
|
18385
|
+
seq: number().int().positive(),
|
|
18386
|
+
kind: literal("data"),
|
|
18387
|
+
data: string()
|
|
18388
|
+
}), object({
|
|
18389
|
+
seq: number().int().positive(),
|
|
18390
|
+
kind: literal("exit"),
|
|
18391
|
+
exitCode: number().int(),
|
|
18392
|
+
signal: number().int().optional()
|
|
18393
|
+
})]);
|
|
18394
|
+
var TerminalOutputBatchSchema = object({
|
|
18395
|
+
cursor: number().int().nonnegative(),
|
|
18396
|
+
reset: boolean(),
|
|
18397
|
+
snapshot: string().optional(),
|
|
18398
|
+
events: array(TerminalOutputEventSchema).readonly()
|
|
18399
|
+
});
|
|
18384
18400
|
method(_void(), array(TerminalProfileInfoSchema).readonly(), { auth: "admin" }), method(_void(), array(TerminalSessionInfoSchema).readonly(), { auth: "admin" }), method(object({
|
|
18385
18401
|
profileId: string(),
|
|
18386
18402
|
cols: number().int().positive(),
|
|
@@ -18395,6 +18411,20 @@ method(_void(), array(TerminalProfileInfoSchema).readonly(), { auth: "admin" }),
|
|
|
18395
18411
|
}), _void(), {
|
|
18396
18412
|
kind: "mutation",
|
|
18397
18413
|
auth: "admin"
|
|
18414
|
+
}), method(object({
|
|
18415
|
+
sessionId: string(),
|
|
18416
|
+
afterSeq: number().int().nonnegative(),
|
|
18417
|
+
waitMs: number().int().min(0).max(2e3).default(0)
|
|
18418
|
+
}), TerminalOutputBatchSchema, {
|
|
18419
|
+
kind: "mutation",
|
|
18420
|
+
auth: "admin",
|
|
18421
|
+
timeoutMs: 15e3
|
|
18422
|
+
}), method(object({
|
|
18423
|
+
sessionId: string(),
|
|
18424
|
+
data: string().max(64 * 1024)
|
|
18425
|
+
}), _void(), {
|
|
18426
|
+
kind: "mutation",
|
|
18427
|
+
auth: "admin"
|
|
18398
18428
|
}), method(object({ sessionId: string() }), _void(), {
|
|
18399
18429
|
kind: "mutation",
|
|
18400
18430
|
auth: "admin"
|
|
@@ -29276,12 +29306,24 @@ Object.freeze({
|
|
|
29276
29306
|
addonId: null,
|
|
29277
29307
|
access: "create"
|
|
29278
29308
|
},
|
|
29309
|
+
"terminalSession.pullOutput": {
|
|
29310
|
+
capName: "terminal-session",
|
|
29311
|
+
capScope: "system",
|
|
29312
|
+
addonId: null,
|
|
29313
|
+
access: "create"
|
|
29314
|
+
},
|
|
29279
29315
|
"terminalSession.resize": {
|
|
29280
29316
|
capName: "terminal-session",
|
|
29281
29317
|
capScope: "system",
|
|
29282
29318
|
addonId: null,
|
|
29283
29319
|
access: "create"
|
|
29284
29320
|
},
|
|
29321
|
+
"terminalSession.writeInput": {
|
|
29322
|
+
capName: "terminal-session",
|
|
29323
|
+
capScope: "system",
|
|
29324
|
+
addonId: null,
|
|
29325
|
+
access: "create"
|
|
29326
|
+
},
|
|
29285
29327
|
"toast.onToast": {
|
|
29286
29328
|
capName: "toast",
|
|
29287
29329
|
capScope: "system",
|
package/dist/index.mjs
CHANGED
|
@@ -18377,6 +18377,22 @@ var TerminalProfileInfoSchema = object({
|
|
|
18377
18377
|
label: string(),
|
|
18378
18378
|
description: string().optional()
|
|
18379
18379
|
});
|
|
18380
|
+
var TerminalOutputEventSchema = discriminatedUnion("kind", [object({
|
|
18381
|
+
seq: number().int().positive(),
|
|
18382
|
+
kind: literal("data"),
|
|
18383
|
+
data: string()
|
|
18384
|
+
}), object({
|
|
18385
|
+
seq: number().int().positive(),
|
|
18386
|
+
kind: literal("exit"),
|
|
18387
|
+
exitCode: number().int(),
|
|
18388
|
+
signal: number().int().optional()
|
|
18389
|
+
})]);
|
|
18390
|
+
var TerminalOutputBatchSchema = object({
|
|
18391
|
+
cursor: number().int().nonnegative(),
|
|
18392
|
+
reset: boolean(),
|
|
18393
|
+
snapshot: string().optional(),
|
|
18394
|
+
events: array(TerminalOutputEventSchema).readonly()
|
|
18395
|
+
});
|
|
18380
18396
|
method(_void(), array(TerminalProfileInfoSchema).readonly(), { auth: "admin" }), method(_void(), array(TerminalSessionInfoSchema).readonly(), { auth: "admin" }), method(object({
|
|
18381
18397
|
profileId: string(),
|
|
18382
18398
|
cols: number().int().positive(),
|
|
@@ -18391,6 +18407,20 @@ method(_void(), array(TerminalProfileInfoSchema).readonly(), { auth: "admin" }),
|
|
|
18391
18407
|
}), _void(), {
|
|
18392
18408
|
kind: "mutation",
|
|
18393
18409
|
auth: "admin"
|
|
18410
|
+
}), method(object({
|
|
18411
|
+
sessionId: string(),
|
|
18412
|
+
afterSeq: number().int().nonnegative(),
|
|
18413
|
+
waitMs: number().int().min(0).max(2e3).default(0)
|
|
18414
|
+
}), TerminalOutputBatchSchema, {
|
|
18415
|
+
kind: "mutation",
|
|
18416
|
+
auth: "admin",
|
|
18417
|
+
timeoutMs: 15e3
|
|
18418
|
+
}), method(object({
|
|
18419
|
+
sessionId: string(),
|
|
18420
|
+
data: string().max(64 * 1024)
|
|
18421
|
+
}), _void(), {
|
|
18422
|
+
kind: "mutation",
|
|
18423
|
+
auth: "admin"
|
|
18394
18424
|
}), method(object({ sessionId: string() }), _void(), {
|
|
18395
18425
|
kind: "mutation",
|
|
18396
18426
|
auth: "admin"
|
|
@@ -29272,12 +29302,24 @@ Object.freeze({
|
|
|
29272
29302
|
addonId: null,
|
|
29273
29303
|
access: "create"
|
|
29274
29304
|
},
|
|
29305
|
+
"terminalSession.pullOutput": {
|
|
29306
|
+
capName: "terminal-session",
|
|
29307
|
+
capScope: "system",
|
|
29308
|
+
addonId: null,
|
|
29309
|
+
access: "create"
|
|
29310
|
+
},
|
|
29275
29311
|
"terminalSession.resize": {
|
|
29276
29312
|
capName: "terminal-session",
|
|
29277
29313
|
capScope: "system",
|
|
29278
29314
|
addonId: null,
|
|
29279
29315
|
access: "create"
|
|
29280
29316
|
},
|
|
29317
|
+
"terminalSession.writeInput": {
|
|
29318
|
+
capName: "terminal-session",
|
|
29319
|
+
capScope: "system",
|
|
29320
|
+
addonId: null,
|
|
29321
|
+
access: "create"
|
|
29322
|
+
},
|
|
29281
29323
|
"toast.onToast": {
|
|
29282
29324
|
capName: "toast",
|
|
29283
29325
|
capScope: "system",
|