@camstack/addon-notifiers 1.2.14 → 1.2.15
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
|
@@ -18439,6 +18439,22 @@ var TerminalProfileInfoSchema = object({
|
|
|
18439
18439
|
label: string(),
|
|
18440
18440
|
description: string().optional()
|
|
18441
18441
|
});
|
|
18442
|
+
var TerminalOutputEventSchema = discriminatedUnion("kind", [object({
|
|
18443
|
+
seq: number().int().positive(),
|
|
18444
|
+
kind: literal("data"),
|
|
18445
|
+
data: string()
|
|
18446
|
+
}), object({
|
|
18447
|
+
seq: number().int().positive(),
|
|
18448
|
+
kind: literal("exit"),
|
|
18449
|
+
exitCode: number().int(),
|
|
18450
|
+
signal: number().int().optional()
|
|
18451
|
+
})]);
|
|
18452
|
+
var TerminalOutputBatchSchema = object({
|
|
18453
|
+
cursor: number().int().nonnegative(),
|
|
18454
|
+
reset: boolean(),
|
|
18455
|
+
snapshot: string().optional(),
|
|
18456
|
+
events: array(TerminalOutputEventSchema).readonly()
|
|
18457
|
+
});
|
|
18442
18458
|
method(_void(), array(TerminalProfileInfoSchema).readonly(), { auth: "admin" }), method(_void(), array(TerminalSessionInfoSchema).readonly(), { auth: "admin" }), method(object({
|
|
18443
18459
|
profileId: string(),
|
|
18444
18460
|
cols: number().int().positive(),
|
|
@@ -18453,6 +18469,20 @@ method(_void(), array(TerminalProfileInfoSchema).readonly(), { auth: "admin" }),
|
|
|
18453
18469
|
}), _void(), {
|
|
18454
18470
|
kind: "mutation",
|
|
18455
18471
|
auth: "admin"
|
|
18472
|
+
}), method(object({
|
|
18473
|
+
sessionId: string(),
|
|
18474
|
+
afterSeq: number().int().nonnegative(),
|
|
18475
|
+
waitMs: number().int().min(0).max(2e3).default(0)
|
|
18476
|
+
}), TerminalOutputBatchSchema, {
|
|
18477
|
+
kind: "mutation",
|
|
18478
|
+
auth: "admin",
|
|
18479
|
+
timeoutMs: 15e3
|
|
18480
|
+
}), method(object({
|
|
18481
|
+
sessionId: string(),
|
|
18482
|
+
data: string().max(64 * 1024)
|
|
18483
|
+
}), _void(), {
|
|
18484
|
+
kind: "mutation",
|
|
18485
|
+
auth: "admin"
|
|
18456
18486
|
}), method(object({ sessionId: string() }), _void(), {
|
|
18457
18487
|
kind: "mutation",
|
|
18458
18488
|
auth: "admin"
|
|
@@ -29334,12 +29364,24 @@ Object.freeze({
|
|
|
29334
29364
|
addonId: null,
|
|
29335
29365
|
access: "create"
|
|
29336
29366
|
},
|
|
29367
|
+
"terminalSession.pullOutput": {
|
|
29368
|
+
capName: "terminal-session",
|
|
29369
|
+
capScope: "system",
|
|
29370
|
+
addonId: null,
|
|
29371
|
+
access: "create"
|
|
29372
|
+
},
|
|
29337
29373
|
"terminalSession.resize": {
|
|
29338
29374
|
capName: "terminal-session",
|
|
29339
29375
|
capScope: "system",
|
|
29340
29376
|
addonId: null,
|
|
29341
29377
|
access: "create"
|
|
29342
29378
|
},
|
|
29379
|
+
"terminalSession.writeInput": {
|
|
29380
|
+
capName: "terminal-session",
|
|
29381
|
+
capScope: "system",
|
|
29382
|
+
addonId: null,
|
|
29383
|
+
access: "create"
|
|
29384
|
+
},
|
|
29343
29385
|
"toast.onToast": {
|
|
29344
29386
|
capName: "toast",
|
|
29345
29387
|
capScope: "system",
|
package/dist/addon.mjs
CHANGED
|
@@ -18412,6 +18412,22 @@ var TerminalProfileInfoSchema = object({
|
|
|
18412
18412
|
label: string(),
|
|
18413
18413
|
description: string().optional()
|
|
18414
18414
|
});
|
|
18415
|
+
var TerminalOutputEventSchema = discriminatedUnion("kind", [object({
|
|
18416
|
+
seq: number().int().positive(),
|
|
18417
|
+
kind: literal("data"),
|
|
18418
|
+
data: string()
|
|
18419
|
+
}), object({
|
|
18420
|
+
seq: number().int().positive(),
|
|
18421
|
+
kind: literal("exit"),
|
|
18422
|
+
exitCode: number().int(),
|
|
18423
|
+
signal: number().int().optional()
|
|
18424
|
+
})]);
|
|
18425
|
+
var TerminalOutputBatchSchema = object({
|
|
18426
|
+
cursor: number().int().nonnegative(),
|
|
18427
|
+
reset: boolean(),
|
|
18428
|
+
snapshot: string().optional(),
|
|
18429
|
+
events: array(TerminalOutputEventSchema).readonly()
|
|
18430
|
+
});
|
|
18415
18431
|
method(_void(), array(TerminalProfileInfoSchema).readonly(), { auth: "admin" }), method(_void(), array(TerminalSessionInfoSchema).readonly(), { auth: "admin" }), method(object({
|
|
18416
18432
|
profileId: string(),
|
|
18417
18433
|
cols: number().int().positive(),
|
|
@@ -18426,6 +18442,20 @@ method(_void(), array(TerminalProfileInfoSchema).readonly(), { auth: "admin" }),
|
|
|
18426
18442
|
}), _void(), {
|
|
18427
18443
|
kind: "mutation",
|
|
18428
18444
|
auth: "admin"
|
|
18445
|
+
}), method(object({
|
|
18446
|
+
sessionId: string(),
|
|
18447
|
+
afterSeq: number().int().nonnegative(),
|
|
18448
|
+
waitMs: number().int().min(0).max(2e3).default(0)
|
|
18449
|
+
}), TerminalOutputBatchSchema, {
|
|
18450
|
+
kind: "mutation",
|
|
18451
|
+
auth: "admin",
|
|
18452
|
+
timeoutMs: 15e3
|
|
18453
|
+
}), method(object({
|
|
18454
|
+
sessionId: string(),
|
|
18455
|
+
data: string().max(64 * 1024)
|
|
18456
|
+
}), _void(), {
|
|
18457
|
+
kind: "mutation",
|
|
18458
|
+
auth: "admin"
|
|
18429
18459
|
}), method(object({ sessionId: string() }), _void(), {
|
|
18430
18460
|
kind: "mutation",
|
|
18431
18461
|
auth: "admin"
|
|
@@ -29307,12 +29337,24 @@ Object.freeze({
|
|
|
29307
29337
|
addonId: null,
|
|
29308
29338
|
access: "create"
|
|
29309
29339
|
},
|
|
29340
|
+
"terminalSession.pullOutput": {
|
|
29341
|
+
capName: "terminal-session",
|
|
29342
|
+
capScope: "system",
|
|
29343
|
+
addonId: null,
|
|
29344
|
+
access: "create"
|
|
29345
|
+
},
|
|
29310
29346
|
"terminalSession.resize": {
|
|
29311
29347
|
capName: "terminal-session",
|
|
29312
29348
|
capScope: "system",
|
|
29313
29349
|
addonId: null,
|
|
29314
29350
|
access: "create"
|
|
29315
29351
|
},
|
|
29352
|
+
"terminalSession.writeInput": {
|
|
29353
|
+
capName: "terminal-session",
|
|
29354
|
+
capScope: "system",
|
|
29355
|
+
addonId: null,
|
|
29356
|
+
access: "create"
|
|
29357
|
+
},
|
|
29316
29358
|
"toast.onToast": {
|
|
29317
29359
|
capName: "toast",
|
|
29318
29360
|
capScope: "system",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@camstack/addon-notifiers",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.15",
|
|
4
4
|
"description": "System notifiers addon for CamStack — a `notification-output` collection provider hosting per-kind notifier adapters (ntfy, pushover, gotify, telegram, discord, webhook, zentik).",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"camstack",
|