fix: functies uit learning path entity zijn nu bereikbaar
This commit is contained in:
parent
6338ad249a
commit
f6b648c9d9
1 changed files with 2 additions and 1 deletions
|
@ -10,8 +10,9 @@ import {
|
||||||
} from '@mikro-orm/core';
|
} from '@mikro-orm/core';
|
||||||
import { Language } from './language.js';
|
import { Language } from './language.js';
|
||||||
import { Teacher } from '../users/teacher.entity.js';
|
import { Teacher } from '../users/teacher.entity.js';
|
||||||
|
import { LearningPathRepository } from '../../data/content/learning-path-repository.js';
|
||||||
|
|
||||||
@Entity()
|
@Entity({ repository : () => {return LearningPathRepository;}})
|
||||||
export class LearningPath {
|
export class LearningPath {
|
||||||
@PrimaryKey({ type: 'string' })
|
@PrimaryKey({ type: 'string' })
|
||||||
hruid!: string;
|
hruid!: string;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue