feat: shared type package

This commit is contained in:
Nicolas Meienberger
2025-09-02 21:59:26 +02:00
parent 9ef21d4ec2
commit de0ae08008
12 changed files with 82 additions and 43 deletions

View File

@@ -1,10 +1,11 @@
import * as path from "node:path";
import type { BackendConfig } from "@ironmount/schemas";
import { eq } from "drizzle-orm";
import { ConflictError, InternalServerError, NotFoundError } from "http-errors-enhanced";
import slugify from "slugify";
import { config } from "../../core/config";
import { db } from "../../db/db";
import { type BackendConfig, volumesTable } from "../../db/schema";
import { volumesTable } from "../../db/schema";
import { createVolumeBackend } from "../backends/backend";
const listVolumes = async () => {