← API reference
CANONICAL TYPE REFERENCE

TemplateVersionState

An immutable snapshot of a template at a specific version

Unique identifier

Parent template ID

Sequential version number

Template kind at time of publish

contentString!

Snapshot of template content at this version

Version description / commit message

Creation timestamp (ISO8601)

View exact 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!
}

One stable address across all schema views. Follow a field’s type to explore connections between domains.