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