Skip to main content

TemplateManualNode

A manual relation node returned by templatePrepare.

type TemplateManualNode {
blockId: String!
kind: String!
multi: Boolean!
relation: String!
relationLabel: String!
columnLabels: JSON!
outputField: String
columns: JSON
description: String
groupId: String
candidates: [TemplateCandidate!]!
preselectedIds: [ID!]!
}

Fields​

TemplateManualNode.blockId ● String! non-null scalar​

Stable Tiptap blockId for this node.

TemplateManualNode.kind ● String! non-null scalar​

Either field (single-pick) or block (multi-pick).

TemplateManualNode.multi ● Boolean! non-null scalar​

True when the node accepts multiple selected ids.

TemplateManualNode.relation ● String! non-null scalar​

Relation name on the entity.

TemplateManualNode.relationLabel ● String! non-null scalar​

Translated, human-readable label for the relation (singular for field, plural for block).

TemplateManualNode.columnLabels ● JSON! non-null scalar​

Map of field name to translated column label.

TemplateManualNode.outputField ● String scalar​

Configured output field for field kind, otherwise null.

TemplateManualNode.columns ● JSON scalar​

Configured columns for block kind, otherwise null.

TemplateManualNode.description ● String scalar​

Optional admin-authored hint shown above the picker to help the end user choose. Plain text, may be null.

TemplateManualNode.groupId ● String scalar​

Picker grouping id for field kind. Chips that share a groupId share one picker (the user picks one entity that fills all linked slots). Null for block and for unlinked field chips.

TemplateManualNode.candidates ● [TemplateCandidate!]! non-null object​

Available candidates; selections must come from this list.

TemplateManualNode.preselectedIds ● [ID!]! non-null scalar​

Previously persisted selection for this (template, entity, blockId), in the saved order. Always a subset of candidates: saved ids that are no longer related to the record are left out, so the list can be empty.

Member Of​

TemplatePrepareResponse object