16 lines
252 B
TypeScript
16 lines
252 B
TypeScript
import { Link, Tag } from "@prisma/client";
|
|
|
|
export interface LinkAndTags extends Link {
|
|
tags: Tag[];
|
|
}
|
|
|
|
export interface NewLink {
|
|
name: string;
|
|
url: string;
|
|
tags: string[];
|
|
collection: {
|
|
id: string | number;
|
|
isNew?: boolean;
|
|
};
|
|
}
|