@squadbase/vite-server 0.1.12-dev.822582a → 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 (76) hide show
  1. package/dist/cli/index.js +343 -46
  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 +9 -0
  58. package/dist/connectors/powerbi-oauth.js +9 -0
  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 +129 -55
  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 +343 -46
  74. package/dist/main.js +343 -46
  75. package/dist/vite-plugin.js +343 -46
  76. package/package.json +1 -1
@@ -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);
@@ -202,6 +202,14 @@ var ConnectorPlugin = class _ConnectorPlugin {
202
202
  tools;
203
203
  query;
204
204
  checkConnection;
205
+ /**
206
+ * SQPD-1212: Logic-based, rule-driven connection setup. Connectors that
207
+ * implement this expose a step-by-step exploration flow (database/schema/
208
+ * table/etc. discovery) that the dashboard backend drives via the
209
+ * `/connections/:connectionId/setup` endpoint. Implement by delegating to
210
+ * `runSetupFlow` from `setup-flow.ts`.
211
+ */
212
+ setup;
205
213
  constructor(config) {
206
214
  this.slug = config.slug;
207
215
  this.authType = config.authType;
@@ -218,6 +226,7 @@ var ConnectorPlugin = class _ConnectorPlugin {
218
226
  this.tools = config.tools;
219
227
  this.query = config.query;
220
228
  this.checkConnection = config.checkConnection;
229
+ this.setup = config.setup;
221
230
  }
222
231
  get connectorKey() {
223
232
  return _ConnectorPlugin.deriveKey(this.slug, this.authType);
@@ -195,6 +195,14 @@ var ConnectorPlugin = class _ConnectorPlugin {
195
195
  tools;
196
196
  query;
197
197
  checkConnection;
198
+ /**
199
+ * SQPD-1212: Logic-based, rule-driven connection setup. Connectors that
200
+ * implement this expose a step-by-step exploration flow (database/schema/
201
+ * table/etc. discovery) that the dashboard backend drives via the
202
+ * `/connections/:connectionId/setup` endpoint. Implement by delegating to
203
+ * `runSetupFlow` from `setup-flow.ts`.
204
+ */
205
+ setup;
198
206
  constructor(config) {
199
207
  this.slug = config.slug;
200
208
  this.authType = config.authType;
@@ -211,6 +219,7 @@ var ConnectorPlugin = class _ConnectorPlugin {
211
219
  this.tools = config.tools;
212
220
  this.query = config.query;
213
221
  this.checkConnection = config.checkConnection;
222
+ this.setup = config.setup;
214
223
  }
215
224
  get connectorKey() {
216
225
  return _ConnectorPlugin.deriveKey(this.slug, this.authType);
@@ -183,6 +183,14 @@ var ConnectorPlugin = class _ConnectorPlugin {
183
183
  tools;
184
184
  query;
185
185
  checkConnection;
186
+ /**
187
+ * SQPD-1212: Logic-based, rule-driven connection setup. Connectors that
188
+ * implement this expose a step-by-step exploration flow (database/schema/
189
+ * table/etc. discovery) that the dashboard backend drives via the
190
+ * `/connections/:connectionId/setup` endpoint. Implement by delegating to
191
+ * `runSetupFlow` from `setup-flow.ts`.
192
+ */
193
+ setup;
186
194
  constructor(config) {
187
195
  this.slug = config.slug;
188
196
  this.authType = config.authType;
@@ -199,6 +207,7 @@ var ConnectorPlugin = class _ConnectorPlugin {
199
207
  this.tools = config.tools;
200
208
  this.query = config.query;
201
209
  this.checkConnection = config.checkConnection;
210
+ this.setup = config.setup;
202
211
  }
203
212
  get connectorKey() {
204
213
  return _ConnectorPlugin.deriveKey(this.slug, this.authType);
@@ -125,6 +125,14 @@ var ConnectorPlugin = class _ConnectorPlugin {
125
125
  tools;
126
126
  query;
127
127
  checkConnection;
128
+ /**
129
+ * SQPD-1212: Logic-based, rule-driven connection setup. Connectors that
130
+ * implement this expose a step-by-step exploration flow (database/schema/
131
+ * table/etc. discovery) that the dashboard backend drives via the
132
+ * `/connections/:connectionId/setup` endpoint. Implement by delegating to
133
+ * `runSetupFlow` from `setup-flow.ts`.
134
+ */
135
+ setup;
128
136
  constructor(config) {
129
137
  this.slug = config.slug;
130
138
  this.authType = config.authType;
@@ -141,6 +149,7 @@ var ConnectorPlugin = class _ConnectorPlugin {
141
149
  this.tools = config.tools;
142
150
  this.query = config.query;
143
151
  this.checkConnection = config.checkConnection;
152
+ this.setup = config.setup;
144
153
  }
145
154
  get connectorKey() {
146
155
  return _ConnectorPlugin.deriveKey(this.slug, this.authType);
@@ -222,6 +222,14 @@ var ConnectorPlugin = class _ConnectorPlugin {
222
222
  tools;
223
223
  query;
224
224
  checkConnection;
225
+ /**
226
+ * SQPD-1212: Logic-based, rule-driven connection setup. Connectors that
227
+ * implement this expose a step-by-step exploration flow (database/schema/
228
+ * table/etc. discovery) that the dashboard backend drives via the
229
+ * `/connections/:connectionId/setup` endpoint. Implement by delegating to
230
+ * `runSetupFlow` from `setup-flow.ts`.
231
+ */
232
+ setup;
225
233
  constructor(config) {
226
234
  this.slug = config.slug;
227
235
  this.authType = config.authType;
@@ -238,6 +246,7 @@ var ConnectorPlugin = class _ConnectorPlugin {
238
246
  this.tools = config.tools;
239
247
  this.query = config.query;
240
248
  this.checkConnection = config.checkConnection;
249
+ this.setup = config.setup;
241
250
  }
242
251
  get connectorKey() {
243
252
  return _ConnectorPlugin.deriveKey(this.slug, this.authType);
@@ -67,6 +67,14 @@ var ConnectorPlugin = class _ConnectorPlugin {
67
67
  tools;
68
68
  query;
69
69
  checkConnection;
70
+ /**
71
+ * SQPD-1212: Logic-based, rule-driven connection setup. Connectors that
72
+ * implement this expose a step-by-step exploration flow (database/schema/
73
+ * table/etc. discovery) that the dashboard backend drives via the
74
+ * `/connections/:connectionId/setup` endpoint. Implement by delegating to
75
+ * `runSetupFlow` from `setup-flow.ts`.
76
+ */
77
+ setup;
70
78
  constructor(config) {
71
79
  this.slug = config.slug;
72
80
  this.authType = config.authType;
@@ -83,6 +91,7 @@ var ConnectorPlugin = class _ConnectorPlugin {
83
91
  this.tools = config.tools;
84
92
  this.query = config.query;
85
93
  this.checkConnection = config.checkConnection;
94
+ this.setup = config.setup;
86
95
  }
87
96
  get connectorKey() {
88
97
  return _ConnectorPlugin.deriveKey(this.slug, this.authType);
@@ -196,6 +196,14 @@ var ConnectorPlugin = class _ConnectorPlugin {
196
196
  tools;
197
197
  query;
198
198
  checkConnection;
199
+ /**
200
+ * SQPD-1212: Logic-based, rule-driven connection setup. Connectors that
201
+ * implement this expose a step-by-step exploration flow (database/schema/
202
+ * table/etc. discovery) that the dashboard backend drives via the
203
+ * `/connections/:connectionId/setup` endpoint. Implement by delegating to
204
+ * `runSetupFlow` from `setup-flow.ts`.
205
+ */
206
+ setup;
199
207
  constructor(config) {
200
208
  this.slug = config.slug;
201
209
  this.authType = config.authType;
@@ -212,6 +220,7 @@ var ConnectorPlugin = class _ConnectorPlugin {
212
220
  this.tools = config.tools;
213
221
  this.query = config.query;
214
222
  this.checkConnection = config.checkConnection;
223
+ this.setup = config.setup;
215
224
  }
216
225
  get connectorKey() {
217
226
  return _ConnectorPlugin.deriveKey(this.slug, this.authType);
@@ -255,6 +255,14 @@ var ConnectorPlugin = class _ConnectorPlugin {
255
255
  tools;
256
256
  query;
257
257
  checkConnection;
258
+ /**
259
+ * SQPD-1212: Logic-based, rule-driven connection setup. Connectors that
260
+ * implement this expose a step-by-step exploration flow (database/schema/
261
+ * table/etc. discovery) that the dashboard backend drives via the
262
+ * `/connections/:connectionId/setup` endpoint. Implement by delegating to
263
+ * `runSetupFlow` from `setup-flow.ts`.
264
+ */
265
+ setup;
258
266
  constructor(config) {
259
267
  this.slug = config.slug;
260
268
  this.authType = config.authType;
@@ -271,6 +279,7 @@ var ConnectorPlugin = class _ConnectorPlugin {
271
279
  this.tools = config.tools;
272
280
  this.query = config.query;
273
281
  this.checkConnection = config.checkConnection;
282
+ this.setup = config.setup;
274
283
  }
275
284
  get connectorKey() {
276
285
  return _ConnectorPlugin.deriveKey(this.slug, this.authType);