diff --git a/root/api/meta.js b/root/api/meta.js
index f1003f9..f4c32ab 100644
--- a/root/api/meta.js
+++ b/root/api/meta.js
@@ -19,9 +19,9 @@ const meta = {
getServiceInfo({name}, callback) {
red.getJSON("/meta/service_info",{name}, res => {
- let {name, comment, table, edits, imports, shows, exports, filters} = red.replacePoint(res)
+ let {name, comment, table, edits, imports, shows, exports, filters, details} = red.replacePoint(res)
- callback({name, comment, table, edits, imports, shows, exports, filters});
+ callback({name, comment, table, edits, imports, shows, exports, filters, details});
});
},
getServiceDetail({name}, callback) {
@@ -70,6 +70,10 @@ const meta = {
exports = red.replace$(exports);
return red.postX('/meta/exportsave', {name, exports: JSON.stringify(exports)})
},
+ detailSave({name, details}) {
+ details = red.replace$(details);
+ return red.postX('/meta/detailsave', {name, details: JSON.stringify(details)})
+ },
// Meta-Table
tableList() {
diff --git a/root/metadata/metaService.html b/root/metadata/metaService.html
index eeaccad..488965f 100644
--- a/root/metadata/metaService.html
+++ b/root/metadata/metaService.html
@@ -1,4 +1,3 @@
-
@@ -64,6 +63,9 @@
+
+
+
@@ -84,7 +86,7 @@
@@ -227,6 +230,33 @@
+
+
+
@@ -274,8 +304,8 @@