@dataform/core 3.0.0-beta.4 → 3.0.0-beta.6

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
@@ -59,8 +59,9 @@ message WorkflowSettings {
59
59
  NotebookRuntimeOptionsConfig default_notebook_runtime_options = 10;
60
60
  }
61
61
 
62
+ // TODO(ekrekr): consolidate ActionsConfigs proto types in the JS API.
63
+
62
64
  // Action configs defines the contents of `actions.yaml` configuration files.
63
- // TODO(ekrekr): consolidate these configuration options in the JS API.
64
65
  message ActionConfigs {
65
66
  repeated ActionConfig actions = 1;
66
67
  }
@@ -77,6 +78,10 @@ message ActionConfig {
77
78
 
78
79
  // The name of the action.
79
80
  string name = 4;
81
+
82
+ // flag for when we want to add assertions of this dependency in
83
+ // dependency_targets as well.
84
+ bool include_dependent_assertions = 5;
80
85
  }
81
86
 
82
87
  message ColumnDescriptor {
@@ -162,6 +167,10 @@ message ActionConfig {
162
167
  // If the option name contains special characters, encapsulate the name in
163
168
  // quotes, for example: additionalOptions: { "option-name": "value" }.
164
169
  map<string, string> additional_options = 17;
170
+
171
+ // When set to true, assertions dependent upon any dependency will
172
+ // be add as dedpendency to this action
173
+ bool depend_on_dependency_assertions = 18;
165
174
  }
166
175
 
167
176
  message ViewConfig {
@@ -222,6 +231,10 @@ message ActionConfig {
222
231
  // If the option name contains special characters, encapsulate the name in
223
232
  // quotes, for example: additionalOptions: { "option-name": "value" }.
224
233
  map<string, string> additional_options = 14;
234
+
235
+ // When set to true, assertions dependent upon any dependency will
236
+ // be add as dedpendency to this action
237
+ bool depend_on_dependency_assertions = 15;
225
238
  }
226
239
 
227
240
  message IncrementalTableConfig {
@@ -310,6 +323,10 @@ message ActionConfig {
310
323
  // If the option name contains special characters, encapsulate the name in
311
324
  // quotes, for example: additionalOptions: { "option-name": "value" }.
312
325
  map<string, string> additional_options = 20;
326
+
327
+ // When set to true, assertions dependent upon any dependency will
328
+ // be add as dedpendency to this action
329
+ bool depend_on_dependency_assertions = 21;
313
330
  }
314
331
 
315
332
  message AssertionConfig {
@@ -375,6 +392,10 @@ message ActionConfig {
375
392
  // Descriptions of columns within the operation. Can only be set if
376
393
  // hasOutput is true.
377
394
  repeated ColumnDescriptor columns = 10;
395
+
396
+ // When set to true, assertions dependent upon any dependency will
397
+ // be add as dedpendency to this action
398
+ bool depend_on_dependency_assertions = 11;
378
399
  }
379
400
 
380
401
  message DeclarationConfig {
@@ -421,6 +442,10 @@ message ActionConfig {
421
442
  // Description of the notebook.
422
443
  string description = 8;
423
444
 
445
+ // When set to true, assertions dependent upon any dependency will
446
+ // be add as dedpendency to this action
447
+ bool depend_on_dependency_assertions = 9;
448
+
424
449
  // TODO(ekrekr): add a notebook runtime field definition.
425
450
  }
426
451
 
package/core.proto CHANGED
@@ -62,6 +62,7 @@ message Target {
62
62
  string database = 3;
63
63
  string schema = 1;
64
64
  string name = 2;
65
+ bool include_dependent_assertions = 4;
65
66
  }
66
67
 
67
68
  message BigQueryOptions {
package/package.json CHANGED
@@ -32,7 +32,7 @@
32
32
  "publishConfig": {
33
33
  "access": "public"
34
34
  },
35
- "version": "3.0.0-beta.4",
35
+ "version": "3.0.0-beta.6",
36
36
  "name": "@dataform/core",
37
37
  "description": "Dataform core API.",
38
38
  "main": "bundle.js"