/* References Types*/
/**
 * @description This function converts string[] to SuggestItemData[]
 */
export const convertSuggestedApplicationsToSuggestItems = (suggestedApplications) => {
    const suggestData = {
        suggestItems: null,
        suggestLists: []
    };
    if (suggestedApplications.length) {
        const suggestList = {
            label: "Applications",
            items: []
        };
        suggestedApplications.forEach((suggestedApplication) => {
            const suggestItem = {
                value: suggestedApplication,
                description: null,
                icon: null
            };
            suggestList.items.push(suggestItem);
        });
        suggestData.suggestLists.push(suggestList);
    }
    return suggestData;
};
//# sourceMappingURL=helpers.js.map
