diff --git a/src/lib/batch-state.ts b/src/lib/batch-state.ts index 79c3633..fd460bc 100644 --- a/src/lib/batch-state.ts +++ b/src/lib/batch-state.ts @@ -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;