Ver código fonte

added mobile category extension

master
prahalad 4 anos atrás
pai
commit
f4b5742e27
1 arquivos alterados com 4 adições e 0 exclusões
  1. +4
    -0
      models/category.ts

+ 4
- 0
models/category.ts Ver arquivo

@@ -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,
}

Carregando…
Cancelar
Salvar