|
@@ -23,6 +23,7 @@ const app = Vue.createApp({
|
|
|
name: "",
|
|
|
lineage: "",
|
|
|
summary: "",
|
|
|
+ config: "",
|
|
|
creator: {
|
|
|
name: "",
|
|
|
url: "",
|
|
@@ -104,6 +105,7 @@ const app = Vue.createApp({
|
|
|
name: "",
|
|
|
icon: "",
|
|
|
summary: "",
|
|
|
+ config: "",
|
|
|
type: "",
|
|
|
modules: []
|
|
|
},
|
|
@@ -187,6 +189,7 @@ const app = Vue.createApp({
|
|
|
name: module.name,
|
|
|
icon: (module.icon && !module.icon.includes('http')) ? global.url + module.icon : module.icon,
|
|
|
summary: module.summary,
|
|
|
+ config: module.config,
|
|
|
type: module.type,
|
|
|
modules: (module.modules) ? module.modules.map(cleanModules) : [],
|
|
|
}
|
|
@@ -200,6 +203,7 @@ const app = Vue.createApp({
|
|
|
name: this.rule.name,
|
|
|
lineage: this.rule.lineage,
|
|
|
summary: this.rule.summary,
|
|
|
+ config: this.rule.config,
|
|
|
creator: {
|
|
|
name: this.rule.creator.name,
|
|
|
url: this.rule.creator.url,
|
|
@@ -482,6 +486,7 @@ const app = Vue.createApp({
|
|
|
name: rule.name,
|
|
|
lineage: rule.lineage,
|
|
|
summary: rule.summary,
|
|
|
+ config: rule.config,
|
|
|
creator: {
|
|
|
name: rule.creatorName,
|
|
|
url: rule.creatorUrl,
|
|
@@ -651,6 +656,7 @@ const app = Vue.createApp({
|
|
|
name: rule.name,
|
|
|
lineage: rule.lineage,
|
|
|
summary: rule.summary,
|
|
|
+ config: this.jsonify(rule.config),
|
|
|
modules: this.jsonify(rule.modules),
|
|
|
creatorName: rule.creator.name,
|
|
|
creatorUrl: rule.creator.url,
|