import { BaseModel } from "../base.model"; import { ModelInterface } from "./model.interface"; import { ElasticSqlResponse } from "./elastic.sql.response.interface"; export interface ElasticWhereSqlResponse { /** * Field name alias */ data: Array<{ key : string, value : any }>; /** * Get the next page */ next?: Promise; /** * Count the total query result */ count?: Promise; }