@tui-sandbox/library 10.2.2 → 10.2.3

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.
@@ -3,7 +3,7 @@
3
3
  <head>
4
4
  <meta charset="UTF-8" />
5
5
  <title>tui-sandbox integration tests</title>
6
- <script type="module" crossorigin src="/assets/index-0VekcGVw.js"></script>
6
+ <script type="module" crossorigin src="/assets/index-dlAbCuMv.js"></script>
7
7
  <link rel="stylesheet" crossorigin href="/assets/index-D6fBrqAi.css">
8
8
  </head>
9
9
  <body>
@@ -6,13 +6,13 @@ export declare const blockingCommandInputSchema: z.ZodObject<{
6
6
  shell: z.ZodOptional<z.ZodString>;
7
7
  tabId: z.ZodObject<{
8
8
  tabId: z.ZodString;
9
- }, {}>;
9
+ }, {}, {}>;
10
10
  allowFailure: z.ZodOptional<z.ZodBoolean>;
11
11
  cwd: z.ZodOptional<z.ZodString>;
12
12
  cwdRelative: z.ZodOptional<z.ZodString>;
13
13
  envOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
14
14
  uid: z.ZodOptional<z.ZodNumber>;
15
15
  gid: z.ZodOptional<z.ZodNumber>;
16
- }, {}>;
16
+ }, {}, {}>;
17
17
  export type BlockingCommandClientInput = Except<BlockingCommandInput, "tabId">;
18
18
  export type BlockingCommandInput = z.infer<typeof blockingCommandInputSchema>;
@@ -6,26 +6,26 @@ import type { DirectoriesConfig, TestServerConfig } from "./updateTestdirectoryS
6
6
  declare const luaCodeInputSchema: z.ZodObject<{
7
7
  tabId: z.ZodObject<{
8
8
  tabId: z.ZodString;
9
- }, {}>;
9
+ }, {}, {}>;
10
10
  luaCode: z.ZodString;
11
- }, {}>;
11
+ }, {}, {}>;
12
12
  export type LuaCodeClientInput = Except<LuaCodeInput, "tabId">;
13
13
  export type LuaCodeInput = z.infer<typeof luaCodeInputSchema>;
14
14
  declare const pollLuaCodeInputSchema: z.ZodObject<{
15
15
  tabId: z.ZodObject<{
16
16
  tabId: z.ZodString;
17
- }, {}>;
17
+ }, {}, {}>;
18
18
  luaAssertion: z.ZodString;
19
19
  timeoutMs: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
20
- }, {}>;
20
+ }, {}, {}>;
21
21
  export type PollLuaCodeClientInput = Except<z.input<typeof pollLuaCodeInputSchema>, "tabId">;
22
22
  declare const exCommandInputSchema: z.ZodObject<{
23
23
  tabId: z.ZodObject<{
24
24
  tabId: z.ZodString;
25
- }, {}>;
25
+ }, {}, {}>;
26
26
  command: z.ZodString;
27
27
  log: z.ZodOptional<z.ZodBoolean>;
28
- }, {}>;
28
+ }, {}, {}>;
29
29
  export type ExCommandClientInput = Except<ExCommandInput, "tabId">;
30
30
  export type ExCommandInput = z.infer<typeof exCommandInputSchema>;
31
31
  /** @private */
@@ -55,12 +55,12 @@ export declare function createAppRouter(config: DirectoriesConfig): Promise<impo
55
55
  tabId: string;
56
56
  };
57
57
  startTerminalArguments: {
58
- additionalEnvironmentVariables?: Record<string, string> | undefined;
59
58
  commandToRun: string[];
60
59
  terminalDimensions: {
61
60
  cols: number;
62
61
  rows: number;
63
62
  };
63
+ additionalEnvironmentVariables?: Record<string, string> | undefined;
64
64
  };
65
65
  };
66
66
  output: void;
