Skip to content

Commit 3d24762

Browse files
committed
Make linter happy
1 parent 63aac19 commit 3d24762

File tree

3 files changed

+3
-10
lines changed

3 files changed

+3
-10
lines changed

specification/_types/common.ts

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,7 @@ import { double, integer, long } from './Numeric'
2828
*/
2929
// Note: the ending `UserDefinedValue` includes all other union members, but we keep them explicit so that
3030
// code generators can provide direct access to scalar values, which are the most common use case.
31-
export type FieldValue =
32-
| long
33-
| double
34-
| string
35-
| boolean
36-
| null
31+
export type FieldValue = long | double | string | boolean | null
3732

3833
/**
3934
* A scalar value.

specification/esql/async_query/AsyncQueryRequest.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,10 @@
2020
import { EsqlFormat } from '@esql/_types/QueryParameters'
2121
import { TableValuesContainer } from '@esql/_types/TableValuesContainer'
2222
import { Dictionary } from '@spec_utils/Dictionary'
23+
import { UserDefinedValue } from '@spec_utils/UserDefinedValue'
2324
import { RequestBase } from '@_types/Base'
24-
import { FieldValue } from '@_types/common'
2525
import { QueryContainer } from '@_types/query_dsl/abstractions'
2626
import { Duration } from '@_types/Time'
27-
import { UserDefinedValue } from '@spec_utils/UserDefinedValue'
2827

2928
/**
3029
* Run an async ES|QL query.

specification/esql/query/QueryRequest.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,9 @@
2020
import { EsqlFormat } from '@esql/_types/QueryParameters'
2121
import { TableValuesContainer } from '@esql/_types/TableValuesContainer'
2222
import { Dictionary } from '@spec_utils/Dictionary'
23+
import { UserDefinedValue } from '@spec_utils/UserDefinedValue'
2324
import { RequestBase } from '@_types/Base'
24-
import { FieldValue } from '@_types/common'
2525
import { QueryContainer } from '@_types/query_dsl/abstractions'
26-
import { UserDefinedValue } from '@spec_utils/UserDefinedValue'
2726

2827
/**
2928
* Run an ES|QL query.

0 commit comments

Comments
 (0)