Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
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 | |
} |