Refactor Gitea integration: remove giteaProjectId references and update related schemas. Add new fields for gitea repository details in application tests and components.

This commit is contained in:
Mauricio Siu
2025-03-29 14:44:33 -06:00
parent fe967239b4
commit 55328468d1
12 changed files with 5391 additions and 83 deletions

View File

@@ -422,7 +422,6 @@ export const applicationRouter = createTRPCRouter({
sourceType: "gitea",
applicationStatus: "idle",
giteaId: input.giteaId,
giteaProjectId: input.giteaProjectId,
watchPaths: input.watchPaths,
});

View File

@@ -143,7 +143,6 @@ export const giteaRouter = createTRPCRouter({
giteaId,
owner,
repo: repositoryName,
id: 0,
});
} catch (error) {
console.error("Error fetching Gitea branches:", error);