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,12 +45,12 @@ Create or update a script or search template. Creates or updates a stored script
[source,ts]
----
interface PutScriptRequest extends <<shared-type-request-base, RequestBase>> {
id: <<shared-type-id, Id>>
context?: <<shared-type-name, Name>>
master_timeout?: <<shared-type-duration, Duration>>
timeout?: <<shared-type-duration, Duration>>
script: <<shared-type-stored-script, StoredScript>>
interface PutScriptRequest extends <<RequestBase>> {
id: <<Id>>
context?: <<Name>>
master_timeout?: <<Duration>>
timeout?: <<Duration>>
script: <<StoredScript>>
}
----
@ -59,6 +59,6 @@ interface PutScriptRequest extends <<shared-type-request-base, RequestBase>> {
[source,ts]
----
type PutScriptResponse = <<shared-type-acknowledged-response-base, AcknowledgedResponseBase>>
type PutScriptResponse = <<AcknowledgedResponseBase>>
----