v0.3.7-pre.007
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
// file: crates/ksp-app-backfill-desk/src/lib.rs
|
||||
// version: 5
|
||||
// version: 6
|
||||
|
||||
//! Tauri desktop application scaffold for controlling and inspecting KSP RAW backfill jobs.
|
||||
|
||||
@@ -8,8 +8,10 @@
|
||||
#![warn(missing_docs)]
|
||||
|
||||
mod app_state;
|
||||
mod backfill_request;
|
||||
mod bootstrap;
|
||||
mod constants;
|
||||
mod dto_backfill;
|
||||
mod dto_common;
|
||||
mod errors;
|
||||
mod frontend_logging;
|
||||
@@ -26,6 +28,10 @@ pub use self::tauri::run;
|
||||
|
||||
/// Shared Backfill Desk application state managed by Tauri.
|
||||
pub(crate) use self::app_state::AppState;
|
||||
/// Maps one app-owned campaign DTO to the validated KSP Backfill request contract.
|
||||
pub(crate) use self::backfill_request::map_backfill_request;
|
||||
/// Projects one validated Backfill request without returning address or signature values.
|
||||
pub(crate) use self::backfill_request::project_backfill_request;
|
||||
/// Crate-internal Logging startup state shared by the application state.
|
||||
pub(crate) use self::bootstrap::LoggingStartup;
|
||||
/// Builds the Config management facade from the common KSP CLI bootstrap contract.
|
||||
@@ -42,10 +48,20 @@ pub(crate) use self::constants::COMPOSITE_COMPONENT_ID_LOGGING;
|
||||
pub(crate) use self::constants::COMPOSITE_COMPONENT_ID_STORE;
|
||||
/// Composite component identifier for Transport.
|
||||
pub(crate) use self::constants::COMPOSITE_COMPONENT_ID_TRANSPORT;
|
||||
/// Initial hydration concurrency proposed by the Backfill campaign form.
|
||||
pub(crate) use self::constants::DEFAULT_BACKFILL_HYDRATION_CONCURRENCY;
|
||||
/// Initial candidate cap proposed by the Backfill campaign form.
|
||||
pub(crate) use self::constants::DEFAULT_BACKFILL_MAX_CANDIDATES;
|
||||
/// Initial discovery-page cap proposed by the Backfill campaign form.
|
||||
pub(crate) use self::constants::DEFAULT_BACKFILL_MAX_PAGES;
|
||||
/// Initial signature page size proposed by the Backfill campaign form.
|
||||
pub(crate) use self::constants::DEFAULT_BACKFILL_PAGE_SIZE;
|
||||
/// Structured domain used while bootstrapping Config and Logging.
|
||||
pub(crate) use self::constants::TRACING_DOMAIN_BOOTSTRAP;
|
||||
/// Structured domain used by technical frontend events.
|
||||
pub(crate) use self::constants::TRACING_DOMAIN_FRONTEND;
|
||||
/// Structured domain used by Backfill campaign admission and request mapping.
|
||||
pub(crate) use self::constants::TRACING_DOMAIN_REQUEST;
|
||||
/// Structured domain used by the Backfill Desk shell.
|
||||
pub(crate) use self::constants::TRACING_DOMAIN_SHELL;
|
||||
/// Structured domain used by Store readiness and shutdown operations.
|
||||
@@ -62,7 +78,19 @@ pub(crate) use self::constants::TRACING_TARGET_FRONTEND;
|
||||
pub(crate) use self::constants::TRACING_TARGET_FRONTEND_MAIN;
|
||||
/// Owning target for splash-window frontend events.
|
||||
pub(crate) use self::constants::TRACING_TARGET_FRONTEND_SPLASH;
|
||||
/// Safe Transport-and-Store readiness subset of the Backfill Desk options contract.
|
||||
/// Backend-derived request bounds and Desk defaults for the campaign form.
|
||||
pub(crate) use self::dto_backfill::BackfillRequestLimitsDto;
|
||||
/// Safe request preview produced after strict backend mapping.
|
||||
pub(crate) use self::dto_backfill::BackfillRequestPreviewDto;
|
||||
/// App-owned campaign request received from the frontend.
|
||||
pub(crate) use self::dto_backfill::BackfillStartRequestDto;
|
||||
/// Returns commitment codes admitted by the current Backfill contract.
|
||||
pub(crate) use self::dto_backfill::backfill_commitment_codes;
|
||||
/// Builds frontend-safe campaign limits from Job-owned public constants.
|
||||
pub(crate) use self::dto_backfill::backfill_request_limits;
|
||||
/// Returns scope kind codes admitted by the current Backfill contract.
|
||||
pub(crate) use self::dto_backfill::backfill_scope_kind_codes;
|
||||
/// Safe Backfill Desk options contract combining readiness and campaign metadata.
|
||||
pub(crate) use self::dto_common::BackfillDeskOptionsDto;
|
||||
/// Safe logical HTTP route exposed for operator selection.
|
||||
pub(crate) use self::dto_common::BackfillHttpRouteOptionDto;
|
||||
@@ -74,6 +102,10 @@ pub(crate) use self::dto_common::ShellStatusDto;
|
||||
pub(crate) use self::errors::ERROR_CODE_APP_STATE_INVALID;
|
||||
/// Shared Backfill Desk runtime state cannot be locked safely.
|
||||
pub(crate) use self::errors::ERROR_CODE_APP_STATE_LOCK_FAILED;
|
||||
/// Backfill Desk cannot admit a campaign before Transport and Store composition is ready.
|
||||
pub(crate) use self::errors::ERROR_CODE_BACKFILL_COMPOSITION_NOT_READY;
|
||||
/// Backfill Desk received a campaign field that cannot map to the Backfill contract.
|
||||
pub(crate) use self::errors::ERROR_CODE_BACKFILL_REQUEST_INVALID;
|
||||
/// Backfill Desk composite configuration is missing or references an unexpected document.
|
||||
pub(crate) use self::errors::ERROR_CODE_CONFIG_COMPOSITE_INVALID;
|
||||
/// Frontend logging requested an unsupported level.
|
||||
|
||||
Reference in New Issue
Block a user