mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2024-12-01 12:59:15 -06:00
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 {
|
import {
|
||||||
|
MyUser,
|
||||||
RegisterClientFormFieldOptions,
|
RegisterClientFormFieldOptions,
|
||||||
RegisterClientHookOptions,
|
RegisterClientHookOptions,
|
||||||
RegisterClientRouteOptions,
|
RegisterClientRouteOptions,
|
||||||
@ -36,7 +36,7 @@ export type RegisterClientHelpers = {
|
|||||||
|
|
||||||
getSettings: () => Promise<SettingEntries>
|
getSettings: () => Promise<SettingEntries>
|
||||||
|
|
||||||
getUser: () => AuthUser
|
getUser: () => MyUser
|
||||||
|
|
||||||
getServerConfig: () => Promise<ServerConfig>
|
getServerConfig: () => Promise<ServerConfig>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user