More type definitions, with fixed links (hopefully)

This commit is contained in:
Josh Mock
2024-11-20 13:47:14 -06:00
parent 7a997b3405
commit 70a3ef44bb
296 changed files with 23864 additions and 474 deletions

View File

@ -76,39 +76,39 @@ interface FleetSearchRequest extends <<RequestBase>> {
_source_excludes?: <<Fields>>
_source_includes?: <<Fields>>
q?: string
wait_for_checkpoints?: FleetCheckpoint[]
wait_for_checkpoints?: <<FleetCheckpoint>>[]
allow_partial_search_results?: boolean
aggregations?: Record<string, <<AggregationsAggregationContainer>>>
pass:[/**] @alias aggregations */
aggs?: Record<string, <<AggregationsAggregationContainer>>>
collapse?: SearchFieldCollapse
collapse?: <<SearchFieldCollapse>>
explain?: boolean
ext?: Record<string, any>
from?: <<integer>>
highlight?: SearchHighlight
track_total_hits?: SearchTrackHits
highlight?: <<SearchHighlight>>
track_total_hits?: <<SearchTrackHits>>
indices_boost?: Record<<<IndexName>>, <<double>>>[]
docvalue_fields?: (<<QueryDslFieldAndFormat>> | <<Field>>)[]
min_score?: <<double>>
post_filter?: <<QueryDslQueryContainer>>
profile?: boolean
query?: <<QueryDslQueryContainer>>
rescore?: SearchRescore | SearchRescore[]
rescore?: <<SearchRescore>> | <<SearchRescore>>[]
script_fields?: Record<string, <<ScriptField>>>
search_after?: <<SortResults>>
size?: <<integer>>
slice?: <<SlicedScroll>>
sort?: <<Sort>>
_source?: SearchSourceConfig
_source?: <<SearchSourceConfig>>
fields?: (<<QueryDslFieldAndFormat>> | <<Field>>)[]
suggest?: SearchSuggester
suggest?: <<SearchSuggester>>
terminate_after?: <<long>>
timeout?: string
track_scores?: boolean
version?: boolean
seq_no_primary_term?: boolean
stored_fields?: <<Fields>>
pit?: SearchPointInTimeReference
pit?: <<SearchPointInTimeReference>>
runtime_mappings?: <<MappingRuntimeFields>>
stats?: string[]
}
@ -128,16 +128,16 @@ interface FleetSearchResponse<TDocument = unknown> {
took: <<long>>
timed_out: boolean
_shards: <<ShardStatistics>>
hits: SearchHitsMetadata<TDocument>
hits: <<SearchHitsMetadata>><TDocument>
aggregations?: Record<<<AggregateName>>, <<AggregationsAggregate>>>
_clusters?: <<ClusterStatistics>>
fields?: Record<string, any>
max_score?: <<double>>
num_reduce_phases?: <<long>>
profile?: SearchProfile
profile?: <<SearchProfile>>
pit_id?: <<Id>>
_scroll_id?: <<ScrollId>>
suggest?: Record<<<SuggestionName>>, SearchSuggest<TDocument>[]>
suggest?: Record<<<SuggestionName>>, <<SearchSuggest>><TDocument>[]>
terminated_early?: boolean
}