TemplateSample

data class TemplateSample(val data: JsonElement? = null, val complement: JsonElement? = null, val translations: JsonElement? = null, val enum: JsonElement? = null)

Sample data stored with a template for Studio previews.

Constructors

Link copied to clipboard
constructor(data: JsonElement? = null, complement: JsonElement? = null, translations: JsonElement? = null, enum: JsonElement? = null)

Properties

Link copied to clipboard
val complement: JsonElement?

Sample complement, reachable through {c.} tags.

Link copied to clipboard
val data: JsonElement?

Sample data used to preview the template.

Link copied to clipboard
val enum: JsonElement?

Sample enumerations for the convEnum formatter.

Link copied to clipboard
val translations: JsonElement?

Sample translations, used with {t()}.