chore(type_widgets): get relations to render

This commit is contained in:
Elian Doran
2025-09-29 22:31:53 +03:00
parent 082ea7b5c1
commit 7a2d91e7de
5 changed files with 114 additions and 103 deletions

View File

@@ -247,3 +247,16 @@ export interface SchemaResponse {
type: string;
}[];
}
export interface RelationMapRelation {
name: string;
attributeId: string;
sourceNoteId: string;
targetNoteId: string;
}
export interface RelationMapPostResponse {
noteTitles: Record<string, string>;
relations: RelationMapRelation[];
inverseRelations: Record<string, string>;
}