test: define schema contract for topic fact graph

This commit is contained in:
2026-05-11 10:42:50 +09:00
parent cadc1b0733
commit fb140d7a50
5 changed files with 188 additions and 0 deletions

7
src/types/database.ts Normal file
View File

@@ -0,0 +1,7 @@
import type { FactRecord, FactTopicRecord, TopicRecord } from './domain';
export interface IdentityDatabaseSchema {
topics: TopicRecord;
facts: FactRecord;
fact_topics: FactTopicRecord;
}