v0.3.7-pre.010
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
// file: crates/ksp-app-backfill-desk/src/dto_backfill.rs
|
||||
// version: 2
|
||||
// version: 3
|
||||
|
||||
//! Application-owned Backfill campaign DTOs and backend-derived request limits.
|
||||
|
||||
@@ -76,6 +76,19 @@ pub(crate) struct BackfillStartResponseDto {
|
||||
pub(crate) state: String,
|
||||
}
|
||||
|
||||
/// Safe acknowledgement of one targeted cooperative cancellation request.
|
||||
#[derive(Clone, Debug, serde::Serialize, TS)]
|
||||
#[serde(rename_all = "camelCase")]
|
||||
#[ts(export, export_to = "../frontend/ts/bindings/ksp_app_backfill_desk/dto_backfill/BackfillCancelResponseDto.ts")]
|
||||
pub(crate) struct BackfillCancelResponseDto {
|
||||
/// Whether this call won the first pre-terminal cancellation request for the targeted run.
|
||||
pub(crate) accepted: bool,
|
||||
/// Backend-generated Job identifier that the cancellation request targeted.
|
||||
pub(crate) job_id: String,
|
||||
/// Safe current or cancellation-intent lifecycle code at command completion.
|
||||
pub(crate) state: String,
|
||||
}
|
||||
|
||||
/// Safe projection proving that one app request mapped to the KSP Backfill contract.
|
||||
///
|
||||
/// Address and signature values are intentionally reduced to presence/count metadata. This DTO is
|
||||
|
||||
Reference in New Issue
Block a user