Przeglądaj źródła

added mobile category extension

master
prahalad 4 lat temu
rodzic
commit
f4b5742e27
1 zmienionych plików z 4 dodań i 0 usunięć
  1. +4
    -0
      models/category.ts

+ 4
- 0
models/category.ts Wyświetl plik

@@ -9,4 +9,8 @@ export interface Category { //_id is not needed as it is created by default

export interface MongoCategory extends Omit<Category, 'shelves'> {
shelves?: Array<string>, // Shelf IDs
}

export interface MobileCategory extends MongoCategory {
_id: string,
}

Ładowanie…
Anuluj
Zapisz