@dataform/core 3.0.49 → 3.0.52

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/configs.proto CHANGED
@@ -611,6 +611,9 @@ message ActionConfig {
611
611
 
612
612
  // Path to the source file that the contents of the action is loaded from.
613
613
  string filename = 6;
614
+
615
+ // A list of user-defined tags with which the action should be labeled.
616
+ repeated string tags = 7;
614
617
  }
615
618
 
616
619
  message NotebookConfig {
package/core.proto CHANGED
@@ -292,6 +292,8 @@ message Declaration {
292
292
 
293
293
  // Generated.
294
294
  string file_name = 4;
295
+
296
+ repeated string tags = 6;
295
297
  }
296
298
 
297
299
  message Test {
package/db_adapter.proto CHANGED
@@ -35,6 +35,9 @@ message Field {
35
35
  BYTES = 10;
36
36
  ANY = 11;
37
37
  GEOGRAPHY = 12;
38
+ BIGNUMERIC = 13;
39
+ JSON = 14;
40
+ INTERVAL = 15;
38
41
  }
39
42
 
40
43
  enum Flag {
@@ -0,0 +1,41 @@
1
+ // Copyright 2023 Google LLC
2
+ //
3
+ // Licensed under the Apache License, Version 2.0 (the "License");
4
+ // you may not use this file except in compliance with the License.
5
+ // You may obtain a copy of the License at
6
+ //
7
+ // http://www.apache.org/licenses/LICENSE-2.0
8
+ //
9
+ // Unless required by applicable law or agreed to in writing, software
10
+ // distributed under the License is distributed on an "AS IS" BASIS,
11
+ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ // See the License for the specific language governing permissions and
13
+ // limitations under the License.
14
+
15
+ syntax = "proto3";
16
+
17
+ package dataform;
18
+
19
+ option java_package = "com.dataform.protos";
20
+ option java_outer_classname = "ExtensionMeta";
21
+ option java_multiple_files = true;
22
+
23
+ option go_package = "github.com/dataform-co/dataform/protos/dataform";
24
+
25
+ // Execution mode of compilation extension.
26
+ enum ExtensionCompilationMode {
27
+ // Unspecified compiled mode - extension will be skipped.
28
+ COMPILATION_MODE_UNSPECIFIED = 0;
29
+ // Execute before regular Dataform compilation.
30
+ PROLOGUE = 1;
31
+ // Replace regular Dataform compilation.
32
+ APPLICATION_CODE = 2;
33
+ }
34
+
35
+ message Extension {
36
+ // Name of the extension (JS module) to delegate the compilation to.
37
+ string name = 1;
38
+
39
+ // Compilation mode of the extension, required.
40
+ ExtensionCompilationMode compilation_mode = 2;
41
+ }
package/jit.proto CHANGED
@@ -18,6 +18,7 @@ package dataform;
18
18
 
19
19
  import "google/protobuf/empty.proto";
20
20
  import "google/protobuf/struct.proto";
21
+ import "google/protobuf/timestamp.proto";
21
22
  import "protos/core.proto";
22
23
  import "protos/db_adapter.proto";
23
24
 
@@ -97,6 +98,16 @@ message DeleteTableRequest {
97
98
  Target target = 1;
98
99
  }
99
100
 
101
+ // Execution information for introspection.
102
+ message RunningExecutionData {
103
+ // Targets that are being run in the current execution.
104
+ repeated Target run_targets = 1;
105
+ // ID of the current execution.
106
+ string execution_id = 2;
107
+ // Start time of the current execution.
108
+ google.protobuf.Timestamp execution_start_time = 3;
109
+ }
110
+
100
111
  // JiT compilation target type.
101
112
  enum JitCompilationTargetType {
102
113
  // Unspecified - will result in error.
@@ -123,6 +134,8 @@ message JitCompilationRequest {
123
134
  JitCompilationTargetType compilation_target_type = 5;
124
135
  // List of additional file paths accessible at compilation.
125
136
  repeated string file_paths = 6;
137
+ // Current execution information for introspection.
138
+ RunningExecutionData execution_data = 7;
126
139
  }
127
140
 
128
141
  // JiT compilation response.
package/package.json CHANGED
@@ -34,7 +34,7 @@
34
34
  "publishConfig": {
35
35
  "access": "public"
36
36
  },
37
- "version": "3.0.49",
37
+ "version": "3.0.52",
38
38
  "name": "@dataform/core",
39
39
  "description": "Dataform core API.",
40
40
  "main": "bundle.js"