5 export class ICategoryBase {
16 filteredGroup:Array<IGroup>;
18 constructor(category?:ICategoryBase) {
20 this.name = category.name;
21 this.normalizedName = category.normalizedName;
22 this.icons = category.icons;
23 this.filterTerms = category.filterTerms;
24 this.isDisabled = category.isDisabled;
25 this.filteredGroup = category.filteredGroup;
30 export class IMainCategory extends ICategoryBase {
31 subcategories:Array<ISubCategory>;
34 constructor(category?:IMainCategory) {
37 this.subcategories = category.subcategories;
42 export class ISubCategory extends ICategoryBase {
43 groupings:Array<ICategoryBase>;
46 export interface IGroup extends ICategoryBase {