diff options
Diffstat (limited to 'catalog-ui/src/app/models/category.ts')
-rw-r--r-- | catalog-ui/src/app/models/category.ts | 41 |
1 files changed, 20 insertions, 21 deletions
diff --git a/catalog-ui/src/app/models/category.ts b/catalog-ui/src/app/models/category.ts index a6445cafdd..dc7cf564c1 100644 --- a/catalog-ui/src/app/models/category.ts +++ b/catalog-ui/src/app/models/category.ts @@ -20,40 +20,39 @@ 'use strict'; - - export interface ICategoryBase { - //server properties - name:string; - displayName:string; - normalizedName:string; - uniqueId:string; - models:Array<string>; - icons:Array<string>; + // server properties + name: string; + displayName: string; + normalizedName: string; + uniqueId: string; + models: Array<string>; + icons: Array<string>; metadataKeys: IMetadataKey[]; - //custom properties - filterTerms:string; - isDisabled:boolean; - filteredGroup:Array<IGroup>; + // custom properties + filterTerms: string; + isDisabled: boolean; + filteredGroup: Array<IGroup>; } export interface IMainCategory extends ICategoryBase { - subcategories:Array<ISubCategory>; - useServiceSubstitutionForNestedServices:boolean; + subcategories: Array<ISubCategory>; + useServiceSubstitutionForNestedServices: boolean; + notApplicableMetadataKeys: Array<string>; } export interface ISubCategory extends ICategoryBase { - groupings:Array<ICategoryBase>; + groupings: Array<ICategoryBase>; } export interface IGroup extends ICategoryBase { } export interface IMetadataKey { - name:string; - displayName:string; - mandatory:boolean; - validValues: string[]; - defaultValue: string; + name: string; + displayName: string; + mandatory: boolean; + validValues: string[]; + defaultValue: string; } |