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

@@ -413,7 +413,6 @@ export const getGiteaRepositories = async (giteaId?: string) => {
};
export const getGiteaBranches = async (input: {
id?: number;
giteaId?: string;
owner: string;
repo: string;
@@ -448,5 +447,11 @@ export const getGiteaBranches = async (input: {
commit: {
id: branch.commit.id,
},
}));
})) as {
id: string;
name: string;
commit: {
id: string;
};
}[];
};