mirror of
https://github.com/dadosfera/maestro.git
synced 2026-11-11 19:49:08 +00:00
get entities
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
import { Body, HttpException, HttpStatus, Injectable } from '@nestjs/common';
|
||||
import { Timeout } from '@nestjs/schedule';
|
||||
import CronParser, { CronExpression } from 'cron-parser';
|
||||
import { lastValueFrom } from 'rxjs';
|
||||
import { InputsClientService } from 'src/clients/inputs/client.service';
|
||||
import { IIdRequest, Info } from 'src/clients/inputs/interfaces';
|
||||
|
||||
@@ -70,7 +71,9 @@ export class InputsService {
|
||||
return response;
|
||||
}
|
||||
}
|
||||
|
||||
async getAvailableEntities(data): Promise<{ entities: string[] }> {
|
||||
return await this.inputClient.getAvailableEntities(data);
|
||||
}
|
||||
async findAll(body) {
|
||||
try {
|
||||
const findAllInputResponse: any = await this.inputClient.findAll(body);
|
||||
|
||||
Reference in New Issue
Block a user