refactor: compute reconnectionSteps out of auth steps

This commit is contained in:
Ali BARIN
2022-11-02 22:11:50 +01:00
parent a03c60bd90
commit 6a33636d9d
14 changed files with 89 additions and 556 deletions

View File

@@ -143,7 +143,6 @@ export interface IAuthenticationStepField {
}
export interface IAuthenticationStep {
step: number;
type: 'mutation' | 'openWithPopup';
name: string;
arguments: IAuthenticationStepField[];
@@ -183,7 +182,7 @@ export interface IAuth {
isStillVerified($: IGlobalVariable): Promise<boolean>;
fields: IField[];
authenticationSteps: IAuthenticationStep[];
reconnectionSteps: IAuthenticationStep[];
reconnectionSteps?: IAuthenticationStep[];
}
export interface IService {