fix: question service + refactor loID
This commit is contained in:
		
							parent
							
								
									dbc1da741c
								
							
						
					
					
						commit
						bd75ab8af9
					
				
					 16 changed files with 86 additions and 81 deletions
				
			
		|  | @ -11,7 +11,7 @@ export interface Transition { | |||
|     }; | ||||
| } | ||||
| 
 | ||||
| export interface LearningObjectIdentifier { | ||||
| export interface LearningObjectIdentifierDTO { | ||||
|     hruid: string; | ||||
|     language: Language; | ||||
|     version?: number; | ||||
|  |  | |||
|  | @ -1,15 +1,15 @@ | |||
| import { LearningObjectIdentifier } from './learning-content'; | ||||
| import { LearningObjectIdentifierDTO } from './learning-content'; | ||||
| import { StudentDTO } from './student'; | ||||
| 
 | ||||
| export interface QuestionDTO { | ||||
|     learningObjectIdentifier: LearningObjectIdentifier; | ||||
|     learningObjectIdentifier: LearningObjectIdentifierDTO; | ||||
|     sequenceNumber?: number; | ||||
|     author: StudentDTO; | ||||
|     author: StudentDTO | string; | ||||
|     timestamp?: string; | ||||
|     content: string; | ||||
| } | ||||
| 
 | ||||
| export interface QuestionId { | ||||
|     learningObjectIdentifier: LearningObjectIdentifier; | ||||
|     learningObjectIdentifier: LearningObjectIdentifierDTO; | ||||
|     sequenceNumber: number; | ||||
| } | ||||
|  |  | |||
|  | @ -1,10 +1,10 @@ | |||
| import { GroupDTO } from './group'; | ||||
| import { LearningObjectIdentifier } from './learning-content'; | ||||
| import { LearningObjectIdentifierDTO } from './learning-content'; | ||||
| import { StudentDTO } from './student'; | ||||
| import { Language } from '../util/language'; | ||||
| 
 | ||||
| export interface SubmissionDTO { | ||||
|     learningObjectIdentifier: LearningObjectIdentifier; | ||||
|     learningObjectIdentifier: LearningObjectIdentifierDTO; | ||||
| 
 | ||||
|     submissionNumber?: number; | ||||
|     submitter: StudentDTO; | ||||
|  |  | |||
		Reference in a new issue
	
	 Gabriellvl
						Gabriellvl