Skip to content

Commit 3919a18

Browse files
authored
fix scroll (#389)
1 parent b5f0908 commit 3919a18

File tree

4 files changed

+6
-7
lines changed

4 files changed

+6
-7
lines changed

output/schema/schema.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32415,7 +32415,7 @@
3241532415
"properties": [
3241632416
{
3241732417
"name": "index",
32418-
"required": true,
32418+
"required": false,
3241932419
"type": {
3242032420
"kind": "instance_of",
3242132421
"type": {
@@ -32426,7 +32426,7 @@
3242632426
},
3242732427
{
3242832428
"name": "node",
32429-
"required": true,
32429+
"required": false,
3243032430
"type": {
3243132431
"kind": "instance_of",
3243232432
"type": {

output/typescript/types.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2172,8 +2172,8 @@ export type SequenceNumber = integer
21722172
export type ShapeRelation = 'intersects' | 'disjoint' | 'within'
21732173

21742174
export interface ShardFailure {
2175-
index: IndexName
2176-
node: string
2175+
index?: IndexName
2176+
node?: string
21772177
reason: ErrorCause
21782178
shard: integer
21792179
status?: string

specification/_global/scroll/ScrollResponse.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,5 @@
1818
*/
1919

2020
import { Response as SearchResponse } from '@global/search/SearchResponse'
21-
import { integer } from '@_types/Numeric'
2221

2322
export class Response<TDocument> extends SearchResponse<TDocument> {}

specification/_types/Errors.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,8 @@ export class MainError extends ErrorCause {
7070
}
7171

7272
export class ShardFailure {
73-
index: IndexName
74-
node: string
73+
index?: IndexName
74+
node?: string
7575
reason: ErrorCause
7676
shard: integer
7777
status?: string

0 commit comments

Comments
 (0)