refactor(database): 🚚 Move database ORM code to classes/database

The old directory, packages/database-interface, was confusingly named so it was better to move it here
This commit is contained in:
Jesse Wierzbinski 2024-10-24 16:28:38 +02:00
parent 120ba0fb81
commit e52e230ce3
No known key found for this signature in database
110 changed files with 165 additions and 165 deletions

View file

@ -13,10 +13,10 @@ import type {
} from "@versia/federation/types";
import type { SocketAddress } from "bun";
import { z } from "zod";
import type { Application } from "~/classes/database/application";
import type { User as DatabaseUser } from "~/classes/database/user";
import type { RolePermissions } from "~/drizzle/schema";
import type { Config } from "~/packages/config-manager";
import type { Application } from "~/packages/database-interface/application";
import type { User as DatabaseUser } from "~/packages/database-interface/user";
export type HttpVerb = "GET" | "POST" | "PUT" | "DELETE" | "PATCH" | "OPTIONS";
export interface ApiRouteMetadata {