mirror of
https://github.com/versia-pub/server.git
synced 2026-03-13 05:49:16 +01:00
refactor: 🚚 Rename functions, move getUrl to Attachment
This commit is contained in:
parent
11c3931007
commit
d09f74e58a
60 changed files with 93 additions and 96 deletions
|
|
@ -1,6 +1,6 @@
|
|||
import { describe, expect, it } from "bun:test";
|
||||
import { checkIfOauthIsValid } from "@/oauth";
|
||||
import type { Application } from "~/database/entities/application";
|
||||
import type { Application } from "~/classes/functions/application";
|
||||
|
||||
describe("checkIfOauthIsValid", () => {
|
||||
it("should return true when routeScopes and application.scopes are empty", () => {
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@ import { randomString } from "@/math";
|
|||
import { solveChallenge } from "altcha-lib";
|
||||
import { asc, inArray, like } from "drizzle-orm";
|
||||
import { appFactory } from "~/app";
|
||||
import type { Status } from "~/database/entities/status";
|
||||
import type { Status } from "~/classes/functions/status";
|
||||
import { db } from "~/drizzle/db";
|
||||
import { setupDatabase } from "~/drizzle/db";
|
||||
import { Notes, Tokens, Users } from "~/drizzle/schema";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue