"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.GetAllDevicesUseCase = void 0;
class GetAllDevicesUseCase {
    deviceRepository;
    constructor(deviceRepository) {
        this.deviceRepository = deviceRepository;
    }
    async execute(input) {
        return this.deviceRepository.findAll({
            limit: input.limit,
            offset: input.offset,
        });
    }
}
exports.GetAllDevicesUseCase = GetAllDevicesUseCase;
//# sourceMappingURL=get-all-devices.use-case.js.map