project-settings.ts 666 B

123456789101112131415161718192021222324252627282930313233
  1. import { OverallTheme } from '../frontend/js/features/source-editor/extensions/theme'
  2. import { Brand } from './helpers/brand'
  3. export type AllowedImageName = {
  4. imageDesc: string
  5. imageName: string
  6. }
  7. export type DocId = Brand<string, 'DocId'>
  8. export type MainDocument = {
  9. doc: {
  10. name: string
  11. id: DocId
  12. }
  13. path: string
  14. }
  15. export type ProjectCompiler = 'pdflatex' | 'latex' | 'xelatex' | 'lualatex'
  16. export type Keybindings = 'default' | 'vim' | 'emacs'
  17. export type OverallThemeMeta = {
  18. name: string
  19. path: string
  20. val: OverallTheme
  21. }
  22. export type PdfViewer = 'pdfjs' | 'native'
  23. export type SpellCheckLanguage = {
  24. name: string
  25. code: string
  26. }