feat(storage): complete phase 3 branding foundation

This commit is contained in:
poyrazavsever
2026-07-16 17:05:59 +03:00
parent b155132acf
commit 5d863280bf
31 changed files with 5302 additions and 57 deletions
+13
View File
@@ -0,0 +1,13 @@
import "server-only";
import { getServerConfig } from "../config";
import { getSqliteConnection } from "../db/client";
import { FileService } from "./service";
export function getFileService(): FileService {
const config = getServerConfig();
return new FileService(getSqliteConnection().db, {
uploadsDir: config.uploadsDir,
tmpDir: config.tmpDir,
});
}