Template.promoted
Emitted each time a Template is promoted.
Template.promote emits Template.promoted when it completes on a Template.
| Property | Value |
|---|---|
| Emitted by | Template.promote |
| Noun | Template |
| Wakes | None. |
Payload
Each delivery is an Event record. data holds what Template.promote returns.
| Field | Type | Required | Description |
|---|---|---|---|
name | string | required | Template.promoted. |
at | datetime | required | When it happened. |
seq | integer | Its position in the namespace, one more than the Event before; any seq is a cursor into the history. | |
data | json | required | The Thing as the Action left it. |
data.change | Change | required | The Change against the Template. |
data.template | Template | required | The Template that received the refinement. |
data.template.body | text | required | The MDX source with its variables. |
Example
{
"$id": "https: //api.sb/ tutorloop.com/ events/ event_1",
"$type": "Event",
"name": "Template.promoted",
"at": "2026-10-22T12: 00: 00Z",
"data": {
"change": {
"$id": "https: //api.sb/ tutorloop.com/ changes/ change_1",
"$type": "Change",
"status": "Open",
"base": "version_1"
},
"template": {
"$id": "https: //api.sb/ tutorloop.com/ templates/ template_1",
"$type": "Template",
"body": "Example body"
}
},
"seq": 1
}