project-settings.ts 598 B

123456789101112131415161718192021222324252627282930313233
  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. rolling?: boolean
  8. }
  9. export type DocId = Brand<string, 'DocId'>
  10. export type MainDocument = {
  11. doc: {
  12. name: string
  13. id: DocId
  14. }
  15. path: string
  16. }
  17. export type ProjectCompiler = 'pdflatex' | 'latex' | 'xelatex' | 'lualatex'
  18. export type OverallThemeMeta = {
  19. name: string
  20. path: string
  21. val: OverallTheme
  22. }
  23. export type SpellCheckLanguage = {
  24. name: string
  25. code: string
  26. dic?: string
  27. server?: false
  28. }