Add Single file archive method.

This commit is contained in:
András Rutkai
2024-03-15 19:41:41 +01:00
parent 5990d4ce2d
commit 5fe6a5b19a
32 changed files with 211 additions and 31 deletions
+3
View File
@@ -45,6 +45,7 @@ model User {
linksRouteTo LinksRouteTo @default(ORIGINAL)
preventDuplicateLinks Boolean @default(false)
archiveAsScreenshot Boolean @default(true)
archiveAsSinglefile Boolean @default(true)
archiveAsPDF Boolean @default(true)
archiveAsWaybackMachine Boolean @default(false)
isPrivate Boolean @default(false)
@@ -56,6 +57,7 @@ enum LinksRouteTo {
ORIGINAL
PDF
READABLE
SINGLEFILE
SCREENSHOT
}
@@ -127,6 +129,7 @@ model Link {
image String?
pdf String?
readable String?
singlefile String?
lastPreserved DateTime?
createdAt DateTime @default(now())
updatedAt DateTime @default(now()) @updatedAt