@camstack/addon-provider-reolink 1.2.20 → 1.2.21

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 CHANGED
@@ -18879,6 +18879,22 @@ var TerminalProfileInfoSchema = object({
18879
18879
  label: string(),
18880
18880
  description: string().optional()
18881
18881
  });
18882
+ var TerminalOutputEventSchema = discriminatedUnion("kind", [object({
18883
+ seq: number().int().positive(),
18884
+ kind: literal("data"),
18885
+ data: string()
18886
+ }), object({
18887
+ seq: number().int().positive(),
18888
+ kind: literal("exit"),
18889
+ exitCode: number().int(),
18890
+ signal: number().int().optional()
18891
+ })]);
18892
+ var TerminalOutputBatchSchema = object({
18893
+ cursor: number().int().nonnegative(),
18894
+ reset: boolean(),
18895
+ snapshot: string().optional(),
18896
+ events: array(TerminalOutputEventSchema).readonly()
18897
+ });
18882
18898
  method(_void(), array(TerminalProfileInfoSchema).readonly(), { auth: "admin" }), method(_void(), array(TerminalSessionInfoSchema).readonly(), { auth: "admin" }), method(object({
18883
18899
  profileId: string(),
18884
18900
  cols: number().int().positive(),
@@ -18893,6 +18909,20 @@ method(_void(), array(TerminalProfileInfoSchema).readonly(), { auth: "admin" }),
18893
18909
  }), _void(), {
18894
18910
  kind: "mutation",
18895
18911
  auth: "admin"
18912
+ }), method(object({
18913
+ sessionId: string(),
18914
+ afterSeq: number().int().nonnegative(),
18915
+ waitMs: number().int().min(0).max(2e3).default(0)
18916
+ }), TerminalOutputBatchSchema, {
18917
+ kind: "mutation",
18918
+ auth: "admin",
18919
+ timeoutMs: 15e3
18920
+ }), method(object({
18921
+ sessionId: string(),
18922
+ data: string().max(64 * 1024)
18923
+ }), _void(), {
18924
+ kind: "mutation",
18925
+ auth: "admin"
18896
18926
  }), method(object({ sessionId: string() }), _void(), {
18897
18927
  kind: "mutation",
18898
18928
  auth: "admin"
@@ -32920,12 +32950,24 @@ Object.freeze({
32920
32950
  addonId: null,
32921
32951
  access: "create"
32922
32952
  },
32953
+ "terminalSession.pullOutput": {
32954
+ capName: "terminal-session",
32955
+ capScope: "system",
32956
+ addonId: null,
32957
+ access: "create"
32958
+ },
32923
32959
  "terminalSession.resize": {
32924
32960
  capName: "terminal-session",
32925
32961
  capScope: "system",
32926
32962
  addonId: null,
32927
32963
  access: "create"
32928
32964
  },
32965
+ "terminalSession.writeInput": {
32966
+ capName: "terminal-session",
32967
+ capScope: "system",
32968
+ addonId: null,
32969
+ access: "create"
32970
+ },
32929
32971
  "toast.onToast": {
32930
32972
  capName: "toast",
32931
32973
  capScope: "system",
package/dist/addon.mjs CHANGED
@@ -18874,6 +18874,22 @@ var TerminalProfileInfoSchema = object({
18874
18874
  label: string(),
18875
18875
  description: string().optional()
18876
18876
  });
18877
+ var TerminalOutputEventSchema = discriminatedUnion("kind", [object({
18878
+ seq: number().int().positive(),
18879
+ kind: literal("data"),
18880
+ data: string()
18881
+ }), object({
18882
+ seq: number().int().positive(),
18883
+ kind: literal("exit"),
18884
+ exitCode: number().int(),
18885
+ signal: number().int().optional()
18886
+ })]);
18887
+ var TerminalOutputBatchSchema = object({
18888
+ cursor: number().int().nonnegative(),
18889
+ reset: boolean(),
18890
+ snapshot: string().optional(),
18891
+ events: array(TerminalOutputEventSchema).readonly()
18892
+ });
18877
18893
  method(_void(), array(TerminalProfileInfoSchema).readonly(), { auth: "admin" }), method(_void(), array(TerminalSessionInfoSchema).readonly(), { auth: "admin" }), method(object({
18878
18894
  profileId: string(),
18879
18895
  cols: number().int().positive(),
@@ -18888,6 +18904,20 @@ method(_void(), array(TerminalProfileInfoSchema).readonly(), { auth: "admin" }),
18888
18904
  }), _void(), {
18889
18905
  kind: "mutation",
18890
18906
  auth: "admin"
18907
+ }), method(object({
18908
+ sessionId: string(),
18909
+ afterSeq: number().int().nonnegative(),
18910
+ waitMs: number().int().min(0).max(2e3).default(0)
18911
+ }), TerminalOutputBatchSchema, {
18912
+ kind: "mutation",
18913
+ auth: "admin",
18914
+ timeoutMs: 15e3
18915
+ }), method(object({
18916
+ sessionId: string(),
18917
+ data: string().max(64 * 1024)
18918
+ }), _void(), {
18919
+ kind: "mutation",
18920
+ auth: "admin"
18891
18921
  }), method(object({ sessionId: string() }), _void(), {
18892
18922
  kind: "mutation",
18893
18923
  auth: "admin"
@@ -32915,12 +32945,24 @@ Object.freeze({
32915
32945
  addonId: null,
32916
32946
  access: "create"
32917
32947
  },
32948
+ "terminalSession.pullOutput": {
32949
+ capName: "terminal-session",
32950
+ capScope: "system",
32951
+ addonId: null,
32952
+ access: "create"
32953
+ },
32918
32954
  "terminalSession.resize": {
32919
32955
  capName: "terminal-session",
32920
32956
  capScope: "system",
32921
32957
  addonId: null,
32922
32958
  access: "create"
32923
32959
  },
32960
+ "terminalSession.writeInput": {
32961
+ capName: "terminal-session",
32962
+ capScope: "system",
32963
+ addonId: null,
32964
+ access: "create"
32965
+ },
32924
32966
  "toast.onToast": {
32925
32967
  capName: "toast",
32926
32968
  capScope: "system",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-provider-reolink",
3
- "version": "1.2.20",
3
+ "version": "1.2.21",
4
4
  "description": "Reolink camera device provider addon for CamStack — native Baichuan protocol",
5
5
  "keywords": [
6
6
  "camstack",