mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-14 07:04:45 -04:00
refactor(frontend): switch to DTOs from @hedgedoc/commons
Co-authored-by: Philip Molares <philip.molares@udo.edu> Signed-off-by: Philip Molares <philip.molares@udo.edu> Signed-off-by: Erik Michelson <github@erik.michelson.eu>
This commit is contained in:
parent
deee8e885f
commit
e411ddf099
121 changed files with 620 additions and 819 deletions
|
@ -1,9 +1,9 @@
|
|||
/*
|
||||
* SPDX-FileCopyrightText: 2024 The HedgeDoc developers (see AUTHORS file)
|
||||
* SPDX-FileCopyrightText: 2025 The HedgeDoc developers (see AUTHORS file)
|
||||
*
|
||||
* SPDX-License-Identifier: AGPL-3.0-only
|
||||
*/
|
||||
import { AuthProviderType } from '../../src/api/config/types'
|
||||
import { ProviderType } from '@hedgedoc/commons'
|
||||
import { HttpMethod } from '../../src/handler-utils/respond-to-matching-request'
|
||||
import { IGNORE_MOTD, MOTD_LOCAL_STORAGE_KEY } from '../../src/components/global-dialogs/motd-modal/local-storage-keys'
|
||||
|
||||
|
@ -22,15 +22,15 @@ export const branding = {
|
|||
|
||||
export const authProviders = [
|
||||
{
|
||||
type: AuthProviderType.LOCAL
|
||||
type: ProviderType.LOCAL
|
||||
},
|
||||
{
|
||||
type: AuthProviderType.LDAP,
|
||||
type: ProviderType.LDAP,
|
||||
identifier: 'test-ldap',
|
||||
providerName: 'Test LDAP'
|
||||
},
|
||||
{
|
||||
type: AuthProviderType.OIDC,
|
||||
type: ProviderType.OIDC,
|
||||
identifier: 'test-oidc',
|
||||
providerName: 'Test OIDC'
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue