The order-summary component is a specialized Tool UI surface implementation designed to display order details. It consists of a React component for rendering and a serializable schema for data validation and parsing.
Key implementation files:
- Public Component:
components/tool-ui/order-summary/index.tsx - Schema & Helpers:
components/tool-ui/order-summary/schema.ts (contains the serializable schema and parsing logic).
For testing purposes, a preset payload is available in lib/presets/order-summary.ts to simulate real data.