Skip to content

Commit

Permalink
fix(fetch): userAuth in StringifyableFetchOptions
Browse files Browse the repository at this point in the history
  • Loading branch information
AliMD committed May 12, 2023
1 parent 063ea82 commit f554b57
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions core/fetch/src/type.ts
Original file line number Diff line number Diff line change
Expand Up @@ -129,4 +129,5 @@ export type StringifyableFetchOptions = Pick<
| 'retryDelay'
| 'referrer'
| 'referrerPolicy'
| 'userAuth'
>;
2 changes: 1 addition & 1 deletion core/type/src/user.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ export interface User extends AlwatrDocumentObject {
postalCode?: string;
}

export interface UserAuth {
export type UserAuth = {
id: string;
token: string;
}

0 comments on commit f554b57

Please sign in to comment.