Skip to content

Commit f75147a

Browse files
committed
More type definitions, with fixed links (hopefully)
1 parent 3b5784a commit f75147a

File tree

296 files changed

+23864
-474
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

296 files changed

+23864
-474
lines changed

docs/reference-async_search-get.asciidoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ interface AsyncSearchGetRequest extends <<RequestBase>> {
6666
++++
6767
<pre>
6868
++++
69-
type AsyncSearchGetResponse<TDocument = unknown, TAggregations = Record<<<AggregateName>>, <<AggregationsAggregate>>>> = AsyncSearchAsyncSearchDocumentResponseBase<TDocument, TAggregations>
69+
type AsyncSearchGetResponse<TDocument = unknown, TAggregations = Record<<<AggregateName>>, <<AggregationsAggregate>>>> = <<AsyncSearchAsyncSearchDocumentResponseBase>><TDocument, TAggregations>
7070

7171
[pass]
7272
++++

docs/reference-async_search-submit.asciidoc

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -85,35 +85,35 @@ interface AsyncSearchSubmitRequest extends <<RequestBase>> {
8585
aggregations?: Record<string, <<AggregationsAggregationContainer>>>
8686
pass:[/**] @alias aggregations */
8787
aggs?: Record<string, <<AggregationsAggregationContainer>>>
88-
collapse?: SearchFieldCollapse
88+
collapse?: <<SearchFieldCollapse>>
8989
explain?: boolean
9090
ext?: Record<string, any>
9191
from?: <<integer>>
92-
highlight?: SearchHighlight
93-
track_total_hits?: SearchTrackHits
92+
highlight?: <<SearchHighlight>>
93+
track_total_hits?: <<SearchTrackHits>>
9494
indices_boost?: Record<<<IndexName>>, <<double>>>[]
9595
docvalue_fields?: (<<QueryDslFieldAndFormat>> | <<Field>>)[]
9696
knn?: <<KnnSearch>> | <<KnnSearch>>[]
9797
min_score?: <<double>>
9898
post_filter?: <<QueryDslQueryContainer>>
9999
profile?: boolean
100100
query?: <<QueryDslQueryContainer>>
101-
rescore?: SearchRescore | SearchRescore[]
101+
rescore?: <<SearchRescore>> | <<SearchRescore>>[]
102102
script_fields?: Record<string, <<ScriptField>>>
103103
search_after?: <<SortResults>>
104104
size?: <<integer>>
105105
slice?: <<SlicedScroll>>
106106
sort?: <<Sort>>
107-
_source?: SearchSourceConfig
107+
_source?: <<SearchSourceConfig>>
108108
fields?: (<<QueryDslFieldAndFormat>> | <<Field>>)[]
109-
suggest?: SearchSuggester
109+
suggest?: <<SearchSuggester>>
110110
terminate_after?: <<long>>
111111
timeout?: string
112112
track_scores?: boolean
113113
version?: boolean
114114
seq_no_primary_term?: boolean
115115
stored_fields?: <<Fields>>
116-
pit?: SearchPointInTimeReference
116+
pit?: <<SearchPointInTimeReference>>
117117
runtime_mappings?: <<MappingRuntimeFields>>
118118
stats?: string[]
119119
}
@@ -129,7 +129,7 @@ interface AsyncSearchSubmitRequest extends <<RequestBase>> {
129129
++++
130130
<pre>
131131
++++
132-
type AsyncSearchSubmitResponse<TDocument = unknown, TAggregations = Record<<<AggregateName>>, <<AggregationsAggregate>>>> = AsyncSearchAsyncSearchDocumentResponseBase<TDocument, TAggregations>
132+
type AsyncSearchSubmitResponse<TDocument = unknown, TAggregations = Record<<<AggregateName>>, <<AggregationsAggregate>>>> = <<AsyncSearchAsyncSearchDocumentResponseBase>><TDocument, TAggregations>
133133

134134
[pass]
135135
++++

docs/reference-autoscaling-get_autoscaling_policy.asciidoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ interface AutoscalingGetAutoscalingPolicyRequest extends <<RequestBase>> {
6363
++++
6464
<pre>
6565
++++
66-
type AutoscalingGetAutoscalingPolicyResponse = AutoscalingAutoscalingPolicy
66+
type AutoscalingGetAutoscalingPolicyResponse = <<AutoscalingAutoscalingPolicy>>
6767

6868
[pass]
6969
++++

docs/reference-autoscaling-put_autoscaling_policy.asciidoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ Create or update an autoscaling policy. NOTE: This feature is designed for indir
5050
++++
5151
interface AutoscalingPutAutoscalingPolicyRequest extends <<RequestBase>> {
5252
name: <<Name>>
53-
policy?: AutoscalingAutoscalingPolicy
53+
policy?: <<AutoscalingAutoscalingPolicy>>
5454
}
5555

5656
[pass]

docs/reference-bulk.asciidoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,13 +53,13 @@ interface BulkRequest<TDocument = unknown, TPartialDocument = unknown> extends <
5353
pipeline?: string
5454
refresh?: <<Refresh>>
5555
routing?: <<Routing>>
56-
_source?: SearchSourceConfigParam
56+
_source?: <<SearchSourceConfigParam>>
5757
_source_excludes?: <<Fields>>
5858
_source_includes?: <<Fields>>
5959
timeout?: <<Duration>>
6060
wait_for_active_shards?: <<WaitForActiveShards>>
6161
require_alias?: boolean
62-
operations?: (BulkOperationContainer | BulkUpdateAction<TDocument, TPartialDocument> | TDocument)[]
62+
operations?: (<<BulkOperationContainer>> | <<BulkUpdateAction>><TDocument, TPartialDocument> | TDocument)[]
6363
}
6464

6565
[pass]
@@ -75,7 +75,7 @@ interface BulkRequest<TDocument = unknown, TPartialDocument = unknown> extends <
7575
++++
7676
interface BulkResponse {
7777
errors: boolean
78-
items: Partial<Record<BulkOperationType, BulkResponseItem>>[]
78+
items: Partial<Record<<<BulkOperationType>>, <<BulkResponseItem>>>>[]
7979
took: <<long>>
8080
ingest_took?: <<long>>
8181
}

docs/reference-cat-aliases.asciidoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ Get aliases. Retrieves the cluster’s index aliases, including filter and routi
4848
++++
4949
<pre>
5050
++++
51-
interface CatAliasesRequest extends CatCatRequestBase {
51+
interface CatAliasesRequest extends <<CatCatRequestBase>> {
5252
name?: <<Names>>
5353
expand_wildcards?: <<ExpandWildcards>>
5454
}

docs/reference-cat-allocation.asciidoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ Provides a snapshot of the number of shards allocated to each data node and thei
4848
++++
4949
<pre>
5050
++++
51-
interface CatAllocationRequest extends CatCatRequestBase {
51+
interface CatAllocationRequest extends <<CatCatRequestBase>> {
5252
node_id?: <<NodeIds>>
5353
bytes?: <<Bytes>>
5454
}

docs/reference-cat-component_templates.asciidoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ Get component templates. Returns information about component templates in a clus
4848
++++
4949
<pre>
5050
++++
51-
interface CatComponentTemplatesRequest extends CatCatRequestBase {
51+
interface CatComponentTemplatesRequest extends <<CatCatRequestBase>> {
5252
name?: string
5353
}
5454

docs/reference-cat-count.asciidoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ Get a document count. Provides quick access to a document count for a data strea
4848
++++
4949
<pre>
5050
++++
51-
interface CatCountRequest extends CatCatRequestBase {
51+
interface CatCountRequest extends <<CatCatRequestBase>> {
5252
index?: <<Indices>>
5353
}
5454

docs/reference-cat-fielddata.asciidoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ Returns the amount of heap memory currently used by the field data cache on ever
4848
++++
4949
<pre>
5050
++++
51-
interface CatFielddataRequest extends CatCatRequestBase {
51+
interface CatFielddataRequest extends <<CatCatRequestBase>> {
5252
fields?: <<Fields>>
5353
bytes?: <<Bytes>>
5454
}

0 commit comments

Comments
 (0)