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:
23
src/entities/NewGroup.ts
Normal file
23
src/entities/NewGroup.ts
Normal 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
|
||||
}
|
Reference in New Issue
Block a user