mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-15 23:54:42 -04:00
Adapt react-client to use the real backend API (#1545)
Co-authored-by: Philip Molares <philip.molares@udo.edu> Co-authored-by: Tilman Vatteroth <git@tilmanvatteroth.de>
This commit is contained in:
parent
3399ed2023
commit
26f90505ff
227 changed files with 4726 additions and 2310 deletions
6
src/redux/application-state.d.ts
vendored
6
src/redux/application-state.d.ts
vendored
|
@ -7,20 +7,18 @@
|
|||
import type { OptionalUserState } from './user/types'
|
||||
import type { Config } from '../api/config/types'
|
||||
import type { OptionalMotdState } from './motd/types'
|
||||
import type { HistoryEntry } from './history/types'
|
||||
import type { ApiUrlObject } from './api-url/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 { UiNotificationState } from './ui-notifications/types'
|
||||
import type { RendererStatus } from './renderer-status/types'
|
||||
import type { HistoryEntryWithOrigin } from '../api/history/types'
|
||||
|
||||
export interface ApplicationState {
|
||||
user: OptionalUserState
|
||||
config: Config
|
||||
motd: OptionalMotdState
|
||||
history: HistoryEntry[]
|
||||
apiUrl: ApiUrlObject
|
||||
history: HistoryEntryWithOrigin[]
|
||||
editorConfig: EditorConfig
|
||||
darkMode: DarkModeConfig
|
||||
noteDetails: NoteDetails
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue