Add Single file archive method.
This commit is contained in:
@@ -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 &&
|
||||
|
||||
Reference in New Issue
Block a user