import { fieldTypes } from '../../../jdl/jhipster/index.mjs';
const { CommonDBTypes, RelationalOnlyDBTypes } = fieldTypes;
const { BYTES, BYTE_BUFFER } = RelationalOnlyDBTypes;
const { BOOLEAN, BIG_DECIMAL, DOUBLE, DURATION, FLOAT, INSTANT, INTEGER, LOCAL_DATE, LONG, STRING, UUID, ZONED_DATE_TIME, IMAGE_BLOB, ANY_BLOB, TEXT_BLOB, BLOB, } = CommonDBTypes;
export function fieldIsEnum(fieldType) {
    return ![
        STRING,
        INTEGER,
        LONG,
        FLOAT,
        DOUBLE,
        BIG_DECIMAL,
        LOCAL_DATE,
        INSTANT,
        ZONED_DATE_TIME,
        DURATION,
        UUID,
        BOOLEAN,
        BYTES,
        BYTE_BUFFER,
        ANY_BLOB,
        BLOB,
        IMAGE_BLOB,
        TEXT_BLOB,
    ].includes(fieldType);
}
