Make phash a link to duplicates (#2154)

This commit is contained in:
kermieisinthehouse
2021-12-21 23:51:49 +00:00
committed by GitHub
parent 523edfb575
commit deb5a2958d
4 changed files with 24 additions and 3 deletions

View File

@@ -1,5 +1,5 @@
import { CriterionModifier } from "src/core/generated-graphql";
import { CriterionOption } from "./criterion";
import { CriterionOption, StringCriterion } from "./criterion";
export const PhashCriterionOption = new CriterionOption({
messageID: "media_info.phash",
@@ -13,3 +13,9 @@ export const PhashCriterionOption = new CriterionOption({
CriterionModifier.NotNull,
],
});
export class PhashCriterion extends StringCriterion {
constructor() {
super(PhashCriterionOption);
}
}