@resistdesign/voltra
    Preparing search index...

    Type Alias RelationEdgesDdbItem<TMetadata>

    RelationEdgesDdbItem: RelationEdgesDdbKey & {
        kind: typeof relationshipEdge;
        metadata?: TMetadata;
        otherId: string;
    }

    DynamoDB item shape for relation edges.

    Type Parameters

    • TMetadata extends EdgeMetadata = EdgeMetadata

    Type Declaration

    • kind: typeof relationshipEdge

      Logical item kind in the shared physical table.

    • Optionalmetadata?: TMetadata

      Optional metadata stored with the edge.

    • otherId: string

      Opposite entity id for consumer-facing edge reconstruction.