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

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 {