import { db } from '../utils/db' // import { Queue } from '../entities/queue' // TODO: queue services const fetchQueueByProfileId = async profileId => { const queue = await db.get(`/profile/{profileId}/queue?include_profile=true`) const profilelist = [] // const myMatchQueue = new Queue(profilelist) // return myMatchQueue } const saveQueueByProfileId = async (targetId, profileId) => { // const updateQueue = db.patch(`/profile/{profileId}/queue/{targetId}/delete?include_profile=true&reinsert=true`) // return updateQueue } export { fetchQueueByProfileId, saveQueue }