diff --git a/packages/console-types/CHANGELOG.md b/packages/console-types/CHANGELOG.md index df1ea97d..d651a69b 100644 --- a/packages/console-types/CHANGELOG.md +++ b/packages/console-types/CHANGELOG.md @@ -1,5 +1,16 @@ # CHANGELOG +All notable changes to this project will be documented in this file. + +The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) +and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). + +## [Unreleased] + +### Added + +- added `configurationManagement` fields with save message options to `tenant` schema + ## 0.18.4 ### Fixed @@ -12,11 +23,6 @@ - version bump -All notable changes to this project will be documented in this file. - -The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) -and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). - ## 0.18.2 - [IDP-86](https://makeitapp.atlassian.net/browse/IDP-86): added `repositoryPathTemplate` to provider's `capabilities` diff --git a/packages/console-types/src/types/tenant.test.ts b/packages/console-types/src/types/tenant.test.ts index 8b6b2498..8fe29da7 100644 --- a/packages/console-types/src/types/tenant.test.ts +++ b/packages/console-types/src/types/tenant.test.ts @@ -75,6 +75,11 @@ t.test('tenants validated', t => { order: 1, }], imagePullSecretNames: ['some-imagePullSecret-here', 'some-other-one'], + configurationManagement: { + saveMessageOptions: { + isConfirmationRequired: true, + }, + }, } t.ok(validate(tenant), validationMessage(validate.errors)) diff --git a/packages/console-types/src/types/tenant.ts b/packages/console-types/src/types/tenant.ts index ed80228f..10b4bc3c 100644 --- a/packages/console-types/src/types/tenant.ts +++ b/packages/console-types/src/types/tenant.ts @@ -65,6 +65,17 @@ export const tenant = { type: 'string', }, }, + configurationManagement: { + type: 'object', + properties: { + saveMessageOptions: { + type: 'object', + properties: { + isConfirmationRequired: { type: 'boolean' }, + }, + }, + }, + }, }, additionalProperties: false, required: ['name', 'tenantId'],