mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-15 15:44:45 -04:00
25 lines
851 B
TypeScript
25 lines
851 B
TypeScript
/*
|
|
* SPDX-FileCopyrightText: 2022 The HedgeDoc developers (see AUTHORS file)
|
|
*
|
|
* SPDX-License-Identifier: AGPL-3.0-only
|
|
*/
|
|
|
|
import type { OptionalUserState } from './user/types'
|
|
import type { Config } from '../api/config/types'
|
|
import type { EditorConfig } from './editor/types'
|
|
import type { DarkModeConfig } from './dark-mode/types'
|
|
import type { NoteDetails } from './note-details/types/note-details'
|
|
import type { RendererStatus } from './renderer-status/types'
|
|
import type { HistoryEntryWithOrigin } from '../api/history/types'
|
|
import type { RealtimeState } from './realtime/types'
|
|
|
|
export interface ApplicationState {
|
|
user: OptionalUserState
|
|
config: Config
|
|
history: HistoryEntryWithOrigin[]
|
|
editorConfig: EditorConfig
|
|
darkMode: DarkModeConfig
|
|
noteDetails: NoteDetails
|
|
rendererStatus: RendererStatus
|
|
realtime: RealtimeState
|
|
}
|