fix(douyu): unify binding state and scheduler health
This commit is contained in:
@@ -985,12 +985,42 @@ export interface DouyuTaskItem {
|
||||
handbook_scope: "elite" | "esports" | "peace" | "legacy";
|
||||
status: string;
|
||||
message: string;
|
||||
binding: DouyuBindingView;
|
||||
result: Record<string, unknown> | null;
|
||||
created_by: number;
|
||||
created_at: string | null;
|
||||
finished_at: string | null;
|
||||
}
|
||||
|
||||
export interface DouyuBindingView {
|
||||
source_task_id: number | null;
|
||||
source_task_type: string;
|
||||
source_task_status: string;
|
||||
status: 'none' | 'waiting_scan' | 'pending' | 'confirmed' | 'failed';
|
||||
bind_phase: string;
|
||||
pending_role_name: string;
|
||||
pending_area_name: string;
|
||||
pending_plat_name: string;
|
||||
pending_channel: string;
|
||||
confirmed_role_name: string;
|
||||
confirmed_area_name: string;
|
||||
confirmed_plat_name: string;
|
||||
confirmed_channel: string;
|
||||
effective_role_name: string;
|
||||
effective_area_name: string;
|
||||
effective_plat_name: string;
|
||||
effective_channel: string;
|
||||
current_role_name: string;
|
||||
current_area_name: string;
|
||||
current_plat_name: string;
|
||||
current_channel: string;
|
||||
qr_url: string;
|
||||
reported_ready_for_confirm: boolean;
|
||||
bind_confirmed: boolean;
|
||||
bind_ready_for_confirm: boolean;
|
||||
account_bind_status: string;
|
||||
}
|
||||
|
||||
export interface DouyuExchangeResultImage {
|
||||
object_key: string;
|
||||
url: string;
|
||||
|
||||
Reference in New Issue
Block a user