|
@@ -2,32 +2,32 @@ define([ "require", "backbone" ], function(require) {
|
|
|
"use strict";
|
|
|
var Enums = {};
|
|
|
Enums.auditAction = {
|
|
|
- ENTITY_CREATE: "Entity Created",
|
|
|
- ENTITY_UPDATE: "Entity Updated",
|
|
|
- ENTITY_DELETE: "Entity Deleted",
|
|
|
- CLASSIFICATION_ADD: "Classification Added",
|
|
|
- CLASSIFICATION_DELETE: "Classification Deleted",
|
|
|
- CLASSIFICATION_UPDATE: "Classification Updated",
|
|
|
- PROPAGATED_CLASSIFICATION_ADD: "Propagated Classification Added",
|
|
|
- PROPAGATED_CLASSIFICATION_DELETE: "Propagated Classification Deleted",
|
|
|
- PROPAGATED_CLASSIFICATION_UPDATE: "Propagated Classification Updated",
|
|
|
- ENTITY_IMPORT_CREATE: "Entity Created by import",
|
|
|
- ENTITY_IMPORT_UPDATE: "Entity Updated by import",
|
|
|
- ENTITY_IMPORT_DELETE: "Entity Deleted by import",
|
|
|
- TERM_ADD: "Term Added",
|
|
|
- TERM_DELETE: "Term Deleted",
|
|
|
- LABEL_ADD: "Label(s) Added",
|
|
|
- LABEL_DELETE: "Label(s) Deleted",
|
|
|
- ENTITY_PURGE: "Entity Purged",
|
|
|
- BUSINESS_ATTRIBUTE_ADD: "Business Attribute(s) Added",
|
|
|
- BUSINESS_ATTRIBUTE_UPDATE: "Business Attribute(s) Updated",
|
|
|
- BUSINESS_ATTRIBUTE_DELETE: "Business Attribute(s) Deleted",
|
|
|
- CUSTOM_ATTRIBUTE_UPDATE: "User-defined Attribute(s) Updated",
|
|
|
- TYPE_DEF_UPDATE: "Type Updated",
|
|
|
- TYPE_DEF_CREATE: "Type Created",
|
|
|
- TYPE_DEF_DELETE: "Type Deleted",
|
|
|
- IMPORT: "Import",
|
|
|
- EXPORT: "Export"
|
|
|
+ ENTITY_CREATE: "已创建实体",
|
|
|
+ ENTITY_UPDATE: "已更新实体",
|
|
|
+ ENTITY_DELETE: "已删除实体",
|
|
|
+ CLASSIFICATION_ADD: "已添加分类",
|
|
|
+ CLASSIFICATION_DELETE: "已删除分类",
|
|
|
+ CLASSIFICATION_UPDATE: "已更新分类",
|
|
|
+ PROPAGATED_CLASSIFICATION_ADD: "已添加传播的分类",
|
|
|
+ PROPAGATED_CLASSIFICATION_DELETE: "已删除传播的分类",
|
|
|
+ PROPAGATED_CLASSIFICATION_UPDATE: "已更新传播的分类",
|
|
|
+ ENTITY_IMPORT_CREATE: "已通过导入创建实体",
|
|
|
+ ENTITY_IMPORT_UPDATE: "已通过导入更新实体",
|
|
|
+ ENTITY_IMPORT_DELETE: "已通过导入删除实体",
|
|
|
+ TERM_ADD: "已添加术语",
|
|
|
+ TERM_DELETE: "已删除术语",
|
|
|
+ LABEL_ADD: "已添加标签",
|
|
|
+ LABEL_DELETE: "删除标签",
|
|
|
+ ENTITY_PURGE: "实体已清除",
|
|
|
+ BUSINESS_ATTRIBUTE_ADD: "已添加业务元数据",
|
|
|
+ BUSINESS_ATTRIBUTE_UPDATE: "已更新业务元数据",
|
|
|
+ BUSINESS_ATTRIBUTE_DELETE: "已删除业务元数据",
|
|
|
+ CUSTOM_ATTRIBUTE_UPDATE: "已更新用户自定义属性",
|
|
|
+ TYPE_DEF_UPDATE: "已更新类型",
|
|
|
+ TYPE_DEF_CREATE: "已创建类型",
|
|
|
+ TYPE_DEF_DELETE: "已删除类型",
|
|
|
+ IMPORT: "导入",
|
|
|
+ EXPORT: "导出"
|
|
|
}, Enums.serverAudits = {
|
|
|
SERVER_START: "Server Start",
|
|
|
SERVER_STOP: "Server End",
|