еуые
Deploy / deploy (push) Successful in 17s

This commit is contained in:
@kirill.komarov
2026-06-15 15:47:19 +05:00
parent 3204f2dab1
commit 876513a75e
+2 -2
View File
@@ -13,5 +13,5 @@ export type OrderStatus = (typeof ORDER_STATUSES)[number]
export declare const ADMIN_ORDER_TRANSITIONS: Record<string, readonly string[] | { readonly delivery: readonly string[]; readonly pickup: readonly string[] }>
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