feat: created the Link component

This commit is contained in:
Daniel
2023-03-10 22:55:33 +03:30
parent 0d5579b56d
commit 48bdf29161
10 changed files with 144 additions and 33 deletions
+3 -2
View File
@@ -1,7 +1,8 @@
import { Link, Tag } from "@prisma/client";
import { Collection, Link, Tag } from "@prisma/client";
export interface LinkAndTags extends Link {
export interface ExtendedLink extends Link {
tags: Tag[];
collection: Collection;
}
export interface NewLink {