Order schema

interface Order {
    customerEmail: string;
    items: OrderItem[];
    price: number;
    type: string;
}

Properties

customerEmail: string
items: OrderItem[]
price: number
type: string