codex-types
Version:
TypeScript type library for Codex Scripture Editor
32 lines (31 loc) • 1.36 kB
JavaScript
/**********************
* Conversation Types *
**********************/
Object.defineProperty(exports, "__esModule", { value: true });
exports.ScriptDirection = exports.LanguageProjectStatus = exports.CellKind = exports.SenderRole = void 0;
/* SenderRole is the role of the sender of a message. */
var SenderRole;
(function (SenderRole) {
SenderRole[SenderRole["USER"] = 0] = "USER";
SenderRole[SenderRole["AI"] = 1] = "AI";
})(SenderRole || (exports.SenderRole = SenderRole = {}));
/* CellKind is the export type of cell. */
var CellKind;
(function (CellKind) {
CellKind[CellKind["MARKDOWN"] = 0] = "MARKDOWN";
CellKind[CellKind["CODE"] = 1] = "CODE";
})(CellKind || (exports.CellKind = CellKind = {}));
var LanguageProjectStatus;
(function (LanguageProjectStatus) {
// FIXME: need to think about this a bit more
LanguageProjectStatus["SOURCE"] = "source";
LanguageProjectStatus["TARGET"] = "target";
LanguageProjectStatus["SOURCE_AND_TARGET"] = "source_and_target";
LanguageProjectStatus["REFERENCE"] = "reference";
})(LanguageProjectStatus || (exports.LanguageProjectStatus = LanguageProjectStatus = {}));
var ScriptDirection;
(function (ScriptDirection) {
ScriptDirection["LTR"] = "ltr";
ScriptDirection["RTL"] = "rtl";
})(ScriptDirection || (exports.ScriptDirection = ScriptDirection = {}));
;