Skip to main content

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

PropertyTypeDescriptionDefined in
id?stringUnique view identifier (auto-generated from index if omitted)types/src/product.ts:109
titlestringDisplay title (e.g. "Front", "Back")types/src/product.ts:111
thumbnail?stringThumbnail image URLtypes/src/product.ts:113
elementsCVElementData[]Elements on this viewtypes/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?booleanWhether this view is locked (optional view, user hasn't unlocked)types/src/product.ts:121
isDynamic?booleanWhether 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?stringProduct display title (legacy format — only present on first view)types/src/product.ts:129
productThumbnail?stringProduct thumbnail URL (legacy format — only present on first view)types/src/product.ts:131
product_id?string | numberProduct ID (legacy format — only present on first view)types/src/product.ts:133