also get tree added, not working, breaks everything
This commit is contained in:
@@ -6,6 +6,7 @@ import "common.proto";
|
||||
|
||||
service TableDefinition {
|
||||
rpc PostTableDefinition (PostTableDefinitionRequest) returns (TableDefinitionResponse);
|
||||
rpc GetProfileTree (multieko2.common.Empty) returns (ProfileTreeResponse);
|
||||
}
|
||||
|
||||
message PostTableDefinitionRequest {
|
||||
@@ -25,3 +26,17 @@ message TableDefinitionResponse {
|
||||
bool success = 1;
|
||||
string sql = 2;
|
||||
}
|
||||
|
||||
message ProfileTreeResponse {
|
||||
message Table {
|
||||
string name = 1;
|
||||
repeated string depends_on = 2;
|
||||
}
|
||||
|
||||
message Profile {
|
||||
string name = 1;
|
||||
repeated Table tables = 2;
|
||||
}
|
||||
|
||||
repeated Profile profiles = 1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user