@sqlanvil/core 1.0.3 → 1.1.1
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/bundle.d.ts +171 -1
- package/bundle.js +1 -1
- package/configs.proto +31 -0
- package/core.proto +4 -0
- package/package.json +1 -1
package/bundle.d.ts
CHANGED
|
@@ -58,6 +58,9 @@ namespace sqlanvil {
|
|
|
58
58
|
|
|
59
59
|
/** WorkflowSettings warehouse */
|
|
60
60
|
warehouse?: (string|null);
|
|
61
|
+
|
|
62
|
+
/** WorkflowSettings connections */
|
|
63
|
+
connections?: ({ [k: string]: sqlanvil.IConnectionConfig }|null);
|
|
61
64
|
}
|
|
62
65
|
|
|
63
66
|
/** Represents a WorkflowSettings. */
|
|
@@ -120,6 +123,9 @@ namespace sqlanvil {
|
|
|
120
123
|
/** WorkflowSettings warehouse. */
|
|
121
124
|
public warehouse: string;
|
|
122
125
|
|
|
126
|
+
/** WorkflowSettings connections. */
|
|
127
|
+
public connections: { [k: string]: sqlanvil.IConnectionConfig };
|
|
128
|
+
|
|
123
129
|
/**
|
|
124
130
|
* Creates a new WorkflowSettings instance using the specified properties.
|
|
125
131
|
* @param [properties] Properties to set
|
|
@@ -198,6 +204,145 @@ namespace sqlanvil {
|
|
|
198
204
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
199
205
|
}
|
|
200
206
|
|
|
207
|
+
/** Properties of a ConnectionConfig. */
|
|
208
|
+
interface IConnectionConfig {
|
|
209
|
+
|
|
210
|
+
/** ConnectionConfig platform */
|
|
211
|
+
platform?: (string|null);
|
|
212
|
+
|
|
213
|
+
/** ConnectionConfig project */
|
|
214
|
+
project?: (string|null);
|
|
215
|
+
|
|
216
|
+
/** ConnectionConfig dataset */
|
|
217
|
+
dataset?: (string|null);
|
|
218
|
+
|
|
219
|
+
/** ConnectionConfig saKeyId */
|
|
220
|
+
saKeyId?: (string|null);
|
|
221
|
+
|
|
222
|
+
/** ConnectionConfig host */
|
|
223
|
+
host?: (string|null);
|
|
224
|
+
|
|
225
|
+
/** ConnectionConfig port */
|
|
226
|
+
port?: (number|null);
|
|
227
|
+
|
|
228
|
+
/** ConnectionConfig database */
|
|
229
|
+
database?: (string|null);
|
|
230
|
+
|
|
231
|
+
/** ConnectionConfig defaultSchema */
|
|
232
|
+
defaultSchema?: (string|null);
|
|
233
|
+
}
|
|
234
|
+
|
|
235
|
+
/** Represents a ConnectionConfig. */
|
|
236
|
+
class ConnectionConfig implements IConnectionConfig {
|
|
237
|
+
|
|
238
|
+
/**
|
|
239
|
+
* Constructs a new ConnectionConfig.
|
|
240
|
+
* @param [properties] Properties to set
|
|
241
|
+
*/
|
|
242
|
+
constructor(properties?: sqlanvil.IConnectionConfig);
|
|
243
|
+
|
|
244
|
+
/** ConnectionConfig platform. */
|
|
245
|
+
public platform: string;
|
|
246
|
+
|
|
247
|
+
/** ConnectionConfig project. */
|
|
248
|
+
public project: string;
|
|
249
|
+
|
|
250
|
+
/** ConnectionConfig dataset. */
|
|
251
|
+
public dataset: string;
|
|
252
|
+
|
|
253
|
+
/** ConnectionConfig saKeyId. */
|
|
254
|
+
public saKeyId: string;
|
|
255
|
+
|
|
256
|
+
/** ConnectionConfig host. */
|
|
257
|
+
public host: string;
|
|
258
|
+
|
|
259
|
+
/** ConnectionConfig port. */
|
|
260
|
+
public port: number;
|
|
261
|
+
|
|
262
|
+
/** ConnectionConfig database. */
|
|
263
|
+
public database: string;
|
|
264
|
+
|
|
265
|
+
/** ConnectionConfig defaultSchema. */
|
|
266
|
+
public defaultSchema: string;
|
|
267
|
+
|
|
268
|
+
/**
|
|
269
|
+
* Creates a new ConnectionConfig instance using the specified properties.
|
|
270
|
+
* @param [properties] Properties to set
|
|
271
|
+
* @returns ConnectionConfig instance
|
|
272
|
+
*/
|
|
273
|
+
public static create(properties?: sqlanvil.IConnectionConfig): sqlanvil.ConnectionConfig;
|
|
274
|
+
|
|
275
|
+
/**
|
|
276
|
+
* Encodes the specified ConnectionConfig message. Does not implicitly {@link sqlanvil.ConnectionConfig.verify|verify} messages.
|
|
277
|
+
* @param message ConnectionConfig message or plain object to encode
|
|
278
|
+
* @param [writer] Writer to encode to
|
|
279
|
+
* @returns Writer
|
|
280
|
+
*/
|
|
281
|
+
public static encode(message: sqlanvil.IConnectionConfig, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
282
|
+
|
|
283
|
+
/**
|
|
284
|
+
* Encodes the specified ConnectionConfig message, length delimited. Does not implicitly {@link sqlanvil.ConnectionConfig.verify|verify} messages.
|
|
285
|
+
* @param message ConnectionConfig message or plain object to encode
|
|
286
|
+
* @param [writer] Writer to encode to
|
|
287
|
+
* @returns Writer
|
|
288
|
+
*/
|
|
289
|
+
public static encodeDelimited(message: sqlanvil.IConnectionConfig, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
290
|
+
|
|
291
|
+
/**
|
|
292
|
+
* Decodes a ConnectionConfig message from the specified reader or buffer.
|
|
293
|
+
* @param reader Reader or buffer to decode from
|
|
294
|
+
* @param [length] Message length if known beforehand
|
|
295
|
+
* @returns ConnectionConfig
|
|
296
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
297
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
298
|
+
*/
|
|
299
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): sqlanvil.ConnectionConfig;
|
|
300
|
+
|
|
301
|
+
/**
|
|
302
|
+
* Decodes a ConnectionConfig message from the specified reader or buffer, length delimited.
|
|
303
|
+
* @param reader Reader or buffer to decode from
|
|
304
|
+
* @returns ConnectionConfig
|
|
305
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
306
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
307
|
+
*/
|
|
308
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): sqlanvil.ConnectionConfig;
|
|
309
|
+
|
|
310
|
+
/**
|
|
311
|
+
* Verifies a ConnectionConfig message.
|
|
312
|
+
* @param message Plain object to verify
|
|
313
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
314
|
+
*/
|
|
315
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
316
|
+
|
|
317
|
+
/**
|
|
318
|
+
* Creates a ConnectionConfig message from a plain object. Also converts values to their respective internal types.
|
|
319
|
+
* @param object Plain object
|
|
320
|
+
* @returns ConnectionConfig
|
|
321
|
+
*/
|
|
322
|
+
public static fromObject(object: { [k: string]: any }): sqlanvil.ConnectionConfig;
|
|
323
|
+
|
|
324
|
+
/**
|
|
325
|
+
* Creates a plain object from a ConnectionConfig message. Also converts values to other types if specified.
|
|
326
|
+
* @param message ConnectionConfig
|
|
327
|
+
* @param [options] Conversion options
|
|
328
|
+
* @returns Plain object
|
|
329
|
+
*/
|
|
330
|
+
public static toObject(message: sqlanvil.ConnectionConfig, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
331
|
+
|
|
332
|
+
/**
|
|
333
|
+
* Converts this ConnectionConfig to JSON.
|
|
334
|
+
* @returns JSON object
|
|
335
|
+
*/
|
|
336
|
+
public toJSON(): { [k: string]: any };
|
|
337
|
+
|
|
338
|
+
/**
|
|
339
|
+
* Gets the default type url for ConnectionConfig
|
|
340
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
341
|
+
* @returns The default type url
|
|
342
|
+
*/
|
|
343
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
344
|
+
}
|
|
345
|
+
|
|
201
346
|
/** Properties of a DefaultIcebergConfig. */
|
|
202
347
|
interface IDefaultIcebergConfig {
|
|
203
348
|
|
|
@@ -2342,6 +2487,12 @@ namespace sqlanvil {
|
|
|
2342
2487
|
|
|
2343
2488
|
/** DeclarationConfig tags */
|
|
2344
2489
|
tags?: (string[]|null);
|
|
2490
|
+
|
|
2491
|
+
/** DeclarationConfig connection */
|
|
2492
|
+
connection?: (string|null);
|
|
2493
|
+
|
|
2494
|
+
/** DeclarationConfig columnTypes */
|
|
2495
|
+
columnTypes?: ({ [k: string]: string }|null);
|
|
2345
2496
|
}
|
|
2346
2497
|
|
|
2347
2498
|
/** Represents a DeclarationConfig. */
|
|
@@ -2374,6 +2525,12 @@ namespace sqlanvil {
|
|
|
2374
2525
|
/** DeclarationConfig tags. */
|
|
2375
2526
|
public tags: string[];
|
|
2376
2527
|
|
|
2528
|
+
/** DeclarationConfig connection. */
|
|
2529
|
+
public connection: string;
|
|
2530
|
+
|
|
2531
|
+
/** DeclarationConfig columnTypes. */
|
|
2532
|
+
public columnTypes: { [k: string]: string };
|
|
2533
|
+
|
|
2377
2534
|
/**
|
|
2378
2535
|
* Creates a new DeclarationConfig instance using the specified properties.
|
|
2379
2536
|
* @param [properties] Properties to set
|
|
@@ -5112,6 +5269,12 @@ namespace sqlanvil {
|
|
|
5112
5269
|
|
|
5113
5270
|
/** ProjectConfig includeTestsInCompiledGraph */
|
|
5114
5271
|
includeTestsInCompiledGraph?: (boolean|null);
|
|
5272
|
+
|
|
5273
|
+
/** ProjectConfig connections */
|
|
5274
|
+
connections?: ({ [k: string]: sqlanvil.IConnectionConfig }|null);
|
|
5275
|
+
|
|
5276
|
+
/** ProjectConfig warehouseConnection */
|
|
5277
|
+
warehouseConnection?: (string|null);
|
|
5115
5278
|
}
|
|
5116
5279
|
|
|
5117
5280
|
/** Represents a ProjectConfig. */
|
|
@@ -5168,6 +5331,12 @@ namespace sqlanvil {
|
|
|
5168
5331
|
/** ProjectConfig includeTestsInCompiledGraph. */
|
|
5169
5332
|
public includeTestsInCompiledGraph: boolean;
|
|
5170
5333
|
|
|
5334
|
+
/** ProjectConfig connections. */
|
|
5335
|
+
public connections: { [k: string]: sqlanvil.IConnectionConfig };
|
|
5336
|
+
|
|
5337
|
+
/** ProjectConfig warehouseConnection. */
|
|
5338
|
+
public warehouseConnection: string;
|
|
5339
|
+
|
|
5171
5340
|
/**
|
|
5172
5341
|
* Creates a new ProjectConfig instance using the specified properties.
|
|
5173
5342
|
* @param [properties] Properties to set
|
|
@@ -13694,6 +13863,7 @@ declare class Session {
|
|
|
13694
13863
|
projectConfig: sqlanvil.ProjectConfig;
|
|
13695
13864
|
canonicalProjectConfig: sqlanvil.ProjectConfig;
|
|
13696
13865
|
actions: Action[];
|
|
13866
|
+
foreignServers: Set<string>;
|
|
13697
13867
|
indexedActions: ResolvableMap<Action>;
|
|
13698
13868
|
tests: Action[];
|
|
13699
13869
|
actionAssertionMap: ResolvableMap<Action>;
|
|
@@ -13756,7 +13926,7 @@ declare function jitCompiler(rpcCallback: RpcCallback): IJitCompiler;
|
|
|
13756
13926
|
|
|
13757
13927
|
declare function main(coreExecutionRequest: Uint8Array | string): Uint8Array | string;
|
|
13758
13928
|
|
|
13759
|
-
declare const version = "1.
|
|
13929
|
+
declare const version = "1.1.1";
|
|
13760
13930
|
|
|
13761
13931
|
declare const session: Session;
|
|
13762
13932
|
declare const supportedFeatures: sqlanvil.SupportedFeatures[];
|