From 876513a75e3269f1aa03bdf18ba648f448172a65 Mon Sep 17 00:00:00 2001 From: "@kirill.komarov" Date: Mon, 15 Jun 2026 15:47:19 +0500 Subject: [PATCH] =?UTF-8?q?=D0=B5=D1=83=D1=8B=D0=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- shared/constants/order-status.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/shared/constants/order-status.d.ts b/shared/constants/order-status.d.ts index ad0a04f..5d2852e 100755 --- a/shared/constants/order-status.d.ts +++ b/shared/constants/order-status.d.ts @@ -13,5 +13,5 @@ export type OrderStatus = (typeof ORDER_STATUSES)[number] export declare const ADMIN_ORDER_TRANSITIONS: Record -export declare function getNextAdminStatuses(from: string, deliveryType: string): string[] -export declare function canTransitionAdminOrderStatus(order: { status: string; deliveryType: string }, next: string): boolean +export declare function getNextAdminStatuses(from: string, deliveryType: 'delivery' | 'pickup'): string[] +export declare function canTransitionAdminOrderStatus(order: { status: string; deliveryType: 'delivery' | 'pickup' }, next: string): boolean