strings not used internally11

This commit is contained in:
Priec
2026-09-07 10:25:14 +02:00
parent 042993fafc
commit 082b77d35a
10 changed files with 147 additions and 31 deletions

View File

@@ -2,6 +2,8 @@ syntax = "proto3";
package komp_ac.analytics;
import "table_definition.proto";
import "google/protobuf/struct.proto";
// Runs read-only analytical SQL over runtime-defined profile tables.
@@ -37,7 +39,7 @@ message AnalyticsCatalogColumn {
string name = 1;
string field_type = 2;
bool is_system = 3;
string rounding = 4;
komp_ac.table_definition.MoneyRounding rounding = 4;
// Canonical ISO-4217 code for MONEY; empty for every other type.
string currency = 5;
}

View File

@@ -78,13 +78,19 @@ message GetDocumentsRequest {
optional string source_table_name = 5;
}
enum DocumentDataChangeKind {
DOCUMENT_DATA_CHANGE_KIND_UNSPECIFIED = 0;
DOCUMENT_DATA_CHANGE_KIND_GENERATED = 1;
DOCUMENT_DATA_CHANGE_KIND_USER_ADJUSTMENT = 2;
}
message Document {
int64 snapshot_id = 1;
int64 document_id = 2;
int64 schema_id = 3;
repeated SourceRecord source_records = 4;
string data_json = 5;
string change_kind = 6;
DocumentDataChangeKind change_kind = 6;
int32 version_number = 7;
string created_at = 8;
string updated_at = 9;

View File

@@ -2,6 +2,8 @@ syntax = "proto3";
package komp_ac.exchange_rates;
import "table_definition.proto";
import "common.proto";
// Selects WHICH DATE supplies the rate; this is independent of where the rate
@@ -106,7 +108,7 @@ message PreviewDirectConversionResponse {
string accounting_currency = 4;
string conversion_basis_date = 5;
string determination_method = 6;
string rounding_method = 7;
komp_ac.table_definition.MoneyRounding rounding_method = 7;
optional string rate_date = 8;
optional string accounting_units = 9;
optional string foreign_currency = 10;
@@ -149,7 +151,7 @@ message ConversionEvidence {
string conversion_context = 10;
string conversion_basis_date = 11;
string determination_method = 12;
string rounding_method = 13;
komp_ac.table_definition.MoneyRounding rounding_method = 13;
optional string rate_date = 14;
string source_id = 15;
optional int64 official_observation_id = 16;