verteilen-core 1.3.32 → 1.3.34

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -29,6 +29,7 @@ export interface PluginContainer extends DataTime {
29
29
  icon?: string;
30
30
  owner?: string;
31
31
  title?: string;
32
+ description?: string;
32
33
  url?: string;
33
34
  plugins: Array<Plugin>;
34
35
  projects: Array<TemplateData_Project>;
@@ -123,8 +123,8 @@ const CreatePluginLoader = (loader, memory, socket, feedback) => {
123
123
  ob.url = url;
124
124
  loader.write_string(loader.join(root, name, 'manifest.json'), JSON.stringify(ob, null, 4));
125
125
  const folder = url.substring(0, url.lastIndexOf('/'));
126
- const project_calls = ob.projects.map(p => fetch(folder + "/" + p.filename + '.json', req));
127
- const database_calls = ob.databases.map(p => fetch(folder + "/" + p.filename + '.json', req));
126
+ const project_calls = ob.projects.map(p => fetch(folder + "/project/" + p.filename + '.json', req));
127
+ const database_calls = ob.databases.map(p => fetch(folder + "/database/" + p.filename + '.json', req));
128
128
  const pss = await Promise.all(project_calls);
129
129
  const project_calls2 = pss.map(x => x.text());
130
130
  const pss_result = await Promise.all(project_calls2);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "verteilen-core",
3
- "version": "1.3.32",
3
+ "version": "1.3.34",
4
4
  "license": "MIT",
5
5
  "homepage": "https://verteilen.github.io/wiki/",
6
6
  "author": "Elly",
@@ -114,6 +114,10 @@ export interface PluginContainer extends DataTime {
114
114
  * **Plugin Group Name**
115
115
  */
116
116
  title?: string
117
+ /**
118
+ * **Plugin Group Description**
119
+ */
120
+ description?: string
117
121
  /**
118
122
  * **Plugin Header URL**
119
123
  */
@@ -200,8 +200,8 @@ export const CreatePluginLoader = (loader:RecordIOBase, memory:PluginPageData, s
200
200
  loader.write_string(loader.join(root, name, 'manifest.json'), JSON.stringify(ob, null, 4))
201
201
 
202
202
  const folder = url.substring(0, url.lastIndexOf('/'))
203
- const project_calls:Array<Promise<Response>> = ob.projects.map(p => fetch(folder + "/" + p.filename + '.json', req))
204
- const database_calls:Array<Promise<Response>> = ob.databases.map(p => fetch(folder + "/" + p.filename + '.json', req))
203
+ const project_calls:Array<Promise<Response>> = ob.projects.map(p => fetch(folder + "/project/" + p.filename + '.json', req))
204
+ const database_calls:Array<Promise<Response>> = ob.databases.map(p => fetch(folder + "/database/" + p.filename + '.json', req))
205
205
  // * Project template query
206
206
  const pss = await Promise.all(project_calls)
207
207
  const project_calls2:Array<Promise<string>> = pss.map(x => x.text())