reset-meta.ts 1.1 KB

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