Variable MJContentItemDuplicateSchemaConst
MJContentItemDuplicateSchema: ZodObject<
{
__mj_CreatedAt: ZodDate;
__mj_UpdatedAt: ZodDate;
ContentItemA: ZodNullable<ZodString>;
ContentItemAID: ZodString;
ContentItemB: ZodNullable<ZodString>;
ContentItemBID: ZodString;
DetectionMethod: ZodUnion<
[
ZodLiteral<"Checksum">,
ZodLiteral<"Title">,
ZodLiteral<"URL">,
ZodLiteral<"Vector">,
],
>;
ID: ZodString;
Resolution: ZodNullable<
ZodUnion<
[
ZodLiteral<"KeepA">,
ZodLiteral<"KeepB">,
ZodLiteral<"MergeBoth">,
ZodLiteral<"NotDuplicate">,
],
>,
>;
ResolvedAt: ZodNullable<ZodDate>;
ResolvedByUser: ZodNullable<ZodString>;
ResolvedByUserID: ZodNullable<ZodString>;
SimilarityScore: ZodNumber;
Status: ZodUnion<
[
ZodLiteral<"Confirmed">,
ZodLiteral<"Dismissed">,
ZodLiteral<"Merged">,
ZodLiteral<"Pending">,
],
>;
},
"strip",
ZodTypeAny,
{
__mj_CreatedAt?: Date;
__mj_UpdatedAt?: Date;
ContentItemA?: string;
ContentItemAID?: string;
ContentItemB?: string;
ContentItemBID?: string;
DetectionMethod?: "Vector"
| "URL"
| "Title"
| "Checksum";
ID?: string;
Resolution?: "KeepA" | "KeepB" | "MergeBoth" | "NotDuplicate";
ResolvedAt?: Date;
ResolvedByUser?: string;
ResolvedByUserID?: string;
SimilarityScore?: number;
Status?: "Pending" | "Confirmed" | "Dismissed" | "Merged";
},
{
__mj_CreatedAt?: Date;
__mj_UpdatedAt?: Date;
ContentItemA?: string;
ContentItemAID?: string;
ContentItemB?: string;
ContentItemBID?: string;
DetectionMethod?: "Vector"
| "URL"
| "Title"
| "Checksum";
ID?: string;
Resolution?: "KeepA" | "KeepB" | "MergeBoth" | "NotDuplicate";
ResolvedAt?: Date;
ResolvedByUser?: string;
ResolvedByUserID?: string;
SimilarityScore?: number;
Status?: "Pending" | "Confirmed" | "Dismissed" | "Merged";
},
> = ...
zod schema definition for the entity MJ: Content Item Duplicates