Skip to content

Commit 2404625

Browse files
abueideclaude
andcommitted
refactor: remove unused BackoffStateData and UploadStateData types
Remnants from the removed BackoffManager and UploadStateMachine classes, never imported anywhere. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent bc0d334 commit 2404625

1 file changed

Lines changed: 0 additions & 14 deletions

File tree

packages/core/src/types.ts

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -370,20 +370,6 @@ export type HttpConfig = {
370370
backoffConfig?: BackoffConfig;
371371
};
372372

373-
export type BackoffStateData = {
374-
state: 'READY' | 'BACKING_OFF';
375-
retryCount: number;
376-
nextRetryTime: number;
377-
firstFailureTime: number;
378-
};
379-
380-
export type UploadStateData = {
381-
state: 'READY' | 'RATE_LIMITED';
382-
waitUntilTime: number;
383-
globalRetryCount: number;
384-
firstFailureTime: number | null;
385-
};
386-
387373
export type ErrorClassification = {
388374
isRetryable: boolean;
389375
errorType: 'rate_limit' | 'transient' | 'permanent';

0 commit comments

Comments
 (0)