Amplify JS API Documentation
    Preparing search index...

    Interface ModelField

    interface ModelField {
        association?: ModelAssociation;
        attributes?: ModelAttributes[];
        isArray: boolean;
        isArrayNullable?: boolean;
        isReadOnly?: boolean;
        isRequired?: boolean;
        name: string;
        type:
            | "ID"
            | "String"
            | "Int"
            | "Float"
            | "Boolean"
            | "AWSDate"
            | "AWSTime"
            | "AWSDateTime"
            | "AWSTimestamp"
            | "AWSEmail"
            | "AWSJSON"
            | "AWSURL"
            | "AWSPhone"
            | "AWSIPAddress"
            | ModelFieldType
            | NonModelFieldType
            | EnumFieldType;
    }
    Index

    Properties

    association?: ModelAssociation
    attributes?: ModelAttributes[]
    isArray: boolean
    isArrayNullable?: boolean
    isReadOnly?: boolean
    isRequired?: boolean
    name: string
    type:
        | "ID"
        | "String"
        | "Int"
        | "Float"
        | "Boolean"
        | "AWSDate"
        | "AWSTime"
        | "AWSDateTime"
        | "AWSTimestamp"
        | "AWSEmail"
        | "AWSJSON"
        | "AWSURL"
        | "AWSPhone"
        | "AWSIPAddress"
        | ModelFieldType
        | NonModelFieldType
        | EnumFieldType