fix(client/plugins): getUser returns MyUser
Avoid exposing AuthUser as external API.
This commit is contained in:
parent
8624325523
commit
eb51d65448
|
@ -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>
|
||||
|
||||
|
|
Loading…
Reference in New Issue