MakingHistory/makinghistory-eventfeed/template.hjson

57 lines
1.2 KiB
Plaintext

{
templateId: makinghistory-eventfeed
templateRole: eventfeed
extends: []
containedBy: []
model: Stream
label: MakingHistory Event Feed
description: View and/or Edit Sources of Events for MakingHistory
schema: {
type: object
properties: {
icon: {type: "string"}
label: {type: "string"}
summary: {type: "string"}
data: {
type: object
properties: {
searchText: {type: "string"}
content: {type: "string"}
}
}
}
}
states: {
default: {
label: "Default State"
description: "Event feed templates do not use other states [true?]"
}
}
roles: {}
bundles: {}
actions: {
create: {
roles: ["owner", "mod"]
steps: []
}
edit: {
roles: ["owner", "mod"]
steps: []
}
delete: {
roles: ["owner", "mod"]
steps: []
}
view: {
roles: ["anonymous"]
steps: [
{do: "view-html"}
]
}
}
}