add:internal order notes for employees
Runner Test / test (push) Successful in 16s
Runner Test / test (pull_request) Successful in 17s

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Abdulaziz Salim Said AL-Gharbi
2026-09-24 20:24:10 +04:00
co-authored by Claude Opus 5.5
parent 79b485db56
commit bfe60631a5
11 changed files with 146 additions and 3 deletions
+4
View File
@@ -3,6 +3,9 @@ import type { CustomerSummary } from "./customer";
import type { Money } from "./money";
import type { OrderStatus } from "./order-status";
// Internal order notes are capped so they stay a short follow-up context, not a document.
export const maxOrderNotesLength = 1000;
export interface OrderItemDetail {
id: string;
productId: string;
@@ -22,4 +25,5 @@ export interface OrderDetail {
customer: CustomerSummary;
shippingAddress: Address;
items: OrderItemDetail[];
notes: string | null;
}