import { computed, ref, type Ref } from 'vue' import type { UploadItem } from './types' export default function useFileUploadJourney( fileListItems: Ref, ) { const selectItems = computed(() => fileListItems.value.map(item => ({ value: item.id, text: item.title, }))) const selectedItem = ref() return ({ selectItems, selectedItem, }) }