@sqlanvil/core 1.0.3 → 1.1.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 +171 -1
- package/bundle.js +1 -1
- package/configs.proto +31 -0
- package/core.proto +4 -0
- package/package.json +1 -1
package/configs.proto
CHANGED
|
@@ -84,6 +84,29 @@ message WorkflowSettings {
|
|
|
84
84
|
|
|
85
85
|
// Optional. The database warehouse to use, e.g. "bigquery", "postgres", "supabase".
|
|
86
86
|
string warehouse = 17;
|
|
87
|
+
|
|
88
|
+
// Optional. Named connections (warehouse + read-only sources).
|
|
89
|
+
map<string, ConnectionConfig> connections = 18;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
// A named connection: the warehouse (read/write target) or a read-only source.
|
|
93
|
+
message ConnectionConfig {
|
|
94
|
+
// Optional. One of "bigquery", "postgres", "supabase".
|
|
95
|
+
string platform = 1;
|
|
96
|
+
// Optional. BigQuery source default project.
|
|
97
|
+
string project = 2;
|
|
98
|
+
// Optional. BigQuery source default dataset.
|
|
99
|
+
string dataset = 3;
|
|
100
|
+
// Optional. Non-secret Vault secret id used in generated BigQuery FDW server DDL.
|
|
101
|
+
string sa_key_id = 4;
|
|
102
|
+
// Optional. Postgres source host (non-secret; password lives in .df-credentials.json).
|
|
103
|
+
string host = 5;
|
|
104
|
+
// Optional. Postgres source port.
|
|
105
|
+
uint32 port = 6;
|
|
106
|
+
// Optional. Postgres source database name.
|
|
107
|
+
string database = 7;
|
|
108
|
+
// Optional. Postgres/Supabase default schema.
|
|
109
|
+
string default_schema = 8;
|
|
87
110
|
}
|
|
88
111
|
|
|
89
112
|
message DefaultIcebergConfig {
|
|
@@ -634,6 +657,14 @@ message ActionConfig {
|
|
|
634
657
|
|
|
635
658
|
// A list of user-defined tags with which the action should be labeled.
|
|
636
659
|
repeated string tags = 7;
|
|
660
|
+
|
|
661
|
+
// Optional. Name of a connection (from WorkflowSettings.connections) that this
|
|
662
|
+
// declaration reads from. Only valid on declarations.
|
|
663
|
+
string connection = 8;
|
|
664
|
+
|
|
665
|
+
// Optional. Column name -> SQL type, used to generate the foreign table when
|
|
666
|
+
// `connection` bridges via FDW. Distinct from `columns` (descriptions).
|
|
667
|
+
map<string, string> column_types = 9;
|
|
637
668
|
}
|
|
638
669
|
|
|
639
670
|
message NotebookConfig {
|
package/core.proto
CHANGED