@dataform/core 3.0.57 → 3.0.59-alpha.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 +362 -3
- package/bundle.js +1 -1
- package/configs.proto +20 -0
- package/core.proto +16 -0
- package/db_adapter.proto +2 -0
- package/jit.proto +11 -0
- package/package.json +1 -1
package/bundle.d.ts
CHANGED
|
@@ -55,6 +55,9 @@ namespace dataform {
|
|
|
55
55
|
|
|
56
56
|
/** WorkflowSettings includeTestsInCompiledGraph */
|
|
57
57
|
includeTestsInCompiledGraph?: (boolean|null);
|
|
58
|
+
|
|
59
|
+
/** WorkflowSettings defaultManagedSparkExecutionOptions */
|
|
60
|
+
defaultManagedSparkExecutionOptions?: (dataform.IManagedSparkExecutionOptionsConfig|null);
|
|
58
61
|
}
|
|
59
62
|
|
|
60
63
|
/** Represents a WorkflowSettings. */
|
|
@@ -114,6 +117,9 @@ namespace dataform {
|
|
|
114
117
|
/** WorkflowSettings includeTestsInCompiledGraph. */
|
|
115
118
|
public includeTestsInCompiledGraph: boolean;
|
|
116
119
|
|
|
120
|
+
/** WorkflowSettings defaultManagedSparkExecutionOptions. */
|
|
121
|
+
public defaultManagedSparkExecutionOptions?: (dataform.IManagedSparkExecutionOptionsConfig|null);
|
|
122
|
+
|
|
117
123
|
/**
|
|
118
124
|
* Creates a new WorkflowSettings instance using the specified properties.
|
|
119
125
|
* @param [properties] Properties to set
|
|
@@ -1968,6 +1974,9 @@ namespace dataform {
|
|
|
1968
1974
|
|
|
1969
1975
|
/** AssertionConfig reservation */
|
|
1970
1976
|
reservation?: (string|null);
|
|
1977
|
+
|
|
1978
|
+
/** AssertionConfig metadata */
|
|
1979
|
+
metadata?: (dataform.ActionConfig.IMetadata|null);
|
|
1971
1980
|
}
|
|
1972
1981
|
|
|
1973
1982
|
/** Represents an AssertionConfig. */
|
|
@@ -2012,6 +2021,9 @@ namespace dataform {
|
|
|
2012
2021
|
/** AssertionConfig reservation. */
|
|
2013
2022
|
public reservation: string;
|
|
2014
2023
|
|
|
2024
|
+
/** AssertionConfig metadata. */
|
|
2025
|
+
public metadata?: (dataform.ActionConfig.IMetadata|null);
|
|
2026
|
+
|
|
2015
2027
|
/**
|
|
2016
2028
|
* Creates a new AssertionConfig instance using the specified properties.
|
|
2017
2029
|
* @param [properties] Properties to set
|
|
@@ -2421,6 +2433,9 @@ namespace dataform {
|
|
|
2421
2433
|
|
|
2422
2434
|
/** NotebookConfig dependOnDependencyAssertions */
|
|
2423
2435
|
dependOnDependencyAssertions?: (boolean|null);
|
|
2436
|
+
|
|
2437
|
+
/** NotebookConfig executionEngine */
|
|
2438
|
+
executionEngine?: (dataform.ActionConfig.NotebookConfig.ExecutionEngine|null);
|
|
2424
2439
|
}
|
|
2425
2440
|
|
|
2426
2441
|
/** Represents a NotebookConfig. */
|
|
@@ -2459,6 +2474,9 @@ namespace dataform {
|
|
|
2459
2474
|
/** NotebookConfig dependOnDependencyAssertions. */
|
|
2460
2475
|
public dependOnDependencyAssertions: boolean;
|
|
2461
2476
|
|
|
2477
|
+
/** NotebookConfig executionEngine. */
|
|
2478
|
+
public executionEngine: dataform.ActionConfig.NotebookConfig.ExecutionEngine;
|
|
2479
|
+
|
|
2462
2480
|
/**
|
|
2463
2481
|
* Creates a new NotebookConfig instance using the specified properties.
|
|
2464
2482
|
* @param [properties] Properties to set
|
|
@@ -2537,6 +2555,16 @@ namespace dataform {
|
|
|
2537
2555
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
2538
2556
|
}
|
|
2539
2557
|
|
|
2558
|
+
namespace NotebookConfig {
|
|
2559
|
+
|
|
2560
|
+
/** ExecutionEngine enum. */
|
|
2561
|
+
enum ExecutionEngine {
|
|
2562
|
+
EXECUTION_ENGINE_UNSPECIFIED = 0,
|
|
2563
|
+
COLAB = 1,
|
|
2564
|
+
MANAGED_SPARK = 2
|
|
2565
|
+
}
|
|
2566
|
+
}
|
|
2567
|
+
|
|
2540
2568
|
/** Properties of a DataPreparationConfig. */
|
|
2541
2569
|
interface IDataPreparationConfig {
|
|
2542
2570
|
|
|
@@ -3137,6 +3165,103 @@ namespace dataform {
|
|
|
3137
3165
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
3138
3166
|
}
|
|
3139
3167
|
|
|
3168
|
+
/** Properties of a ManagedSparkExecutionOptionsConfig. */
|
|
3169
|
+
interface IManagedSparkExecutionOptionsConfig {
|
|
3170
|
+
|
|
3171
|
+
/** ManagedSparkExecutionOptionsConfig stagingBucketUri */
|
|
3172
|
+
stagingBucketUri?: (string|null);
|
|
3173
|
+
}
|
|
3174
|
+
|
|
3175
|
+
/** Represents a ManagedSparkExecutionOptionsConfig. */
|
|
3176
|
+
class ManagedSparkExecutionOptionsConfig implements IManagedSparkExecutionOptionsConfig {
|
|
3177
|
+
|
|
3178
|
+
/**
|
|
3179
|
+
* Constructs a new ManagedSparkExecutionOptionsConfig.
|
|
3180
|
+
* @param [properties] Properties to set
|
|
3181
|
+
*/
|
|
3182
|
+
constructor(properties?: dataform.IManagedSparkExecutionOptionsConfig);
|
|
3183
|
+
|
|
3184
|
+
/** ManagedSparkExecutionOptionsConfig stagingBucketUri. */
|
|
3185
|
+
public stagingBucketUri: string;
|
|
3186
|
+
|
|
3187
|
+
/**
|
|
3188
|
+
* Creates a new ManagedSparkExecutionOptionsConfig instance using the specified properties.
|
|
3189
|
+
* @param [properties] Properties to set
|
|
3190
|
+
* @returns ManagedSparkExecutionOptionsConfig instance
|
|
3191
|
+
*/
|
|
3192
|
+
public static create(properties?: dataform.IManagedSparkExecutionOptionsConfig): dataform.ManagedSparkExecutionOptionsConfig;
|
|
3193
|
+
|
|
3194
|
+
/**
|
|
3195
|
+
* Encodes the specified ManagedSparkExecutionOptionsConfig message. Does not implicitly {@link dataform.ManagedSparkExecutionOptionsConfig.verify|verify} messages.
|
|
3196
|
+
* @param message ManagedSparkExecutionOptionsConfig message or plain object to encode
|
|
3197
|
+
* @param [writer] Writer to encode to
|
|
3198
|
+
* @returns Writer
|
|
3199
|
+
*/
|
|
3200
|
+
public static encode(message: dataform.IManagedSparkExecutionOptionsConfig, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
3201
|
+
|
|
3202
|
+
/**
|
|
3203
|
+
* Encodes the specified ManagedSparkExecutionOptionsConfig message, length delimited. Does not implicitly {@link dataform.ManagedSparkExecutionOptionsConfig.verify|verify} messages.
|
|
3204
|
+
* @param message ManagedSparkExecutionOptionsConfig message or plain object to encode
|
|
3205
|
+
* @param [writer] Writer to encode to
|
|
3206
|
+
* @returns Writer
|
|
3207
|
+
*/
|
|
3208
|
+
public static encodeDelimited(message: dataform.IManagedSparkExecutionOptionsConfig, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
3209
|
+
|
|
3210
|
+
/**
|
|
3211
|
+
* Decodes a ManagedSparkExecutionOptionsConfig message from the specified reader or buffer.
|
|
3212
|
+
* @param reader Reader or buffer to decode from
|
|
3213
|
+
* @param [length] Message length if known beforehand
|
|
3214
|
+
* @returns ManagedSparkExecutionOptionsConfig
|
|
3215
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
3216
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
3217
|
+
*/
|
|
3218
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): dataform.ManagedSparkExecutionOptionsConfig;
|
|
3219
|
+
|
|
3220
|
+
/**
|
|
3221
|
+
* Decodes a ManagedSparkExecutionOptionsConfig message from the specified reader or buffer, length delimited.
|
|
3222
|
+
* @param reader Reader or buffer to decode from
|
|
3223
|
+
* @returns ManagedSparkExecutionOptionsConfig
|
|
3224
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
3225
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
3226
|
+
*/
|
|
3227
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): dataform.ManagedSparkExecutionOptionsConfig;
|
|
3228
|
+
|
|
3229
|
+
/**
|
|
3230
|
+
* Verifies a ManagedSparkExecutionOptionsConfig message.
|
|
3231
|
+
* @param message Plain object to verify
|
|
3232
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
3233
|
+
*/
|
|
3234
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
3235
|
+
|
|
3236
|
+
/**
|
|
3237
|
+
* Creates a ManagedSparkExecutionOptionsConfig message from a plain object. Also converts values to their respective internal types.
|
|
3238
|
+
* @param object Plain object
|
|
3239
|
+
* @returns ManagedSparkExecutionOptionsConfig
|
|
3240
|
+
*/
|
|
3241
|
+
public static fromObject(object: { [k: string]: any }): dataform.ManagedSparkExecutionOptionsConfig;
|
|
3242
|
+
|
|
3243
|
+
/**
|
|
3244
|
+
* Creates a plain object from a ManagedSparkExecutionOptionsConfig message. Also converts values to other types if specified.
|
|
3245
|
+
* @param message ManagedSparkExecutionOptionsConfig
|
|
3246
|
+
* @param [options] Conversion options
|
|
3247
|
+
* @returns Plain object
|
|
3248
|
+
*/
|
|
3249
|
+
public static toObject(message: dataform.ManagedSparkExecutionOptionsConfig, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
3250
|
+
|
|
3251
|
+
/**
|
|
3252
|
+
* Converts this ManagedSparkExecutionOptionsConfig to JSON.
|
|
3253
|
+
* @returns JSON object
|
|
3254
|
+
*/
|
|
3255
|
+
public toJSON(): { [k: string]: any };
|
|
3256
|
+
|
|
3257
|
+
/**
|
|
3258
|
+
* Gets the default type url for ManagedSparkExecutionOptionsConfig
|
|
3259
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
3260
|
+
* @returns The default type url
|
|
3261
|
+
*/
|
|
3262
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
3263
|
+
}
|
|
3264
|
+
|
|
3140
3265
|
/** ExtensionCompilationMode enum. */
|
|
3141
3266
|
enum ExtensionCompilationMode {
|
|
3142
3267
|
COMPILATION_MODE_UNSPECIFIED = 0,
|
|
@@ -3300,6 +3425,9 @@ namespace dataform {
|
|
|
3300
3425
|
|
|
3301
3426
|
/** ProjectConfig includeTestsInCompiledGraph */
|
|
3302
3427
|
includeTestsInCompiledGraph?: (boolean|null);
|
|
3428
|
+
|
|
3429
|
+
/** ProjectConfig defaultManagedSparkExecutionOptions */
|
|
3430
|
+
defaultManagedSparkExecutionOptions?: (dataform.IManagedSparkExecutionOptions|null);
|
|
3303
3431
|
}
|
|
3304
3432
|
|
|
3305
3433
|
/** Represents a ProjectConfig. */
|
|
@@ -3356,6 +3484,9 @@ namespace dataform {
|
|
|
3356
3484
|
/** ProjectConfig includeTestsInCompiledGraph. */
|
|
3357
3485
|
public includeTestsInCompiledGraph: boolean;
|
|
3358
3486
|
|
|
3487
|
+
/** ProjectConfig defaultManagedSparkExecutionOptions. */
|
|
3488
|
+
public defaultManagedSparkExecutionOptions?: (dataform.IManagedSparkExecutionOptions|null);
|
|
3489
|
+
|
|
3359
3490
|
/**
|
|
3360
3491
|
* Creates a new ProjectConfig instance using the specified properties.
|
|
3361
3492
|
* @param [properties] Properties to set
|
|
@@ -4853,6 +4984,9 @@ namespace dataform {
|
|
|
4853
4984
|
/** Assertion parentAction */
|
|
4854
4985
|
parentAction?: (dataform.ITarget|null);
|
|
4855
4986
|
|
|
4987
|
+
/** Assertion jitCode */
|
|
4988
|
+
jitCode?: (string|null);
|
|
4989
|
+
|
|
4856
4990
|
/** Assertion fileName */
|
|
4857
4991
|
fileName?: (string|null);
|
|
4858
4992
|
}
|
|
@@ -4893,6 +5027,9 @@ namespace dataform {
|
|
|
4893
5027
|
/** Assertion parentAction. */
|
|
4894
5028
|
public parentAction?: (dataform.ITarget|null);
|
|
4895
5029
|
|
|
5030
|
+
/** Assertion jitCode. */
|
|
5031
|
+
public jitCode: string;
|
|
5032
|
+
|
|
4896
5033
|
/** Assertion fileName. */
|
|
4897
5034
|
public fileName: string;
|
|
4898
5035
|
|
|
@@ -5276,6 +5413,9 @@ namespace dataform {
|
|
|
5276
5413
|
|
|
5277
5414
|
/** Notebook notebookContents */
|
|
5278
5415
|
notebookContents?: (string|null);
|
|
5416
|
+
|
|
5417
|
+
/** Notebook executionEngine */
|
|
5418
|
+
executionEngine?: (dataform.Notebook.ExecutionEngine|null);
|
|
5279
5419
|
}
|
|
5280
5420
|
|
|
5281
5421
|
/** Represents a Notebook. */
|
|
@@ -5308,6 +5448,9 @@ namespace dataform {
|
|
|
5308
5448
|
/** Notebook notebookContents. */
|
|
5309
5449
|
public notebookContents: string;
|
|
5310
5450
|
|
|
5451
|
+
/** Notebook executionEngine. */
|
|
5452
|
+
public executionEngine: dataform.Notebook.ExecutionEngine;
|
|
5453
|
+
|
|
5311
5454
|
/**
|
|
5312
5455
|
* Creates a new Notebook instance using the specified properties.
|
|
5313
5456
|
* @param [properties] Properties to set
|
|
@@ -5386,6 +5529,16 @@ namespace dataform {
|
|
|
5386
5529
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
5387
5530
|
}
|
|
5388
5531
|
|
|
5532
|
+
namespace Notebook {
|
|
5533
|
+
|
|
5534
|
+
/** ExecutionEngine enum. */
|
|
5535
|
+
enum ExecutionEngine {
|
|
5536
|
+
EXECUTION_ENGINE_UNSPECIFIED = 0,
|
|
5537
|
+
COLAB = 1,
|
|
5538
|
+
MANAGED_SPARK = 2
|
|
5539
|
+
}
|
|
5540
|
+
}
|
|
5541
|
+
|
|
5389
5542
|
/** Properties of a RepositorySnapshotDestination. */
|
|
5390
5543
|
interface IRepositorySnapshotDestination {
|
|
5391
5544
|
|
|
@@ -5598,6 +5751,103 @@ namespace dataform {
|
|
|
5598
5751
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
5599
5752
|
}
|
|
5600
5753
|
|
|
5754
|
+
/** Properties of a ManagedSparkExecutionOptions. */
|
|
5755
|
+
interface IManagedSparkExecutionOptions {
|
|
5756
|
+
|
|
5757
|
+
/** ManagedSparkExecutionOptions stagingBucketUri */
|
|
5758
|
+
stagingBucketUri?: (string|null);
|
|
5759
|
+
}
|
|
5760
|
+
|
|
5761
|
+
/** Represents a ManagedSparkExecutionOptions. */
|
|
5762
|
+
class ManagedSparkExecutionOptions implements IManagedSparkExecutionOptions {
|
|
5763
|
+
|
|
5764
|
+
/**
|
|
5765
|
+
* Constructs a new ManagedSparkExecutionOptions.
|
|
5766
|
+
* @param [properties] Properties to set
|
|
5767
|
+
*/
|
|
5768
|
+
constructor(properties?: dataform.IManagedSparkExecutionOptions);
|
|
5769
|
+
|
|
5770
|
+
/** ManagedSparkExecutionOptions stagingBucketUri. */
|
|
5771
|
+
public stagingBucketUri: string;
|
|
5772
|
+
|
|
5773
|
+
/**
|
|
5774
|
+
* Creates a new ManagedSparkExecutionOptions instance using the specified properties.
|
|
5775
|
+
* @param [properties] Properties to set
|
|
5776
|
+
* @returns ManagedSparkExecutionOptions instance
|
|
5777
|
+
*/
|
|
5778
|
+
public static create(properties?: dataform.IManagedSparkExecutionOptions): dataform.ManagedSparkExecutionOptions;
|
|
5779
|
+
|
|
5780
|
+
/**
|
|
5781
|
+
* Encodes the specified ManagedSparkExecutionOptions message. Does not implicitly {@link dataform.ManagedSparkExecutionOptions.verify|verify} messages.
|
|
5782
|
+
* @param message ManagedSparkExecutionOptions message or plain object to encode
|
|
5783
|
+
* @param [writer] Writer to encode to
|
|
5784
|
+
* @returns Writer
|
|
5785
|
+
*/
|
|
5786
|
+
public static encode(message: dataform.IManagedSparkExecutionOptions, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
5787
|
+
|
|
5788
|
+
/**
|
|
5789
|
+
* Encodes the specified ManagedSparkExecutionOptions message, length delimited. Does not implicitly {@link dataform.ManagedSparkExecutionOptions.verify|verify} messages.
|
|
5790
|
+
* @param message ManagedSparkExecutionOptions message or plain object to encode
|
|
5791
|
+
* @param [writer] Writer to encode to
|
|
5792
|
+
* @returns Writer
|
|
5793
|
+
*/
|
|
5794
|
+
public static encodeDelimited(message: dataform.IManagedSparkExecutionOptions, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
5795
|
+
|
|
5796
|
+
/**
|
|
5797
|
+
* Decodes a ManagedSparkExecutionOptions message from the specified reader or buffer.
|
|
5798
|
+
* @param reader Reader or buffer to decode from
|
|
5799
|
+
* @param [length] Message length if known beforehand
|
|
5800
|
+
* @returns ManagedSparkExecutionOptions
|
|
5801
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
5802
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
5803
|
+
*/
|
|
5804
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): dataform.ManagedSparkExecutionOptions;
|
|
5805
|
+
|
|
5806
|
+
/**
|
|
5807
|
+
* Decodes a ManagedSparkExecutionOptions message from the specified reader or buffer, length delimited.
|
|
5808
|
+
* @param reader Reader or buffer to decode from
|
|
5809
|
+
* @returns ManagedSparkExecutionOptions
|
|
5810
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
5811
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
5812
|
+
*/
|
|
5813
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): dataform.ManagedSparkExecutionOptions;
|
|
5814
|
+
|
|
5815
|
+
/**
|
|
5816
|
+
* Verifies a ManagedSparkExecutionOptions message.
|
|
5817
|
+
* @param message Plain object to verify
|
|
5818
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
5819
|
+
*/
|
|
5820
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
5821
|
+
|
|
5822
|
+
/**
|
|
5823
|
+
* Creates a ManagedSparkExecutionOptions message from a plain object. Also converts values to their respective internal types.
|
|
5824
|
+
* @param object Plain object
|
|
5825
|
+
* @returns ManagedSparkExecutionOptions
|
|
5826
|
+
*/
|
|
5827
|
+
public static fromObject(object: { [k: string]: any }): dataform.ManagedSparkExecutionOptions;
|
|
5828
|
+
|
|
5829
|
+
/**
|
|
5830
|
+
* Creates a plain object from a ManagedSparkExecutionOptions message. Also converts values to other types if specified.
|
|
5831
|
+
* @param message ManagedSparkExecutionOptions
|
|
5832
|
+
* @param [options] Conversion options
|
|
5833
|
+
* @returns Plain object
|
|
5834
|
+
*/
|
|
5835
|
+
public static toObject(message: dataform.ManagedSparkExecutionOptions, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
5836
|
+
|
|
5837
|
+
/**
|
|
5838
|
+
* Converts this ManagedSparkExecutionOptions to JSON.
|
|
5839
|
+
* @returns JSON object
|
|
5840
|
+
*/
|
|
5841
|
+
public toJSON(): { [k: string]: any };
|
|
5842
|
+
|
|
5843
|
+
/**
|
|
5844
|
+
* Gets the default type url for ManagedSparkExecutionOptions
|
|
5845
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
5846
|
+
* @returns The default type url
|
|
5847
|
+
*/
|
|
5848
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
5849
|
+
}
|
|
5850
|
+
|
|
5601
5851
|
/** Properties of a DataPreparation. */
|
|
5602
5852
|
interface IDataPreparation {
|
|
5603
5853
|
|
|
@@ -9973,7 +10223,8 @@ namespace dataform {
|
|
|
9973
10223
|
JIT_COMPILATION_TARGET_TYPE_UNSPECIFIED = 0,
|
|
9974
10224
|
JIT_COMPILATION_TARGET_TYPE_TABLE = 1,
|
|
9975
10225
|
JIT_COMPILATION_TARGET_TYPE_OPERATION = 2,
|
|
9976
|
-
JIT_COMPILATION_TARGET_TYPE_INCREMENTAL_TABLE = 3
|
|
10226
|
+
JIT_COMPILATION_TARGET_TYPE_INCREMENTAL_TABLE = 3,
|
|
10227
|
+
JIT_COMPILATION_TARGET_TYPE_ASSERTION = 4
|
|
9977
10228
|
}
|
|
9978
10229
|
|
|
9979
10230
|
/** Properties of a JitCompilationRequest. */
|
|
@@ -10120,6 +10371,9 @@ namespace dataform {
|
|
|
10120
10371
|
|
|
10121
10372
|
/** JitCompilationResponse incrementalTable */
|
|
10122
10373
|
incrementalTable?: (dataform.IJitIncrementalTableResult|null);
|
|
10374
|
+
|
|
10375
|
+
/** JitCompilationResponse assertion */
|
|
10376
|
+
assertion?: (dataform.IJitAssertionResult|null);
|
|
10123
10377
|
}
|
|
10124
10378
|
|
|
10125
10379
|
/** Represents a JitCompilationResponse. */
|
|
@@ -10140,8 +10394,11 @@ namespace dataform {
|
|
|
10140
10394
|
/** JitCompilationResponse incrementalTable. */
|
|
10141
10395
|
public incrementalTable?: (dataform.IJitIncrementalTableResult|null);
|
|
10142
10396
|
|
|
10397
|
+
/** JitCompilationResponse assertion. */
|
|
10398
|
+
public assertion?: (dataform.IJitAssertionResult|null);
|
|
10399
|
+
|
|
10143
10400
|
/** JitCompilationResponse response. */
|
|
10144
|
-
public response?: ("table"|"operation"|"incrementalTable");
|
|
10401
|
+
public response?: ("table"|"operation"|"incrementalTable"|"assertion");
|
|
10145
10402
|
|
|
10146
10403
|
/**
|
|
10147
10404
|
* Creates a new JitCompilationResponse instance using the specified properties.
|
|
@@ -10530,6 +10787,103 @@ namespace dataform {
|
|
|
10530
10787
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
10531
10788
|
}
|
|
10532
10789
|
|
|
10790
|
+
/** Properties of a JitAssertionResult. */
|
|
10791
|
+
interface IJitAssertionResult {
|
|
10792
|
+
|
|
10793
|
+
/** JitAssertionResult query */
|
|
10794
|
+
query?: (string|null);
|
|
10795
|
+
}
|
|
10796
|
+
|
|
10797
|
+
/** Represents a JitAssertionResult. */
|
|
10798
|
+
class JitAssertionResult implements IJitAssertionResult {
|
|
10799
|
+
|
|
10800
|
+
/**
|
|
10801
|
+
* Constructs a new JitAssertionResult.
|
|
10802
|
+
* @param [properties] Properties to set
|
|
10803
|
+
*/
|
|
10804
|
+
constructor(properties?: dataform.IJitAssertionResult);
|
|
10805
|
+
|
|
10806
|
+
/** JitAssertionResult query. */
|
|
10807
|
+
public query: string;
|
|
10808
|
+
|
|
10809
|
+
/**
|
|
10810
|
+
* Creates a new JitAssertionResult instance using the specified properties.
|
|
10811
|
+
* @param [properties] Properties to set
|
|
10812
|
+
* @returns JitAssertionResult instance
|
|
10813
|
+
*/
|
|
10814
|
+
public static create(properties?: dataform.IJitAssertionResult): dataform.JitAssertionResult;
|
|
10815
|
+
|
|
10816
|
+
/**
|
|
10817
|
+
* Encodes the specified JitAssertionResult message. Does not implicitly {@link dataform.JitAssertionResult.verify|verify} messages.
|
|
10818
|
+
* @param message JitAssertionResult message or plain object to encode
|
|
10819
|
+
* @param [writer] Writer to encode to
|
|
10820
|
+
* @returns Writer
|
|
10821
|
+
*/
|
|
10822
|
+
public static encode(message: dataform.IJitAssertionResult, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
10823
|
+
|
|
10824
|
+
/**
|
|
10825
|
+
* Encodes the specified JitAssertionResult message, length delimited. Does not implicitly {@link dataform.JitAssertionResult.verify|verify} messages.
|
|
10826
|
+
* @param message JitAssertionResult message or plain object to encode
|
|
10827
|
+
* @param [writer] Writer to encode to
|
|
10828
|
+
* @returns Writer
|
|
10829
|
+
*/
|
|
10830
|
+
public static encodeDelimited(message: dataform.IJitAssertionResult, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
10831
|
+
|
|
10832
|
+
/**
|
|
10833
|
+
* Decodes a JitAssertionResult message from the specified reader or buffer.
|
|
10834
|
+
* @param reader Reader or buffer to decode from
|
|
10835
|
+
* @param [length] Message length if known beforehand
|
|
10836
|
+
* @returns JitAssertionResult
|
|
10837
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
10838
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
10839
|
+
*/
|
|
10840
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): dataform.JitAssertionResult;
|
|
10841
|
+
|
|
10842
|
+
/**
|
|
10843
|
+
* Decodes a JitAssertionResult message from the specified reader or buffer, length delimited.
|
|
10844
|
+
* @param reader Reader or buffer to decode from
|
|
10845
|
+
* @returns JitAssertionResult
|
|
10846
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
10847
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
10848
|
+
*/
|
|
10849
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): dataform.JitAssertionResult;
|
|
10850
|
+
|
|
10851
|
+
/**
|
|
10852
|
+
* Verifies a JitAssertionResult message.
|
|
10853
|
+
* @param message Plain object to verify
|
|
10854
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
10855
|
+
*/
|
|
10856
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
10857
|
+
|
|
10858
|
+
/**
|
|
10859
|
+
* Creates a JitAssertionResult message from a plain object. Also converts values to their respective internal types.
|
|
10860
|
+
* @param object Plain object
|
|
10861
|
+
* @returns JitAssertionResult
|
|
10862
|
+
*/
|
|
10863
|
+
public static fromObject(object: { [k: string]: any }): dataform.JitAssertionResult;
|
|
10864
|
+
|
|
10865
|
+
/**
|
|
10866
|
+
* Creates a plain object from a JitAssertionResult message. Also converts values to other types if specified.
|
|
10867
|
+
* @param message JitAssertionResult
|
|
10868
|
+
* @param [options] Conversion options
|
|
10869
|
+
* @returns Plain object
|
|
10870
|
+
*/
|
|
10871
|
+
public static toObject(message: dataform.JitAssertionResult, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
10872
|
+
|
|
10873
|
+
/**
|
|
10874
|
+
* Converts this JitAssertionResult to JSON.
|
|
10875
|
+
* @returns JSON object
|
|
10876
|
+
*/
|
|
10877
|
+
public toJSON(): { [k: string]: any };
|
|
10878
|
+
|
|
10879
|
+
/**
|
|
10880
|
+
* Gets the default type url for JitAssertionResult
|
|
10881
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
10882
|
+
* @returns The default type url
|
|
10883
|
+
*/
|
|
10884
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
10885
|
+
}
|
|
10886
|
+
|
|
10533
10887
|
/** Properties of a BigQuery. */
|
|
10534
10888
|
interface IBigQuery {
|
|
10535
10889
|
|
|
@@ -11196,12 +11550,15 @@ declare type JitContext<T> = T & {
|
|
|
11196
11550
|
declare type JitContextable<Context, T> = string | ((jctx: JitContext<Context>) => Promise<T>);
|
|
11197
11551
|
|
|
11198
11552
|
declare type AContextable<T> = T | ((ctx: AssertionContext) => T);
|
|
11553
|
+
declare type JitAssertionResult = string;
|
|
11199
11554
|
declare class Assertion extends ActionBuilder<dataform.Assertion> {
|
|
11200
11555
|
session: Session;
|
|
11201
11556
|
private proto;
|
|
11202
11557
|
private contextableQuery;
|
|
11558
|
+
private contextableJitCode;
|
|
11203
11559
|
constructor(session?: Session, unverifiedConfig?: any, configPath?: string);
|
|
11204
11560
|
query(query: AContextable<string>): this;
|
|
11561
|
+
jitCode(jitCode: JitContextable<AssertionContext, JitAssertionResult>): this;
|
|
11205
11562
|
dependencies(value: Resolvable | Resolvable[]): this;
|
|
11206
11563
|
hermetic(hermetic: boolean): void;
|
|
11207
11564
|
disabled(disabled?: boolean): this;
|
|
@@ -11654,6 +12011,8 @@ declare class Session {
|
|
|
11654
12011
|
}];
|
|
11655
12012
|
}): void;
|
|
11656
12013
|
resolve(ref: Resolvable | string[], ...rest: string[]): string;
|
|
12014
|
+
pushAction(action: Action): void;
|
|
12015
|
+
pushTest(testCase: Test): void;
|
|
11657
12016
|
operate(name: string, queryOrConfig?: Contextable<IActionContext, string | string[]> | dataform.ActionConfig.OperationConfig): Operation;
|
|
11658
12017
|
publish(name: string, queryOrConfig?: Contextable<ITableContext, string> | dataform.ActionConfig.TableConfig | dataform.ActionConfig.ViewConfig | dataform.ActionConfig.IncrementalTableConfig | ILegacyTableConfig | any): Table | IncrementalTable | View;
|
|
11659
12018
|
assert(name: string, queryOrConfig?: AContextable<string> | dataform.ActionConfig.AssertionConfig): Assertion;
|
|
@@ -11691,7 +12050,7 @@ declare function jitCompiler(rpcCallback: RpcCallback): IJitCompiler;
|
|
|
11691
12050
|
|
|
11692
12051
|
declare function main(coreExecutionRequest: Uint8Array | string): Uint8Array | string;
|
|
11693
12052
|
|
|
11694
|
-
declare const version = "3.0.
|
|
12053
|
+
declare const version = "3.0.59-alpha.1";
|
|
11695
12054
|
|
|
11696
12055
|
declare const session: Session;
|
|
11697
12056
|
declare const supportedFeatures: dataform.SupportedFeatures[];
|