Project list and starting editing

This commit is contained in:
2024-08-06 15:16:48 +02:00
parent a3d0b3b5bd
commit aba56bb034
24 changed files with 1189 additions and 943 deletions

View File

@@ -3,6 +3,7 @@ export interface Project {
name: string;
owner: number;
home: string;
summary: string;
}
export interface Navigation {
title: string;
@@ -32,8 +33,25 @@ export interface User {
id: number;
username: string;
}
export interface ProjectSearch extends Project
{
pages: number;
username: string;
}
export interface FileSearch extends File
{
comments: number;
username: string;
}
export interface CommentSearch extends Comment
{
username: string;
}
export interface UserSearch extends User
{
}
export interface Search {
projects: Project[];
files: File[];
users: User[];
projects: ProjectSearch[];
files: FileSearch[];
users: UserSearch[];
}

0
types/cookies.ts Normal file
View File