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

export const getPendingTasks = async (): Promise<VideoTask[]> => {
  const pendingTasks = await readTasks(pendingTasksDirFilePath)

  return pendingTasks
}