strings not used internally10

This commit is contained in:
Priec
2026-09-07 10:17:06 +02:00
parent e4364e1c44
commit 042993fafc
14 changed files with 417 additions and 44 deletions

View File

@@ -11,9 +11,22 @@ service EcbService {
message GetEcbPipelineStatusRequest { int32 batch_limit = 1; }
enum ImportBatchStatus {
IMPORT_BATCH_STATUS_UNSPECIFIED = 0;
IMPORT_BATCH_STATUS_RUNNING = 1;
IMPORT_BATCH_STATUS_SUCCEEDED = 2;
IMPORT_BATCH_STATUS_FAILED = 3;
}
enum CurrencyCoverageStatus {
CURRENCY_COVERAGE_STATUS_UNSPECIFIED = 0;
CURRENCY_COVERAGE_STATUS_PENDING = 1;
CURRENCY_COVERAGE_STATUS_COMPLETE = 2;
}
message EcbImportBatch {
int64 batch_id = 1;
string status = 2;
ImportBatchStatus status = 2;
string requested_from = 3;
string requested_through = 4;
string endpoint = 5;
@@ -27,7 +40,7 @@ message EcbImportBatch {
message EcbCurrencyCoverage {
string currency = 1;
string status = 2;
CurrencyCoverageStatus status = 2;
optional string verified_from_date = 3;
optional string verified_through_date = 4;
}

View File

@@ -167,16 +167,44 @@ message StoredTableScript {
repeated ScriptDependency dependencies = 6;
}
enum ScriptDependencyKind {
SCRIPT_DEPENDENCY_KIND_UNSPECIFIED = 0;
SCRIPT_DEPENDENCY_KIND_COLUMN_ACCESS = 1;
SCRIPT_DEPENDENCY_KIND_RELATED_AGGREGATE = 2;
SCRIPT_DEPENDENCY_KIND_LEDGER_EFFECT = 3;
}
enum AggregateOperation {
AGGREGATE_OPERATION_UNSPECIFIED = 0;
AGGREGATE_OPERATION_SUM = 1;
AGGREGATE_OPERATION_MIN = 2;
AGGREGATE_OPERATION_MAX = 3;
AGGREGATE_OPERATION_COUNT = 4;
AGGREGATE_OPERATION_COUNT_DISTINCT = 5;
AGGREGATE_OPERATION_ANY = 6;
AGGREGATE_OPERATION_ALL = 7;
AGGREGATE_OPERATION_COUNT_ROWS = 8;
AGGREGATE_OPERATION_EXISTS = 9;
}
enum LedgerEffectOperation {
LEDGER_EFFECT_OPERATION_UNSPECIFIED = 0;
LEDGER_EFFECT_OPERATION_ADD = 1;
LEDGER_EFFECT_OPERATION_SUBTRACT = 2;
LEDGER_EFFECT_OPERATION_BOOLEAN = 3;
}
message ScriptDependency {
// Logical table name referenced by the script.
string target_table = 1;
// Normalized dependency kind, such as column_access or related_aggregate.
string dependency_type = 2;
ScriptDependencyKind dependency_type = 2;
// Logical column name. Empty for aggregates that operate on rows only.
string column = 3;
// Aggregate operation name, such as sum, count_rows, or exists; empty for
// column_access dependencies.
string operation = 4;
// Absent for column access; otherwise matches the dependency kind.
oneof operation {
AggregateOperation aggregate_operation = 4;
LedgerEffectOperation ledger_operation = 8;
}
// Relationship table used to match the owner row to the related collection.
string via_table = 5;
// Column of the current row holding the referenced row's id: the link this
@@ -224,9 +252,7 @@ message HydratedColumnValue {
// One declared related-collection aggregate input for the client Steel context.
message HydratedAggregateValue {
// Normalized aggregate operation: sum, min, max, count, count_distinct,
// any, all, count_rows, or exists.
string operation = 1;
AggregateOperation operation = 1;
// Logical table whose related rows were aggregated.
string target_table = 2;
// Logical aggregated column; empty for count_rows and exists.