Many improvements.
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
import { Link, Tag } from "@prisma/client";
|
||||
|
||||
export interface LinkAndTags extends Link {
|
||||
tags: Tag[];
|
||||
}
|
||||
|
||||
export interface NewLink {
|
||||
name: string;
|
||||
url: string;
|
||||
tags: string[];
|
||||
collectionId: {
|
||||
id: string | number;
|
||||
isNew?: boolean;
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user