Make it possible to configure certain tings per template
Signed-off-by: Bogdan Nechyporenko <bnechyporenko@bol.com>
This commit is contained in:
@@ -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.
|
||||
*
|
||||
|
||||
@@ -27,6 +27,7 @@ export {
|
||||
isTemplateEntityV1beta3,
|
||||
} from './TemplateEntityV1beta3';
|
||||
export type {
|
||||
TemplateConfigurationsV1beta3,
|
||||
TemplateEntityV1beta3,
|
||||
TemplateEntityStepV1beta3,
|
||||
TemplateParametersV1beta3,
|
||||
|
||||
Reference in New Issue
Block a user