deleted = true does enforce requireed fields

This commit is contained in:
Priec
2026-09-03 09:56:18 +02:00
parent f7535a6fd5
commit 0c5459ece1
5 changed files with 2 additions and 27 deletions

View File

@@ -186,8 +186,6 @@ message PostTableDataResponse {
// Journal created or updated by automatic accounting, when applicable.
optional int64 journal_id = 5;
// Non-blocking data-quality warnings produced while inserting the row.
repeated string warnings = 6;
}
message BeginTableDataImportRequest {
@@ -221,17 +219,9 @@ message CommitTableDataImportRequest {
string import_id = 1;
}
message TableDataImportWarning {
// Zero-based position in the staged import, matching failed-row metadata.
int64 row_index = 1;
string table_name = 2;
string message = 3;
}
message CommitTableDataImportResponse {
bool success = 1;
int64 inserted_rows = 2;
repeated TableDataImportWarning warnings = 3;
}
message AbortTableDataImportRequest {

Binary file not shown.

View File

@@ -77,9 +77,6 @@ pub struct PostTableDataResponse {
/// Journal created or updated by automatic accounting, when applicable.
#[prost(int64, optional, tag = "5")]
pub journal_id: ::core::option::Option<i64>,
/// Non-blocking data-quality warnings produced while inserting the row.
#[prost(string, repeated, tag = "6")]
pub warnings: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct BeginTableDataImportRequest {
@@ -125,24 +122,12 @@ pub struct CommitTableDataImportRequest {
#[prost(string, tag = "1")]
pub import_id: ::prost::alloc::string::String,
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct TableDataImportWarning {
/// Zero-based position in the staged import, matching failed-row metadata.
#[prost(int64, tag = "1")]
pub row_index: i64,
#[prost(string, tag = "2")]
pub table_name: ::prost::alloc::string::String,
#[prost(string, tag = "3")]
pub message: ::prost::alloc::string::String,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct CommitTableDataImportResponse {
#[prost(bool, tag = "1")]
pub success: bool,
#[prost(int64, tag = "2")]
pub inserted_rows: i64,
#[prost(message, repeated, tag = "3")]
pub warnings: ::prost::alloc::vec::Vec<TableDataImportWarning>,
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct AbortTableDataImportRequest {

2
server

Submodule server updated: d6f9f92fda...15d938893a