removed legacy
This commit is contained in:
@@ -249,7 +249,6 @@ message JournalLine {
|
|||||||
string source_table_name = 10;
|
string source_table_name = 10;
|
||||||
int64 source_record_id = 11;
|
int64 source_record_id = 11;
|
||||||
int64 source_row_revision = 12;
|
int64 source_row_revision = 12;
|
||||||
reserved 13;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
message Journal {
|
message Journal {
|
||||||
|
|||||||
@@ -192,14 +192,12 @@ message ColumnDefinition {
|
|||||||
// s ≤ p and p ≥ 1.
|
// s ≤ p and p ≥ 1.
|
||||||
string field_type = 2;
|
string field_type = 2;
|
||||||
|
|
||||||
reserved 3;
|
|
||||||
|
|
||||||
// MONEY rounding applied before a value is stored.
|
// 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
|
// When true, this numeric column is server-owned and projected from the
|
||||||
// profile quantity ledger.
|
// profile quantity ledger.
|
||||||
bool quantity_ledger = 5;
|
bool quantity_ledger = 4;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Response after table creation (success + DDL preview).
|
// Response after table creation (success + DDL preview).
|
||||||
|
|||||||
@@ -167,12 +167,9 @@ message StoredTableScript {
|
|||||||
string description = 5;
|
string description = 5;
|
||||||
// Complete allowlist of data inputs that may be exposed to this script.
|
// Complete allowlist of data inputs that may be exposed to this script.
|
||||||
repeated ScriptDependency dependencies = 6;
|
repeated ScriptDependency dependencies = 6;
|
||||||
reserved 7;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
message ScriptDependency {
|
message ScriptDependency {
|
||||||
reserved 4;
|
|
||||||
|
|
||||||
// Logical table name referenced by the script.
|
// Logical table name referenced by the script.
|
||||||
string target_table = 1;
|
string target_table = 1;
|
||||||
// Normalized dependency kind, such as column_access or related_aggregate.
|
// Normalized dependency kind, such as column_access or related_aggregate.
|
||||||
@@ -181,9 +178,9 @@ message ScriptDependency {
|
|||||||
string column = 3;
|
string column = 3;
|
||||||
// Aggregate operation name, such as sum, count_rows, or exists; empty for
|
// Aggregate operation name, such as sum, count_rows, or exists; empty for
|
||||||
// column_access dependencies.
|
// column_access dependencies.
|
||||||
string operation = 5;
|
string operation = 4;
|
||||||
// Relationship table used to match the owner row to the related collection.
|
// 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.
|
// Identifies the active form row whose external Steel inputs must be hydrated.
|
||||||
|
|||||||
@@ -227,16 +227,14 @@ message ValidationSetRuleItem {
|
|||||||
}
|
}
|
||||||
|
|
||||||
message ValidationSetDefinition {
|
message ValidationSetDefinition {
|
||||||
reserved 3;
|
|
||||||
|
|
||||||
string name = 1;
|
string name = 1;
|
||||||
optional string description = 2;
|
optional string description = 2;
|
||||||
|
|
||||||
// Ordered set items.
|
// Ordered set items.
|
||||||
repeated ValidationSetRuleItem ruleItems = 5;
|
repeated ValidationSetRuleItem ruleItems = 4;
|
||||||
|
|
||||||
// Server-resolved snapshot of all set items in order.
|
// Server-resolved snapshot of all set items in order.
|
||||||
FieldValidation resolvedValidation = 4;
|
FieldValidation resolvedValidation = 3;
|
||||||
}
|
}
|
||||||
|
|
||||||
message UpsertValidationRuleRequest {
|
message UpsertValidationRuleRequest {
|
||||||
|
|||||||
@@ -123,7 +123,6 @@ message PostTableDataRequest {
|
|||||||
// - Some application-specific validations may apply (e.g., max length for
|
// - Some application-specific validations may apply (e.g., max length for
|
||||||
// certain fields like "telefon")
|
// certain fields like "telefon")
|
||||||
map<string, google.protobuf.Value> data = 3;
|
map<string, google.protobuf.Value> data = 3;
|
||||||
reserved 4;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Insert response.
|
// Insert response.
|
||||||
@@ -137,17 +136,14 @@ message PostTableDataResponse {
|
|||||||
// The id of the inserted row.
|
// The id of the inserted row.
|
||||||
int64 inserted_id = 3;
|
int64 inserted_id = 3;
|
||||||
|
|
||||||
reserved 4;
|
|
||||||
|
|
||||||
// Revision committed for the inserted row.
|
// Revision committed for the inserted row.
|
||||||
int64 row_revision = 5;
|
int64 row_revision = 4;
|
||||||
}
|
}
|
||||||
|
|
||||||
// One row in a bulk insert request.
|
// One row in a bulk insert request.
|
||||||
message PostTableDataBulkRow {
|
message PostTableDataBulkRow {
|
||||||
// Required. Same data payload as PostTableDataRequest.data.
|
// Required. Same data payload as PostTableDataRequest.data.
|
||||||
map<string, google.protobuf.Value> data = 1;
|
map<string, google.protobuf.Value> data = 1;
|
||||||
reserved 2;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Bulk insert request.
|
// Bulk insert request.
|
||||||
@@ -212,10 +208,8 @@ message PutTableDataResponse {
|
|||||||
// The id of the updated row.
|
// The id of the updated row.
|
||||||
int64 updated_id = 3;
|
int64 updated_id = 3;
|
||||||
|
|
||||||
reserved 4;
|
|
||||||
|
|
||||||
// Revision committed for the updated row.
|
// Revision committed for the updated row.
|
||||||
int64 row_revision = 5;
|
int64 row_revision = 4;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Soft-delete a single row.
|
// Soft-delete a single row.
|
||||||
@@ -237,8 +231,6 @@ message DeleteTableDataRequest {
|
|||||||
message DeleteTableDataResponse {
|
message DeleteTableDataResponse {
|
||||||
// True if a row was marked deleted (id existed and was not already deleted).
|
// True if a row was marked deleted (id existed and was not already deleted).
|
||||||
bool success = 1;
|
bool success = 1;
|
||||||
|
|
||||||
reserved 2;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Fetch a single non-deleted row by id.
|
// Fetch a single non-deleted row by id.
|
||||||
|
|||||||
Binary file not shown.
@@ -164,11 +164,11 @@ pub struct ColumnDefinition {
|
|||||||
#[prost(string, tag = "2")]
|
#[prost(string, tag = "2")]
|
||||||
pub field_type: ::prost::alloc::string::String,
|
pub field_type: ::prost::alloc::string::String,
|
||||||
/// MONEY rounding applied before a value is stored.
|
/// MONEY rounding applied before a value is stored.
|
||||||
#[prost(enumeration = "MoneyRounding", tag = "4")]
|
#[prost(enumeration = "MoneyRounding", tag = "3")]
|
||||||
pub rounding: i32,
|
pub rounding: i32,
|
||||||
/// When true, this numeric column is server-owned and projected from the
|
/// When true, this numeric column is server-owned and projected from the
|
||||||
/// profile quantity ledger.
|
/// profile quantity ledger.
|
||||||
#[prost(bool, tag = "5")]
|
#[prost(bool, tag = "4")]
|
||||||
pub quantity_ledger: bool,
|
pub quantity_ledger: bool,
|
||||||
}
|
}
|
||||||
/// Response after table creation (success + DDL preview).
|
/// Response after table creation (success + DDL preview).
|
||||||
|
|||||||
@@ -122,10 +122,10 @@ pub struct ScriptDependency {
|
|||||||
pub column: ::prost::alloc::string::String,
|
pub column: ::prost::alloc::string::String,
|
||||||
/// Aggregate operation name, such as sum, count_rows, or exists; empty for
|
/// Aggregate operation name, such as sum, count_rows, or exists; empty for
|
||||||
/// column_access dependencies.
|
/// column_access dependencies.
|
||||||
#[prost(string, tag = "5")]
|
#[prost(string, tag = "4")]
|
||||||
pub operation: ::prost::alloc::string::String,
|
pub operation: ::prost::alloc::string::String,
|
||||||
/// Relationship table used to match the owner row to the related collection.
|
/// 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,
|
pub via_table: ::prost::alloc::string::String,
|
||||||
}
|
}
|
||||||
/// Identifies the active form row whose external Steel inputs must be hydrated.
|
/// Identifies the active form row whose external Steel inputs must be hydrated.
|
||||||
|
|||||||
@@ -231,10 +231,10 @@ pub struct ValidationSetDefinition {
|
|||||||
#[prost(string, optional, tag = "2")]
|
#[prost(string, optional, tag = "2")]
|
||||||
pub description: ::core::option::Option<::prost::alloc::string::String>,
|
pub description: ::core::option::Option<::prost::alloc::string::String>,
|
||||||
/// Ordered set items.
|
/// Ordered set items.
|
||||||
#[prost(message, repeated, tag = "5")]
|
#[prost(message, repeated, tag = "4")]
|
||||||
pub rule_items: ::prost::alloc::vec::Vec<ValidationSetRuleItem>,
|
pub rule_items: ::prost::alloc::vec::Vec<ValidationSetRuleItem>,
|
||||||
/// Server-resolved snapshot of all set items in order.
|
/// 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<FieldValidation>,
|
pub resolved_validation: ::core::option::Option<FieldValidation>,
|
||||||
}
|
}
|
||||||
#[derive(serde::Serialize, serde::Deserialize)]
|
#[derive(serde::Serialize, serde::Deserialize)]
|
||||||
|
|||||||
@@ -60,7 +60,7 @@ pub struct PostTableDataResponse {
|
|||||||
#[prost(int64, tag = "3")]
|
#[prost(int64, tag = "3")]
|
||||||
pub inserted_id: i64,
|
pub inserted_id: i64,
|
||||||
/// Revision committed for the inserted row.
|
/// Revision committed for the inserted row.
|
||||||
#[prost(int64, tag = "5")]
|
#[prost(int64, tag = "4")]
|
||||||
pub row_revision: i64,
|
pub row_revision: i64,
|
||||||
}
|
}
|
||||||
/// One row in a bulk insert request.
|
/// One row in a bulk insert request.
|
||||||
@@ -144,7 +144,7 @@ pub struct PutTableDataResponse {
|
|||||||
#[prost(int64, tag = "3")]
|
#[prost(int64, tag = "3")]
|
||||||
pub updated_id: i64,
|
pub updated_id: i64,
|
||||||
/// Revision committed for the updated row.
|
/// Revision committed for the updated row.
|
||||||
#[prost(int64, tag = "5")]
|
#[prost(int64, tag = "4")]
|
||||||
pub row_revision: i64,
|
pub row_revision: i64,
|
||||||
}
|
}
|
||||||
/// Soft-delete a single row.
|
/// Soft-delete a single row.
|
||||||
|
|||||||
Reference in New Issue
Block a user