webpages can now be a image or pdf

This commit is contained in:
daniel31x13
2023-11-25 03:19:02 -05:00
parent 676c7c3a5d
commit b88fa446be
12 changed files with 156 additions and 15 deletions
+2 -1
View File
@@ -103,12 +103,13 @@ model UsersAndCollections {
model Link {
id Int @id @default(autoincrement())
name String
url String
type String @default("url")
description String @default("")
pinnedBy User[]
collection Collection @relation(fields: [collectionId], references: [id])
collectionId Int
tags Tag[]
url String?
textContent String?
screenshotPath String?
pdfPath String?