diff --git a/common/proto/accounting.proto b/common/proto/accounting.proto index 7165cdb..c9310f4 100644 --- a/common/proto/accounting.proto +++ b/common/proto/accounting.proto @@ -249,7 +249,6 @@ message JournalLine { string source_table_name = 10; int64 source_record_id = 11; int64 source_row_revision = 12; - reserved 13; } message Journal { diff --git a/common/proto/table_definition.proto b/common/proto/table_definition.proto index 5ab5ae3..4f2b4dc 100644 --- a/common/proto/table_definition.proto +++ b/common/proto/table_definition.proto @@ -192,14 +192,12 @@ message ColumnDefinition { // s ≤ p and p ≥ 1. string field_type = 2; - reserved 3; - // MONEY rounding applied before a value is stored. - MoneyRounding rounding = 4; + MoneyRounding rounding = 3; // When true, this numeric column is server-owned and projected from the // profile quantity ledger. - bool quantity_ledger = 5; + bool quantity_ledger = 4; } // Response after table creation (success + DDL preview). diff --git a/common/proto/table_script.proto b/common/proto/table_script.proto index bf54609..19a25e5 100644 --- a/common/proto/table_script.proto +++ b/common/proto/table_script.proto @@ -167,12 +167,9 @@ message StoredTableScript { string description = 5; // Complete allowlist of data inputs that may be exposed to this script. repeated ScriptDependency dependencies = 6; - reserved 7; } message ScriptDependency { - reserved 4; - // Logical table name referenced by the script. string target_table = 1; // Normalized dependency kind, such as column_access or related_aggregate. @@ -181,9 +178,9 @@ message ScriptDependency { string column = 3; // Aggregate operation name, such as sum, count_rows, or exists; empty for // column_access dependencies. - string operation = 5; + string operation = 4; // Relationship table used to match the owner row to the related collection. - string via_table = 6; + string via_table = 5; } // Identifies the active form row whose external Steel inputs must be hydrated. diff --git a/common/proto/table_validation.proto b/common/proto/table_validation.proto index efd95ce..f3278cc 100644 --- a/common/proto/table_validation.proto +++ b/common/proto/table_validation.proto @@ -227,16 +227,14 @@ message ValidationSetRuleItem { } message ValidationSetDefinition { - reserved 3; - string name = 1; optional string description = 2; // Ordered set items. - repeated ValidationSetRuleItem ruleItems = 5; + repeated ValidationSetRuleItem ruleItems = 4; // Server-resolved snapshot of all set items in order. - FieldValidation resolvedValidation = 4; + FieldValidation resolvedValidation = 3; } message UpsertValidationRuleRequest { diff --git a/common/proto/tables_data.proto b/common/proto/tables_data.proto index 065d95a..5fa57a7 100644 --- a/common/proto/tables_data.proto +++ b/common/proto/tables_data.proto @@ -123,7 +123,6 @@ message PostTableDataRequest { // - Some application-specific validations may apply (e.g., max length for // certain fields like "telefon") map data = 3; - reserved 4; } // Insert response. @@ -137,17 +136,14 @@ message PostTableDataResponse { // The id of the inserted row. int64 inserted_id = 3; - reserved 4; - // Revision committed for the inserted row. - int64 row_revision = 5; + int64 row_revision = 4; } // One row in a bulk insert request. message PostTableDataBulkRow { // Required. Same data payload as PostTableDataRequest.data. map data = 1; - reserved 2; } // Bulk insert request. @@ -212,10 +208,8 @@ message PutTableDataResponse { // The id of the updated row. int64 updated_id = 3; - reserved 4; - // Revision committed for the updated row. - int64 row_revision = 5; + int64 row_revision = 4; } // Soft-delete a single row. @@ -237,8 +231,6 @@ message DeleteTableDataRequest { message DeleteTableDataResponse { // True if a row was marked deleted (id existed and was not already deleted). bool success = 1; - - reserved 2; } // Fetch a single non-deleted row by id. diff --git a/common/src/proto/descriptor.bin b/common/src/proto/descriptor.bin index 7cc2fdb..2b1d187 100644 Binary files a/common/src/proto/descriptor.bin and b/common/src/proto/descriptor.bin differ diff --git a/common/src/proto/komp_ac.table_definition.rs b/common/src/proto/komp_ac.table_definition.rs index 0a98666..99b3037 100644 --- a/common/src/proto/komp_ac.table_definition.rs +++ b/common/src/proto/komp_ac.table_definition.rs @@ -164,11 +164,11 @@ pub struct ColumnDefinition { #[prost(string, tag = "2")] pub field_type: ::prost::alloc::string::String, /// MONEY rounding applied before a value is stored. - #[prost(enumeration = "MoneyRounding", tag = "4")] + #[prost(enumeration = "MoneyRounding", tag = "3")] pub rounding: i32, /// When true, this numeric column is server-owned and projected from the /// profile quantity ledger. - #[prost(bool, tag = "5")] + #[prost(bool, tag = "4")] pub quantity_ledger: bool, } /// Response after table creation (success + DDL preview). diff --git a/common/src/proto/komp_ac.table_script.rs b/common/src/proto/komp_ac.table_script.rs index 1b61e5e..c2136d6 100644 --- a/common/src/proto/komp_ac.table_script.rs +++ b/common/src/proto/komp_ac.table_script.rs @@ -122,10 +122,10 @@ pub struct ScriptDependency { pub column: ::prost::alloc::string::String, /// Aggregate operation name, such as sum, count_rows, or exists; empty for /// column_access dependencies. - #[prost(string, tag = "5")] + #[prost(string, tag = "4")] pub operation: ::prost::alloc::string::String, /// Relationship table used to match the owner row to the related collection. - #[prost(string, tag = "6")] + #[prost(string, tag = "5")] pub via_table: ::prost::alloc::string::String, } /// Identifies the active form row whose external Steel inputs must be hydrated. diff --git a/common/src/proto/komp_ac.table_validation.rs b/common/src/proto/komp_ac.table_validation.rs index 3ff5d10..0860373 100644 --- a/common/src/proto/komp_ac.table_validation.rs +++ b/common/src/proto/komp_ac.table_validation.rs @@ -231,10 +231,10 @@ pub struct ValidationSetDefinition { #[prost(string, optional, tag = "2")] pub description: ::core::option::Option<::prost::alloc::string::String>, /// Ordered set items. - #[prost(message, repeated, tag = "5")] + #[prost(message, repeated, tag = "4")] pub rule_items: ::prost::alloc::vec::Vec, /// Server-resolved snapshot of all set items in order. - #[prost(message, optional, tag = "4")] + #[prost(message, optional, tag = "3")] pub resolved_validation: ::core::option::Option, } #[derive(serde::Serialize, serde::Deserialize)] diff --git a/common/src/proto/komp_ac.tables_data.rs b/common/src/proto/komp_ac.tables_data.rs index e2fc263..6835a69 100644 --- a/common/src/proto/komp_ac.tables_data.rs +++ b/common/src/proto/komp_ac.tables_data.rs @@ -60,7 +60,7 @@ pub struct PostTableDataResponse { #[prost(int64, tag = "3")] pub inserted_id: i64, /// Revision committed for the inserted row. - #[prost(int64, tag = "5")] + #[prost(int64, tag = "4")] pub row_revision: i64, } /// One row in a bulk insert request. @@ -144,7 +144,7 @@ pub struct PutTableDataResponse { #[prost(int64, tag = "3")] pub updated_id: i64, /// Revision committed for the updated row. - #[prost(int64, tag = "5")] + #[prost(int64, tag = "4")] pub row_revision: i64, } /// Soft-delete a single row.