accounting as table defined

This commit is contained in:
Priec
2026-07-21 12:29:30 +02:00
parent f8a0437f77
commit d8f280ec8e
9 changed files with 20 additions and 99 deletions

View File

@@ -171,6 +171,9 @@ message ProfileTreeResponse {
// Column whose value is used as the human-readable row label.
string row_display_column = 4;
// "dynamic" for user-defined tables, "system" for backend-managed tables.
string table_kind = 5;
}
// Profile (schema) entry.
@@ -247,6 +250,7 @@ message TableDetail {
string base_currency = 5;
string row_display_column = 6;
map<string, ColumnBehavior> column_behaviors = 7;
string table_kind = 8;
}
// Server-owned behavior for one logical column returned in table details.

Binary file not shown.

View File

@@ -143,6 +143,9 @@ pub mod profile_tree_response {
/// Column whose value is used as the human-readable row label.
#[prost(string, tag = "4")]
pub row_display_column: ::prost::alloc::string::String,
/// "dynamic" for user-defined tables, "system" for backend-managed tables.
#[prost(string, tag = "5")]
pub table_kind: ::prost::alloc::string::String,
}
/// Profile (schema) entry.
#[derive(Clone, PartialEq, ::prost::Message)]
@@ -252,6 +255,8 @@ pub struct TableDetail {
::prost::alloc::string::String,
ColumnBehavior,
>,
#[prost(string, tag = "8")]
pub table_kind: ::prost::alloc::string::String,
}
/// Server-owned behavior for one logical column returned in table details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]

View File

@@ -17,7 +17,7 @@ pub const F_ALL_TEXT: &str = "all_text";
pub const F_DATA_WORD: &str = "data_word";
pub const F_DATA_NGRAM: &str = "data_ngram";
pub const F_DATA_EXACT: &str = "data_exact";
pub const JOURNAL_SEARCH_TABLE_NAME: &str = "journal_entries";
pub const JOURNAL_TABLE_NAME: &str = "journal_entries";
pub const TOK_WORD: &str = "kw_word";
pub const TOK_NGRAM: &str = "kw_ngram";