Application Load

ICartOptionUploadRequest

The physical TypeScript declaration from the Nuxt starter, with linked types and field comments.

ICartOptionUploadRequest

JSON serialized into the multipart data field.

app/interfaces/orionplace/cart/ICartDeliveryActions.ts
TypeScript
export interface ICartOptionUploadRequest {
  // JSON serialized into the multipart data field.
  data: {
    // Text up to 2056 characters for a text or textarea option. Sent inside the
    // multipart JSON field `data`. Omission supplies empty text.
    option_text_data?: string;
  };
  // Optional file in its own multipart part.
  option_file_data?: File;
}