@gudhub/core 1.1.116 → 1.1.117

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.
@@ -219,6 +219,14 @@ export default function generateModulesList(async_modules_path, file_server_url,
219
219
  type: 'gh_element',
220
220
  technology: 'angular'
221
221
  },
222
+ {
223
+ data_type: 'shared_groups',
224
+ name: 'Shared Groups',
225
+ icon: 'user_gh_element',
226
+ url: file_server_url + '/' + async_modules_path + 'shared_groups_data.js',
227
+ type: 'gh_element',
228
+ technology: 'angular',
229
+ },
222
230
  {
223
231
  data_type: "app",
224
232
  name: 'App',
@@ -24,6 +24,11 @@ export async function filterPreparation(
24
24
  return [storage_user.user_id];
25
25
  },
26
26
 
27
+ variableMethodshared_groups() {
28
+ const storage_shared_groups = storage.user?.shared_groups?.map(value => value?.group_id) ?? [];
29
+ return storage_shared_groups;
30
+ },
31
+
27
32
  variableMethoduser_email(filter) {
28
33
  const storage_user = storage.getUser();
29
34
  return [storage_user.username];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gudhub/core",
3
- "version": "1.1.116",
3
+ "version": "1.1.117",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {