Use section headers for shared types

This commit is contained in:
Josh Mock
2024-11-19 12:23:01 -06:00
parent 6151aab208
commit ab21735b57
469 changed files with 2639 additions and 2850 deletions

View File

@ -45,10 +45,10 @@ Run a scrolling search. IMPORTANT: The scroll API is no longer recommend for dee
[source,ts]
----
interface ScrollRequest extends <<shared-type-request-base, RequestBase>> {
scroll_id?: <<shared-type-scroll-id, ScrollId>>
interface ScrollRequest extends <<RequestBase>> {
scroll_id?: <<ScrollId>>
rest_total_hits_as_int?: boolean
scroll?: <<shared-type-duration, Duration>>
scroll?: <<Duration>>
}
----
@ -57,6 +57,6 @@ interface ScrollRequest extends <<shared-type-request-base, RequestBase>> {
[source,ts]
----
type ScrollResponse<TDocument = unknown, TAggregations = Record<<<shared-type-aggregate-name, AggregateName>>, AggregationsAggregate>> = SearchResponseBody<TDocument, TAggregations>
type ScrollResponse<TDocument = unknown, TAggregations = Record<<<AggregateName>>, AggregationsAggregate>> = SearchResponseBody<TDocument, TAggregations>
----