Save local changes (GSC/Bing integrations) before merging PR #354

This commit is contained in:
ajaysi
2026-02-13 13:11:27 +05:30
parent 43e66835ac
commit 08a1f4a1d8
144 changed files with 8310 additions and 2748 deletions

View File

@@ -233,7 +233,7 @@ export interface BlogPublishResponse {
post_id?: string;
}
export interface TaskStatusResponse {
export interface TaskStatusResponse<T = BlogResearchResponse> {
task_id: string;
status: 'pending' | 'running' | 'completed' | 'failed';
created_at: string;
@@ -241,7 +241,7 @@ export interface TaskStatusResponse {
timestamp: string;
message: string;
}>;
result?: BlogResearchResponse;
result?: T;
error?: string;
// Subscription error details (set by backend when subscription limit is exceeded)
error_status?: number; // HTTP status code (429 for usage limit, 402 for subscription expired)