Initial work commit. Includes welcome and license stages prototypes.

This commit is contained in:
2026-04-16 00:29:43 +02:00
parent f98966a83a
commit 825ea5225b
115 changed files with 6521 additions and 0 deletions
+37
View File
@@ -0,0 +1,37 @@
use std::collections::HashMap;
#[derive(Debug, Clone)]
pub enum ConfigValue {
String(String),
I64(i64),
U64(u64),
F64(f64),
Bool(bool),
Vector(Vec<ConfigValue>),
Dictionary(HashMap<String, ConfigValue>)
}
#[derive(Debug, Clone)]
pub struct StageResult {
pub name: String,
pub config: Option<HashMap<String, ConfigValue>>,
pub resuts: Option<HashMap<String, ConfigValue>>,
pub error: Option<String>
}
#[derive(Debug, Clone)]
pub enum StageAction {
Back,
None,
Next(StageResult),
Abort(StageResult),
}
pub struct KiraConfig {
pub config_trail: Vec<StageResult>,
}