summaryrefslogtreecommitdiffstats
path: root/catalog-ui/src/app/models
diff options
context:
space:
mode:
authordavsad <david.sadlier@est.tech>2021-03-15 08:37:18 +0000
committerChristophe Closset <christophe.closset@intl.att.com>2021-03-17 12:07:40 +0000
commita820979640eb7fa4346e0340ce4dd4a5f9e5feeb (patch)
tree91e3e7544a0c2b73bf4f59d1751f5b8cd634b643 /catalog-ui/src/app/models
parentfd07dec6fc32c6d20a5f6ca23587ec57fa2346aa (diff)
Support default value for category specific metadata
Issue-ID: SDC-3513 Signed-off-by: davsad <david.sadlier@est.tech> Change-Id: I4697b66c6d59c1464cf81f9c68fe76b6ca24472c
Diffstat (limited to 'catalog-ui/src/app/models')
-rw-r--r--catalog-ui/src/app/models/category.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/catalog-ui/src/app/models/category.ts b/catalog-ui/src/app/models/category.ts
index 64588d0c44..2c1bc217e5 100644
--- a/catalog-ui/src/app/models/category.ts
+++ b/catalog-ui/src/app/models/category.ts
@@ -50,6 +50,7 @@ export interface IGroup extends ICategoryBase {
export interface IMetadataKey {
name:string;
- mandatory:boolean
+ mandatory:boolean;
validValues: string[];
+ defaultValue: string;
}