mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-31 04:23:40 +00:00
Refactor/project structure (#3085)
* refactor project structure * environment-based default registry * fix tests * update build container * use docker platform for iso build emulation * simplify compat * Fix docker platform spec in run-compat.sh * handle riscv compat * fix bug with dep error exists attr * undo removal of sorting * use qemu for iso stage --------- Co-authored-by: Mariusz Kogen <k0gen@pm.me> Co-authored-by: Matt Hill <mattnine@protonmail.com>
This commit is contained in:
16
core/src/service/effects/prelude.rs
Normal file
16
core/src/service/effects/prelude.rs
Normal file
@@ -0,0 +1,16 @@
|
||||
pub use clap::Parser;
|
||||
pub use serde::{Deserialize, Serialize};
|
||||
pub use ts_rs::TS;
|
||||
|
||||
pub use crate::prelude::*;
|
||||
use crate::rpc_continuations::Guid;
|
||||
pub(super) use crate::service::effects::context::EffectContext;
|
||||
|
||||
#[derive(Debug, Clone, serde::Serialize, serde::Deserialize, Parser, TS)]
|
||||
#[serde(rename_all = "camelCase")]
|
||||
#[ts(export)]
|
||||
pub struct EventId {
|
||||
#[serde(default)]
|
||||
#[arg(default_value_t, long)]
|
||||
pub event_id: Guid,
|
||||
}
|
||||
Reference in New Issue
Block a user