chore: Enforce type import consistency (#10968)

* Update types

* fix circular dep

* type imports

* lint type imports and --fix
This commit is contained in:
Tom Moor
2025-12-19 23:07:02 -05:00
committed by GitHub
parent 419cf2a583
commit bf45e97641
883 changed files with 1998 additions and 1826 deletions
+4 -3
View File
@@ -1,13 +1,14 @@
import { Context, Next } from "koa";
import type { Context, Next } from "koa";
import Router from "koa-router";
import { randomString } from "@shared/random";
import userInviter, { Invite } from "@server/commands/userInviter";
import type { Invite } from "@server/commands/userInviter";
import userInviter from "@server/commands/userInviter";
import env from "@server/env";
import Logger from "@server/logging/Logger";
import auth from "@server/middlewares/authentication";
import validate from "@server/middlewares/validate";
import { presentUser } from "@server/presenters";
import { APIContext } from "@server/types";
import type { APIContext } from "@server/types";
import * as T from "./schema";
const router = new Router();