File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change 17
17
* under the License.
18
18
*/
19
19
20
- import { Dictionary } from '@spec_utils/Dictionary'
21
- import { UserDefinedValue } from '@spec_utils/UserDefinedValue'
22
20
import { RequestBase } from '@_types/Base'
23
21
import { RuntimeFields } from '@_types/mapping/RuntimeFields'
24
22
import { integer } from '@_types/Numeric'
25
23
import { QueryContainer } from '@_types/query_dsl/abstractions'
26
24
import { Duration , TimeZone } from '@_types/Time'
25
+ import { QueryParameters } from '@sql/types'
27
26
28
27
/**
29
28
* @rest_spec_name sql.query
@@ -102,7 +101,7 @@ export interface Request extends RequestBase {
102
101
/**
103
102
* Values for parameters in the query.
104
103
*/
105
- params ?: Dictionary < string , UserDefinedValue >
104
+ params ?: QueryParameters
106
105
/**
107
106
* Retention period for an async or saved synchronous search.
108
107
* @server_default 5d
Original file line number Diff line number Diff line change 17
17
* under the License.
18
18
*/
19
19
20
+ import { Dictionary } from '@spec_utils/Dictionary'
20
21
import { UserDefinedValue } from '@spec_utils/UserDefinedValue'
21
22
import { Name } from '@_types/common'
22
23
@@ -26,3 +27,5 @@ export class Column {
26
27
}
27
28
28
29
export type Row = UserDefinedValue [ ]
30
+
31
+ export type QueryParameters = Dictionary < string , UserDefinedValue > | UserDefinedValue [ ]
You can’t perform that action at this time.
0 commit comments