@officesdk/web
Version:
Web JS SDK for the Office SDK
26 lines (25 loc) • 917 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.EditorStandardRole = exports.EditorModeType = void 0;
/**
* 编辑器模式
* - `standard` 标准模式,会根据用户权限配置不同的功能
* - `preview` 预览模式,只能查看内容
*/
var EditorModeType;
(function (EditorModeType) {
EditorModeType["Standard"] = "standard";
EditorModeType["Preview"] = "preview";
})(EditorModeType || (exports.EditorModeType = EditorModeType = {}));
/**
* 编辑器在 `standard` 模式下的权限模式
* - `editor` 编辑模式
* - `viewer` 阅读模式
* - `reviewer` 评论模式
*/
var EditorStandardRole;
(function (EditorStandardRole) {
EditorStandardRole["Editor"] = "editor";
EditorStandardRole["Viewer"] = "viewer";
EditorStandardRole["Reviewer"] = "reviewer";
})(EditorStandardRole || (exports.EditorStandardRole = EditorStandardRole = {}));