← All types
Ob Object

TemplateVersionState

An immutable snapshot of a template at a specific version

Fields

Unique identifier

Parent template ID

version

Int!Non-null

Sequential version number

Template kind at time of publish

Possible values (3)
STENCIL

Stencil text template

XMLPDF

XML-to-PDF template

XML

Data-driven XML template

content

String!Non-null

Snapshot of template content at this version

Version description / commit message

Creation timestamp (ISO8601)

Referenced by (3)
Exact type SDL
"""An immutable snapshot of a template at a specific version"""
type TemplateVersionState {
  """Unique identifier"""
  id: TemplateVersionID!
  """Parent template ID"""
  templateId: TemplateID!
  """Sequential version number"""
  version: Int!
  """Template kind at time of publish"""
  kind: TemplateKind!
  """Snapshot of template content at this version"""
  content: String!
  """Version description / commit message"""
  description: String
  """Creation timestamp (ISO8601)"""
  createdAt: ISO8601!
}