feat(backend): databaseLearningPathProvider.fetchLearningPaths geïmplementeerd
This commit is contained in:
		
							parent
							
								
									0fe42f73b2
								
							
						
					
					
						commit
						02be44fe53
					
				
					 6 changed files with 161 additions and 11 deletions
				
			
		|  | @ -4,6 +4,6 @@ export class LearningObjectIdentifier { | |||
|     constructor( | ||||
|         public hruid: string, | ||||
|         public language: Language, | ||||
|         public version: string | ||||
|         public version: number | ||||
|     ) {} | ||||
| } | ||||
|  |  | |||
|  | @ -54,6 +54,12 @@ export class LearningPathNode { | |||
| 
 | ||||
|     @Embedded({ entity: () => LearningPathTransition, array: true }) | ||||
|     transitions!: LearningPathTransition[]; | ||||
| 
 | ||||
|     @Property({ length: 3 }) | ||||
|     createdAt: Date = new Date(); | ||||
| 
 | ||||
|     @Property({ length: 3, onUpdate: () => new Date() }) | ||||
|     updatedAt: Date = new Date(); | ||||
| } | ||||
| 
 | ||||
| @Embeddable() | ||||
|  |  | |||
		Reference in a new issue
	
	 Gerald Schmittinger
						Gerald Schmittinger