Variable MJGraphEdgeSchemaConst
MJGraphEdgeSchema: ZodObject<
{
__mj_CreatedAt: ZodDate;
__mj_UpdatedAt: ZodDate;
Attributes: ZodNullable<ZodString>;
Confidence: ZodNullable<ZodNumber>;
Description: ZodNullable<ZodString>;
EdgeType: ZodString;
EdgeTypeID: ZodString;
Graph: ZodString;
GraphID: ZodString;
ID: ZodString;
Origin: ZodUnion<[ZodLiteral<"Declared">, ZodLiteral<"Inferred">]>;
SourceEntity: ZodString;
SourceEntityID: ZodString;
SourceRecordID: ZodString;
Status: ZodUnion<
[
ZodLiteral<"Approved">,
ZodLiteral<"Proposed">,
ZodLiteral<"Rejected">,
],
>;
TargetEntity: ZodString;
TargetEntityID: ZodString;
TargetRecordID: ZodString;
Weight: ZodNumber;
},
"strip",
ZodTypeAny,
{
__mj_CreatedAt?: Date;
__mj_UpdatedAt?: Date;
Attributes?: string;
Confidence?: number;
Description?: string;
EdgeType?: string;
EdgeTypeID?: string;
Graph?: string;
GraphID?: string;
ID?: string;
Origin?: "Declared"
| "Inferred";
SourceEntity?: string;
SourceEntityID?: string;
SourceRecordID?: string;
Status?: "Approved" | "Rejected" | "Proposed";
TargetEntity?: string;
TargetEntityID?: string;
TargetRecordID?: string;
Weight?: number;
},
{
__mj_CreatedAt?: Date;
__mj_UpdatedAt?: Date;
Attributes?: string;
Confidence?: number;
Description?: string;
EdgeType?: string;
EdgeTypeID?: string;
Graph?: string;
GraphID?: string;
ID?: string;
Origin?: "Declared"
| "Inferred";
SourceEntity?: string;
SourceEntityID?: string;
SourceRecordID?: string;
Status?: "Approved" | "Rejected" | "Proposed";
TargetEntity?: string;
TargetEntityID?: string;
TargetRecordID?: string;
Weight?: number;
},
> = ...
zod schema definition for the entity MJ: Graph Edges