summaryrefslogtreecommitdiff
path: root/makima/src/db/models.rs
diff options
context:
space:
mode:
Diffstat (limited to 'makima/src/db/models.rs')
-rw-r--r--makima/src/db/models.rs7
1 files changed, 5 insertions, 2 deletions
diff --git a/makima/src/db/models.rs b/makima/src/db/models.rs
index 33b9795..f9a34b8 100644
--- a/makima/src/db/models.rs
+++ b/makima/src/db/models.rs
@@ -2860,6 +2860,9 @@ pub struct CreateDirectiveStepRequest {
#[serde(default)]
pub order_index: i32,
pub generation: Option<i32>,
+ /// Optional order ID to auto-link this step to an order.
+ #[serde(default)]
+ pub order_id: Option<Uuid>,
}
/// Request to update a directive step.
@@ -2891,7 +2894,7 @@ pub struct Order {
pub description: Option<String>,
/// Priority: critical, high, medium, low, none
pub priority: String,
- /// Status: open, in_progress, done, archived
+ /// Status: open, in_progress, under_review, done, archived
pub status: String,
/// Type of work: feature, bug, spike, chore, improvement
pub order_type: String,
@@ -2957,7 +2960,7 @@ pub struct OrderListResponse {
#[derive(Debug, Deserialize, ToSchema)]
#[serde(rename_all = "camelCase")]
pub struct OrderListQuery {
- /// Filter by status (e.g., "open", "in_progress", "done", "archived")
+ /// Filter by status (e.g., "open", "in_progress", "under_review", "done", "archived")
pub status: Option<String>,
/// Filter by order type (e.g., "feature", "bug", "spike", "chore", "improvement")
#[serde(rename = "type")]