More iteration on generated docs
This commit is contained in:
@ -41,14 +41,16 @@ Index a document. Adds a JSON document to the specified data stream or index and
|
||||
----
|
||||
|
||||
[discrete]
|
||||
===== `IndexRequest`
|
||||
==== IndexRequest
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
[pass]
|
||||
++++
|
||||
<pre>
|
||||
++++
|
||||
interface IndexRequest<TDocument = unknown> extends <<RequestBase>> {
|
||||
id?: <<Id>>
|
||||
index: <<IndexName>>
|
||||
if_primary_term?: <<long>>
|
||||
if_primary_term?: number
|
||||
if_seq_no?: <<SequenceNumber>>
|
||||
op_type?: <<OpType>>
|
||||
pipeline?: string
|
||||
@ -61,13 +63,21 @@ interface IndexRequest<TDocument = unknown> extends <<RequestBase>> {
|
||||
require_alias?: boolean
|
||||
document?: TDocument
|
||||
}
|
||||
----
|
||||
|
||||
[pass]
|
||||
++++
|
||||
</pre>
|
||||
++++
|
||||
[discrete]
|
||||
===== `IndexResponse`
|
||||
==== IndexResponse
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
[pass]
|
||||
++++
|
||||
<pre>
|
||||
++++
|
||||
type IndexResponse = <<WriteResponseBase>>
|
||||
----
|
||||
|
||||
[pass]
|
||||
++++
|
||||
</pre>
|
||||
++++
|
||||
|
||||
Reference in New Issue
Block a user