refactor(server): update imports

This commit is contained in:
Mauricio Siu
2024-09-29 11:55:29 -06:00
parent 9b7aacc934
commit e4b998c608
35 changed files with 170 additions and 184 deletions

View File

@@ -1,8 +1,4 @@
import {
adminProcedure,
createTRPCRouter,
protectedProcedure,
} from "@/server/api/trpc";
import { createTRPCRouter, protectedProcedure } from "@/server/api/trpc";
import { db } from "@/server/db";
import {
apiCreateSshKey,
@@ -11,14 +7,14 @@ import {
apiRemoveSshKey,
apiUpdateSshKey,
} from "@/server/db/schema";
import { generateSSHKey } from "@/server/utils/filesystem/ssh";
import { TRPCError } from "@trpc/server";
import {
generateSSHKey,
createSshKey,
findSSHKeyById,
removeSSHKeyById,
updateSSHKeyById,
} from "../services/ssh-key";
} from "@dokploy/builders";
export const sshRouter = createTRPCRouter({
create: protectedProcedure