New Canvas zoom with dbl click and starting to work on tag API

This commit is contained in:
2024-09-03 16:42:57 +02:00
parent c091a6d261
commit 2b293a0c1a
16 changed files with 353 additions and 77 deletions

11
types/api.d.ts vendored
View File

@@ -52,6 +52,13 @@ export interface User {
id: number;
username: string;
}
export interface Tag {
tag: string;
project: number;
description: string;
}
export type ProjectSearch = Project &
{
pages: number;
@@ -69,6 +76,10 @@ export type CommentSearch = Comment &
export type UserSearch = User &
{
}
export type CommentedFile = File &
{
comments: CommentSearch[];
}
export interface Search {
projects: ProjectSearch[];
files: FileSearch[];