mirror of
https://github.com/versia-pub/server.git
synced 2026-03-13 05:49:16 +01:00
Slight refactoring, begin work on major moderation overhaul
This commit is contained in:
parent
e05dca9fc1
commit
2bc9ff51ea
45 changed files with 639 additions and 109 deletions
|
|
@ -1,6 +1,6 @@
|
|||
/* eslint-disable @typescript-eslint/no-unsafe-member-access */
|
||||
/* eslint-disable @typescript-eslint/no-explicit-any */
|
||||
import { getConfig } from "@config";
|
||||
import { getConfig } from "~classes/configmanager";
|
||||
import type { Token } from "@prisma/client";
|
||||
import { afterAll, beforeAll, describe, expect, test } from "bun:test";
|
||||
import { client } from "~database/datasource";
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
/* eslint-disable @typescript-eslint/no-unsafe-member-access */
|
||||
/* eslint-disable @typescript-eslint/no-explicit-any */
|
||||
import { getConfig } from "@config";
|
||||
import { getConfig } from "~classes/configmanager";
|
||||
import type { Token } from "@prisma/client";
|
||||
import { afterAll, beforeAll, describe, expect, test } from "bun:test";
|
||||
import { client } from "~database/datasource";
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
/* eslint-disable @typescript-eslint/no-unsafe-member-access */
|
||||
/* eslint-disable @typescript-eslint/no-explicit-any */
|
||||
import { getConfig } from "@config";
|
||||
import { getConfig } from "~classes/configmanager";
|
||||
import type { Token } from "@prisma/client";
|
||||
import { afterAll, beforeAll, describe, expect, test } from "bun:test";
|
||||
import { client } from "~database/datasource";
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
import { type ConfigType, getConfig } from "@config";
|
||||
import { type ConfigType, getConfig } from "~classes/configmanager";
|
||||
import { afterAll, beforeAll, describe, expect, it } from "bun:test";
|
||||
import { LocalBackend, S3Backend } from "~classes/media";
|
||||
import { unlink } from "fs/promises";
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
import { getConfig } from "@config";
|
||||
import { getConfig } from "~classes/configmanager";
|
||||
import type { Application, Token } from "@prisma/client";
|
||||
import { afterAll, beforeAll, describe, expect, test } from "bun:test";
|
||||
import { client } from "~database/datasource";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue