forked from mystiq/hydrogen-web
fix imports after reshuffleling
This commit is contained in:
parent
72b0eefccb
commit
87b23d062c
8 changed files with 11 additions and 11 deletions
|
@ -1,5 +1,5 @@
|
|||
import Session from "../matrix/Session.js";
|
||||
import Sync from "../matrix/Sync.js";
|
||||
import {Sync} from "../matrix/Sync.js";
|
||||
import SessionViewModel from "./session/SessionViewModel.js";
|
||||
import LoginViewModel from "./LoginViewModel.js";
|
||||
import SessionPickerViewModel from "./SessionPickerViewModel.js";
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
import HomeServerApi from "./matrix/net/HomeServerApi.js";
|
||||
// import {RecordRequester, ReplayRequester} from "./matrix/net/replay.js";
|
||||
import fetchRequest from "./matrix/net/fetch.js";
|
||||
import {Reconnector} from "./matrix/net/connection/Reconnector.js";
|
||||
// import {RecordRequester, ReplayRequester} from "./matrix/net/request/replay.js";
|
||||
import fetchRequest from "./matrix/net/request/fetch.js";
|
||||
import {Reconnector} from "./matrix/net/Reconnector.js";
|
||||
import StorageFactory from "./matrix/storage/idb/create.js";
|
||||
import SessionInfoStorage from "./matrix/sessioninfo/localstorage/SessionInfoStorage.js";
|
||||
import BrawlViewModel from "./domain/BrawlViewModel.js";
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
import {AbortError} from "./error.js";
|
||||
import ObservableValue from "../observable/ObservableValue.js";
|
||||
import {createEnum} from "../utils/enum.js";
|
||||
import createEnum from "../utils/enum.js";
|
||||
|
||||
const INCREMENTAL_TIMEOUT = 30000;
|
||||
const SYNC_EVENT_LIMIT = 10;
|
||||
|
@ -27,7 +27,7 @@ function parseRooms(roomsSection, roomCallback) {
|
|||
return [];
|
||||
}
|
||||
|
||||
export default class Sync {
|
||||
export class Sync {
|
||||
constructor({hsApi, session, storage}) {
|
||||
this._hsApi = hsApi;
|
||||
this._session = session;
|
||||
|
|
|
@ -43,7 +43,7 @@ export default class ExponentialRetryDelay {
|
|||
}
|
||||
|
||||
|
||||
import MockClock from "../../../mocks/Clock.js";
|
||||
import MockClock from "../../mocks/Clock.js";
|
||||
|
||||
export function tests() {
|
||||
return {
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
import {
|
||||
HomeServerError,
|
||||
ConnectionError,
|
||||
} from "./error.js";
|
||||
} from "../error.js";
|
||||
|
||||
class RequestWrapper {
|
||||
constructor(method, url, requestResult) {
|
||||
|
|
|
@ -111,7 +111,7 @@ export class Reconnector {
|
|||
}
|
||||
|
||||
|
||||
import MockClock from "../../../mocks/Clock.js";
|
||||
import MockClock from "../../mocks/Clock.js";
|
||||
import ExponentialRetryDelay from "./ExponentialRetryDelay.js";
|
||||
|
||||
export function tests() {
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
import {
|
||||
AbortError,
|
||||
ConnectionError
|
||||
} from "../error.js";
|
||||
} from "../../error.js";
|
||||
|
||||
class RequestResult {
|
||||
constructor(promise, controller) {
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
import {
|
||||
AbortError,
|
||||
ConnectionError
|
||||
} from "../error.js";
|
||||
} from "../../error.js";
|
||||
|
||||
class RequestLogItem {
|
||||
constructor(url, options) {
|
||||
|
|
Loading…
Reference in a new issue