project-settings.ts 578 B

1234567891011121314151617181920212223242526272829303132
  1. import { Brand } from './helpers/brand'
  2. import { OverallTheme } from '@/shared/utils/styles'
  3. export type ImageName = {
  4. imageDesc: string
  5. imageName: string
  6. allowed: boolean
  7. }
  8. export type DocId = Brand<string, 'DocId'>
  9. export type MainDocument = {
  10. doc: {
  11. name: string
  12. id: DocId
  13. }
  14. path: string
  15. }
  16. export type ProjectCompiler = 'pdflatex' | 'latex' | 'xelatex' | 'lualatex'
  17. export type OverallThemeMeta = {
  18. name: string
  19. path: string
  20. val: OverallTheme
  21. }
  22. export type SpellCheckLanguage = {
  23. name: string
  24. code: string
  25. dic?: string
  26. server?: false
  27. }