@superdurable/connector-coda 0.1.1 → 0.2.0

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/mock.js CHANGED
@@ -1,13 +1,29 @@
1
1
  import {
2
+ ColumnSchema,
3
+ ColumnsPageSchema,
4
+ DocSchema,
5
+ DocsPageSchema,
6
+ GetDocDefinition,
7
+ GetDocInputSchema,
2
8
  GetRowDefinition,
3
9
  GetRowInputSchema,
4
10
  GetRowOutputSchema,
11
+ GetTableDefinition,
12
+ GetTableInputSchema,
13
+ ListColumnsDefinition,
14
+ ListColumnsInputSchema,
15
+ ListDocsDefinition,
16
+ ListDocsInputSchema,
5
17
  ListRowsDefinition,
6
18
  ListRowsInputSchema,
7
19
  ListRowsOutputSchema,
20
+ ListTablesDefinition,
21
+ ListTablesInputSchema,
8
22
  ProviderID,
23
+ TableSchema,
24
+ TablesPageSchema,
9
25
  newConnectionWithOperations
10
- } from "./chunk-ZY4WUCOW.js";
26
+ } from "./chunk-KSTUDMMZ.js";
11
27
 
12
28
  // src/generated/mock.ts
13
29
  import { branchCase, retryCase, newQuery } from "@superdurable/connectors-sdk/connectormock";
