1
0
mirror of https://gitlab.com/comunic/comunicapiv2 synced 2025-09-19 05:38:48 +00:00

Can create new groups

This commit is contained in:
2019-12-24 18:47:55 +01:00
parent 679bf0e04e
commit e85bdf8e54
4 changed files with 94 additions and 0 deletions

23
src/entities/NewGroup.ts Normal file
View File

@@ -0,0 +1,23 @@
/**
* New group information
*
* @author Pierre HUBERT
*/
export interface NewGroup {
/**
* The name of the group to create
*/
name: string,
/**
* The ID of the user creating the group
*/
userID: number,
/**
* The time of creation of the group
*/
timeCreate: number
}