Interface: CVView
Defined in: types/src/product.ts:107
View data model. A view represents one side/face of a product (e.g. front, back).
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
id? | string | Unique view identifier (auto-generated from index if omitted) | types/src/product.ts:109 |
title | string | Display title (e.g. "Front", "Back") | types/src/product.ts:111 |
thumbnail? | string | Thumbnail image URL | types/src/product.ts:113 |
elements | CVElementData[] | Elements on this view | types/src/product.ts:115 |
options? | Partial<ChamevoViewOptions> | View-specific option overrides (includes printAreas) | types/src/product.ts:117 |
printAreas? | CVPrintAreaConfig[] | Deprecated Use options.printAreas instead. Kept for backward compatibility with legacy data. | types/src/product.ts:119 |
locked? | boolean | Whether this view is locked (optional view, user hasn't unlocked) | types/src/product.ts:121 |
isDynamic? | boolean | Whether this view was dynamically added by the user. | types/src/product.ts:123 |
namesNumbers? | NamesNumbersEntry[] | Persisted Names & Numbers entries for this view. | types/src/product.ts:125 |
productTitle? | string | Product display title (legacy format — only present on first view) | types/src/product.ts:129 |
productThumbnail? | string | Product thumbnail URL (legacy format — only present on first view) | types/src/product.ts:131 |
product_id? | string | number | Product ID (legacy format — only present on first view) | types/src/product.ts:133 |