mirror of
https://github.com/versia-pub/server.git
synced 2026-03-13 05:49:16 +01:00
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:
parent
120ba0fb81
commit
e52e230ce3
110 changed files with 165 additions and 165 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue