Switch the base framework from Create React App to Next.JS

Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
This commit is contained in:
Renovate Bot 2021-12-25 15:44:24 +00:00 committed by Tilman Vatteroth
parent a979b6ffdd
commit 77a60c6c48
361 changed files with 5130 additions and 9605 deletions

29
src/redux/application-state.d.ts vendored Normal file
View file

@ -0,0 +1,29 @@
/*
* SPDX-FileCopyrightText: 2021 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 { 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'
export interface ApplicationState {
user: OptionalUserState
config: Config
motd: OptionalMotdState
history: HistoryEntry[]
apiUrl: ApiUrlObject
editorConfig: EditorConfig
darkMode: DarkModeConfig
noteDetails: NoteDetails
uiNotifications: UiNotificationState
rendererStatus: RendererStatus
}