Clean up imports and other minor lints
This commit is contained in:
parent
df3d5c4159
commit
9f0810240f
6 changed files with 7 additions and 10 deletions
|
@ -21,11 +21,10 @@ import SettingsStore from "../../settings/SettingsStore";
|
||||||
import { DefaultTagID, OrderedDefaultTagIDs, RoomUpdateCause, TagID } from "./models";
|
import { DefaultTagID, OrderedDefaultTagIDs, RoomUpdateCause, TagID } from "./models";
|
||||||
import { Algorithm } from "./algorithms/list_ordering/Algorithm";
|
import { Algorithm } from "./algorithms/list_ordering/Algorithm";
|
||||||
import TagOrderStore from "../TagOrderStore";
|
import TagOrderStore from "../TagOrderStore";
|
||||||
import { getListAlgorithmInstance } from "./algorithms/list_ordering";
|
|
||||||
import { AsyncStore } from "../AsyncStore";
|
import { AsyncStore } from "../AsyncStore";
|
||||||
import { ITagMap, ITagSortingMap, ListAlgorithm, SortAlgorithm } from "./algorithms/models";
|
|
||||||
import { Room } from "matrix-js-sdk/src/models/room";
|
import { Room } from "matrix-js-sdk/src/models/room";
|
||||||
import { MatrixEvent } from "matrix-js-sdk/src/models/event";
|
import { ITagMap, ITagSortingMap, ListAlgorithm, SortAlgorithm } from "./algorithms/models";
|
||||||
|
import { getListAlgorithmInstance } from "./algorithms/list_ordering";
|
||||||
|
|
||||||
interface IState {
|
interface IState {
|
||||||
tagsEnabled?: boolean;
|
tagsEnabled?: boolean;
|
||||||
|
|
|
@ -14,13 +14,11 @@ See the License for the specific language governing permissions and
|
||||||
limitations under the License.
|
limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import { TagID } from "./models";
|
|
||||||
import { Room } from "matrix-js-sdk/src/models/room";
|
|
||||||
import SettingsStore from "../../settings/SettingsStore";
|
import SettingsStore from "../../settings/SettingsStore";
|
||||||
import RoomListStore from "./RoomListStore2";
|
import RoomListStore from "./RoomListStore2";
|
||||||
import OldRoomListStore from "../RoomListStore";
|
import OldRoomListStore from "../RoomListStore";
|
||||||
import { ITagMap } from "./algorithms/models";
|
|
||||||
import { UPDATE_EVENT } from "../AsyncStore";
|
import { UPDATE_EVENT } from "../AsyncStore";
|
||||||
|
import { ITagMap } from "./algorithms/models";
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Temporary RoomListStore proxy. Should be replaced with RoomListStore2 when
|
* Temporary RoomListStore proxy. Should be replaced with RoomListStore2 when
|
||||||
|
|
|
@ -15,7 +15,6 @@ limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import { Room } from "matrix-js-sdk/src/models/room";
|
import { Room } from "matrix-js-sdk/src/models/room";
|
||||||
import {Event} from "matrix-js-sdk/src/models/event";
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Approximation of a membership status for a given room.
|
* Approximation of a membership status for a given room.
|
||||||
|
|
|
@ -23,6 +23,7 @@ export enum DefaultTagID {
|
||||||
DM = "im.vector.fake.direct",
|
DM = "im.vector.fake.direct",
|
||||||
ServerNotice = "m.server_notice",
|
ServerNotice = "m.server_notice",
|
||||||
}
|
}
|
||||||
|
|
||||||
export const OrderedDefaultTagIDs = [
|
export const OrderedDefaultTagIDs = [
|
||||||
DefaultTagID.Invite,
|
DefaultTagID.Invite,
|
||||||
DefaultTagID.Favourite,
|
DefaultTagID.Favourite,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue