_id is free

This commit is contained in:
Priec
2026-08-08 00:19:33 +02:00
parent 0d78556428
commit 5be1a5c661
9 changed files with 58 additions and 24 deletions

Binary file not shown.

View File

@@ -173,8 +173,20 @@ pub struct ProfileTreeResponse {
}
/// Nested message and enum types in `ProfileTreeResponse`.
pub mod profile_tree_response {
/// Table entry in a profile.
/// One link: the table it points at, and the column carrying it.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct Dependency {
/// Table being referenced.
#[prost(string, tag = "1")]
pub table_name: ::prost::alloc::string::String,
/// Column holding the reference, named by whoever declared the link. This
/// is what identifies the link, since a table may point at one target
/// several times.
#[prost(string, tag = "2")]
pub column_name: ::prost::alloc::string::String,
}
/// Table entry in a profile.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Table {
/// Internal ID from table_definitions.id (metadata record).
#[prost(int64, tag = "1")]
@@ -182,9 +194,10 @@ pub mod profile_tree_response {
/// Table name within the profile (schema).
#[prost(string, tag = "2")]
pub name: ::prost::alloc::string::String,
/// Other tables this one references (based on link definitions only).
#[prost(string, repeated, tag = "3")]
pub depends_on: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
/// Links this table declares. One entry per link, so a table that names the
/// same target twice appears twice.
#[prost(message, repeated, tag = "3")]
pub depends_on: ::prost::alloc::vec::Vec<Dependency>,
/// Columns whose values make up the human-readable row label, in order.
#[prost(string, repeated, tag = "4")]
pub row_display_columns: ::prost::alloc::vec::Vec<