function inferDataType(designType) {
    switch (designType) {
        case String:
            return DataType_1.DataType.STRING;
        case Number:
            return DataType_1.DataType.INTEGER;
        case Boolean:
            return DataType_1.DataType.BOOLEAN;
        case Date:
            return DataType_1.DataType.DATE;
        case Buffer:
            return DataType_1.DataType.BLOB;
        default:
            return void 0;
    }
}
/**
 * Infers sequelize data type by design type
 */
Infers sequelize data type by design type
Infers sequelize data type by design type
function inferDataType(designType) {
    switch (designType) {
        case String:
            return DataType_1.DataType.STRING;
        case Number:
            return DataType_1.DataType.INTEGER;
        case Boolean:
            return DataType_1.DataType.BOOLEAN;
        case Date:
            return DataType_1.DataType.DATE;
        case Buffer:
            return DataType_1.DataType.BLOB;
        default:
            return void 0;
    }
}
function inferDataType ( designType ) { switch ( designType ) { case String : return DataType_1 . DataType . STRING ; case Number : return DataType_1 . DataType . INTEGER ; case Boolean : return DataType_1 . DataType . BOOLEAN ; case Date : return DataType_1 . DataType . DATE ; case Buffer : return DataType_1 . DataType . BLOB ; default : return void 0 ; } }
Infers sequelize data type by design type
Infers sequelize data type by design type