Interface ToOneRelationshipMetadata<T>

To-one relationship metadatas

interface ToOneRelationshipMetadata<T extends FirestormModel> {
    kind: "to-one";
    location: RelationshipLocation;
    targetType: Type<T>;
}

Type Parameters

Hierarchy (View Summary)

Properties

kind: "to-one"

The kind of relationship

targetType: Type<T>

Target type of the relationship