feat: impl. use of new tables

This commit is contained in:
2025-01-06 15:47:53 +01:00
parent c2e0fe94a4
commit e43cb76e4d
8 changed files with 103 additions and 38 deletions

View File

@ -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) {