@camstack/addon-smtp-nodemailer 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.
@@ -18285,6 +18285,22 @@ var TerminalProfileInfoSchema = object({
18285
18285
  label: string(),
18286
18286
  description: string().optional()
18287
18287
  });
18288
+ var TerminalOutputEventSchema = discriminatedUnion("kind", [object({
18289
+ seq: number().int().positive(),
18290
+ kind: literal("data"),
18291
+ data: string()
18292
+ }), object({
18293
+ seq: number().int().positive(),
18294
+ kind: literal("exit"),
18295
+ exitCode: number().int(),
18296
+ signal: number().int().optional()
18297
+ })]);
18298
+ var TerminalOutputBatchSchema = object({
18299
+ cursor: number().int().nonnegative(),
18300
+ reset: boolean(),
18301
+ snapshot: string().optional(),
18302
+ events: array(TerminalOutputEventSchema).readonly()
18303
+ });
18288
18304
  method(_void(), array(TerminalProfileInfoSchema).readonly(), { auth: "admin" }), method(_void(), array(TerminalSessionInfoSchema).readonly(), { auth: "admin" }), method(object({
18289
18305
  profileId: string(),
18290
18306
  cols: number().int().positive(),
@@ -18299,6 +18315,20 @@ method(_void(), array(TerminalProfileInfoSchema).readonly(), { auth: "admin" }),
18299
18315
  }), _void(), {
18300
18316
  kind: "mutation",
18301
18317
  auth: "admin"
18318
+ }), method(object({
18319
+ sessionId: string(),
18320
+ afterSeq: number().int().nonnegative(),
18321
+ waitMs: number().int().min(0).max(2e3).default(0)
18322
+ }), TerminalOutputBatchSchema, {
18323
+ kind: "mutation",
18324
+ auth: "admin",
18325
+ timeoutMs: 15e3
18326
+ }), method(object({
18327
+ sessionId: string(),
18328
+ data: string().max(64 * 1024)
18329
+ }), _void(), {
18330
+ kind: "mutation",
18331
+ auth: "admin"
18302
18332
  }), method(object({ sessionId: string() }), _void(), {
18303
18333
  kind: "mutation",
18304
18334
  auth: "admin"
@@ -29180,12 +29210,24 @@ Object.freeze({
29180
29210
  addonId: null,
29181
29211
  access: "create"
29182
29212
  },
29213
+ "terminalSession.pullOutput": {
29214
+ capName: "terminal-session",
29215
+ capScope: "system",
29216
+ addonId: null,
29217
+ access: "create"
29218
+ },
29183
29219
  "terminalSession.resize": {
29184
29220
  capName: "terminal-session",
29185
29221
  capScope: "system",
29186
29222
  addonId: null,
29187
29223
  access: "create"
29188
29224
  },
29225
+ "terminalSession.writeInput": {
29226
+ capName: "terminal-session",
29227
+ capScope: "system",
29228
+ addonId: null,
29229
+ access: "create"
29230
+ },
29189
29231
  "toast.onToast": {
29190
29232
  capName: "toast",
29191
29233
  capScope: "system",
@@ -18283,6 +18283,22 @@ var TerminalProfileInfoSchema = object({
18283
18283
  label: string(),
18284
18284
  description: string().optional()
18285
18285
  });
18286
+ var TerminalOutputEventSchema = discriminatedUnion("kind", [object({
18287
+ seq: number().int().positive(),
18288
+ kind: literal("data"),
18289
+ data: string()
18290
+ }), object({
18291
+ seq: number().int().positive(),
18292
+ kind: literal("exit"),
18293
+ exitCode: number().int(),
18294
+ signal: number().int().optional()
18295
+ })]);
18296
+ var TerminalOutputBatchSchema = object({
18297
+ cursor: number().int().nonnegative(),
18298
+ reset: boolean(),
18299
+ snapshot: string().optional(),
18300
+ events: array(TerminalOutputEventSchema).readonly()
18301
+ });
18286
18302
  method(_void(), array(TerminalProfileInfoSchema).readonly(), { auth: "admin" }), method(_void(), array(TerminalSessionInfoSchema).readonly(), { auth: "admin" }), method(object({
18287
18303
  profileId: string(),
18288
18304
  cols: number().int().positive(),
@@ -18297,6 +18313,20 @@ method(_void(), array(TerminalProfileInfoSchema).readonly(), { auth: "admin" }),
18297
18313
  }), _void(), {
18298
18314
  kind: "mutation",
18299
18315
  auth: "admin"
18316
+ }), method(object({
18317
+ sessionId: string(),
18318
+ afterSeq: number().int().nonnegative(),
18319
+ waitMs: number().int().min(0).max(2e3).default(0)
18320
+ }), TerminalOutputBatchSchema, {
18321
+ kind: "mutation",
18322
+ auth: "admin",
18323
+ timeoutMs: 15e3
18324
+ }), method(object({
18325
+ sessionId: string(),
18326
+ data: string().max(64 * 1024)
18327
+ }), _void(), {
18328
+ kind: "mutation",
18329
+ auth: "admin"
18300
18330
  }), method(object({ sessionId: string() }), _void(), {
18301
18331
  kind: "mutation",
18302
18332
  auth: "admin"
@@ -29178,12 +29208,24 @@ Object.freeze({
29178
29208
  addonId: null,
29179
29209
  access: "create"
29180
29210
  },
29211
+ "terminalSession.pullOutput": {
29212
+ capName: "terminal-session",
29213
+ capScope: "system",
29214
+ addonId: null,
29215
+ access: "create"
29216
+ },
29181
29217
  "terminalSession.resize": {
29182
29218
  capName: "terminal-session",
29183
29219
  capScope: "system",
29184
29220
  addonId: null,
29185
29221
  access: "create"
29186
29222
  },
29223
+ "terminalSession.writeInput": {
29224
+ capName: "terminal-session",
29225
+ capScope: "system",
29226
+ addonId: null,
29227
+ access: "create"
29228
+ },
29187
29229
  "toast.onToast": {
29188
29230
  capName: "toast",
29189
29231
  capScope: "system",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-smtp-nodemailer",
3
- "version": "1.2.10",
3
+ "version": "1.2.11",
4
4
  "description": "SMTP email provider addon for CamStack — wraps `nodemailer` and registers a `smtp-provider` cap collection entry. Used by magic-link login + notifier addons.",
5
5
  "keywords": [
6
6
  "camstack",