From dd0a64fd275b33978c6ee0c1bc18b99399db3858 Mon Sep 17 00:00:00 2001 From: Florian Bernd Date: Mon, 7 Apr 2025 13:17:42 +0200 Subject: [PATCH] Introduce `WaitForNodes` alias type --- specification/cluster/health/ClusterHealthRequest.ts | 4 ++-- specification/cluster/health/types.ts | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/specification/cluster/health/ClusterHealthRequest.ts b/specification/cluster/health/ClusterHealthRequest.ts index 6ca1253684..083cf0b746 100644 --- a/specification/cluster/health/ClusterHealthRequest.ts +++ b/specification/cluster/health/ClusterHealthRequest.ts @@ -26,8 +26,8 @@ import { WaitForActiveShards, WaitForEvents } from '@_types/common' -import { integer } from '@_types/Numeric' import { Duration } from '@_types/Time' +import { WaitForNodes } from './types' /** * Get the cluster health status. @@ -99,7 +99,7 @@ export interface Request extends RequestBase { /** * The request waits until the specified number N of nodes is available. It also accepts >=N, <=N, >N and