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,13 +45,13 @@ Get mapping definitions. Retrieves mapping definitions for one or more indices.
[source,ts]
----
interface IndicesGetMappingRequest extends <<shared-type-request-base, RequestBase>> {
index?: <<shared-type-indices, Indices>>
interface IndicesGetMappingRequest extends <<RequestBase>> {
index?: <<Indices>>
allow_no_indices?: boolean
expand_wildcards?: <<shared-type-expand-wildcards, ExpandWildcards>>
expand_wildcards?: <<ExpandWildcards>>
ignore_unavailable?: boolean
local?: boolean
master_timeout?: <<shared-type-duration, Duration>>
master_timeout?: <<Duration>>
}
----
@ -60,6 +60,6 @@ interface IndicesGetMappingRequest extends <<shared-type-request-base, RequestBa
[source,ts]
----
type IndicesGetMappingResponse = Record<<<shared-type-index-name, IndexName>>, IndicesGetMappingIndexMappingRecord>
type IndicesGetMappingResponse = Record<<<IndexName>>, IndicesGetMappingIndexMappingRecord>
----