BlockSuite API Documentation / @blocksuite/blocks / Template
Type Alias: Template 
Template:
object
Type declaration 
assets? 
optionalassets:Record<string,string>
external assets
content 
content:
unknown
template content
name? 
optionalname:string
name of the sticker
if not provided, it cannot be searched
preview? 
optionalpreview:string
type 
type:
string
type of template template: normal template, looks like an article sticker: sticker template, only contains one image block under surface block
Defined in 
packages/blocks/src/root-block/edgeless/components/toolbar/template/template-type.ts:1