From 22e44b4ef5f74f7058c01ade82ce14aaf9214f18 Mon Sep 17 00:00:00 2001 From: HampusM Date: Fri, 23 Jul 2021 14:02:57 +0200 Subject: Cleaned and improved the backend Put the initial Fastify stuff into a dedicated file, organized the types & made several improvements in the git http backend --- packages/server/src/api/v1/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'packages/server/src/api/v1/index.ts') diff --git a/packages/server/src/api/v1/index.ts b/packages/server/src/api/v1/index.ts index 169ba3a..e2e2104 100644 --- a/packages/server/src/api/v1/index.ts +++ b/packages/server/src/api/v1/index.ts @@ -1,6 +1,6 @@ import { FastifyInstance, FastifyPluginOptions } from "fastify"; import { Repository } from "../../git/repository"; -import { Route } from "../../fastify_types"; +import { Route } from "../../types/fastify"; import repo from "./repo"; import { verifyRepoName } from "../util"; import { Info as APIInfo, RepositorySummary as APIRepositorySummary, Repository as APIRepository } from "shared_types"; -- cgit v1.2.3-18-g5258