fix+feat: error bij het toevegoen van groups na het aanmaken van een assignment gefixt, group & assignment DTO Id toegevoegd
This commit is contained in:
		
							parent
							
								
									0ceb6761d7
								
							
						
					
					
						commit
						e3fc4b72a7
					
				
					 8 changed files with 53 additions and 50 deletions
				
			
		|  | @ -1,11 +1,11 @@ | |||
| import { BaseController } from "./base-controller"; | ||||
| import type { AssignmentDTO } from "@dwengo-1/common/interfaces/assignment"; | ||||
| import type { AssignmentDTO, AssignmentDTOId } from "@dwengo-1/common/interfaces/assignment"; | ||||
| import type { SubmissionsResponse } from "./submissions"; | ||||
| import type { QuestionsResponse } from "./questions"; | ||||
| import type { GroupsResponse } from "./groups"; | ||||
| 
 | ||||
| export interface AssignmentsResponse { | ||||
|     assignments: AssignmentDTO[] | string[]; | ||||
|     assignments: AssignmentDTO[] | AssignmentDTOId[]; | ||||
| } | ||||
| 
 | ||||
| export interface AssignmentResponse { | ||||
|  |  | |||
|  | @ -1,10 +1,10 @@ | |||
| import { BaseController } from "./base-controller"; | ||||
| import type { GroupDTO } from "@dwengo-1/common/interfaces/group"; | ||||
| import type { GroupDTO, GroupDTOId } from "@dwengo-1/common/interfaces/group"; | ||||
| import type { SubmissionsResponse } from "./submissions"; | ||||
| import type { QuestionsResponse } from "./questions"; | ||||
| 
 | ||||
| export interface GroupsResponse { | ||||
|     groups: GroupDTO[]; | ||||
|     groups: GroupDTO[] | GroupDTOId[]; | ||||
| } | ||||
| 
 | ||||
| export interface GroupResponse { | ||||
|  |  | |||
		Reference in a new issue
	
	 Adriaan Jacquet
						Adriaan Jacquet