修复发布校准验证问题
This commit is contained in:
@@ -11,9 +11,11 @@ interface ManualAdapterFetchInput extends AdapterFetchInput {
|
||||
manualInput: unknown;
|
||||
}
|
||||
|
||||
export function createManualPerformanceAdapter(): PerformanceAdapter & {
|
||||
interface ManualPerformanceAdapter extends Omit<PerformanceAdapter, "fetch"> {
|
||||
fetch(input: ManualAdapterFetchInput): Promise<PerformanceSnapshot>;
|
||||
} {
|
||||
}
|
||||
|
||||
export function createManualPerformanceAdapter(): ManualPerformanceAdapter {
|
||||
return {
|
||||
source: "manual",
|
||||
async fetch(input) {
|
||||
|
||||
@@ -49,9 +49,14 @@ describe("sqlite repositories", () => {
|
||||
expect(tables).toEqual([
|
||||
"article_jobs",
|
||||
"brand_templates",
|
||||
"calibration_events",
|
||||
"fact_cards",
|
||||
"optimized_articles",
|
||||
"performance_snapshots",
|
||||
"publication_records",
|
||||
"qa_reports",
|
||||
"rubric_versions",
|
||||
"scoring_runs",
|
||||
]);
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user