Interface: DesignTemplate
@fastlabai/design-editor / DesignTemplate
Interface: DesignTemplate
Section titled “Interface: DesignTemplate”Defined in: providers/templates.ts:4
A single design template — a fully composed scene the user can apply as a starting point.
Properties
Section titled “Properties”canvasBg?
Section titled “canvasBg?”
optionalcanvasBg?:string
Defined in: providers/templates.ts:12
Canvas background colour applied when this template is clicked.
categoryId
Section titled “categoryId”categoryId:
string
Defined in: providers/templates.ts:7
id:
string
Defined in: providers/templates.ts:5
name:
string
Defined in: providers/templates.ts:6
scene:
IScene
Defined in: providers/templates.ts:10
optionaltags?:string[]
Defined in: providers/templates.ts:16
Free-text tags used for search matching alongside name.
thumbnailUrl?
Section titled “thumbnailUrl?”
optionalthumbnailUrl?:string
Defined in: providers/templates.ts:9
Pre-rendered thumbnail. If omitted, the editor renders one at runtime from scene.
workspaceBg?
Section titled “workspaceBg?”
optionalworkspaceBg?:string
Defined in: providers/templates.ts:14
Workspace background colour applied when this template is clicked.