/**
 * ADP 同步任务的标准结果结构。
 * 兼容 dingtalk SyncExecutionResult 形态，便于复用 executeTask 逻辑。
 */
export interface AdpSyncExecutionResult {
  success: boolean;
  duration: number;
  errors: string[];
  logs?: string;

  // 标准统计
  recordsFetched?: number;
  recordsUpserted?: number;
  recordsDeleted?: number;
  recordsUnmatched?: number; // linker 专用

  // 任意附加结构（写入 AutomationExecution.result Json）
  extras?: Record<string, unknown>;
}
