icons
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user