genstudio-extensibility-sdk

@adobe/genstudio-extensibility-sdk


@adobe/genstudio-extensibility-sdk / Template

Type Alias: Template

Template: { additionalMetadata: Record<string, any>; content: string; id: string; mapping: Mapping; source: string; title: string; url: string; }

Type declaration

additionalMetadata?

optional additionalMetadata: Record<string, any>

Additional metadata

content

content: string

Raw HTML content of the template

id

id: string

Unique identifier for the template

mapping

mapping: Mapping

Mapping of Handlebars variables to GenStudio roles

source

source: string

Source of the template

title

title: string

Title of the template

url?

optional url: string

URL of the template