mirror of
https://github.com/mgeeky/decode-spam-headers.git
synced 2026-02-23 05:53:31 +01:00
MAESTRO: wire header analyzer controls and captcha
This commit is contained in:
@@ -1,13 +1,12 @@
|
||||
import type { CaptchaChallengeData } from "../types/captcha";
|
||||
|
||||
const DEFAULT_BASE_URL = "http://localhost:8000";
|
||||
|
||||
export interface ApiErrorPayload {
|
||||
error?: string;
|
||||
detail?: string;
|
||||
retryAfter?: number;
|
||||
captchaChallenge?: {
|
||||
challengeToken: string;
|
||||
imageBase64: string;
|
||||
};
|
||||
captchaChallenge?: CaptchaChallengeData;
|
||||
}
|
||||
|
||||
export class ApiError extends Error {
|
||||
|
||||
Reference in New Issue
Block a user