refactor(batch): import BatchStatus from pb-types

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
DEls 2026-08-19 19:24:57 +02:00
parent fce0719b62
commit 3f15c6ace7

View file

@ -10,14 +10,9 @@
* These helpers are pure so they can be unit-tested without PocketBase.
*/
export const MAX_ATTEMPTS = 3;
import type { BatchStatus } from "./pb-types";
export type BatchStatus =
| "pending"
| "processing"
| "processed"
| "failed"
| "dead";
export const MAX_ATTEMPTS = 3;
export type NextStateInput = {
status: BatchStatus;