Files
bodyshop-media-server/util/pathGenerators.ts
2022-05-04 18:13:21 -07:00

14 lines
398 B
TypeScript

import path from "path";
import { FolderPaths } from "./serverInit";
export function PathToRoFolder(jobid: string) {
return path.join(FolderPaths.Jobs, jobid);
}
export function PathToRoBillsFolder(jobid: string) {
return path.join(FolderPaths.Jobs, jobid, FolderPaths.BillsSubDir);
}
export function PathToVendorBillsFile(vendor: string) {
return path.join(FolderPaths.Vendors, vendor);
}