mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-15 14:43:46 +01:00
Merge pull request #20381 from overleaf/ae-api-settings
Add "settings" object to global scope store GitOrigin-RevId: 1d5c7c3a1b417be0726c4a5e95e611ded47c13c4
This commit is contained in:
@@ -17,16 +17,12 @@ export type MainDocument = {
|
||||
|
||||
export type ProjectCompiler = 'pdflatex' | 'latex' | 'xelatex' | 'lualatex'
|
||||
|
||||
export type Keybindings = 'default' | 'vim' | 'emacs'
|
||||
|
||||
export type OverallThemeMeta = {
|
||||
name: string
|
||||
path: string
|
||||
val: OverallTheme
|
||||
}
|
||||
|
||||
export type PdfViewer = 'pdfjs' | 'native'
|
||||
|
||||
export type SpellCheckLanguage = {
|
||||
name: string
|
||||
code: string
|
||||
|
||||
@@ -1,10 +1,12 @@
|
||||
import { Keybindings, PdfViewer } from './project-settings'
|
||||
import {
|
||||
FontFamily,
|
||||
LineHeight,
|
||||
OverallTheme,
|
||||
} from '@/features/source-editor/extensions/theme'
|
||||
|
||||
export type Keybindings = 'none' | 'default' | 'vim' | 'emacs'
|
||||
export type PdfViewer = 'pdfjs' | 'native'
|
||||
|
||||
export type UserSettings = {
|
||||
pdfViewer: PdfViewer
|
||||
autoComplete: boolean
|
||||
|
||||
Reference in New Issue
Block a user