reset-meta.ts 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. export function resetMeta() {
  2. window.metaAttributesCache = new Map()
  3. window.metaAttributesCache.set('ol-projectHistoryBlobsEnabled', true)
  4. window.metaAttributesCache.set('ol-i18n', { currentLangCode: 'en' })
  5. window.metaAttributesCache.set('ol-capabilities', [
  6. 'chat',
  7. 'dropbox',
  8. 'link-sharing',
  9. ])
  10. window.metaAttributesCache.set('ol-ExposedSettings', {
  11. appName: 'Overleaf',
  12. maxEntitiesPerProject: 10,
  13. maxUploadSize: 5 * 1024 * 1024,
  14. siteUrl: 'https://www.dev-overleaf.com',
  15. hasLinkUrlFeature: true,
  16. hasLinkedProjectFileFeature: true,
  17. hasLinkedProjectOutputFileFeature: true,
  18. textExtensions: [
  19. 'tex',
  20. 'latex',
  21. 'sty',
  22. 'cls',
  23. 'bst',
  24. 'bib',
  25. 'bibtex',
  26. 'txt',
  27. 'tikz',
  28. 'mtx',
  29. 'rtex',
  30. 'md',
  31. 'asy',
  32. 'lbx',
  33. 'bbx',
  34. 'cbx',
  35. 'm',
  36. 'lco',
  37. 'dtx',
  38. 'ins',
  39. 'ist',
  40. 'def',
  41. 'clo',
  42. 'ldf',
  43. 'rmd',
  44. 'lua',
  45. 'gv',
  46. 'mf',
  47. 'lhs',
  48. 'mk',
  49. 'xmpdata',
  50. 'cfg',
  51. 'rnw',
  52. 'ltx',
  53. 'inc',
  54. ],
  55. editableFilenames: ['latexmkrc', '.latexmkrc', 'makefile', 'gnumakefile'],
  56. })
  57. }