@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.
- package/dist/cli/index.js +343 -46
- package/dist/connectors/airtable-oauth.js +9 -0
- package/dist/connectors/airtable.js +9 -0
- package/dist/connectors/amplitude.js +9 -0
- package/dist/connectors/anthropic.js +9 -0
- package/dist/connectors/asana.js +9 -0
- package/dist/connectors/attio.js +9 -0
- package/dist/connectors/aws-billing.js +9 -0
- package/dist/connectors/azure-sql.js +9 -0
- package/dist/connectors/backlog-api-key.js +9 -0
- package/dist/connectors/clickup.js +9 -0
- package/dist/connectors/cosmosdb.js +9 -0
- package/dist/connectors/customerio.js +9 -0
- package/dist/connectors/dbt.js +9 -0
- package/dist/connectors/freshdesk.js +9 -0
- package/dist/connectors/freshsales.js +9 -0
- package/dist/connectors/freshservice.js +9 -0
- package/dist/connectors/gamma.js +9 -0
- package/dist/connectors/gemini.js +9 -0
- package/dist/connectors/github.js +9 -0
- package/dist/connectors/gmail-oauth.js +9 -0
- package/dist/connectors/gmail.js +9 -0
- package/dist/connectors/google-ads.js +9 -0
- package/dist/connectors/google-analytics-oauth.js +9 -0
- package/dist/connectors/google-analytics.js +9 -0
- package/dist/connectors/google-audit-log.js +9 -0
- package/dist/connectors/google-calendar-oauth.js +9 -0
- package/dist/connectors/google-calendar.js +9 -0
- package/dist/connectors/google-docs.js +9 -0
- package/dist/connectors/google-drive.js +9 -0
- package/dist/connectors/google-search-console-oauth.js +9 -0
- package/dist/connectors/google-sheets.js +9 -0
- package/dist/connectors/google-slides.js +9 -0
- package/dist/connectors/grafana.js +9 -0
- package/dist/connectors/hubspot-oauth.js +9 -0
- package/dist/connectors/hubspot.js +9 -0
- package/dist/connectors/influxdb.js +9 -0
- package/dist/connectors/intercom-oauth.js +9 -0
- package/dist/connectors/intercom.js +9 -0
- package/dist/connectors/jdbc.js +9 -0
- package/dist/connectors/jira-api-key.js +9 -0
- package/dist/connectors/kintone-api-token.js +9 -0
- package/dist/connectors/kintone.js +9 -0
- package/dist/connectors/linear.js +9 -0
- package/dist/connectors/linkedin-ads.js +9 -0
- package/dist/connectors/mailchimp-oauth.js +9 -0
- package/dist/connectors/mailchimp.js +9 -0
- package/dist/connectors/meta-ads-oauth.js +9 -0
- package/dist/connectors/meta-ads.js +9 -0
- package/dist/connectors/mixpanel.js +9 -0
- package/dist/connectors/monday.js +9 -0
- package/dist/connectors/mongodb.js +9 -0
- package/dist/connectors/notion-oauth.js +9 -0
- package/dist/connectors/notion.js +9 -0
- package/dist/connectors/openai.js +9 -0
- package/dist/connectors/oracle.js +9 -0
- package/dist/connectors/outlook-oauth.js +9 -0
- package/dist/connectors/powerbi-oauth.js +9 -0
- package/dist/connectors/salesforce.js +9 -0
- package/dist/connectors/semrush.js +9 -0
- package/dist/connectors/sentry.js +9 -0
- package/dist/connectors/shopify-oauth.js +9 -0
- package/dist/connectors/shopify.js +9 -0
- package/dist/connectors/sqlserver.js +9 -0
- package/dist/connectors/stripe-api-key.js +9 -0
- package/dist/connectors/stripe-oauth.js +9 -0
- package/dist/connectors/supabase.js +9 -0
- package/dist/connectors/tableau.js +129 -55
- package/dist/connectors/tiktok-ads.js +9 -0
- package/dist/connectors/wix-store.js +9 -0
- package/dist/connectors/zendesk-oauth.js +9 -0
- package/dist/connectors/zendesk.js +9 -0
- package/dist/index.js +343 -46
- package/dist/main.js +343 -46
- package/dist/vite-plugin.js +343 -46
- package/package.json +1 -1
|
@@ -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);
|
|
@@ -214,6 +214,14 @@ var ConnectorPlugin = class _ConnectorPlugin {
|
|
|
214
214
|
tools;
|
|
215
215
|
query;
|
|
216
216
|
checkConnection;
|
|
217
|
+
/**
|
|
218
|
+
* SQPD-1212: Logic-based, rule-driven connection setup. Connectors that
|
|
219
|
+
* implement this expose a step-by-step exploration flow (database/schema/
|
|
220
|
+
* table/etc. discovery) that the dashboard backend drives via the
|
|
221
|
+
* `/connections/:connectionId/setup` endpoint. Implement by delegating to
|
|
222
|
+
* `runSetupFlow` from `setup-flow.ts`.
|
|
223
|
+
*/
|
|
224
|
+
setup;
|
|
217
225
|
constructor(config) {
|
|
218
226
|
this.slug = config.slug;
|
|
219
227
|
this.authType = config.authType;
|
|
@@ -230,6 +238,7 @@ var ConnectorPlugin = class _ConnectorPlugin {
|
|
|
230
238
|
this.tools = config.tools;
|
|
231
239
|
this.query = config.query;
|
|
232
240
|
this.checkConnection = config.checkConnection;
|
|
241
|
+
this.setup = config.setup;
|
|
233
242
|
}
|
|
234
243
|
get connectorKey() {
|
|
235
244
|
return _ConnectorPlugin.deriveKey(this.slug, this.authType);
|
package/dist/connectors/jdbc.js
CHANGED
|
@@ -763,6 +763,14 @@ var ConnectorPlugin = class _ConnectorPlugin {
|
|
|
763
763
|
tools;
|
|
764
764
|
query;
|
|
765
765
|
checkConnection;
|
|
766
|
+
/**
|
|
767
|
+
* SQPD-1212: Logic-based, rule-driven connection setup. Connectors that
|
|
768
|
+
* implement this expose a step-by-step exploration flow (database/schema/
|
|
769
|
+
* table/etc. discovery) that the dashboard backend drives via the
|
|
770
|
+
* `/connections/:connectionId/setup` endpoint. Implement by delegating to
|
|
771
|
+
* `runSetupFlow` from `setup-flow.ts`.
|
|
772
|
+
*/
|
|
773
|
+
setup;
|
|
766
774
|
constructor(config) {
|
|
767
775
|
this.slug = config.slug;
|
|
768
776
|
this.authType = config.authType;
|
|
@@ -779,6 +787,7 @@ var ConnectorPlugin = class _ConnectorPlugin {
|
|
|
779
787
|
this.tools = config.tools;
|
|
780
788
|
this.query = config.query;
|
|
781
789
|
this.checkConnection = config.checkConnection;
|
|
790
|
+
this.setup = config.setup;
|
|
782
791
|
}
|
|
783
792
|
get connectorKey() {
|
|
784
793
|
return _ConnectorPlugin.deriveKey(this.slug, this.authType);
|
|
@@ -163,6 +163,14 @@ var ConnectorPlugin = class _ConnectorPlugin {
|
|
|
163
163
|
tools;
|
|
164
164
|
query;
|
|
165
165
|
checkConnection;
|
|
166
|
+
/**
|
|
167
|
+
* SQPD-1212: Logic-based, rule-driven connection setup. Connectors that
|
|
168
|
+
* implement this expose a step-by-step exploration flow (database/schema/
|
|
169
|
+
* table/etc. discovery) that the dashboard backend drives via the
|
|
170
|
+
* `/connections/:connectionId/setup` endpoint. Implement by delegating to
|
|
171
|
+
* `runSetupFlow` from `setup-flow.ts`.
|
|
172
|
+
*/
|
|
173
|
+
setup;
|
|
166
174
|
constructor(config) {
|
|
167
175
|
this.slug = config.slug;
|
|
168
176
|
this.authType = config.authType;
|
|
@@ -179,6 +187,7 @@ var ConnectorPlugin = class _ConnectorPlugin {
|
|
|
179
187
|
this.tools = config.tools;
|
|
180
188
|
this.query = config.query;
|
|
181
189
|
this.checkConnection = config.checkConnection;
|
|
190
|
+
this.setup = config.setup;
|
|
182
191
|
}
|
|
183
192
|
get connectorKey() {
|
|
184
193
|
return _ConnectorPlugin.deriveKey(this.slug, this.authType);
|
|
@@ -192,6 +192,14 @@ var ConnectorPlugin = class _ConnectorPlugin {
|
|
|
192
192
|
tools;
|
|
193
193
|
query;
|
|
194
194
|
checkConnection;
|
|
195
|
+
/**
|
|
196
|
+
* SQPD-1212: Logic-based, rule-driven connection setup. Connectors that
|
|
197
|
+
* implement this expose a step-by-step exploration flow (database/schema/
|
|
198
|
+
* table/etc. discovery) that the dashboard backend drives via the
|
|
199
|
+
* `/connections/:connectionId/setup` endpoint. Implement by delegating to
|
|
200
|
+
* `runSetupFlow` from `setup-flow.ts`.
|
|
201
|
+
*/
|
|
202
|
+
setup;
|
|
195
203
|
constructor(config) {
|
|
196
204
|
this.slug = config.slug;
|
|
197
205
|
this.authType = config.authType;
|
|
@@ -208,6 +216,7 @@ var ConnectorPlugin = class _ConnectorPlugin {
|
|
|
208
216
|
this.tools = config.tools;
|
|
209
217
|
this.query = config.query;
|
|
210
218
|
this.checkConnection = config.checkConnection;
|
|
219
|
+
this.setup = config.setup;
|
|
211
220
|
}
|
|
212
221
|
get connectorKey() {
|
|
213
222
|
return _ConnectorPlugin.deriveKey(this.slug, this.authType);
|
|
@@ -201,6 +201,14 @@ var ConnectorPlugin = class _ConnectorPlugin {
|
|
|
201
201
|
tools;
|
|
202
202
|
query;
|
|
203
203
|
checkConnection;
|
|
204
|
+
/**
|
|
205
|
+
* SQPD-1212: Logic-based, rule-driven connection setup. Connectors that
|
|
206
|
+
* implement this expose a step-by-step exploration flow (database/schema/
|
|
207
|
+
* table/etc. discovery) that the dashboard backend drives via the
|
|
208
|
+
* `/connections/:connectionId/setup` endpoint. Implement by delegating to
|
|
209
|
+
* `runSetupFlow` from `setup-flow.ts`.
|
|
210
|
+
*/
|
|
211
|
+
setup;
|
|
204
212
|
constructor(config) {
|
|
205
213
|
this.slug = config.slug;
|
|
206
214
|
this.authType = config.authType;
|
|
@@ -217,6 +225,7 @@ var ConnectorPlugin = class _ConnectorPlugin {
|
|
|
217
225
|
this.tools = config.tools;
|
|
218
226
|
this.query = config.query;
|
|
219
227
|
this.checkConnection = config.checkConnection;
|
|
228
|
+
this.setup = config.setup;
|
|
220
229
|
}
|
|
221
230
|
get connectorKey() {
|
|
222
231
|
return _ConnectorPlugin.deriveKey(this.slug, this.authType);
|
|
@@ -207,6 +207,14 @@ var ConnectorPlugin = class _ConnectorPlugin {
|
|
|
207
207
|
tools;
|
|
208
208
|
query;
|
|
209
209
|
checkConnection;
|
|
210
|
+
/**
|
|
211
|
+
* SQPD-1212: Logic-based, rule-driven connection setup. Connectors that
|
|
212
|
+
* implement this expose a step-by-step exploration flow (database/schema/
|
|
213
|
+
* table/etc. discovery) that the dashboard backend drives via the
|
|
214
|
+
* `/connections/:connectionId/setup` endpoint. Implement by delegating to
|
|
215
|
+
* `runSetupFlow` from `setup-flow.ts`.
|
|
216
|
+
*/
|
|
217
|
+
setup;
|
|
210
218
|
constructor(config) {
|
|
211
219
|
this.slug = config.slug;
|
|
212
220
|
this.authType = config.authType;
|
|
@@ -223,6 +231,7 @@ var ConnectorPlugin = class _ConnectorPlugin {
|
|
|
223
231
|
this.tools = config.tools;
|
|
224
232
|
this.query = config.query;
|
|
225
233
|
this.checkConnection = config.checkConnection;
|
|
234
|
+
this.setup = config.setup;
|
|
226
235
|
}
|
|
227
236
|
get connectorKey() {
|
|
228
237
|
return _ConnectorPlugin.deriveKey(this.slug, this.authType);
|
|
@@ -111,6 +111,14 @@ var ConnectorPlugin = class _ConnectorPlugin {
|
|
|
111
111
|
tools;
|
|
112
112
|
query;
|
|
113
113
|
checkConnection;
|
|
114
|
+
/**
|
|
115
|
+
* SQPD-1212: Logic-based, rule-driven connection setup. Connectors that
|
|
116
|
+
* implement this expose a step-by-step exploration flow (database/schema/
|
|
117
|
+
* table/etc. discovery) that the dashboard backend drives via the
|
|
118
|
+
* `/connections/:connectionId/setup` endpoint. Implement by delegating to
|
|
119
|
+
* `runSetupFlow` from `setup-flow.ts`.
|
|
120
|
+
*/
|
|
121
|
+
setup;
|
|
114
122
|
constructor(config) {
|
|
115
123
|
this.slug = config.slug;
|
|
116
124
|
this.authType = config.authType;
|
|
@@ -127,6 +135,7 @@ var ConnectorPlugin = class _ConnectorPlugin {
|
|
|
127
135
|
this.tools = config.tools;
|
|
128
136
|
this.query = config.query;
|
|
129
137
|
this.checkConnection = config.checkConnection;
|
|
138
|
+
this.setup = config.setup;
|
|
130
139
|
}
|
|
131
140
|
get connectorKey() {
|
|
132
141
|
return _ConnectorPlugin.deriveKey(this.slug, this.authType);
|
|
@@ -117,6 +117,14 @@ var ConnectorPlugin = class _ConnectorPlugin {
|
|
|
117
117
|
tools;
|
|
118
118
|
query;
|
|
119
119
|
checkConnection;
|
|
120
|
+
/**
|
|
121
|
+
* SQPD-1212: Logic-based, rule-driven connection setup. Connectors that
|
|
122
|
+
* implement this expose a step-by-step exploration flow (database/schema/
|
|
123
|
+
* table/etc. discovery) that the dashboard backend drives via the
|
|
124
|
+
* `/connections/:connectionId/setup` endpoint. Implement by delegating to
|
|
125
|
+
* `runSetupFlow` from `setup-flow.ts`.
|
|
126
|
+
*/
|
|
127
|
+
setup;
|
|
120
128
|
constructor(config) {
|
|
121
129
|
this.slug = config.slug;
|
|
122
130
|
this.authType = config.authType;
|
|
@@ -133,6 +141,7 @@ var ConnectorPlugin = class _ConnectorPlugin {
|
|
|
133
141
|
this.tools = config.tools;
|
|
134
142
|
this.query = config.query;
|
|
135
143
|
this.checkConnection = config.checkConnection;
|
|
144
|
+
this.setup = config.setup;
|
|
136
145
|
}
|
|
137
146
|
get connectorKey() {
|
|
138
147
|
return _ConnectorPlugin.deriveKey(this.slug, this.authType);
|
|
@@ -221,6 +221,14 @@ var ConnectorPlugin = class _ConnectorPlugin {
|
|
|
221
221
|
tools;
|
|
222
222
|
query;
|
|
223
223
|
checkConnection;
|
|
224
|
+
/**
|
|
225
|
+
* SQPD-1212: Logic-based, rule-driven connection setup. Connectors that
|
|
226
|
+
* implement this expose a step-by-step exploration flow (database/schema/
|
|
227
|
+
* table/etc. discovery) that the dashboard backend drives via the
|
|
228
|
+
* `/connections/:connectionId/setup` endpoint. Implement by delegating to
|
|
229
|
+
* `runSetupFlow` from `setup-flow.ts`.
|
|
230
|
+
*/
|
|
231
|
+
setup;
|
|
224
232
|
constructor(config) {
|
|
225
233
|
this.slug = config.slug;
|
|
226
234
|
this.authType = config.authType;
|
|
@@ -237,6 +245,7 @@ var ConnectorPlugin = class _ConnectorPlugin {
|
|
|
237
245
|
this.tools = config.tools;
|
|
238
246
|
this.query = config.query;
|
|
239
247
|
this.checkConnection = config.checkConnection;
|
|
248
|
+
this.setup = config.setup;
|
|
240
249
|
}
|
|
241
250
|
get connectorKey() {
|
|
242
251
|
return _ConnectorPlugin.deriveKey(this.slug, this.authType);
|
|
@@ -111,6 +111,14 @@ var ConnectorPlugin = class _ConnectorPlugin {
|
|
|
111
111
|
tools;
|
|
112
112
|
query;
|
|
113
113
|
checkConnection;
|
|
114
|
+
/**
|
|
115
|
+
* SQPD-1212: Logic-based, rule-driven connection setup. Connectors that
|
|
116
|
+
* implement this expose a step-by-step exploration flow (database/schema/
|
|
117
|
+
* table/etc. discovery) that the dashboard backend drives via the
|
|
118
|
+
* `/connections/:connectionId/setup` endpoint. Implement by delegating to
|
|
119
|
+
* `runSetupFlow` from `setup-flow.ts`.
|
|
120
|
+
*/
|
|
121
|
+
setup;
|
|
114
122
|
constructor(config) {
|
|
115
123
|
this.slug = config.slug;
|
|
116
124
|
this.authType = config.authType;
|
|
@@ -127,6 +135,7 @@ var ConnectorPlugin = class _ConnectorPlugin {
|
|
|
127
135
|
this.tools = config.tools;
|
|
128
136
|
this.query = config.query;
|
|
129
137
|
this.checkConnection = config.checkConnection;
|
|
138
|
+
this.setup = config.setup;
|
|
130
139
|
}
|
|
131
140
|
get connectorKey() {
|
|
132
141
|
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);
|
|
@@ -273,6 +273,14 @@ var ConnectorPlugin = class _ConnectorPlugin {
|
|
|
273
273
|
tools;
|
|
274
274
|
query;
|
|
275
275
|
checkConnection;
|
|
276
|
+
/**
|
|
277
|
+
* SQPD-1212: Logic-based, rule-driven connection setup. Connectors that
|
|
278
|
+
* implement this expose a step-by-step exploration flow (database/schema/
|
|
279
|
+
* table/etc. discovery) that the dashboard backend drives via the
|
|
280
|
+
* `/connections/:connectionId/setup` endpoint. Implement by delegating to
|
|
281
|
+
* `runSetupFlow` from `setup-flow.ts`.
|
|
282
|
+
*/
|
|
283
|
+
setup;
|
|
276
284
|
constructor(config) {
|
|
277
285
|
this.slug = config.slug;
|
|
278
286
|
this.authType = config.authType;
|
|
@@ -289,6 +297,7 @@ var ConnectorPlugin = class _ConnectorPlugin {
|
|
|
289
297
|
this.tools = config.tools;
|
|
290
298
|
this.query = config.query;
|
|
291
299
|
this.checkConnection = config.checkConnection;
|
|
300
|
+
this.setup = config.setup;
|
|
292
301
|
}
|
|
293
302
|
get connectorKey() {
|
|
294
303
|
return _ConnectorPlugin.deriveKey(this.slug, this.authType);
|
|
@@ -303,6 +303,14 @@ var ConnectorPlugin = class _ConnectorPlugin {
|
|
|
303
303
|
tools;
|
|
304
304
|
query;
|
|
305
305
|
checkConnection;
|
|
306
|
+
/**
|
|
307
|
+
* SQPD-1212: Logic-based, rule-driven connection setup. Connectors that
|
|
308
|
+
* implement this expose a step-by-step exploration flow (database/schema/
|
|
309
|
+
* table/etc. discovery) that the dashboard backend drives via the
|
|
310
|
+
* `/connections/:connectionId/setup` endpoint. Implement by delegating to
|
|
311
|
+
* `runSetupFlow` from `setup-flow.ts`.
|
|
312
|
+
*/
|
|
313
|
+
setup;
|
|
306
314
|
constructor(config) {
|
|
307
315
|
this.slug = config.slug;
|
|
308
316
|
this.authType = config.authType;
|
|
@@ -319,6 +327,7 @@ var ConnectorPlugin = class _ConnectorPlugin {
|
|
|
319
327
|
this.tools = config.tools;
|
|
320
328
|
this.query = config.query;
|
|
321
329
|
this.checkConnection = config.checkConnection;
|
|
330
|
+
this.setup = config.setup;
|
|
322
331
|
}
|
|
323
332
|
get connectorKey() {
|
|
324
333
|
return _ConnectorPlugin.deriveKey(this.slug, this.authType);
|
|
@@ -208,6 +208,14 @@ var ConnectorPlugin = class _ConnectorPlugin {
|
|
|
208
208
|
tools;
|
|
209
209
|
query;
|
|
210
210
|
checkConnection;
|
|
211
|
+
/**
|
|
212
|
+
* SQPD-1212: Logic-based, rule-driven connection setup. Connectors that
|
|
213
|
+
* implement this expose a step-by-step exploration flow (database/schema/
|
|
214
|
+
* table/etc. discovery) that the dashboard backend drives via the
|
|
215
|
+
* `/connections/:connectionId/setup` endpoint. Implement by delegating to
|
|
216
|
+
* `runSetupFlow` from `setup-flow.ts`.
|
|
217
|
+
*/
|
|
218
|
+
setup;
|
|
211
219
|
constructor(config) {
|
|
212
220
|
this.slug = config.slug;
|
|
213
221
|
this.authType = config.authType;
|
|
@@ -224,6 +232,7 @@ var ConnectorPlugin = class _ConnectorPlugin {
|
|
|
224
232
|
this.tools = config.tools;
|
|
225
233
|
this.query = config.query;
|
|
226
234
|
this.checkConnection = config.checkConnection;
|
|
235
|
+
this.setup = config.setup;
|
|
227
236
|
}
|
|
228
237
|
get connectorKey() {
|
|
229
238
|
return _ConnectorPlugin.deriveKey(this.slug, this.authType);
|
|
@@ -71,6 +71,14 @@ var ConnectorPlugin = class _ConnectorPlugin {
|
|
|
71
71
|
tools;
|
|
72
72
|
query;
|
|
73
73
|
checkConnection;
|
|
74
|
+
/**
|
|
75
|
+
* SQPD-1212: Logic-based, rule-driven connection setup. Connectors that
|
|
76
|
+
* implement this expose a step-by-step exploration flow (database/schema/
|
|
77
|
+
* table/etc. discovery) that the dashboard backend drives via the
|
|
78
|
+
* `/connections/:connectionId/setup` endpoint. Implement by delegating to
|
|
79
|
+
* `runSetupFlow` from `setup-flow.ts`.
|
|
80
|
+
*/
|
|
81
|
+
setup;
|
|
74
82
|
constructor(config) {
|
|
75
83
|
this.slug = config.slug;
|
|
76
84
|
this.authType = config.authType;
|
|
@@ -87,6 +95,7 @@ var ConnectorPlugin = class _ConnectorPlugin {
|
|
|
87
95
|
this.tools = config.tools;
|
|
88
96
|
this.query = config.query;
|
|
89
97
|
this.checkConnection = config.checkConnection;
|
|
98
|
+
this.setup = config.setup;
|
|
90
99
|
}
|
|
91
100
|
get connectorKey() {
|
|
92
101
|
return _ConnectorPlugin.deriveKey(this.slug, this.authType);
|
|
@@ -223,6 +223,14 @@ var ConnectorPlugin = class _ConnectorPlugin {
|
|
|
223
223
|
tools;
|
|
224
224
|
query;
|
|
225
225
|
checkConnection;
|
|
226
|
+
/**
|
|
227
|
+
* SQPD-1212: Logic-based, rule-driven connection setup. Connectors that
|
|
228
|
+
* implement this expose a step-by-step exploration flow (database/schema/
|
|
229
|
+
* table/etc. discovery) that the dashboard backend drives via the
|
|
230
|
+
* `/connections/:connectionId/setup` endpoint. Implement by delegating to
|
|
231
|
+
* `runSetupFlow` from `setup-flow.ts`.
|
|
232
|
+
*/
|
|
233
|
+
setup;
|
|
226
234
|
constructor(config) {
|
|
227
235
|
this.slug = config.slug;
|
|
228
236
|
this.authType = config.authType;
|
|
@@ -239,6 +247,7 @@ var ConnectorPlugin = class _ConnectorPlugin {
|
|
|
239
247
|
this.tools = config.tools;
|
|
240
248
|
this.query = config.query;
|
|
241
249
|
this.checkConnection = config.checkConnection;
|
|
250
|
+
this.setup = config.setup;
|
|
242
251
|
}
|
|
243
252
|
get connectorKey() {
|
|
244
253
|
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);
|
|
@@ -438,6 +438,14 @@ var ConnectorPlugin = class _ConnectorPlugin {
|
|
|
438
438
|
tools;
|
|
439
439
|
query;
|
|
440
440
|
checkConnection;
|
|
441
|
+
/**
|
|
442
|
+
* SQPD-1212: Logic-based, rule-driven connection setup. Connectors that
|
|
443
|
+
* implement this expose a step-by-step exploration flow (database/schema/
|
|
444
|
+
* table/etc. discovery) that the dashboard backend drives via the
|
|
445
|
+
* `/connections/:connectionId/setup` endpoint. Implement by delegating to
|
|
446
|
+
* `runSetupFlow` from `setup-flow.ts`.
|
|
447
|
+
*/
|
|
448
|
+
setup;
|
|
441
449
|
constructor(config) {
|
|
442
450
|
this.slug = config.slug;
|
|
443
451
|
this.authType = config.authType;
|
|
@@ -454,6 +462,7 @@ var ConnectorPlugin = class _ConnectorPlugin {
|
|
|
454
462
|
this.tools = config.tools;
|
|
455
463
|
this.query = config.query;
|
|
456
464
|
this.checkConnection = config.checkConnection;
|
|
465
|
+
this.setup = config.setup;
|
|
457
466
|
}
|
|
458
467
|
get connectorKey() {
|
|
459
468
|
return _ConnectorPlugin.deriveKey(this.slug, this.authType);
|
|
@@ -185,6 +185,14 @@ var ConnectorPlugin = class _ConnectorPlugin {
|
|
|
185
185
|
tools;
|
|
186
186
|
query;
|
|
187
187
|
checkConnection;
|
|
188
|
+
/**
|
|
189
|
+
* SQPD-1212: Logic-based, rule-driven connection setup. Connectors that
|
|
190
|
+
* implement this expose a step-by-step exploration flow (database/schema/
|
|
191
|
+
* table/etc. discovery) that the dashboard backend drives via the
|
|
192
|
+
* `/connections/:connectionId/setup` endpoint. Implement by delegating to
|
|
193
|
+
* `runSetupFlow` from `setup-flow.ts`.
|
|
194
|
+
*/
|
|
195
|
+
setup;
|
|
188
196
|
constructor(config) {
|
|
189
197
|
this.slug = config.slug;
|
|
190
198
|
this.authType = config.authType;
|
|
@@ -201,6 +209,7 @@ var ConnectorPlugin = class _ConnectorPlugin {
|
|
|
201
209
|
this.tools = config.tools;
|
|
202
210
|
this.query = config.query;
|
|
203
211
|
this.checkConnection = config.checkConnection;
|
|
212
|
+
this.setup = config.setup;
|
|
204
213
|
}
|
|
205
214
|
get connectorKey() {
|
|
206
215
|
return _ConnectorPlugin.deriveKey(this.slug, this.authType);
|
|
@@ -143,6 +143,14 @@ var ConnectorPlugin = class _ConnectorPlugin {
|
|
|
143
143
|
tools;
|
|
144
144
|
query;
|
|
145
145
|
checkConnection;
|
|
146
|
+
/**
|
|
147
|
+
* SQPD-1212: Logic-based, rule-driven connection setup. Connectors that
|
|
148
|
+
* implement this expose a step-by-step exploration flow (database/schema/
|
|
149
|
+
* table/etc. discovery) that the dashboard backend drives via the
|
|
150
|
+
* `/connections/:connectionId/setup` endpoint. Implement by delegating to
|
|
151
|
+
* `runSetupFlow` from `setup-flow.ts`.
|
|
152
|
+
*/
|
|
153
|
+
setup;
|
|
146
154
|
constructor(config) {
|
|
147
155
|
this.slug = config.slug;
|
|
148
156
|
this.authType = config.authType;
|
|
@@ -159,6 +167,7 @@ var ConnectorPlugin = class _ConnectorPlugin {
|
|
|
159
167
|
this.tools = config.tools;
|
|
160
168
|
this.query = config.query;
|
|
161
169
|
this.checkConnection = config.checkConnection;
|
|
170
|
+
this.setup = config.setup;
|
|
162
171
|
}
|
|
163
172
|
get connectorKey() {
|
|
164
173
|
return _ConnectorPlugin.deriveKey(this.slug, this.authType);
|
|
@@ -272,6 +272,14 @@ var ConnectorPlugin = class _ConnectorPlugin {
|
|
|
272
272
|
tools;
|
|
273
273
|
query;
|
|
274
274
|
checkConnection;
|
|
275
|
+
/**
|
|
276
|
+
* SQPD-1212: Logic-based, rule-driven connection setup. Connectors that
|
|
277
|
+
* implement this expose a step-by-step exploration flow (database/schema/
|
|
278
|
+
* table/etc. discovery) that the dashboard backend drives via the
|
|
279
|
+
* `/connections/:connectionId/setup` endpoint. Implement by delegating to
|
|
280
|
+
* `runSetupFlow` from `setup-flow.ts`.
|
|
281
|
+
*/
|
|
282
|
+
setup;
|
|
275
283
|
constructor(config) {
|
|
276
284
|
this.slug = config.slug;
|
|
277
285
|
this.authType = config.authType;
|
|
@@ -288,6 +296,7 @@ var ConnectorPlugin = class _ConnectorPlugin {
|
|
|
288
296
|
this.tools = config.tools;
|
|
289
297
|
this.query = config.query;
|
|
290
298
|
this.checkConnection = config.checkConnection;
|
|
299
|
+
this.setup = config.setup;
|
|
291
300
|
}
|
|
292
301
|
get connectorKey() {
|
|
293
302
|
return _ConnectorPlugin.deriveKey(this.slug, this.authType);
|
|
@@ -236,6 +236,14 @@ var ConnectorPlugin = class _ConnectorPlugin {
|
|
|
236
236
|
tools;
|
|
237
237
|
query;
|
|
238
238
|
checkConnection;
|
|
239
|
+
/**
|
|
240
|
+
* SQPD-1212: Logic-based, rule-driven connection setup. Connectors that
|
|
241
|
+
* implement this expose a step-by-step exploration flow (database/schema/
|
|
242
|
+
* table/etc. discovery) that the dashboard backend drives via the
|
|
243
|
+
* `/connections/:connectionId/setup` endpoint. Implement by delegating to
|
|
244
|
+
* `runSetupFlow` from `setup-flow.ts`.
|
|
245
|
+
*/
|
|
246
|
+
setup;
|
|
239
247
|
constructor(config) {
|
|
240
248
|
this.slug = config.slug;
|
|
241
249
|
this.authType = config.authType;
|
|
@@ -252,6 +260,7 @@ var ConnectorPlugin = class _ConnectorPlugin {
|
|
|
252
260
|
this.tools = config.tools;
|
|
253
261
|
this.query = config.query;
|
|
254
262
|
this.checkConnection = config.checkConnection;
|
|
263
|
+
this.setup = config.setup;
|
|
255
264
|
}
|
|
256
265
|
get connectorKey() {
|
|
257
266
|
return _ConnectorPlugin.deriveKey(this.slug, this.authType);
|
|
@@ -227,6 +227,14 @@ var ConnectorPlugin = class _ConnectorPlugin {
|
|
|
227
227
|
tools;
|
|
228
228
|
query;
|
|
229
229
|
checkConnection;
|
|
230
|
+
/**
|
|
231
|
+
* SQPD-1212: Logic-based, rule-driven connection setup. Connectors that
|
|
232
|
+
* implement this expose a step-by-step exploration flow (database/schema/
|
|
233
|
+
* table/etc. discovery) that the dashboard backend drives via the
|
|
234
|
+
* `/connections/:connectionId/setup` endpoint. Implement by delegating to
|
|
235
|
+
* `runSetupFlow` from `setup-flow.ts`.
|
|
236
|
+
*/
|
|
237
|
+
setup;
|
|
230
238
|
constructor(config) {
|
|
231
239
|
this.slug = config.slug;
|
|
232
240
|
this.authType = config.authType;
|
|
@@ -243,6 +251,7 @@ var ConnectorPlugin = class _ConnectorPlugin {
|
|
|
243
251
|
this.tools = config.tools;
|
|
244
252
|
this.query = config.query;
|
|
245
253
|
this.checkConnection = config.checkConnection;
|
|
254
|
+
this.setup = config.setup;
|
|
246
255
|
}
|
|
247
256
|
get connectorKey() {
|
|
248
257
|
return _ConnectorPlugin.deriveKey(this.slug, this.authType);
|
|
@@ -65,6 +65,14 @@ var ConnectorPlugin = class _ConnectorPlugin {
|
|
|
65
65
|
tools;
|
|
66
66
|
query;
|
|
67
67
|
checkConnection;
|
|
68
|
+
/**
|
|
69
|
+
* SQPD-1212: Logic-based, rule-driven connection setup. Connectors that
|
|
70
|
+
* implement this expose a step-by-step exploration flow (database/schema/
|
|
71
|
+
* table/etc. discovery) that the dashboard backend drives via the
|
|
72
|
+
* `/connections/:connectionId/setup` endpoint. Implement by delegating to
|
|
73
|
+
* `runSetupFlow` from `setup-flow.ts`.
|
|
74
|
+
*/
|
|
75
|
+
setup;
|
|
68
76
|
constructor(config) {
|
|
69
77
|
this.slug = config.slug;
|
|
70
78
|
this.authType = config.authType;
|
|
@@ -81,6 +89,7 @@ var ConnectorPlugin = class _ConnectorPlugin {
|
|
|
81
89
|
this.tools = config.tools;
|
|
82
90
|
this.query = config.query;
|
|
83
91
|
this.checkConnection = config.checkConnection;
|
|
92
|
+
this.setup = config.setup;
|
|
84
93
|
}
|
|
85
94
|
get connectorKey() {
|
|
86
95
|
return _ConnectorPlugin.deriveKey(this.slug, this.authType);
|
|
@@ -340,6 +340,14 @@ var ConnectorPlugin = class _ConnectorPlugin {
|
|
|
340
340
|
tools;
|
|
341
341
|
query;
|
|
342
342
|
checkConnection;
|
|
343
|
+
/**
|
|
344
|
+
* SQPD-1212: Logic-based, rule-driven connection setup. Connectors that
|
|
345
|
+
* implement this expose a step-by-step exploration flow (database/schema/
|
|
346
|
+
* table/etc. discovery) that the dashboard backend drives via the
|
|
347
|
+
* `/connections/:connectionId/setup` endpoint. Implement by delegating to
|
|
348
|
+
* `runSetupFlow` from `setup-flow.ts`.
|
|
349
|
+
*/
|
|
350
|
+
setup;
|
|
343
351
|
constructor(config) {
|
|
344
352
|
this.slug = config.slug;
|
|
345
353
|
this.authType = config.authType;
|
|
@@ -356,6 +364,7 @@ var ConnectorPlugin = class _ConnectorPlugin {
|
|
|
356
364
|
this.tools = config.tools;
|
|
357
365
|
this.query = config.query;
|
|
358
366
|
this.checkConnection = config.checkConnection;
|
|
367
|
+
this.setup = config.setup;
|
|
359
368
|
}
|
|
360
369
|
get connectorKey() {
|
|
361
370
|
return _ConnectorPlugin.deriveKey(this.slug, this.authType);
|
|
@@ -404,6 +404,14 @@ var ConnectorPlugin = class _ConnectorPlugin {
|
|
|
404
404
|
tools;
|
|
405
405
|
query;
|
|
406
406
|
checkConnection;
|
|
407
|
+
/**
|
|
408
|
+
* SQPD-1212: Logic-based, rule-driven connection setup. Connectors that
|
|
409
|
+
* implement this expose a step-by-step exploration flow (database/schema/
|
|
410
|
+
* table/etc. discovery) that the dashboard backend drives via the
|
|
411
|
+
* `/connections/:connectionId/setup` endpoint. Implement by delegating to
|
|
412
|
+
* `runSetupFlow` from `setup-flow.ts`.
|
|
413
|
+
*/
|
|
414
|
+
setup;
|
|
407
415
|
constructor(config) {
|
|
408
416
|
this.slug = config.slug;
|
|
409
417
|
this.authType = config.authType;
|
|
@@ -420,6 +428,7 @@ var ConnectorPlugin = class _ConnectorPlugin {
|
|
|
420
428
|
this.tools = config.tools;
|
|
421
429
|
this.query = config.query;
|
|
422
430
|
this.checkConnection = config.checkConnection;
|
|
431
|
+
this.setup = config.setup;
|
|
423
432
|
}
|
|
424
433
|
get connectorKey() {
|
|
425
434
|
return _ConnectorPlugin.deriveKey(this.slug, this.authType);
|
|
@@ -133,6 +133,14 @@ var ConnectorPlugin = class _ConnectorPlugin {
|
|
|
133
133
|
tools;
|
|
134
134
|
query;
|
|
135
135
|
checkConnection;
|
|
136
|
+
/**
|
|
137
|
+
* SQPD-1212: Logic-based, rule-driven connection setup. Connectors that
|
|
138
|
+
* implement this expose a step-by-step exploration flow (database/schema/
|
|
139
|
+
* table/etc. discovery) that the dashboard backend drives via the
|
|
140
|
+
* `/connections/:connectionId/setup` endpoint. Implement by delegating to
|
|
141
|
+
* `runSetupFlow` from `setup-flow.ts`.
|
|
142
|
+
*/
|
|
143
|
+
setup;
|
|
136
144
|
constructor(config) {
|
|
137
145
|
this.slug = config.slug;
|
|
138
146
|
this.authType = config.authType;
|
|
@@ -149,6 +157,7 @@ var ConnectorPlugin = class _ConnectorPlugin {
|
|
|
149
157
|
this.tools = config.tools;
|
|
150
158
|
this.query = config.query;
|
|
151
159
|
this.checkConnection = config.checkConnection;
|
|
160
|
+
this.setup = config.setup;
|
|
152
161
|
}
|
|
153
162
|
get connectorKey() {
|
|
154
163
|
return _ConnectorPlugin.deriveKey(this.slug, this.authType);
|