Format dropdown

This commit is contained in:
Jaiwanth 2021-06-26 13:04:10 +05:30
parent c3dc51c452
commit 92e34c7993
4 changed files with 76 additions and 45 deletions

View file

@ -1,19 +1,29 @@
import { Room } from "matrix-js-sdk/src/models/room";
import { _t } from "../../languageHandler";
import HTMLExporter from "./HtmlExport";
import JSONExporter from "./JSONExport";
import PlainTextExporter from "./PlainTextExport";
_t("HTML");
_t("JSON");
_t("Plain Text");
export enum exportFormats {
HTML = "HTML",
JSON = "JSON",
PLAIN_TEXT = "PLAIN_TEXT",
PLAIN_TEXT = "Plain Text",
}
_t("Current Timeline");
_t("From the beginning")
_t("From a specific date")
_t("Last n messages");
export enum exportTypes {
TIMELINE = "TIMELINE",
BEGINNING = "BEGINNING",
START_DATE = "START_DATE",
LAST_N_MESSAGES = "LAST_N_MESSAGES",
TIMELINE = "Current Timeline",
BEGINNING = "From the beginning",
START_DATE = "From a specific date",
LAST_N_MESSAGES = "Last n messages",
}
export interface exportOptions {