global profile comes from server now only

This commit is contained in:
Priec
2026-08-17 11:05:16 +02:00
parent 9b1e592ecd
commit efd9e2481b
9 changed files with 33 additions and 11 deletions

View File

@@ -308,11 +308,18 @@ message ProfileTreeResponse {
// All profiles in the system.
repeated Profile profiles = 1;
// The profile holding the tables every profile shares. Callers browse this
// one when the user has not chosen a profile, so the name is reported here
// rather than being known in advance.
string shared_profile_name = 2;
}
message GetTableCatalogRequest {
// Selected profile. Omit this field to request the global-only scope.
optional string profile_name = 1;
// Profile whose tables to list, together with the shared tables every
// profile sees. The profile holding the shared tables is named like any
// other, and asking for it lists exactly those.
string profile_name = 1;
}
message GetTableCatalogResponse {

Binary file not shown.

View File

@@ -224,6 +224,11 @@ pub struct ProfileTreeResponse {
/// All profiles in the system.
#[prost(message, repeated, tag = "1")]
pub profiles: ::prost::alloc::vec::Vec<profile_tree_response::Profile>,
/// The profile holding the tables every profile shares. Callers browse this
/// one when the user has not chosen a profile, so the name is reported here
/// rather than being known in advance.
#[prost(string, tag = "2")]
pub shared_profile_name: ::prost::alloc::string::String,
}
/// Nested message and enum types in `ProfileTreeResponse`.
pub mod profile_tree_response {
@@ -283,9 +288,11 @@ pub mod profile_tree_response {
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct GetTableCatalogRequest {
/// Selected profile. Omit this field to request the global-only scope.
#[prost(string, optional, tag = "1")]
pub profile_name: ::core::option::Option<::prost::alloc::string::String>,
/// Profile whose tables to list, together with the shared tables every
/// profile sees. The profile holding the shared tables is named like any
/// other, and asking for it lists exactly those.
#[prost(string, tag = "1")]
pub profile_name: ::prost::alloc::string::String,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct GetTableCatalogResponse {