mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-31 15:18:38 -04:00
Update dependency eslint-plugin-import to v2.25.2 (#1555)
* Update dependency eslint-plugin-import to v2.25.2 Signed-off-by: Renovate Bot <bot@renovateapp.com> Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de> * Make type imports more explicit Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de> * Enforce use of type imports Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de> Co-authored-by: Renovate Bot <bot@renovateapp.com> Co-authored-by: Tilman Vatteroth <git@tilmanvatteroth.de>
This commit is contained in:
parent
fc3a3fa1a9
commit
2abe40ef1d
264 changed files with 567 additions and 504 deletions
|
@ -5,8 +5,9 @@
|
|||
*/
|
||||
|
||||
import { store } from '..'
|
||||
import { Config } from '../../api/config/types'
|
||||
import { ConfigActionType, SetConfigAction } from './types'
|
||||
import type { Config } from '../../api/config/types'
|
||||
import type { SetConfigAction } from './types'
|
||||
import { ConfigActionType } from './types'
|
||||
|
||||
export const setConfig = (state: Config): void => {
|
||||
store.dispatch({
|
||||
|
|
|
@ -4,9 +4,10 @@
|
|||
* SPDX-License-Identifier: AGPL-3.0-only
|
||||
*/
|
||||
|
||||
import { Reducer } from 'redux'
|
||||
import { Config } from '../../api/config/types'
|
||||
import { ConfigActions, ConfigActionType } from './types'
|
||||
import type { Reducer } from 'redux'
|
||||
import type { Config } from '../../api/config/types'
|
||||
import type { ConfigActions } from './types'
|
||||
import { ConfigActionType } from './types'
|
||||
|
||||
export const initialState: Config = {
|
||||
allowAnonymous: true,
|
||||
|
|
|
@ -4,8 +4,8 @@
|
|||
* SPDX-License-Identifier: AGPL-3.0-only
|
||||
*/
|
||||
|
||||
import { Action } from 'redux'
|
||||
import { Config } from '../../api/config/types'
|
||||
import type { Action } from 'redux'
|
||||
import type { Config } from '../../api/config/types'
|
||||
|
||||
export enum ConfigActionType {
|
||||
SET_CONFIG = 'config/set'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue