finalized dashboard

This commit is contained in:
Daniel
2023-06-13 22:49:37 +03:30
parent 41446f5bd4
commit 99cfbdf44b
10 changed files with 78 additions and 100 deletions
+4 -1
View File
@@ -9,6 +9,9 @@ export interface LinkIncludingCollectionAndTags
createdAt?: string;
collectionId?: number;
tags: Tag[];
pinnedBy?: {
id: number;
}[];
collection: OptionalExcluding<Collection, "name" | "ownerId">;
}
@@ -37,5 +40,5 @@ export interface AccountSettings extends User {
export interface PublicCollectionIncludingLinks
extends Omit<Collection, "ownerId"> {
ownerName?: string;
links: Omit<Link, "screenshotPath" | "pdfPath">[];
links: Link[];
}