export const mapTypesToComboboxItemModel = (types) => {
    if (!types || !Array.isArray(types)) {
        return [];
    }
    const typesComboBoxItemModel = [];
    types.forEach(type => {
        const typeObject = {
            value: type.type,
            caption: type.type
        };
        typesComboBoxItemModel.push(typeObject);
    });
    return typesComboBoxItemModel;
};
//# sourceMappingURL=helpers.js.map
