v0.3.7-pre.007
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
// file: crates/ksp-app-backfill-desk/src/dto_common.rs
|
||||
// version: 4
|
||||
// version: 5
|
||||
|
||||
//! Common Tauri DTOs shared by the Backfill Desk shell.
|
||||
|
||||
@@ -21,15 +21,19 @@ pub(crate) struct BackfillHttpRouteOptionDto {
|
||||
pub(crate) role: String,
|
||||
}
|
||||
|
||||
/// Safe Transport-and-Store readiness subset of the Backfill Desk options contract.
|
||||
/// Safe Backfill Desk options contract combining readiness, HTTP routes and Job-owned campaign bounds.
|
||||
///
|
||||
/// Campaign scopes, commitments and backend-owned bounds are added in the dedicated request/DTO slice. Endpoint URLs and credentials are intentionally absent.
|
||||
/// Endpoint URLs, credentials and physical routing details are intentionally absent.
|
||||
#[derive(Clone, Debug, serde::Serialize, TS)]
|
||||
#[serde(rename_all = "camelCase")]
|
||||
#[ts(export, export_to = "../frontend/ts/bindings/ksp_app_backfill_desk/dto_common/BackfillDeskOptionsDto.ts")]
|
||||
pub(crate) struct BackfillDeskOptionsDto {
|
||||
/// Stable commitment codes currently admitted by `ksp-job-backfill-lib`.
|
||||
pub(crate) commitments: std::vec::Vec<String>,
|
||||
/// Selectable logical HTTP routes that support both RPC methods required by the Backfill runtime.
|
||||
pub(crate) http_routes: std::vec::Vec<BackfillHttpRouteOptionDto>,
|
||||
/// Backend-owned maxima plus application defaults used by the campaign form.
|
||||
pub(crate) limits: crate::BackfillRequestLimitsDto,
|
||||
/// Whether the Transport and Store readiness gates jointly permit later Backfill composition.
|
||||
pub(crate) composition_ready: bool,
|
||||
/// Distinct enabled HTTP cluster labels selected by the active Transport profile.
|
||||
@@ -44,6 +48,8 @@ pub(crate) struct BackfillDeskOptionsDto {
|
||||
pub(crate) store_ready: bool,
|
||||
/// Safe startup diagnostic when Transport configuration could not be resolved or constructed.
|
||||
pub(crate) transport_diagnostic: std::option::Option<CommandErrorDto>,
|
||||
/// Stable HTTP scope codes currently admitted by `ksp-job-backfill-lib`.
|
||||
pub(crate) scope_kinds: std::vec::Vec<String>,
|
||||
/// Whether Transport currently has one coherent network and at least one compatible available role.
|
||||
pub(crate) transport_ready: bool,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user