mirror of
https://github.com/zadam/trilium.git
synced 2025-11-17 18:50:41 +01:00
chore(type_widgets): get relations to render
This commit is contained in:
@@ -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>;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user