1
0
Fork 0
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:
Fedor Katurov 2020-08-19 18:26:53 +07:00
parent 94cc515589
commit 441a0824cc
5 changed files with 38 additions and 17 deletions

View file

@ -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;
};
};
};