refactor(common): Group
This commit is contained in:
parent
24ed39d04e
commit
1a0704c16f
7 changed files with 18 additions and 13 deletions
2
common/src/interfaces/assignment.d.ts
vendored
2
common/src/interfaces/assignment.d.ts
vendored
|
@ -1,4 +1,4 @@
|
|||
import { GroupDTO } from 'dwengo-1-backend/src/interfaces/group.js';
|
||||
import { GroupDTO } from './group';
|
||||
|
||||
export interface AssignmentDTO {
|
||||
id: number;
|
||||
|
|
7
common/src/interfaces/group.d.ts
vendored
Normal file
7
common/src/interfaces/group.d.ts
vendored
Normal file
|
@ -0,0 +1,7 @@
|
|||
import { AssignmentDTO } from './assignment';
|
||||
|
||||
export interface GroupDTO {
|
||||
assignment: number | AssignmentDTO;
|
||||
groupNumber: number;
|
||||
members: string[] | StudentDTO[];
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue