Skip to content

Commit

Permalink
Add type alias ES|QL response body type for consistency
Browse files Browse the repository at this point in the history
  • Loading branch information
Anaethelion committed Nov 24, 2023
1 parent 9941e19 commit a56f5d2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
3 changes: 3 additions & 0 deletions specification/_types/Binary.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,6 @@

// Vector tile response
export type MapboxVectorTiles = ArrayBuffer

// ES|QL columns
export type EsqlColumns = ArrayBuffer
4 changes: 3 additions & 1 deletion specification/esql/query/QueryResponse.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@
* under the License.
*/

import { EsqlColumns } from '@_types/Binary'

export class Response {
body: ArrayBuffer
body: EsqlColumns
}

0 comments on commit a56f5d2

Please sign in to comment.