feat(scaffolder): support text outputs from templates
Signed-off-by: Zander Franks <zander@zanderf.net>
This commit is contained in:
@@ -218,6 +218,33 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"text": {
|
||||
"type": "array",
|
||||
"description": "A list of text blobs, like output data from the template.",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"required": [],
|
||||
"properties": {
|
||||
"title": {
|
||||
"type": "string",
|
||||
"description": "A user friendly display name for the text blob.",
|
||||
"examples": ["Output Data"],
|
||||
"minLength": 1
|
||||
},
|
||||
"icon": {
|
||||
"type": "string",
|
||||
"description": "A key representing a visual icon to be displayed in the UI.",
|
||||
"examples": ["dashboard"],
|
||||
"minLength": 1
|
||||
},
|
||||
"data": {
|
||||
"type": "string",
|
||||
"description": "The text blob to display in the UI.",
|
||||
"examples": ["{}"]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"additionalProperties": {
|
||||
|
||||
Reference in New Issue
Block a user