feat: impl. use of new tables
This commit is contained in:
@ -1,10 +1,11 @@
|
||||
import { Attributes, FindOptions } from "sequelize";
|
||||
import { injectable } from "tsyringe";
|
||||
import { WifiLocation } from "../models/wifiLocation";
|
||||
|
||||
@injectable()
|
||||
export class WifiLocationRepository {
|
||||
public async findAll() {
|
||||
return await WifiLocation.findAll();
|
||||
public async findAll(options?: FindOptions<Attributes<WifiLocation>>) {
|
||||
return await WifiLocation.findAll(options);
|
||||
}
|
||||
|
||||
public async findById(id: string) {
|
||||
|
Reference in New Issue
Block a user