@squadbase/vite-server 0.1.12-dev.8860f37 → 0.1.12-dev.93b8799

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.
Files changed (78) hide show
  1. package/dist/cli/index.js +482 -573
  2. package/dist/connectors/airtable-oauth.js +9 -0
  3. package/dist/connectors/airtable.js +9 -0
  4. package/dist/connectors/amplitude.js +9 -0
  5. package/dist/connectors/anthropic.js +9 -0
  6. package/dist/connectors/asana.js +9 -0
  7. package/dist/connectors/attio.js +9 -0
  8. package/dist/connectors/aws-billing.js +9 -0
  9. package/dist/connectors/azure-sql.js +9 -0
  10. package/dist/connectors/backlog-api-key.js +9 -0
  11. package/dist/connectors/clickup.js +9 -0
  12. package/dist/connectors/cosmosdb.js +9 -0
  13. package/dist/connectors/customerio.js +9 -0
  14. package/dist/connectors/dbt.js +9 -0
  15. package/dist/connectors/freshdesk.js +9 -0
  16. package/dist/connectors/freshsales.js +9 -0
  17. package/dist/connectors/freshservice.js +9 -0
  18. package/dist/connectors/gamma.js +9 -0
  19. package/dist/connectors/gemini.js +9 -0
  20. package/dist/connectors/github.js +9 -0
  21. package/dist/connectors/gmail-oauth.js +9 -0
  22. package/dist/connectors/gmail.js +9 -0
  23. package/dist/connectors/google-ads.js +9 -0
  24. package/dist/connectors/google-analytics-oauth.js +9 -0
  25. package/dist/connectors/google-analytics.js +9 -0
  26. package/dist/connectors/google-audit-log.js +9 -0
  27. package/dist/connectors/google-calendar-oauth.js +9 -0
  28. package/dist/connectors/google-calendar.js +9 -0
  29. package/dist/connectors/google-docs.js +9 -0
  30. package/dist/connectors/google-drive.js +9 -0
  31. package/dist/connectors/google-search-console-oauth.js +9 -0
  32. package/dist/connectors/google-sheets.js +9 -0
  33. package/dist/connectors/google-slides.js +9 -0
  34. package/dist/connectors/grafana.js +9 -0
  35. package/dist/connectors/hubspot-oauth.js +9 -0
  36. package/dist/connectors/hubspot.js +9 -0
  37. package/dist/connectors/influxdb.js +9 -0
  38. package/dist/connectors/intercom-oauth.js +9 -0
  39. package/dist/connectors/intercom.js +9 -0
  40. package/dist/connectors/jdbc.js +9 -0
  41. package/dist/connectors/jira-api-key.js +9 -0
  42. package/dist/connectors/kintone-api-token.js +9 -0
  43. package/dist/connectors/kintone.js +9 -0
  44. package/dist/connectors/linear.js +9 -0
  45. package/dist/connectors/linkedin-ads.js +9 -0
  46. package/dist/connectors/mailchimp-oauth.js +9 -0
  47. package/dist/connectors/mailchimp.js +9 -0
  48. package/dist/connectors/meta-ads-oauth.js +9 -0
  49. package/dist/connectors/meta-ads.js +9 -0
  50. package/dist/connectors/mixpanel.js +9 -0
  51. package/dist/connectors/monday.js +9 -0
  52. package/dist/connectors/mongodb.js +9 -0
  53. package/dist/connectors/notion-oauth.js +9 -0
  54. package/dist/connectors/notion.js +9 -0
  55. package/dist/connectors/openai.js +9 -0
  56. package/dist/connectors/oracle.js +9 -0
  57. package/dist/connectors/outlook-oauth.js +10 -1
  58. package/dist/connectors/powerbi-oauth.js +11 -2
  59. package/dist/connectors/salesforce.js +9 -0
  60. package/dist/connectors/semrush.js +9 -0
  61. package/dist/connectors/sentry.js +9 -0
  62. package/dist/connectors/shopify-oauth.js +9 -0
  63. package/dist/connectors/shopify.js +9 -0
  64. package/dist/connectors/sqlserver.js +9 -0
  65. package/dist/connectors/stripe-api-key.js +9 -0
  66. package/dist/connectors/stripe-oauth.js +9 -0
  67. package/dist/connectors/supabase.js +9 -0
  68. package/dist/connectors/tableau.js +131 -57
  69. package/dist/connectors/tiktok-ads.js +9 -0
  70. package/dist/connectors/wix-store.js +9 -0
  71. package/dist/connectors/zendesk-oauth.js +9 -0
  72. package/dist/connectors/zendesk.js +9 -0
  73. package/dist/index.js +482 -573
  74. package/dist/main.js +482 -573
  75. package/dist/vite-plugin.js +482 -573
  76. package/package.json +1 -5
  77. package/dist/connectors/powerbi.d.ts +0 -5
  78. package/dist/connectors/powerbi.js +0 -869
