StoredTemplate

data class StoredTemplate(val id: TemplateId, val content: ByteArray, val options: UploadOptions, val createdAt: Instant)

A template held in the in-memory store.

Constructors

Link copied to clipboard
constructor(id: TemplateId, content: ByteArray, options: UploadOptions, createdAt: Instant)

Properties

Link copied to clipboard

raw template bytes.

Link copied to clipboard

time the template was added to the store.

Link copied to clipboard

template id (SHA-256 of content).

Link copied to clipboard

upload/metadata options the template was stored with.