From f58ce989e431de54eb673e561e407a7066ea2b64 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Drobn=C3=ADk?= Date: Tue, 10 Dec 2024 10:41:57 +0100 Subject: [PATCH] feat(request-queue): Add queueHasLockedRequests and clientKey into RequestQueueClientListAndLockHeadResult (#617) Based on latest changes in API, updating type for RequestQueueClientListAndLockHeadResult. * `queueHasLockedRequests` - newly added parameter in response * `clientKey` - this was there in past, just missing in type --- src/resource_clients/request_queue.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/resource_clients/request_queue.ts b/src/resource_clients/request_queue.ts index 7a49e426..a5504307 100644 --- a/src/resource_clients/request_queue.ts +++ b/src/resource_clients/request_queue.ts @@ -534,6 +534,8 @@ export interface RequestQueueClientListAndLockHeadOptions { export interface RequestQueueClientListAndLockHeadResult extends RequestQueueClientListHeadResult { lockSecs: number; + queueHasLockedRequests: boolean; + clientKey: string; } export interface RequestQueueClientListItem {