ecb for dashboard - WRONG NEEDS CORRECTION ASAP

This commit is contained in:
Priec
2026-08-13 10:20:04 +02:00
parent 78d72b7a44
commit 8f8b5b4601
10 changed files with 100 additions and 3 deletions

View File

@@ -80,6 +80,17 @@ message GetEcbPipelineStatusResponse {
// Distinct currencies observed on verified_through_date, so a coverage gap
// for one currency is visible even when the date itself is covered.
repeated string covered_currencies = 8;
// Current coverage restated as the question a reader actually has: what may
// be posted right now. Both are the latest basis date whose derived
// publication date is still covered, under the two rules
// required_publication_date applies -- transactions look strictly before the
// basis date, statements and decisive dates look at it directly, so the
// transaction bound is the later of the two. Derived here rather than by the
// caller so it cannot disagree with the calendar the conversion path uses.
// Absent when nothing has ever been verified and nothing can be posted.
optional string transactions_postable_through = 9;
optional string statements_postable_through = 10;
}
// Conversion basis rule used to select an ECB publication.

Binary file not shown.

View File

@@ -69,6 +69,22 @@ pub struct GetEcbPipelineStatusResponse {
/// for one currency is visible even when the date itself is covered.
#[prost(string, repeated, tag = "8")]
pub covered_currencies: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
/// Current coverage restated as the question a reader actually has: what may
/// be posted right now. Both are the latest basis date whose derived
/// publication date is still covered, under the two rules
/// required_publication_date applies -- transactions look strictly before the
/// basis date, statements and decisive dates look at it directly, so the
/// transaction bound is the later of the two. Derived here rather than by the
/// caller so it cannot disagree with the calendar the conversion path uses.
/// Absent when nothing has ever been verified and nothing can be posted.
#[prost(string, optional, tag = "9")]
pub transactions_postable_through: ::core::option::Option<
::prost::alloc::string::String,
>,
#[prost(string, optional, tag = "10")]
pub statements_postable_through: ::core::option::Option<
::prost::alloc::string::String,
>,
}
/// Exact inputs for a conversion preview. Decimal values are strings so the
/// client never loses precision through binary floating point.