mirror of
https://github.com/elyby/accounts-frontend.git
synced 2024-12-30 00:40:41 +05:30
13 lines
456 B
TypeScript
13 lines
456 B
TypeScript
/* eslint-disable @typescript-eslint/no-unused-vars */
|
|
import { AuthContext } from 'app/services/authFlow';
|
|
|
|
export default class AbstractState {
|
|
resolve(context: AuthContext, payload: { [key: string]: any }): any {}
|
|
goBack(context: AuthContext): any {
|
|
throw new Error('There is no way back');
|
|
}
|
|
reject(context: AuthContext, payload: { [key: string]: any }): any {}
|
|
enter(context: AuthContext): any {}
|
|
leave(context: AuthContext): any {}
|
|
}
|