project-settings.ts 583 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. 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. val: OverallTheme
  21. }
  22. export type SpellCheckLanguage = {
  23. name: string
  24. code: string
  25. dic?: string
  26. server?: false
  27. }