Skip to content

Supercharge your AI agents with data from the web and beyond. Building the library for superintelligence. 🔥

fix(api): drop unused export on FirebillCheckResult to unblock knip

mogery840ea499f54a
diff --git a/apps/api/src/services/autumn/firebill.ts b/apps/api/src/services/autumn/firebill.ts
index 864894500..0f00d6481 100644
--- a/apps/api/src/services/autumn/firebill.ts
+++ b/apps/api/src/services/autumn/firebill.ts
@@ -162,7 +162,8 @@ export async function firebillTrack(params: TrackParams): Promise<boolean> {
}
type AttemptResult =
- { ok: true } | { ok: false; reason: "not_ok" | "not_success" | "exception" };
+ | { ok: true }
+ | { ok: false; reason: "not_ok" | "not_success" | "exception" };
async function firebillAttempt(
path: string,
@@ -264,7 +265,7 @@ async function firebillAttempt(
* Three outcomes, and callers must tell them apart: `answered` carries a real
* yes/no, `unavailable` means firebill could not answer at all.
*/
-export type FirebillCheckResult =
+type FirebillCheckResult =
| { status: "answered"; allowed: boolean; remaining: number }
| { status: "unavailable" };