mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-04-25 12:56:41 +07:00
moved reaction for oauth events to sagas
This commit is contained in:
parent
94cc515589
commit
441a0824cc
5 changed files with 38 additions and 17 deletions
|
@ -206,3 +206,14 @@ export interface IEmbed {
|
|||
duration: string;
|
||||
};
|
||||
}
|
||||
|
||||
export type IOAuthEvent = MessageEvent & {
|
||||
data: {
|
||||
type: 'oauth_processed' | 'oauth_error';
|
||||
payload: {
|
||||
token: string;
|
||||
error: string;
|
||||
needs_register: boolean;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue