fix(backend): Formatting + .env.development.example

npm run format uitgevoerd, .env.development.example toegevoegd.
This commit is contained in:
Gerald Schmittinger 2025-02-26 22:03:53 +01:00
parent 4e883a1a18
commit 48c8ce7c57
36 changed files with 499 additions and 331 deletions

View file

@ -1,10 +1,13 @@
import {DwengoEntityRepository} from "../dwengo-entity-repository";
import {LearningPath} from "../../entities/content/learning-path.entity";
import {Language} from "../../entities/content/language";
import { DwengoEntityRepository } from '../dwengo-entity-repository';
import { LearningPath } from '../../entities/content/learning-path.entity';
import { Language } from '../../entities/content/language';
export class LearningPathRepository extends DwengoEntityRepository<LearningPath> {
public findByHruidAndLanguage(hruid: string, language: Language): Promise<LearningPath | null> {
return this.findOne({hruid: hruid, language: language});
public findByHruidAndLanguage(
hruid: string,
language: Language
): Promise<LearningPath | null> {
return this.findOne({ hruid: hruid, language: language });
}
// This repository is read-only for now since creating own learning object is an extension feature.
}