diff --git a/core/fetch/src/type.ts b/core/fetch/src/type.ts index f5dc95780..2f064afd6 100644 --- a/core/fetch/src/type.ts +++ b/core/fetch/src/type.ts @@ -129,4 +129,5 @@ export type StringifyableFetchOptions = Pick< | 'retryDelay' | 'referrer' | 'referrerPolicy' + | 'userAuth' >; diff --git a/core/type/src/user.ts b/core/type/src/user.ts index 7ab76d537..98b73c3e1 100644 --- a/core/type/src/user.ts +++ b/core/type/src/user.ts @@ -55,7 +55,7 @@ export interface User extends AlwatrDocumentObject { postalCode?: string; } -export interface UserAuth { +export type UserAuth = { id: string; token: string; }