Make it possible to configure certain tings per template

Signed-off-by: Bogdan Nechyporenko <bnechyporenko@bol.com>
This commit is contained in:
Bogdan Nechyporenko
2023-10-09 17:41:26 +02:00
parent 6498ee3582
commit 2e2b1f94e0
6 changed files with 21 additions and 3 deletions
@@ -45,6 +45,9 @@ export interface TemplateEntityV1beta3 extends Entity {
* The type that the Template will create. For example service, website or library.
*/
type: string;
configurations?: TemplateConfigurationsV1beta3;
/**
* This is a JSONSchema or an array of JSONSchema's which is used to render a form in the frontend
* to collect user input and validate it against that schema. This can then be used in the `steps` part below to template
@@ -67,6 +70,11 @@ export interface TemplateEntityV1beta3 extends Entity {
};
}
export interface TemplateConfigurationsV1beta3 {
kickOffButtonText?: string;
reviewButtonText?: string;
}
/**
* Step that is part of a Template Entity.
*
+1
View File
@@ -27,6 +27,7 @@ export {
isTemplateEntityV1beta3,
} from './TemplateEntityV1beta3';
export type {
TemplateConfigurationsV1beta3,
TemplateEntityV1beta3,
TemplateEntityStepV1beta3,
TemplateParametersV1beta3,