@@ -126,6 +126,14 @@ var ConnectorPlugin = class _ConnectorPlugin {
126
126
  tools;
127
127
  query;
128
128
  checkConnection;
129
+ /**
130
+ * SQPD-1212: Logic-based, rule-driven connection setup. Connectors that
131
+ * implement this expose a step-by-step exploration flow (database/schema/
132
+ * table/etc. discovery) that the dashboard backend drives via the
133
+ * `/connections/:connectionId/setup` endpoint. Implement by delegating to
134
+ * `runSetupFlow` from `setup-flow.ts`.
135
+ */
136
+ setup;
129
137
  constructor(config) {
130
138
  this.slug = config.slug;
131
139
  this.authType = config.authType;
@@ -142,6 +150,7 @@ var ConnectorPlugin = class _ConnectorPlugin {
142
150
  this.tools = config.tools;
143
151
  this.query = config.query;
144
152
  this.checkConnection = config.checkConnection;
153
+ this.setup = config.setup;
145
154
  }
146
155
  get connectorKey() {
147
156
  return _ConnectorPlugin.deriveKey(this.slug, this.authType);
@@ -256,6 +256,14 @@ var ConnectorPlugin = class _ConnectorPlugin {
256
256
  tools;
257
257
  query;
258
258
  checkConnection;
259
+ /**
260
+ * SQPD-1212: Logic-based, rule-driven connection setup. Connectors that
261
+ * implement this expose a step-by-step exploration flow (database/schema/
262
+ * table/etc. discovery) that the dashboard backend drives via the
263
+ * `/connections/:connectionId/setup` endpoint. Implement by delegating to
264
+ * `runSetupFlow` from `setup-flow.ts`.
265
+ */
266
+ setup;
259
267
  constructor(config) {
260
268
  this.slug = config.slug;
261
269
  this.authType = config.authType;
@@ -272,6 +280,7 @@ var ConnectorPlugin = class _ConnectorPlugin {
272
280
  this.tools = config.tools;
273
281
  this.query = config.query;
274
282
  this.checkConnection = config.checkConnection;
283
+ this.setup = config.setup;
275
284
  }
276
285
  get connectorKey() {
277
286
  return _ConnectorPlugin.deriveKey(this.slug, this.authType);
@@ -216,6 +216,14 @@ var ConnectorPlugin = class _ConnectorPlugin {
216
216
  tools;
217
217
  query;
218
218
  checkConnection;
219
+ /**
220
+ * SQPD-1212: Logic-based, rule-driven connection setup. Connectors that
221
+ * implement this expose a step-by-step exploration flow (database/schema/
222
+ * table/etc. discovery) that the dashboard backend drives via the
223
+ * `/connections/:connectionId/setup` endpoint. Implement by delegating to
224
+ * `runSetupFlow` from `setup-flow.ts`.
225
+ */
226
+ setup;
219
227
  constructor(config) {
220
228
  this.slug = config.slug;
221
229
  this.authType = config.authType;
@@ -232,6 +240,7 @@ var ConnectorPlugin = class _ConnectorPlugin {
232
240
  this.tools = config.tools;
233
241
  this.query = config.query;
234
242
  this.checkConnection = config.checkConnection;
243
+ this.setup = config.setup;
235
244
  }
236
245
  get connectorKey() {
237
246
  return _ConnectorPlugin.deriveKey(this.slug, this.authType);
@@ -83,6 +83,14 @@ var ConnectorPlugin = class _ConnectorPlugin {
83
83
  tools;
84
84
  query;
85
85
  checkConnection;
86
+ /**
87
+ * SQPD-1212: Logic-based, rule-driven connection setup. Connectors that
88
+ * implement this expose a step-by-step exploration flow (database/schema/
89
+ * table/etc. discovery) that the dashboard backend drives via the
90
+ * `/connections/:connectionId/setup` endpoint. Implement by delegating to
91
+ * `runSetupFlow` from `setup-flow.ts`.
92
+ */
93
+ setup;
86
94
  constructor(config) {
87
95
  this.slug = config.slug;
88
96
  this.authType = config.authType;
@@ -99,6 +107,7 @@ var ConnectorPlugin = class _ConnectorPlugin {
99
107
  this.tools = config.tools;
100
108
  this.query = config.query;
101
109
  this.checkConnection = config.checkConnection;
110
+ this.setup = config.setup;
102
111
  }
103
112
  get connectorKey() {
104
113
  return _ConnectorPlugin.deriveKey(this.slug, this.authType);
@@ -253,6 +253,14 @@ var ConnectorPlugin = class _ConnectorPlugin {
253
253
  tools;
254
254
  query;
255
255
  checkConnection;
256
+ /**
257
+ * SQPD-1212: Logic-based, rule-driven connection setup. Connectors that
258
+ * implement this expose a step-by-step exploration flow (database/schema/
259
+ * table/etc. discovery) that the dashboard backend drives via the
260
+ * `/connections/:connectionId/setup` endpoint. Implement by delegating to
261
+ * `runSetupFlow` from `setup-flow.ts`.
262
+ */
263
+ setup;
256
264
  constructor(config) {
257
265
  this.slug = config.slug;
258
266
  this.authType = config.authType;
@@ -269,6 +277,7 @@ var ConnectorPlugin = class _ConnectorPlugin {
269
277
  this.tools = config.tools;
270
278
  this.query = config.query;
271
279
  this.checkConnection = config.checkConnection;
280
+ this.setup = config.setup;
272
281
  }
273
282
  get connectorKey() {
274
283
  return _ConnectorPlugin.deriveKey(this.slug, this.authType);
@@ -389,6 +389,14 @@ var ConnectorPlugin = class _ConnectorPlugin {
389
389
  tools;
390
390
  query;
391
391
  checkConnection;
392
+ /**
393
+ * SQPD-1212: Logic-based, rule-driven connection setup. Connectors that
394
+ * implement this expose a step-by-step exploration flow (database/schema/
395
+ * table/etc. discovery) that the dashboard backend drives via the
396
+ * `/connections/:connectionId/setup` endpoint. Implement by delegating to
397
+ * `runSetupFlow` from `setup-flow.ts`.
398
+ */
399
+ setup;
392
400
  constructor(config) {
393
401
  this.slug = config.slug;
394
402
  this.authType = config.authType;
@@ -405,6 +413,7 @@ var ConnectorPlugin = class _ConnectorPlugin {
405
413
  this.tools = config.tools;
406
414
  this.query = config.query;
407
415
  this.checkConnection = config.checkConnection;
416
+ this.setup = config.setup;
408
417
  }
409
418
  get connectorKey() {
410
419
  return _ConnectorPlugin.deriveKey(this.slug, this.authType);
@@ -155,6 +155,14 @@ var ConnectorPlugin = class _ConnectorPlugin {
155
155
  tools;
156
156
  query;
157
157
  checkConnection;
158
+ /**
159
+ * SQPD-1212: Logic-based, rule-driven connection setup. Connectors that
160
+ * implement this expose a step-by-step exploration flow (database/schema/
161
+ * table/etc. discovery) that the dashboard backend drives via the
162
+ * `/connections/:connectionId/setup` endpoint. Implement by delegating to
163
+ * `runSetupFlow` from `setup-flow.ts`.
164
+ */
165
+ setup;
158
166
  constructor(config) {
159
167
  this.slug = config.slug;
160
168
  this.authType = config.authType;
@@ -171,6 +179,7 @@ var ConnectorPlugin = class _ConnectorPlugin {
171
179
  this.tools = config.tools;
172
180
  this.query = config.query;
173
181
  this.checkConnection = config.checkConnection;
182
+ this.setup = config.setup;
174
183
  }
175
184
  get connectorKey() {
176
185
  return _ConnectorPlugin.deriveKey(this.slug, this.authType);
@@ -405,6 +405,14 @@ var ConnectorPlugin = class _ConnectorPlugin {
405
405
  tools;
406
406
  query;
407
407
  checkConnection;
408
+ /**
409
+ * SQPD-1212: Logic-based, rule-driven connection setup. Connectors that
410
+ * implement this expose a step-by-step exploration flow (database/schema/
411
+ * table/etc. discovery) that the dashboard backend drives via the
412
+ * `/connections/:connectionId/setup` endpoint. Implement by delegating to
413
+ * `runSetupFlow` from `setup-flow.ts`.
414
+ */
415
+ setup;
408
416
  constructor(config) {
409
417
  this.slug = config.slug;
410
418
  this.authType = config.authType;
@@ -421,6 +429,7 @@ var ConnectorPlugin = class _ConnectorPlugin {
421
429
  this.tools = config.tools;
422
430
  this.query = config.query;
423
431
  this.checkConnection = config.checkConnection;
432
+ this.setup = config.setup;
424
433
  }
425
434
  get connectorKey() {
426
435
  return _ConnectorPlugin.deriveKey(this.slug, this.authType);
@@ -151,6 +151,14 @@ var ConnectorPlugin = class _ConnectorPlugin {
151
151
  tools;
152
152
  query;
153
153
  checkConnection;
154
+ /**
155
+ * SQPD-1212: Logic-based, rule-driven connection setup. Connectors that
156
+ * implement this expose a step-by-step exploration flow (database/schema/
157
+ * table/etc. discovery) that the dashboard backend drives via the
158
+ * `/connections/:connectionId/setup` endpoint. Implement by delegating to
159
+ * `runSetupFlow` from `setup-flow.ts`.
160
+ */
161
+ setup;
154
162
  constructor(config) {
155
163
  this.slug = config.slug;
156
164
  this.authType = config.authType;
@@ -167,6 +175,7 @@ var ConnectorPlugin = class _ConnectorPlugin {
167
175
  this.tools = config.tools;
168
176
  this.query = config.query;
169
177
  this.checkConnection = config.checkConnection;
178
+ this.setup = config.setup;
170
179
  }
171
180
  get connectorKey() {
172
181
  return _ConnectorPlugin.deriveKey(this.slug, this.authType);
@@ -287,6 +287,14 @@ var ConnectorPlugin = class _ConnectorPlugin {
287
287
  tools;
288
288
  query;
289
289
  checkConnection;
290
+ /**
291
+ * SQPD-1212: Logic-based, rule-driven connection setup. Connectors that
292
+ * implement this expose a step-by-step exploration flow (database/schema/
293
+ * table/etc. discovery) that the dashboard backend drives via the
294
+ * `/connections/:connectionId/setup` endpoint. Implement by delegating to
295
+ * `runSetupFlow` from `setup-flow.ts`.
296
+ */
297
+ setup;
290
298
  constructor(config) {
291
299
  this.slug = config.slug;
292
300
  this.authType = config.authType;
@@ -303,6 +311,7 @@ var ConnectorPlugin = class _ConnectorPlugin {
303
311
  this.tools = config.tools;
304
312
  this.query = config.query;
305
313
  this.checkConnection = config.checkConnection;
314
+ this.setup = config.setup;
306
315
  }
307
316
  get connectorKey() {
308
317
  return _ConnectorPlugin.deriveKey(this.slug, this.authType);
@@ -197,6 +197,14 @@ var ConnectorPlugin = class _ConnectorPlugin {
197
197
  tools;
198
198
  query;
199
199
  checkConnection;
200
+ /**
201
+ * SQPD-1212: Logic-based, rule-driven connection setup. Connectors that
202
+ * implement this expose a step-by-step exploration flow (database/schema/
203
+ * table/etc. discovery) that the dashboard backend drives via the
204
+ * `/connections/:connectionId/setup` endpoint. Implement by delegating to
205
+ * `runSetupFlow` from `setup-flow.ts`.
206
+ */
207
+ setup;
200
208
  constructor(config) {
201
209
  this.slug = config.slug;
202
210
  this.authType = config.authType;
@@ -213,6 +221,7 @@ var ConnectorPlugin = class _ConnectorPlugin {
213
221
  this.tools = config.tools;
214
222
  this.query = config.query;
215
223
  this.checkConnection = config.checkConnection;
224
+ this.setup = config.setup;
216
225
  }
217
226
  get connectorKey() {
218
227
  return _ConnectorPlugin.deriveKey(this.slug, this.authType);
@@ -234,6 +234,14 @@ var ConnectorPlugin = class _ConnectorPlugin {
234
234
  tools;
235
235
  query;
236
236
  checkConnection;
237
+ /**
238
+ * SQPD-1212: Logic-based, rule-driven connection setup. Connectors that
239
+ * implement this expose a step-by-step exploration flow (database/schema/
240
+ * table/etc. discovery) that the dashboard backend drives via the
241
+ * `/connections/:connectionId/setup` endpoint. Implement by delegating to
242
+ * `runSetupFlow` from `setup-flow.ts`.
243
+ */
244
+ setup;
237
245
  constructor(config) {
238
246
  this.slug = config.slug;
239
247
  this.authType = config.authType;
@@ -250,6 +258,7 @@ var ConnectorPlugin = class _ConnectorPlugin {
250
258
  this.tools = config.tools;
251
259
  this.query = config.query;
252
260
  this.checkConnection = config.checkConnection;
261
+ this.setup = config.setup;
253
262
  }
254
263
  get connectorKey() {
255
264
  return _ConnectorPlugin.deriveKey(this.slug, this.authType);
@@ -376,6 +376,14 @@ var ConnectorPlugin = class _ConnectorPlugin {
376
376
  tools;
377
377
  query;
378
378
  checkConnection;
379
+ /**
380
+ * SQPD-1212: Logic-based, rule-driven connection setup. Connectors that
381
+ * implement this expose a step-by-step exploration flow (database/schema/
382
+ * table/etc. discovery) that the dashboard backend drives via the
383
+ * `/connections/:connectionId/setup` endpoint. Implement by delegating to
384
+ * `runSetupFlow` from `setup-flow.ts`.
385
+ */
386
+ setup;
379
387
  constructor(config) {
380
388
  this.slug = config.slug;
381
389
  this.authType = config.authType;
@@ -392,6 +400,7 @@ var ConnectorPlugin = class _ConnectorPlugin {
392
400
  this.tools = config.tools;
393
401
  this.query = config.query;
394
402
  this.checkConnection = config.checkConnection;
403
+ this.setup = config.setup;
395
404
  }
396
405
  get connectorKey() {
397
406
  return _ConnectorPlugin.deriveKey(this.slug, this.authType);
@@ -284,6 +284,14 @@ var ConnectorPlugin = class _ConnectorPlugin {
284
284
  tools;
285
285
  query;
286
286
  checkConnection;
287
+ /**
288
+ * SQPD-1212: Logic-based, rule-driven connection setup. Connectors that
289
+ * implement this expose a step-by-step exploration flow (database/schema/
290
+ * table/etc. discovery) that the dashboard backend drives via the
291
+ * `/connections/:connectionId/setup` endpoint. Implement by delegating to
292
+ * `runSetupFlow` from `setup-flow.ts`.
293
+ */
294
+ setup;
287
295
  constructor(config) {
288
296
  this.slug = config.slug;
289
297
  this.authType = config.authType;
@@ -300,6 +308,7 @@ var ConnectorPlugin = class _ConnectorPlugin {
300
308
  this.tools = config.tools;
301
309
  this.query = config.query;
302
310
  this.checkConnection = config.checkConnection;
311
+ this.setup = config.setup;
303
312
  }
304
313
  get connectorKey() {
305
314
  return _ConnectorPlugin.deriveKey(this.slug, this.authType);
@@ -299,6 +299,14 @@ var ConnectorPlugin = class _ConnectorPlugin {
299
299
  tools;
300
300
  query;
301
301
  checkConnection;
302
+ /**
303
+ * SQPD-1212: Logic-based, rule-driven connection setup. Connectors that
304
+ * implement this expose a step-by-step exploration flow (database/schema/
305
+ * table/etc. discovery) that the dashboard backend drives via the
306
+ * `/connections/:connectionId/setup` endpoint. Implement by delegating to
307
+ * `runSetupFlow` from `setup-flow.ts`.
308
+ */
309
+ setup;
302
310
  constructor(config) {
303
311
  this.slug = config.slug;
304
312
  this.authType = config.authType;
@@ -315,6 +323,7 @@ var ConnectorPlugin = class _ConnectorPlugin {
315
323
  this.tools = config.tools;
316
324
  this.query = config.query;
317
325
  this.checkConnection = config.checkConnection;
326
+ this.setup = config.setup;
318
327
  }
319
328
  get connectorKey() {
320
329
  return _ConnectorPlugin.deriveKey(this.slug, this.authType);
@@ -254,6 +254,14 @@ var ConnectorPlugin = class _ConnectorPlugin {
254
254
  tools;
255
255
  query;
256
256
  checkConnection;
257
+ /**
258
+ * SQPD-1212: Logic-based, rule-driven connection setup. Connectors that
259
+ * implement this expose a step-by-step exploration flow (database/schema/
260
+ * table/etc. discovery) that the dashboard backend drives via the
261
+ * `/connections/:connectionId/setup` endpoint. Implement by delegating to
262
+ * `runSetupFlow` from `setup-flow.ts`.
263
+ */
264
+ setup;
257
265
  constructor(config) {
258
266
  this.slug = config.slug;
259
267
  this.authType = config.authType;
@@ -270,6 +278,7 @@ var ConnectorPlugin = class _ConnectorPlugin {
270
278
  this.tools = config.tools;
271
279
  this.query = config.query;
272
280
  this.checkConnection = config.checkConnection;
281
+ this.setup = config.setup;
273
282
  }
274
283
  get connectorKey() {
275
284
  return _ConnectorPlugin.deriveKey(this.slug, this.authType);
@@ -210,6 +210,14 @@ var ConnectorPlugin = class _ConnectorPlugin {
210
210
  tools;
211
211
  query;
212
212
  checkConnection;
213
+ /**
214
+ * SQPD-1212: Logic-based, rule-driven connection setup. Connectors that
215
+ * implement this expose a step-by-step exploration flow (database/schema/
216
+ * table/etc. discovery) that the dashboard backend drives via the
217
+ * `/connections/:connectionId/setup` endpoint. Implement by delegating to
218
+ * `runSetupFlow` from `setup-flow.ts`.
219
+ */
220
+ setup;
213
221
  constructor(config) {
214
222
  this.slug = config.slug;
215
223
  this.authType = config.authType;
@@ -226,6 +234,7 @@ var ConnectorPlugin = class _ConnectorPlugin {
226
234
  this.tools = config.tools;
227
235
  this.query = config.query;
228
236
  this.checkConnection = config.checkConnection;
237
+ this.setup = config.setup;
229
238
  }
230
239
  get connectorKey() {
231
240
  return _ConnectorPlugin.deriveKey(this.slug, this.authType);
@@ -83,6 +83,14 @@ var ConnectorPlugin = class _ConnectorPlugin {
83
83
  tools;
84
84
  query;
85
85
  checkConnection;
86
+ /**
87
+ * SQPD-1212: Logic-based, rule-driven connection setup. Connectors that
88
+ * implement this expose a step-by-step exploration flow (database/schema/
89
+ * table/etc. discovery) that the dashboard backend drives via the
90
+ * `/connections/:connectionId/setup` endpoint. Implement by delegating to
91
+ * `runSetupFlow` from `setup-flow.ts`.
92
+ */
93
+ setup;
86
94
  constructor(config) {
87
95
  this.slug = config.slug;
88
96
  this.authType = config.authType;
@@ -99,6 +107,7 @@ var ConnectorPlugin = class _ConnectorPlugin {
99
107
  this.tools = config.tools;
100
108
  this.query = config.query;
101
109
  this.checkConnection = config.checkConnection;
110
+ this.setup = config.setup;
102
111
  }
103
112
  get connectorKey() {
104
113
  return _ConnectorPlugin.deriveKey(this.slug, this.authType);
@@ -343,6 +343,14 @@ var ConnectorPlugin = class _ConnectorPlugin {
343
343
  tools;
344
344
  query;
345
345
  checkConnection;
346
+ /**
347
+ * SQPD-1212: Logic-based, rule-driven connection setup. Connectors that
348
+ * implement this expose a step-by-step exploration flow (database/schema/
349
+ * table/etc. discovery) that the dashboard backend drives via the
350
+ * `/connections/:connectionId/setup` endpoint. Implement by delegating to
351
+ * `runSetupFlow` from `setup-flow.ts`.
352
+ */
353
+ setup;
346
354
  constructor(config) {
347
355
  this.slug = config.slug;
348
356
  this.authType = config.authType;
@@ -359,6 +367,7 @@ var ConnectorPlugin = class _ConnectorPlugin {
359
367
  this.tools = config.tools;
360
368
  this.query = config.query;
361
369
  this.checkConnection = config.checkConnection;
370
+ this.setup = config.setup;
362
371
  }
363
372
  get connectorKey() {
364
373
  return _ConnectorPlugin.deriveKey(this.slug, this.authType);
@@ -165,6 +165,14 @@ var ConnectorPlugin = class _ConnectorPlugin {
165
165
  tools;
166
166
  query;
167
167
  checkConnection;
168
+ /**
169
+ * SQPD-1212: Logic-based, rule-driven connection setup. Connectors that
170
+ * implement this expose a step-by-step exploration flow (database/schema/
171
+ * table/etc. discovery) that the dashboard backend drives via the
172
+ * `/connections/:connectionId/setup` endpoint. Implement by delegating to
173
+ * `runSetupFlow` from `setup-flow.ts`.
174
+ */
175
+ setup;
168
176
  constructor(config) {
169
177
  this.slug = config.slug;
170
178
  this.authType = config.authType;
@@ -181,6 +189,7 @@ var ConnectorPlugin = class _ConnectorPlugin {
181
189
  this.tools = config.tools;
182
190
  this.query = config.query;
183
191
  this.checkConnection = config.checkConnection;
192
+ this.setup = config.setup;
184
193
  }
185
194
  get connectorKey() {
186
195
  return _ConnectorPlugin.deriveKey(this.slug, this.authType);
@@ -165,6 +165,14 @@ var ConnectorPlugin = class _ConnectorPlugin {
165
165
  tools;
166
166
  query;
167
167
  checkConnection;
168
+ /**
169
+ * SQPD-1212: Logic-based, rule-driven connection setup. Connectors that
170
+ * implement this expose a step-by-step exploration flow (database/schema/
171
+ * table/etc. discovery) that the dashboard backend drives via the
172
+ * `/connections/:connectionId/setup` endpoint. Implement by delegating to
173
+ * `runSetupFlow` from `setup-flow.ts`.
174
+ */
175
+ setup;
168
176
  constructor(config) {
169
177
  this.slug = config.slug;
170
178
  this.authType = config.authType;
@@ -181,6 +189,7 @@ var ConnectorPlugin = class _ConnectorPlugin {
181
189
  this.tools = config.tools;
182
190
  this.query = config.query;
183
191
  this.checkConnection = config.checkConnection;
192
+ this.setup = config.setup;
184
193
  }
185
194
  get connectorKey() {
186
195
  return _ConnectorPlugin.deriveKey(this.slug, this.authType);
@@ -213,6 +213,14 @@ var ConnectorPlugin = class _ConnectorPlugin {
213
213
  tools;
214
214
  query;
215
215
  checkConnection;
216
+ /**
217
+ * SQPD-1212: Logic-based, rule-driven connection setup. Connectors that
218
+ * implement this expose a step-by-step exploration flow (database/schema/
219
+ * table/etc. discovery) that the dashboard backend drives via the
220
+ * `/connections/:connectionId/setup` endpoint. Implement by delegating to
221
+ * `runSetupFlow` from `setup-flow.ts`.
222
+ */
223
+ setup;
216
224
  constructor(config) {
217
225
  this.slug = config.slug;
218
226
  this.authType = config.authType;
@@ -229,6 +237,7 @@ var ConnectorPlugin = class _ConnectorPlugin {
229
237
  this.tools = config.tools;
230
238
  this.query = config.query;
231
239
  this.checkConnection = config.checkConnection;
240
+ this.setup = config.setup;
232
241
  }
233
242
  get connectorKey() {
234
243
  return _ConnectorPlugin.deriveKey(this.slug, this.authType);
@@ -194,6 +194,14 @@ var ConnectorPlugin = class _ConnectorPlugin {
194
194
  tools;
195
195
  query;
196
196
  checkConnection;
197
+ /**
198
+ * SQPD-1212: Logic-based, rule-driven connection setup. Connectors that
199
+ * implement this expose a step-by-step exploration flow (database/schema/
200
+ * table/etc. discovery) that the dashboard backend drives via the
201
+ * `/connections/:connectionId/setup` endpoint. Implement by delegating to
202
+ * `runSetupFlow` from `setup-flow.ts`.
203
+ */
204
+ setup;
197
205
  constructor(config) {
198
206
  this.slug = config.slug;
199
207
  this.authType = config.authType;
@@ -210,6 +218,7 @@ var ConnectorPlugin = class _ConnectorPlugin {
210
218
  this.tools = config.tools;
211
219
  this.query = config.query;
212
220
  this.checkConnection = config.checkConnection;
221
+ this.setup = config.setup;
213
222
  }
214
223
  get connectorKey() {
215
224
  return _ConnectorPlugin.deriveKey(this.slug, this.authType);
@@ -280,6 +280,14 @@ var ConnectorPlugin = class _ConnectorPlugin {
280
280
  tools;
281
281
  query;
282
282
  checkConnection;
283
+ /**
284
+ * SQPD-1212: Logic-based, rule-driven connection setup. Connectors that
285
+ * implement this expose a step-by-step exploration flow (database/schema/
286
+ * table/etc. discovery) that the dashboard backend drives via the
287
+ * `/connections/:connectionId/setup` endpoint. Implement by delegating to
288
+ * `runSetupFlow` from `setup-flow.ts`.
289
+ */
290
+ setup;
283
291
  constructor(config) {
284
292
  this.slug = config.slug;
285
293
  this.authType = config.authType;
@@ -296,6 +304,7 @@ var ConnectorPlugin = class _ConnectorPlugin {
296
304
  this.tools = config.tools;
297
305
  this.query = config.query;
298
306
  this.checkConnection = config.checkConnection;
307
+ this.setup = config.setup;
299
308
  }
300
309
  get connectorKey() {
301
310
  return _ConnectorPlugin.deriveKey(this.slug, this.authType);
@@ -165,6 +165,14 @@ var ConnectorPlugin = class _ConnectorPlugin {
165
165
  tools;
166
166
  query;
167
167
  checkConnection;
168
+ /**
169
+ * SQPD-1212: Logic-based, rule-driven connection setup. Connectors that
170
+ * implement this expose a step-by-step exploration flow (database/schema/
171
+ * table/etc. discovery) that the dashboard backend drives via the
172
+ * `/connections/:connectionId/setup` endpoint. Implement by delegating to
173
+ * `runSetupFlow` from `setup-flow.ts`.
174
+ */
175
+ setup;
168
176
  constructor(config) {
169
177
  this.slug = config.slug;
170
178
  this.authType = config.authType;
@@ -181,6 +189,7 @@ var ConnectorPlugin = class _ConnectorPlugin {
181
189
  this.tools = config.tools;
182
190
  this.query = config.query;
183
191
  this.checkConnection = config.checkConnection;
192
+ this.setup = config.setup;
184
193
  }
185
194
  get connectorKey() {
186
195
  return _ConnectorPlugin.deriveKey(this.slug, this.authType);
@@ -181,6 +181,14 @@ var ConnectorPlugin = class _ConnectorPlugin {
181
181
  tools;
182
182
  query;
183
183
  checkConnection;
184
+ /**
185
+ * SQPD-1212: Logic-based, rule-driven connection setup. Connectors that
186
+ * implement this expose a step-by-step exploration flow (database/schema/
187
+ * table/etc. discovery) that the dashboard backend drives via the
188
+ * `/connections/:connectionId/setup` endpoint. Implement by delegating to
189
+ * `runSetupFlow` from `setup-flow.ts`.
190
+ */
191
+ setup;
184
192
  constructor(config) {
185
193
  this.slug = config.slug;
186
194
  this.authType = config.authType;
@@ -197,6 +205,7 @@ var ConnectorPlugin = class _ConnectorPlugin {
197
205
  this.tools = config.tools;
198
206
  this.query = config.query;
199
207
  this.checkConnection = config.checkConnection;
208
+ this.setup = config.setup;
200
209
  }
201
210
  get connectorKey() {
202
211
  return _ConnectorPlugin.deriveKey(this.slug, this.authType);
@@ -186,6 +186,14 @@ var ConnectorPlugin = class _ConnectorPlugin {
186
186
  tools;
187
187
  query;
188
188
  checkConnection;
189
+ /**
190
+ * SQPD-1212: Logic-based, rule-driven connection setup. Connectors that
191
+ * implement this expose a step-by-step exploration flow (database/schema/
192
+ * table/etc. discovery) that the dashboard backend drives via the
193
+ * `/connections/:connectionId/setup` endpoint. Implement by delegating to
194
+ * `runSetupFlow` from `setup-flow.ts`.
195
+ */
196
+ setup;
189
197
  constructor(config) {
190
198
  this.slug = config.slug;
191
199
  this.authType = config.authType;
@@ -202,6 +210,7 @@ var ConnectorPlugin = class _ConnectorPlugin {
202
210
  this.tools = config.tools;
203
211
  this.query = config.query;
204
212
  this.checkConnection = config.checkConnection;
213
+ this.setup = config.setup;
205
214
  }
206
215
  get connectorKey() {
207
216
  return _ConnectorPlugin.deriveKey(this.slug, this.authType);
@@ -113,6 +113,14 @@ var ConnectorPlugin = class _ConnectorPlugin {
113
113
  tools;
114
114
  query;
115
115
  checkConnection;
116
+ /**
117
+ * SQPD-1212: Logic-based, rule-driven connection setup. Connectors that
118
+ * implement this expose a step-by-step exploration flow (database/schema/
119
+ * table/etc. discovery) that the dashboard backend drives via the
120
+ * `/connections/:connectionId/setup` endpoint. Implement by delegating to
121
+ * `runSetupFlow` from `setup-flow.ts`.
122
+ */
123
+ setup;
116
124
  constructor(config) {
117
125
  this.slug = config.slug;
118
126
  this.authType = config.authType;
@@ -129,6 +137,7 @@ var ConnectorPlugin = class _ConnectorPlugin {
129
137
  this.tools = config.tools;
130
138
  this.query = config.query;
131
139
  this.checkConnection = config.checkConnection;
140
+ this.setup = config.setup;
132
141
  }
133
142
  get connectorKey() {
134
143
  return _ConnectorPlugin.deriveKey(this.slug, this.authType);