refactor(batch): import BatchStatus from pb-types
Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
parent
fce0719b62
commit
3f15c6ace7
1 changed files with 2 additions and 7 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue