Skip to content

Interface: DocumentTemplate<TProfileId> ​

Defined in: domain/contracts.ts:186

Reusable starting point for new documents of a given profile.

Type Parameters ​

Type ParameterDefault type
TProfileId extends stringstring

Properties ​

createdAt ​

ts
createdAt: string;

Defined in: domain/contracts.ts:193


description? ​

ts
description?: string;

Defined in: domain/contracts.ts:190


id ​

ts
id: string;

Defined in: domain/contracts.ts:187


name ​

ts
name: string;

Defined in: domain/contracts.ts:188


profileId ​

ts
profileId: TProfileId;

Defined in: domain/contracts.ts:189


seedData ​

ts
seedData: DocumentData;

Defined in: domain/contracts.ts:192

Data copied into a new document created from this template.


updatedAt ​

ts
updatedAt: string;

Defined in: domain/contracts.ts:194