This commit is contained in:
2025-12-15 13:01:49 +03:30
parent 6bcfda19c9
commit a09fa468f2
14 changed files with 392 additions and 0 deletions
@@ -0,0 +1,10 @@
import { Injectable } from '@nestjs/common';
import { EntityManager, EntityRepository } from '@mikro-orm/postgresql';
import { Group } from '../entities/group.entity';
@Injectable()
export class GroupRepository extends EntityRepository<Group> {
constructor(readonly em: EntityManager) {
super(em, Group);
}
}
@@ -0,0 +1,10 @@
import { Injectable } from '@nestjs/common';
import { EntityManager, EntityRepository } from '@mikro-orm/postgresql';
import { Icon } from '../entities/icon.entity';
@Injectable()
export class IconRepository extends EntityRepository<Icon> {
constructor(readonly em: EntityManager) {
super(em, Icon);
}
}