Add gitea content searching and fix lots of things

This commit is contained in:
2024-01-09 18:06:43 +01:00
parent 08c3a93893
commit f19a6a65da
67 changed files with 139 additions and 16327 deletions

View File

@@ -1,3 +1,13 @@
export interface Canvas {
_id: string;
_type: string;
body: CanvasContent
}
export interface CanvasContent {
nodes: CanvasNode[];
edges: CanvasEdge[];
groups: CanvasGroup[];
}
export interface CanvasNode {
type: 'group' | 'text';
id: string;
@@ -17,4 +27,8 @@ export interface CanvasEdge {
toSide: 'bottom' | 'top' | 'left' | 'right';
color?: string;
label?: string;
};
};
export interface CanvasGroup {
name: string;
nodes: string[];
}