You've already forked obsidian-visualiser
Project list and starting editing
This commit is contained in:
24
types/api.ts
24
types/api.ts
@@ -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
0
types/cookies.ts
Normal file
Reference in New Issue
Block a user