Word.ts 681 B

123456789101112131415161718192021222324252627282930313233
  1. import Translation from './Translation';
  2. import Transliteration from './Transliteration';
  3. export enum CharType {
  4. Word = 'word',
  5. End = 'end',
  6. Pause = 'pause',
  7. Sajdah = 'sajdah',
  8. RubElHizb = 'rub-el-hizb',
  9. }
  10. interface Word {
  11. verseKey?: string;
  12. charTypeName: CharType;
  13. codeV1?: string;
  14. codeV2?: string;
  15. pageNumber?: number;
  16. hizbNumber?: number;
  17. lineNumber?: number;
  18. position: number;
  19. location?: string;
  20. translation?: Translation;
  21. transliteration?: Transliteration;
  22. id?: number;
  23. textUthmani?: string;
  24. textIndopak?: string;
  25. highlight?: string | boolean;
  26. text?: string;
  27. audioUrl: $TsFixMe;
  28. [key: string]: $TsFixMe;
  29. }
  30. export default Word;