TemplateComponentContent
One component of a template and its content, such as an email’s subject.
type TemplateComponentContent { alternativePreviewSourceContentType: String channel: Channel! isDraft: Boolean! isSingleLine: Boolean! key: String! language: String! name: String! possiblePreviewContentTypes: [String!]! possibleTargetContentTypes: [String!]! sourceContentType: String value: String!}Fields
Section titled “Fields”alternativePreviewSourceContentType ● Stringscalar
Section titled “alternativePreviewSourceContentType ● String ”The content type of the alternative source that the component’s preview renders from.
channel ● Channel!non-nullobject
Section titled “channel ● Channel! ”The channel that the content is set on. It can be a parent of the channel in use.
isDraft ● Boolean!non-nullscalar
Section titled “isDraft ● Boolean! ”Whether the content is a draft that is not published.
isSingleLine ● Boolean!non-nullscalar
Section titled “isSingleLine ● Boolean! ”Whether the component is a single line, such as an email’s subject.
key ● String!non-nullscalar
Section titled “key ● String! ”The content key that the component’s content is stored under.
language ● String!non-nullscalar
Section titled “language ● String! ”The language of the content.
name ● String!non-nullscalar
Section titled “name ● String! ”The component’s name, such as Subject or Body.
possiblePreviewContentTypes ● [String!]!non-nullscalar
Section titled “possiblePreviewContentTypes ● [String!]! ”The content types that the component can render to for a preview.
possibleTargetContentTypes ● [String!]!non-nullscalar
Section titled “possibleTargetContentTypes ● [String!]! ”The content types that the component can render to.
The source type: the content type that the component is written in.
value ● String!non-nullscalar
Section titled “value ● String! ”The component’s content, written in its source type.
Member Of
Section titled “Member Of”TemplateContent object

