From eb51d654481667bbf8c8463550bd9c49f72346db Mon Sep 17 00:00:00 2001 From: kontrollanten <6680299+kontrollanten@users.noreply.github.com> Date: Fri, 26 Apr 2024 13:39:03 +0200 Subject: [PATCH] fix(client/plugins): getUser returns MyUser Avoid exposing AuthUser as external API. --- client/src/types/register-client-option.model.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client/src/types/register-client-option.model.ts b/client/src/types/register-client-option.model.ts index a1dff377e..01b668cec 100644 --- a/client/src/types/register-client-option.model.ts +++ b/client/src/types/register-client-option.model.ts @@ -1,5 +1,5 @@ -import { AuthUser } from '@app/core' import { + MyUser, RegisterClientFormFieldOptions, RegisterClientHookOptions, RegisterClientRouteOptions, @@ -36,7 +36,7 @@ export type RegisterClientHelpers = { getSettings: () => Promise - getUser: () => AuthUser + getUser: () => MyUser getServerConfig: () => Promise