@dataform/core 3.0.56 → 3.0.58
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 +22 -1
- package/bundle.js +1 -1
- package/core.proto +2 -0
- package/jit.proto +4 -0
- package/package.json +1 -1
package/bundle.d.ts
CHANGED
|
@@ -4853,6 +4853,9 @@ namespace dataform {
|
|
|
4853
4853
|
/** Assertion parentAction */
|
|
4854
4854
|
parentAction?: (dataform.ITarget|null);
|
|
4855
4855
|
|
|
4856
|
+
/** Assertion jitCode */
|
|
4857
|
+
jitCode?: (string|null);
|
|
4858
|
+
|
|
4856
4859
|
/** Assertion fileName */
|
|
4857
4860
|
fileName?: (string|null);
|
|
4858
4861
|
}
|
|
@@ -4893,6 +4896,9 @@ namespace dataform {
|
|
|
4893
4896
|
/** Assertion parentAction. */
|
|
4894
4897
|
public parentAction?: (dataform.ITarget|null);
|
|
4895
4898
|
|
|
4899
|
+
/** Assertion jitCode. */
|
|
4900
|
+
public jitCode: string;
|
|
4901
|
+
|
|
4896
4902
|
/** Assertion fileName. */
|
|
4897
4903
|
public fileName: string;
|
|
4898
4904
|
|
|
@@ -9107,6 +9113,9 @@ namespace dataform {
|
|
|
9107
9113
|
|
|
9108
9114
|
/** ExecuteRequest bigQueryOptions */
|
|
9109
9115
|
bigQueryOptions?: (dataform.IBigQueryExecuteOptions|null);
|
|
9116
|
+
|
|
9117
|
+
/** ExecuteRequest params */
|
|
9118
|
+
params?: (google.protobuf.IStruct|null);
|
|
9110
9119
|
}
|
|
9111
9120
|
|
|
9112
9121
|
/** Represents an ExecuteRequest. */
|
|
@@ -9133,6 +9142,9 @@ namespace dataform {
|
|
|
9133
9142
|
/** ExecuteRequest bigQueryOptions. */
|
|
9134
9143
|
public bigQueryOptions?: (dataform.IBigQueryExecuteOptions|null);
|
|
9135
9144
|
|
|
9145
|
+
/** ExecuteRequest params. */
|
|
9146
|
+
public params?: (google.protobuf.IStruct|null);
|
|
9147
|
+
|
|
9136
9148
|
/**
|
|
9137
9149
|
* Creates a new ExecuteRequest instance using the specified properties.
|
|
9138
9150
|
* @param [properties] Properties to set
|
|
@@ -9231,6 +9243,9 @@ namespace dataform {
|
|
|
9231
9243
|
|
|
9232
9244
|
/** BigQueryExecuteOptions dryRun */
|
|
9233
9245
|
dryRun?: (boolean|null);
|
|
9246
|
+
|
|
9247
|
+
/** BigQueryExecuteOptions reservation */
|
|
9248
|
+
reservation?: (string|null);
|
|
9234
9249
|
}
|
|
9235
9250
|
|
|
9236
9251
|
/** Represents a BigQueryExecuteOptions. */
|
|
@@ -9260,6 +9275,9 @@ namespace dataform {
|
|
|
9260
9275
|
/** BigQueryExecuteOptions dryRun. */
|
|
9261
9276
|
public dryRun: boolean;
|
|
9262
9277
|
|
|
9278
|
+
/** BigQueryExecuteOptions reservation. */
|
|
9279
|
+
public reservation: string;
|
|
9280
|
+
|
|
9263
9281
|
/**
|
|
9264
9282
|
* Creates a new BigQueryExecuteOptions instance using the specified properties.
|
|
9265
9283
|
* @param [properties] Properties to set
|
|
@@ -11184,12 +11202,15 @@ declare type JitContext<T> = T & {
|
|
|
11184
11202
|
declare type JitContextable<Context, T> = string | ((jctx: JitContext<Context>) => Promise<T>);
|
|
11185
11203
|
|
|
11186
11204
|
declare type AContextable<T> = T | ((ctx: AssertionContext) => T);
|
|
11205
|
+
declare type JitAssertionResult = string;
|
|
11187
11206
|
declare class Assertion extends ActionBuilder<dataform.Assertion> {
|
|
11188
11207
|
session: Session;
|
|
11189
11208
|
private proto;
|
|
11190
11209
|
private contextableQuery;
|
|
11210
|
+
private contextableJitCode;
|
|
11191
11211
|
constructor(session?: Session, unverifiedConfig?: any, configPath?: string);
|
|
11192
11212
|
query(query: AContextable<string>): this;
|
|
11213
|
+
jitCode(jitCode: JitContextable<AssertionContext, JitAssertionResult>): this;
|
|
11193
11214
|
dependencies(value: Resolvable | Resolvable[]): this;
|
|
11194
11215
|
hermetic(hermetic: boolean): void;
|
|
11195
11216
|
disabled(disabled?: boolean): this;
|
|
@@ -11679,7 +11700,7 @@ declare function jitCompiler(rpcCallback: RpcCallback): IJitCompiler;
|
|
|
11679
11700
|
|
|
11680
11701
|
declare function main(coreExecutionRequest: Uint8Array | string): Uint8Array | string;
|
|
11681
11702
|
|
|
11682
|
-
declare const version = "3.0.
|
|
11703
|
+
declare const version = "3.0.58";
|
|
11683
11704
|
|
|
11684
11705
|
declare const session: Session;
|
|
11685
11706
|
declare const supportedFeatures: dataform.SupportedFeatures[];
|