feat(scaffolder): support text outputs from templates

Signed-off-by: Zander Franks <zander@zanderf.net>
This commit is contained in:
Zander Franks
2023-05-03 17:35:16 -05:00
parent 021cfbb515
commit 906dc9223c
4 changed files with 135 additions and 10 deletions
@@ -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": {