|
|
|
@ -92,7 +92,11 @@ export interface SignOutParams {
|
|
|
|
|
export interface Actions { |
|
|
|
|
signOut: (signOutParams?: SignOutParams) => Promise<void> |
|
|
|
|
signIn: (token: string, keepProps?: boolean) => void |
|
|
|
|
refreshToken: (params: { axiosInstance?: AxiosInstance; skipLogout?: boolean; cognitoOnly?: boolean }) => Promise<void> |
|
|
|
|
refreshToken: (params: { |
|
|
|
|
axiosInstance?: AxiosInstance |
|
|
|
|
skipLogout?: boolean |
|
|
|
|
cognitoOnly?: boolean |
|
|
|
|
}) => Promise<string | null | void> |
|
|
|
|
loadAppInfo: () => void |
|
|
|
|
setIsMobileMode: (isMobileMode: boolean) => void |
|
|
|
|
navigateToProject: (params: { workspaceId?: string; baseId?: string; type?: NcProjectType; query?: any }) => void |
|
|
|
|