UNPKG

matrix-react-sdk

Version:
25 lines (24 loc) 645 B
import { Room } from "matrix-js-sdk/src/matrix"; import { TagID } from "../models"; import { OrderingAlgorithm } from "./list-ordering/OrderingAlgorithm"; export declare enum SortAlgorithm { Manual = "MANUAL", Alphabetic = "ALPHABETIC", Recent = "RECENT" } export declare enum ListAlgorithm { Importance = "IMPORTANCE", Natural = "NATURAL" } export interface ITagSortingMap { [tagId: TagID]: SortAlgorithm; } export interface IListOrderingMap { [tagId: TagID]: ListAlgorithm; } export interface IOrderingAlgorithmMap { [tagId: TagID]: OrderingAlgorithm; } export interface ITagMap { [tagId: TagID]: Room[]; }