@@ -26,6 +42,45 @@ var emptyGetRowInput = GetRowInputSchema.parse({
26
42
  var emptyGetRowOutput = GetRowOutputSchema.parse({
27
43
  "data": null
28
44
  });
45
+ var emptyListDocsInput = ListDocsInputSchema.parse({});
46
+ var emptyDoc = DocSchema.parse({
47
+ "id": "",
48
+ "name": ""
49
+ });
50
+ var emptyDocsPage = DocsPageSchema.parse({
51
+ "items": [],
52
+ "nextPageToken": ""
53
+ });
54
+ var emptyGetDocInput = GetDocInputSchema.parse({
55
+ "docId": ""
56
+ });
57
+ var emptyListTablesInput = ListTablesInputSchema.parse({
58
+ "docId": ""
59
+ });
60
+ var emptyTable = TableSchema.parse({
61
+ "id": "",
62
+ "name": ""
63
+ });
64
+ var emptyTablesPage = TablesPageSchema.parse({
65
+ "items": [],
66
+ "nextPageToken": ""
67
+ });
68
+ var emptyGetTableInput = GetTableInputSchema.parse({
69
+ "docId": "",
70
+ "tableId": ""
71
+ });
72
+ var emptyListColumnsInput = ListColumnsInputSchema.parse({
73
+ "docId": "",
74
+ "tableId": ""
75
+ });
76
+ var emptyColumn = ColumnSchema.parse({
77
+ "id": "",
78
+ "name": ""
79
+ });
80
+ var emptyColumnsPage = ColumnsPageSchema.parse({
81
+ "items": [],
82
+ "nextPageToken": ""
83
+ });
29
84
  function listRowsListed(value, failure) {
30
85
  return branchCase("listed", value, failure);
31
86
  }
@@ -73,13 +128,145 @@ function getRowDefaultGetRow() {
73
128
  function getRowDefault() {
74
129
  return getRowDefaultGetRow();
75
130
  }
131
+ function listDocsListed(value, failure) {
132
+ return branchCase("listed", value, failure);
133
+ }
134
+ function listDocsProviderRejected(value, failure) {
135
+ return branchCase("providerRejected", value, failure);
136
+ }
137
+ function listDocsInvalidResponse(value, failure) {
138
+ return branchCase("invalidResponse", value, failure);
139
+ }
140
+ function listDocsDefect(value, failure) {
141
+ return branchCase("defect", value, failure);
142
+ }
143
+ function listDocsRetry(failure, retryAfterMs = 0) {
144
+ return retryCase(failure, retryAfterMs);
145
+ }
146
+ function listDocsListedDefault() {
147
+ const value = DocsPageSchema.parse({ "items": [{ "id": "AbCDeFGH", "name": "Meridian" }], "nextPageToken": "" });
148
+ return branchCase("listed", value);
149
+ }
150
+ function listDocsDefault() {
151
+ return listDocsListedDefault();
152
+ }
153
+ function getDocFound(value, failure) {
154
+ return branchCase("found", value, failure);
155
+ }
156
+ function getDocNotFound(value, failure) {
157
+ return branchCase("notFound", value, failure);
158
+ }
159
+ function getDocProviderRejected(value, failure) {
160
+ return branchCase("providerRejected", value, failure);
161
+ }
162
+ function getDocInvalidResponse(value, failure) {
163
+ return branchCase("invalidResponse", value, failure);
164
+ }
165
+ function getDocDefect(value, failure) {
166
+ return branchCase("defect", value, failure);
167
+ }
168
+ function getDocRetry(failure, retryAfterMs = 0) {
169
+ return retryCase(failure, retryAfterMs);
170
+ }
171
+ function getDocFoundDefault() {
172
+ const value = DocSchema.parse({ "id": "AbCDeFGH", "name": "Meridian" });
173
+ return branchCase("found", value);
174
+ }
175
+ function getDocDefault() {
176
+ return getDocFoundDefault();
177
+ }
178
+ function listTablesListed(value, failure) {
179
+ return branchCase("listed", value, failure);
180
+ }
181
+ function listTablesNotFound(value, failure) {
182
+ return branchCase("notFound", value, failure);
183
+ }
184
+ function listTablesProviderRejected(value, failure) {
185
+ return branchCase("providerRejected", value, failure);
186
+ }
187
+ function listTablesInvalidResponse(value, failure) {
188
+ return branchCase("invalidResponse", value, failure);
189
+ }
190
+ function listTablesDefect(value, failure) {
191
+ return branchCase("defect", value, failure);
192
+ }
193
+ function listTablesRetry(failure, retryAfterMs = 0) {
194
+ return retryCase(failure, retryAfterMs);
195
+ }
196
+ function listTablesListedDefault() {
197
+ const value = TablesPageSchema.parse({ "items": [{ "id": "grid-pqRst-U", "name": "Accounts" }], "nextPageToken": "" });
198
+ return branchCase("listed", value);
199
+ }
200
+ function listTablesDefault() {
201
+ return listTablesListedDefault();
202
+ }
203
+ function getTableFound(value, failure) {
204
+ return branchCase("found", value, failure);
205
+ }
206
+ function getTableNotFound(value, failure) {
207
+ return branchCase("notFound", value, failure);
208
+ }
209
+ function getTableProviderRejected(value, failure) {
210
+ return branchCase("providerRejected", value, failure);
211
+ }
212
+ function getTableInvalidResponse(value, failure) {
213
+ return branchCase("invalidResponse", value, failure);
214
+ }
215
+ function getTableDefect(value, failure) {
216
+ return branchCase("defect", value, failure);
217
+ }
218
+ function getTableRetry(failure, retryAfterMs = 0) {
219
+ return retryCase(failure, retryAfterMs);
220
+ }
221
+ function getTableFoundDefault() {
222
+ const value = TableSchema.parse({ "id": "grid-pqRst-U", "name": "Accounts" });
223
+ return branchCase("found", value);
224
+ }
225
+ function getTableDefault() {
226
+ return getTableFoundDefault();
227
+ }
228
+ function listColumnsListed(value, failure) {
229
+ return branchCase("listed", value, failure);
230
+ }
231
+ function listColumnsNotFound(value, failure) {
232
+ return branchCase("notFound", value, failure);
233
+ }
234
+ function listColumnsProviderRejected(value, failure) {
235
+ return branchCase("providerRejected", value, failure);
236
+ }
237
+ function listColumnsInvalidResponse(value, failure) {
238
+ return branchCase("invalidResponse", value, failure);
239
+ }
240
+ function listColumnsDefect(value, failure) {
241
+ return branchCase("defect", value, failure);
242
+ }
243
+ function listColumnsRetry(failure, retryAfterMs = 0) {
244
+ return retryCase(failure, retryAfterMs);
245
+ }
246
+ function listColumnsListedDefault() {
247
+ const value = ColumnsPageSchema.parse({ "items": [{ "id": "c-Name", "name": "Name" }], "nextPageToken": "" });
248
+ return branchCase("listed", value);
249
+ }
250
+ function listColumnsDefault() {
251
+ return listColumnsListedDefault();
252
+ }
76
253
  var GeneratedMock = class {
77
254
  #listRows;
78
255
  #getRow;
256
+ #listDocs;
257
+ #getDoc;
258
+ #listTables;
259
+ #getTable;
260
+ #listColumns;
79
261
  #connection;
80
262
  constructor(connectionName) {
81
263
  this.#listRows = newQuery(ListRowsDefinition).default(listRowsDefault());
82
264
  this.#getRow = newQuery(GetRowDefinition).default(getRowDefault());
265
+ this.#listDocs = newQuery(ListDocsDefinition).default(listDocsDefault());
266
+ this.#getDoc = newQuery(GetDocDefinition).default(getDocDefault());
267
+ this.#listTables = newQuery(ListTablesDefinition).default(listTablesDefault());
268
+ this.#getTable = newQuery(GetTableDefinition).default(getTableDefault());
269
+ this.#listColumns = newQuery(ListColumnsDefinition).default(listColumnsDefault());
83
270
  this.#connection = newConnectionWithOperations(this, { provider: ProviderID, name: connectionName });
84
271
  }
85
272
  connection() {
@@ -91,17 +278,56 @@ var GeneratedMock = class {
91
278
  getRow() {
92
279
  return this.#getRow;
93
280
  }
281
+ listDocs() {
282
+ return this.#listDocs;
283
+ }
284
+ getDoc() {
285
+ return this.#getDoc;
286
+ }
287
+ listTables() {
288
+ return this.#listTables;
289
+ }
290
+ getTable() {
291
+ return this.#getTable;
292
+ }
293
+ listColumns() {
294
+ return this.#listColumns;
295
+ }
94
296
  assertNoFailures() {
95
297
  this.#listRows.assertNoFailures();
96
298
  this.#getRow.assertNoFailures();
299
+ this.#listDocs.assertNoFailures();
300
+ this.#getDoc.assertNoFailures();
301
+ this.#listTables.assertNoFailures();
302
+ this.#getTable.assertNoFailures();
303
+ this.#listColumns.assertNoFailures();
97
304
  }
98
305
  };
99
306
  export {
100
307
  GeneratedMock,
308
+ emptyColumn,
309
+ emptyColumnsPage,
310
+ emptyDoc,
311
+ emptyDocsPage,
312
+ emptyGetDocInput,
101
313
  emptyGetRowInput,
102
314
  emptyGetRowOutput,
315
+ emptyGetTableInput,
316
+ emptyListColumnsInput,
317
+ emptyListDocsInput,
103
318
  emptyListRowsInput,
104
319
  emptyListRowsOutput,
320
+ emptyListTablesInput,
321
+ emptyTable,
322
+ emptyTablesPage,
323
+ getDocDefault,
324
+ getDocDefect,
325
+ getDocFound,
326
+ getDocFoundDefault,
327
+ getDocInvalidResponse,
328
+ getDocNotFound,
329
+ getDocProviderRejected,
330
+ getDocRetry,
105
331
  getRowDefault,
106
332
  getRowDefaultGetRow,
107
333
  getRowDefect,
@@ -110,11 +336,42 @@ export {
110
336
  getRowNotFound,
111
337
  getRowProviderRejected,
112
338
  getRowRetry,
339
+ getTableDefault,
340
+ getTableDefect,
341
+ getTableFound,
342
+ getTableFoundDefault,
343
+ getTableInvalidResponse,
344
+ getTableNotFound,
345
+ getTableProviderRejected,
346
+ getTableRetry,
347
+ listColumnsDefault,
348
+ listColumnsDefect,
349
+ listColumnsInvalidResponse,
350
+ listColumnsListed,
351
+ listColumnsListedDefault,
352
+ listColumnsNotFound,
353
+ listColumnsProviderRejected,
354
+ listColumnsRetry,
355
+ listDocsDefault,
356
+ listDocsDefect,
357
+ listDocsInvalidResponse,
358
+ listDocsListed,
359
+ listDocsListedDefault,
360
+ listDocsProviderRejected,
361
+ listDocsRetry,
113
362
  listRowsDefault,
114
363
  listRowsDefaultListRows,
115
364
  listRowsDefect,
116
365
  listRowsInvalidResponse,
117
366
  listRowsListed,
118
367
  listRowsProviderRejected,
119
- listRowsRetry
368
+ listRowsRetry,
369
+ listTablesDefault,
370
+ listTablesDefect,
371
+ listTablesInvalidResponse,
372
+ listTablesListed,
373
+ listTablesListedDefault,
374
+ listTablesNotFound,
375
+ listTablesProviderRejected,
376
+ listTablesRetry
120
377
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@superdurable/connector-coda",
3
- "version": "0.1.1",
3
+ "version": "0.2.0",
4
4
  "license": "MIT",
5
5
  "description": "Coda connector for Dex TypeScript applications",
6
6
  "repository": {
@@ -15,7 +15,8 @@
15
15
  "types": "./dist/index.d.ts",
16
16
  "exports": {
17
17
  ".": { "types": "./dist/index.d.ts", "import": "./dist/index.js" },
18
- "./mock": { "types": "./dist/mock.d.ts", "import": "./dist/mock.js" }
18
+ "./mock": { "types": "./dist/mock.d.ts", "import": "./dist/mock.js" },
19
+ "./dex-connector.json": "./dex-connector.json"
19
20
  },
20
21
  "files": ["dist", "dex-connector.json", "README.md", "LICENSE"],
21
22
  "scripts": {
@@ -1,132 +0,0 @@
1
- // src/generated/models.ts
2
- import { z } from "zod";
3
- var ConfigSchema = z.object({
4
- "baseUrl": z.string().optional(),
5
- "timeoutMs": z.number().int().optional(),
6
- "maxResponseBytes": z.number().int().optional()
7
- });
8
- var ListRowsInputSchema = z.strictObject({
9
- "docId": z.string(),
10
- "tableId": z.string(),
11
- "limit": z.number().int().optional(),
12
- "pageToken": z.string().optional()
13
- });
14
- var ListRowsOutputSchema = z.strictObject({
15
- "data": z.unknown().nullable()
16
- });
17
- var GetRowInputSchema = z.strictObject({
18
- "docId": z.string(),
19
- "tableId": z.string(),
20
- "rowId": z.string()
21
- });
22
- var GetRowOutputSchema = z.strictObject({
23
- "data": z.unknown().nullable()
24
- });
25
-
26
- // src/generated/definitions.ts
27
- var ConnectorID = "coda";
28
- var ProviderID = "coda";
29
- var ListRowsBranch = {
30
- Listed: "listed",
31
- ProviderRejected: "providerRejected",
32
- InvalidResponse: "invalidResponse",
33
- Defect: "defect"
34
- };
35
- var ListRowsBranchListed = ListRowsBranch.Listed;
36
- var ListRowsBranchProviderRejected = ListRowsBranch.ProviderRejected;
37
- var ListRowsBranchInvalidResponse = ListRowsBranch.InvalidResponse;
38
- var ListRowsBranchDefect = ListRowsBranch.Defect;
39
- var ListRowsDefinition = {
40
- operation: { connectorId: ConnectorID, operationId: "listRows" },
41
- branches: [
42
- { id: "listed", description: "List one page of rows in a Coda table." },
43
- { id: "providerRejected", description: "The provider conclusively rejected the request or credentials.", optional: true },
44
- { id: "invalidResponse", description: "The provider returned malformed or oversized JSON.", optional: true },
45
- { id: "defect", description: "Local input, configuration, or credentials are invalid.", optional: true }
46
- ],
47
- stepDefaults: { executeMethodTimeoutMs: 3e4, executeDurability: "async" }
48
- };
49
- var ListRowsMetadata = { kind: "query", idempotency: "none", authorization: "required" };
50
- var GetRowBranch = {
51
- Found: "found",
52
- NotFound: "notFound",
53
- ProviderRejected: "providerRejected",
54
- InvalidResponse: "invalidResponse",
55
- Defect: "defect"
56
- };
57
- var GetRowBranchFound = GetRowBranch.Found;
58
- var GetRowBranchNotFound = GetRowBranch.NotFound;
59
- var GetRowBranchProviderRejected = GetRowBranch.ProviderRejected;
60
- var GetRowBranchInvalidResponse = GetRowBranch.InvalidResponse;
61
- var GetRowBranchDefect = GetRowBranch.Defect;
62
- var GetRowDefinition = {
63
- operation: { connectorId: ConnectorID, operationId: "getRow" },
64
- branches: [
65
- { id: "found", description: "Get one row in a Coda table." },
66
- { id: "notFound", description: "The requested provider resource does not exist or is not visible.", optional: true },
67
- { id: "providerRejected", description: "The provider conclusively rejected the request or credentials.", optional: true },
68
- { id: "invalidResponse", description: "The provider returned malformed or oversized JSON.", optional: true },
69
- { id: "defect", description: "Local input, configuration, or credentials are invalid.", optional: true }
70
- ],
71
- stepDefaults: { executeMethodTimeoutMs: 3e4, executeDurability: "async" }
72
- };
73
- var GetRowMetadata = { kind: "query", idempotency: "none", authorization: "required" };
74
-
75
- // src/generated/connection.ts
76
- import { ConnectionRefSchema } from "@superdurable/connectors-sdk";
77
- var Connection = class {
78
- /** Stable provider and connection name. */
79
- reference;
80
- /** Bound provider operations. */
81
- operations;
82
- /** Validate a reference and bind operations. */
83
- constructor(reference, operations) {
84
- this.reference = ConnectionRefSchema.parse(reference);
85
- if (this.reference.provider !== ProviderID) throw new TypeError("connection provider differs from the manifest");
86
- if (!operations) throw new TypeError("connector operations are required");
87
- this.operations = operations;
88
- }
89
- };
90
- function newConnection(client, reference) {
91
- if (!client) throw new TypeError("connector client is required");
92
- return new Connection(reference, client);
93
- }
94
- function newConnectionWithOperations(operations, reference) {
95
- return new Connection(reference, operations);
96
- }
97
- function newProjectConnection(project, connectionName, createClient) {
98
- if (!project) throw new TypeError("loaded project is required");
99
- const reference = ConnectionRefSchema.parse({ provider: ProviderID, name: connectionName });
100
- const selected = project.configuration.connections.find((entry) => entry.connectorId === ConnectorID && entry.connectionName === connectionName);
101
- if (!selected || selected.provider !== ProviderID) throw new TypeError("project connection is not configured");
102
- return newConnection(createClient(project, connectionName), reference);
103
- }
104
-
105
- export {
106
- ConfigSchema,
107
- ListRowsInputSchema,
108
- ListRowsOutputSchema,
109
- GetRowInputSchema,
110
- GetRowOutputSchema,
111
- ConnectorID,
112
- ProviderID,
113
- ListRowsBranch,
114
- ListRowsBranchListed,
115
- ListRowsBranchProviderRejected,
116
- ListRowsBranchInvalidResponse,
117
- ListRowsBranchDefect,
118
- ListRowsDefinition,
119
- ListRowsMetadata,
120
- GetRowBranch,
121
- GetRowBranchFound,
122
- GetRowBranchNotFound,
123
- GetRowBranchProviderRejected,
124
- GetRowBranchInvalidResponse,
125
- GetRowBranchDefect,
126
- GetRowDefinition,
127
- GetRowMetadata,
128
- Connection,
129
- newConnection,
130
- newConnectionWithOperations,
131
- newProjectConnection
132
- };
@@ -1,99 +0,0 @@
1
- import { SecretString, CredentialProvider, Query, ConnectionRef } from '@superdurable/connectors-sdk';
2
- import { z } from 'zod';
3
-
4
- /** Connector configuration; omitted fields use manifest defaults. */
5
- interface Config {
6
- /** Provider REST base URL; leave blank for the displayed public endpoint. Override only for a compatible gateway or loopback test server. */
7
- baseUrl?: string;
8
- /** Maximum time for one HTTP request as a positive Go duration such as 15s or 1m; blank uses the displayed default. Runtime value in milliseconds. */
9
- timeoutMs?: number;
10
- /** Maximum response body size in bytes; enter a positive integer to raise the safety limit for large pages. Blank uses the displayed default. */
11
- maxResponseBytes?: number;
12
- }
13
- /** Runtime schema for manifest configuration. */
14
- declare const ConfigSchema: z.ZodObject<{
15
- baseUrl: z.ZodOptional<z.ZodString>;
16
- timeoutMs: z.ZodOptional<z.ZodNumber>;
17
- maxResponseBytes: z.ZodOptional<z.ZodNumber>;
18
- }, z.core.$strip>;
19
- /** Private connector credentials resolved by the host. */
20
- interface Credentials {
21
- /** Secret Coda credential. Start at https://docs.superhuman.com/account and follow the authorization guide to create or find it; paste the token exactly, without Bearer. Blank prevents calls. It is sent only in a request header. */
22
- apiToken: SecretString;
23
- }
24
- /** Host-owned source of private connector credentials. */
25
- type CredentialSource = CredentialProvider<Credentials>;
26
- /** ListRowsInput selects a Coda table page. */
27
- interface ListRowsInput {
28
- /** DocID is the ID from the document URL. */
29
- "docId": string;
30
- /** TableID is the stable table ID, such as grid-abc. */
31
- "tableId": string;
32
- /** Limit caps rows at 500; zero uses Coda's default. */
33
- "limit"?: number | undefined;
34
- /** PageToken is the opaque nextPageToken from a prior page. */
35
- "pageToken"?: string | undefined;
36
- }
37
- /** ListRowsOutput preserves the Coda row page. */
38
- interface ListRowsOutput {
39
- /** Data contains items and a possible nextPageToken. */
40
- "data": unknown | null;
41
- }
42
- /** GetRowInput selects one Coda row. */
43
- interface GetRowInput {
44
- /** DocID is the document ID. */
45
- "docId": string;
46
- /** TableID is the stable table ID. */
47
- "tableId": string;
48
- /** RowID is the stable row ID, such as i-abc. */
49
- "rowId": string;
50
- }
51
- /** GetRowOutput preserves one Coda row. */
52
- interface GetRowOutput {
53
- /** Data is the row JSON object. */
54
- "data": unknown | null;
55
- }
56
- /** Runtime validator for ListRowsInput. */
57
- declare const ListRowsInputSchema: z.ZodObject<{
58
- docId: z.ZodString;
59
- tableId: z.ZodString;
60
- limit: z.ZodOptional<z.ZodNumber>;
61
- pageToken: z.ZodOptional<z.ZodString>;
62
- }, z.core.$strict>;
63
- /** Runtime validator for ListRowsOutput. */
64
- declare const ListRowsOutputSchema: z.ZodObject<{
65
- data: z.ZodNullable<z.ZodUnknown>;
66
- }, z.core.$strict>;
67
- /** Runtime validator for GetRowInput. */
68
- declare const GetRowInputSchema: z.ZodObject<{
69
- docId: z.ZodString;
70
- tableId: z.ZodString;
71
- rowId: z.ZodString;
72
- }, z.core.$strict>;
73
- /** Runtime validator for GetRowOutput. */
74
- declare const GetRowOutputSchema: z.ZodObject<{
75
- data: z.ZodNullable<z.ZodUnknown>;
76
- }, z.core.$strict>;
77
-
78
- /** Typed operations supplied by a client or mock. */
79
- interface Operations {
80
- /** Invoke listRows through this connection. */
81
- listRows(): Query<ListRowsInput, ListRowsOutput>;
82
- /** Invoke getRow through this connection. */
83
- getRow(): Query<GetRowInput, GetRowOutput>;
84
- }
85
- /** Named connector connection kept outside Flow state. */
86
- declare class Connection<BoundOperations = Operations> {
87
- /** Stable provider and connection name. */
88
- readonly reference: ConnectionRef;
89
- /** Bound provider operations. */
90
- readonly operations: BoundOperations;
91
- /** Validate a reference and bind operations. */
92
- constructor(reference: ConnectionRef, operations: BoundOperations);
93
- }
94
- /** Bind a client to a named connection. */
95
- declare function newConnection(client: Operations, reference: ConnectionRef): Connection;
96
- /** Bind scripted operations to a named connection. */
97
- declare function newConnectionWithOperations(operations: Operations, reference: ConnectionRef): Connection;
98
-
99
- export { Connection as C, type GetRowInput as G, type ListRowsInput as L, type Operations as O, type GetRowOutput as a, type ListRowsOutput as b, type Config as c, type Credentials as d, ConfigSchema as e, type CredentialSource as f, GetRowInputSchema as g, GetRowOutputSchema as h, ListRowsInputSchema as i, ListRowsOutputSchema as j, newConnectionWithOperations as k, newConnection as n };