@dataform/core 3.0.64 → 3.0.65

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
@@ -24,6 +24,7 @@ option go_package = "github.com/dataform-co/dataform/protos/dataform";
24
24
 
25
25
  import "google/protobuf/struct.proto";
26
26
  import "extension.proto";
27
+ import "property_graph_config.proto";
27
28
 
28
29
  // Workflow Settings defines the contents of the `workflow_settings.yaml`
29
30
  // configuration file.
@@ -729,6 +730,7 @@ message ActionConfig {
729
730
  DeclarationConfig declaration = 6;
730
731
  NotebookConfig notebook = 7;
731
732
  DataPreparationConfig data_preparation = 8;
733
+ PropertyGraphConfig property_graph = 9;
732
734
  }
733
735
 
734
736
  message LoadModeConfig {
package/core.proto CHANGED
@@ -452,6 +452,55 @@ message MergeLoadMode {
452
452
  repeated string unique_key = 1;
453
453
  }
454
454
 
455
+ message PropertyGraph {
456
+ Target target = 1;
457
+ Target canonical_target = 2;
458
+ repeated Target dependency_targets = 3;
459
+ string file_name = 4;
460
+ string description = 5;
461
+ repeated GraphEntity entities = 6;
462
+ repeated GraphRelationship relationships = 7;
463
+ string graph_body = 8;
464
+ }
465
+
466
+ message GraphEntity {
467
+ string name = 1;
468
+ Target data_source = 2;
469
+ repeated string keys = 3;
470
+ repeated GraphLabel labels = 4;
471
+ }
472
+
473
+ message GraphRelationship {
474
+ string name = 1;
475
+ Target data_source = 2;
476
+ repeated string keys = 3;
477
+ GraphEndpoint source = 4;
478
+ GraphEndpoint destination = 5;
479
+ repeated GraphLabel labels = 6;
480
+ }
481
+
482
+ message GraphLabel {
483
+ string name = 1;
484
+ string description = 2;
485
+ repeated string synonyms = 3;
486
+ repeated GraphField fields = 4;
487
+ bool import_all = 5;
488
+ repeated string import_except = 6;
489
+ }
490
+
491
+ message GraphField {
492
+ string name = 1;
493
+ string expression = 2;
494
+ string description = 3;
495
+ repeated string synonyms = 4;
496
+ }
497
+
498
+ message GraphEndpoint {
499
+ string entity = 1;
500
+ repeated string relationship_columns = 2;
501
+ repeated string entity_columns = 3;
502
+ }
503
+
455
504
  message CompiledGraph {
456
505
  ProjectConfig project_config = 4;
457
506
 
@@ -464,6 +513,7 @@ message CompiledGraph {
464
513
  repeated Test tests = 8;
465
514
  repeated Notebook notebooks = 12;
466
515
  repeated DataPreparation data_preparations = 13;
516
+ repeated PropertyGraph property_graphs = 16;
467
517
 
468
518
  GraphErrors graph_errors = 7;
469
519
 
package/package.json CHANGED
@@ -36,7 +36,7 @@
36
36
  "publishConfig": {
37
37
  "access": "public"
38
38
  },
39
- "version": "3.0.64",
39
+ "version": "3.0.65",
40
40
  "name": "@dataform/core",
41
41
  "description": "Dataform core API.",
42
42
  "main": "bundle.js"