Non puoi selezionare più di 25 argomenti Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.

12345678910111213141516171819202122232425
  1. import { grammarType, LanguageType } from "./variables";
  2. export interface gramaticalDetail {
  3. type: grammarType,
  4. description: string,
  5. context: Array<string>,
  6. examples: Array<string>,
  7. }
  8. export interface Word {
  9. //_id is present by default in the DB
  10. name: string,
  11. languageType: LanguageType,
  12. pronounciation?: {
  13. text: string,
  14. audio?: string,
  15. },
  16. similarWords?: Array<string>,
  17. oppositeWords?: Array<string>,
  18. grammaticalDetails: Array<gramaticalDetail>,
  19. }
  20. export interface MobileWord extends Word {
  21. _id: string
  22. }