Amplify JS API Documentation
    Preparing search index...

    Interface RelationType

    interface RelationType {
        associatedWith?: string | string[];
        fieldName: string;
        modelName: string;
        relationType: "HAS_ONE" | "HAS_MANY" | "BELONGS_TO";
        targetName?: string;
        targetNames?: string[];
    }
    Index

    Properties

    associatedWith?: string | string[]
    fieldName: string
    modelName: string
    relationType: "HAS_ONE" | "HAS_MANY" | "BELONGS_TO"
    targetName?: string
    targetNames?: string[]