systemprompt_cli/commands/build/
types.rs1use schemars::JsonSchema;
7use serde::{Deserialize, Serialize};
8
9#[derive(Debug, Clone, Serialize, Deserialize, JsonSchema)]
10pub struct BuildExtensionRow {
11 pub name: String,
12 pub build_type: String,
13 pub status: String,
14}
15
16#[derive(Debug, Clone, Serialize, Deserialize, JsonSchema)]
17pub struct BuildOutput {
18 pub extensions: Vec<BuildExtensionRow>,
19 pub total: usize,
20 pub successful: usize,
21 pub release_mode: bool,
22}
23
24#[derive(Debug, Clone, Serialize, Deserialize, JsonSchema)]
25pub struct CoreBuildOutput {
26 pub target: String,
27 pub mode: String,
28 pub status: String,
29 pub duration_secs: Option<f64>,
30}