summaryrefslogtreecommitdiff
path: root/makima/src/db/models.rs
diff options
context:
space:
mode:
authorsoryu <soryu@soryu.co>2026-02-16 15:09:25 +0000
committerGitHub <noreply@github.com>2026-02-16 15:09:25 +0000
commitb6a29bb563499b2fd6280c742bd2106d66393112 (patch)
tree6f8d13fe989613b687b12e37277b661ff4d607c8 /makima/src/db/models.rs
parent0676468e3e69ff36f1e509d775f191dd41f6080b (diff)
downloadsoryu-b6a29bb563499b2fd6280c742bd2106d66393112.tar.gz
soryu-b6a29bb563499b2fd6280c742bd2106d66393112.zip
Add pick-up-orders feature for directives (#64)
* WIP: heartbeat checkpoint * WIP: heartbeat checkpoint * feat: soryu-co/soryu - makima: Add frontend pick-up-orders button and API integration * feat: soryu-co/soryu - makima: Add pick-up-orders backend endpoint and repository functions
Diffstat (limited to 'makima/src/db/models.rs')
-rw-r--r--makima/src/db/models.rs9
1 files changed, 9 insertions, 0 deletions
diff --git a/makima/src/db/models.rs b/makima/src/db/models.rs
index 19ebb13..bfed942 100644
--- a/makima/src/db/models.rs
+++ b/makima/src/db/models.rs
@@ -2839,6 +2839,15 @@ pub struct CleanupTasksResponse {
pub deleted: i64,
}
+/// Response for pick_up_orders endpoint.
+#[derive(Debug, Serialize, ToSchema)]
+#[serde(rename_all = "camelCase")]
+pub struct PickUpOrdersResponse {
+ pub message: String,
+ pub order_count: i64,
+ pub task_id: Option<Uuid>,
+}
+
/// Request to create a directive step.
#[derive(Debug, Deserialize, ToSchema)]
#[serde(rename_all = "camelCase")]