From 7bacbec5e9dcd44d3948d2959896ae585d51b2cf Mon Sep 17 00:00:00 2001 From: RMidhunSuresh Date: Thu, 3 Feb 2022 12:06:13 +0530 Subject: [PATCH] Remove type directory --- src/matrix/registration/Registration.ts | 2 +- src/matrix/registration/registrationStageFromType.ts | 2 +- src/matrix/registration/stages/BaseRegistrationStage.ts | 2 +- src/matrix/registration/{types => }/types.ts | 0 4 files changed, 3 insertions(+), 3 deletions(-) rename src/matrix/registration/{types => }/types.ts (100%) diff --git a/src/matrix/registration/Registration.ts b/src/matrix/registration/Registration.ts index 227d78bc..9c7ef11b 100644 --- a/src/matrix/registration/Registration.ts +++ b/src/matrix/registration/Registration.ts @@ -17,7 +17,7 @@ limitations under the License. import type {HomeServerApi} from "../net/HomeServerApi"; import {registrationStageFromType} from "./registrationStageFromType"; import type {BaseRegistrationStage} from "./stages/BaseRegistrationStage"; -import type {AccountDetails, RegistrationFlow, RegistrationResponseMoreDataNeeded} from "./types/types"; +import type {AccountDetails, RegistrationFlow, RegistrationResponseMoreDataNeeded} from "./types"; type FlowSelector = (flows: RegistrationFlow[]) => RegistrationFlow | void; diff --git a/src/matrix/registration/registrationStageFromType.ts b/src/matrix/registration/registrationStageFromType.ts index 799451a7..6b120a6f 100644 --- a/src/matrix/registration/registrationStageFromType.ts +++ b/src/matrix/registration/registrationStageFromType.ts @@ -16,7 +16,7 @@ limitations under the License. import type {BaseRegistrationStage} from "./stages/BaseRegistrationStage"; import type {HomeServerApi} from "../net/HomeServerApi"; -import type {AccountDetails, RegistrationParams} from "./types/types"; +import type {AccountDetails, RegistrationParams} from "./types"; import {DummyAuth} from "./stages/DummyAuth"; import {TermsAuth} from "./stages/TermsAuth"; diff --git a/src/matrix/registration/stages/BaseRegistrationStage.ts b/src/matrix/registration/stages/BaseRegistrationStage.ts index 88f0bad6..74fe66c7 100644 --- a/src/matrix/registration/stages/BaseRegistrationStage.ts +++ b/src/matrix/registration/stages/BaseRegistrationStage.ts @@ -15,7 +15,7 @@ limitations under the License. */ import type {HomeServerApi} from "../../net/HomeServerApi"; -import type {AccountDetails, RegistrationResponse, AuthenticationData, RegistrationParams} from "../types/types"; +import type {AccountDetails, RegistrationResponse, AuthenticationData, RegistrationParams} from "../types"; export abstract class BaseRegistrationStage { protected _hsApi: HomeServerApi; diff --git a/src/matrix/registration/types/types.ts b/src/matrix/registration/types.ts similarity index 100% rename from src/matrix/registration/types/types.ts rename to src/matrix/registration/types.ts