Format dropdown
This commit is contained in:
parent
c3dc51c452
commit
92e34c7993
4 changed files with 76 additions and 45 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue