File size: 307 Bytes
652f343
5dfc565
652f343
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
import { VideoTask } from "../types.mts"
import { completedTasksDirFilePath } from "../config.mts"
import { readTasks } from "./readTasks.mts"

export const getCompletedTasks = async (): Promise<VideoTask[]> => {
  const completedTasks = await readTasks(completedTasksDirFilePath)

  return completedTasks
}