fix(client/plugins): getUser returns MyUser

Avoid exposing AuthUser as external API.
This commit is contained in:
kontrollanten 2024-04-26 13:39:03 +02:00 committed by Chocobozzz
parent 8624325523
commit eb51d65448
1 changed files with 2 additions and 2 deletions

View File

@ -1,5 +1,5 @@
import { AuthUser } from '@app/core'
import {
MyUser,
RegisterClientFormFieldOptions,
RegisterClientHookOptions,
RegisterClientRouteOptions,
@ -36,7 +36,7 @@ export type RegisterClientHelpers = {
getSettings: () => Promise<SettingEntries>
getUser: () => AuthUser
getUser: () => MyUser
getServerConfig: () => Promise<ServerConfig>