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
+11
View File
@@ -28,6 +28,17 @@ export function readabilityAvailable(
);
}
export function singlefileAvailable(
link: LinkIncludingShortenedCollectionAndTags
) {
return (
link &&
link.singlefile &&
link.singlefile !== "pending" &&
link.singlefile !== "unavailable"
);
}
export function previewAvailable(link: any) {
return (
link &&