Skip to main content

Type Alias: TemplateMeta

TemplateMeta = object

Defined in: src/environment.ts:67

Additional info accompanying template source code.

Properties

name

name: string

Defined in: src/environment.ts:71

Template name or identifier.


overlay?

optional overlay?: Namespace

Defined in: src/environment.ts:76

Additional template global variables.


upToDate?

optional upToDate?: () => Promise<boolean>

Defined in: src/environment.ts:82

A function returning true if the template is up to date, or false if it needs to be loaded again.

Returns

Promise<boolean>


upToDateSync?

optional upToDateSync?: () => boolean

Defined in: src/environment.ts:88

A function returning true if the template is up to date, or false if it needs to be loaded again.

Returns

boolean