@@ -76,6 +76,10 @@ export declare function createAppRouter(config: DirectoriesConfig): Promise<impo
76
76
  }>;
77
77
  runBlockingShellCommand: import("@trpc/server").TRPCMutationProcedure<{
78
78
  input: {
79
+ command: string;
80
+ tabId: {
81
+ tabId: string;
82
+ };
79
83
  shell?: string | undefined;
80
84
  allowFailure?: boolean | undefined;
81
85
  cwd?: string | undefined;
@@ -83,10 +87,6 @@ export declare function createAppRouter(config: DirectoriesConfig): Promise<impo
83
87
  envOverrides?: Record<string, string> | undefined;
84
88
  uid?: number | undefined;
85
89
  gid?: number | undefined;
86
- tabId: {
87
- tabId: string;
88
- };
89
- command: string;
90
90
  };
91
91
  output: import("./types.js").BlockingShellCommandOutput;
92
92
  }>;
@@ -103,15 +103,15 @@ export declare function createAppRouter(config: DirectoriesConfig): Promise<impo
103
103
  tabId: string;
104
104
  };
105
105
  startNeovimArguments: {
106
- additionalEnvironmentVariables?: Record<string, string> | undefined;
107
- startupScriptModifications?: string[] | undefined;
106
+ filename: string | {
107
+ openInVerticalSplits: string[];
108
+ };
108
109
  terminalDimensions: {
109
110
  cols: number;
110
111
  rows: number;
111
112
  };
112
- filename: string | {
113
- openInVerticalSplits: string[];
114
- };
113
+ startupScriptModifications?: string[] | undefined;
114
+ additionalEnvironmentVariables?: Record<string, string> | undefined;
115
115
  };
116
116
  };
117
117
  output: import("./types.js").TestDirectory;
@@ -143,6 +143,10 @@ export declare function createAppRouter(config: DirectoriesConfig): Promise<impo
143
143
  }>;
144
144
  runBlockingShellCommand: import("@trpc/server").TRPCMutationProcedure<{
145
145
  input: {
146
+ command: string;
147
+ tabId: {
148
+ tabId: string;
149
+ };
146
150
  shell?: string | undefined;
147
151
  allowFailure?: boolean | undefined;
148
152
  cwd?: string | undefined;
@@ -150,10 +154,6 @@ export declare function createAppRouter(config: DirectoriesConfig): Promise<impo
150
154
  envOverrides?: Record<string, string> | undefined;
151
155
  uid?: number | undefined;
152
156
  gid?: number | undefined;
153
- tabId: {
154
- tabId: string;
155
- };
156
- command: string;
157
157
  };
158
158
  output: import("./types.js").BlockingShellCommandOutput;
159
159
  }>;
@@ -168,21 +168,21 @@ export declare function createAppRouter(config: DirectoriesConfig): Promise<impo
168
168
  }>;
169
169
  waitForLuaCode: import("@trpc/server").TRPCMutationProcedure<{
170
170
  input: {
171
- timeoutMs?: number | undefined;
172
171
  tabId: {
173
172
  tabId: string;
174
173
  };
175
174
  luaAssertion: string;
175
+ timeoutMs?: number | undefined;
176
176
  };
177
177
  output: import("./types.js").RunLuaCodeOutput;
178
178
  }>;
179
179
  runExCommand: import("@trpc/server").TRPCMutationProcedure<{
180
180
  input: {
181
- log?: boolean | undefined;
182
181
  tabId: {
183
182
  tabId: string;
184
183
  };
185
184
  command: string;
185
+ log?: boolean | undefined;
186
186
  };
187
187
  output: import("./types.js").RunExCommandOutput;
188
188
  }>;
@@ -2,4 +2,4 @@ import { z } from "zod";
2
2
  export type TabId = z.infer<typeof tabIdSchema>;
3
3
  export declare const tabIdSchema: z.ZodObject<{
4
4
  tabId: z.ZodString;
5
- }, {}>;
5
+ }, {}, {}>;