mirror of
https://github.com/SyncrowIOT/backend.git
synced 2025-08-25 18:49:39 +00:00

* fix: commission device API * task: add create booking API * add get All api for dashboard & mobile * add Find APIs for bookings * implement sending email updates on update bookable space * move email interfaces to separate files
11 lines
388 B
TypeScript
11 lines
388 B
TypeScript
import { DataSource, Repository } from 'typeorm';
|
|
import { Injectable } from '@nestjs/common';
|
|
import { BookableSpaceEntity } from '../entities/bookable-space.entity';
|
|
|
|
@Injectable()
|
|
export class BookableSpaceEntityRepository extends Repository<BookableSpaceEntity> {
|
|
constructor(private dataSource: DataSource) {
|
|
super(BookableSpaceEntity, dataSource.createEntityManager());
|
|
}
|
|
}
|