Skip to content
Snippets Groups Projects
Commit 40e48605 authored by Elia AZAR's avatar Elia AZAR
Browse files

groupModel.ts -> new function -> getAllMetaGroups -> line 147

parent 9191b17e
No related branches found
No related tags found
No related merge requests found
......@@ -136,6 +136,21 @@ export class GroupModel {
return res;
}
/**
* @memberof GraphQL.GroupModel#
* @function getAllMetaGroups
* @summary Fonction qui renvoie tous les groupes metas du groupe simple.
* @arg {string} gid - identifiant du groupe en question.
* @return {GroupSet} Renvoie le tableau de groupes correspondant
* @rights connectedOrOnplatal
*/
getAllMetaGroups(gid: string): Promise<GroupSet> {
let arg=new GroupSet();
arg.add(gid);
let res=Tools.metaGroupsOfGroups(arg);
return res;
}
/**
* @memberof GraphQL.GroupModel#
* @function likeGroup
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment