diff --git a/aio/src/app/custom-elements/resource/resource.model.ts b/aio/src/app/custom-elements/resource/resource.model.ts index 87c299a01e..b1d4a133fa 100644 --- a/aio/src/app/custom-elements/resource/resource.model.ts +++ b/aio/src/app/custom-elements/resource/resource.model.ts @@ -1,18 +1,18 @@ -export class Category { +export interface Category { id: string; // "education" title: string; // "Education" order: number; // 2 subCategories: SubCategory[]; } -export class SubCategory { +export interface SubCategory { id: string; // "books" title: string; // "Books" order: number; // 1 resources: Resource[]; } -export class Resource { +export interface Resource { category: string; // "Education" subCategory: string; // "Books" id: string; // "-KLI8vJ0ZkvWhqPembZ7"