Zuweisen über das Portal, Import neuer Repos, Pushes nachtragen

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
ClaudeandClaude Opus 5.5 committed 2026-09-30 10:41:35 +00:00
1 parent cc59e7978e
commit 56489b8d6d
2 files changed
+21 -15

No files matched your search

+15
View File
@@ -29,6 +29,21 @@ export async function syncGiteaRepos() {
return adminFetch('/api/admin/gitea/sync-repos', { method: 'POST' })
}
export async function importNewRepos() {
return adminFetch('/api/admin/gitea/import-repos', { method: 'POST' })
}
export async function assignWebsiteProject(id, { customerId, ticketId }) {
return adminFetch(`/api/admin/website-projects/${id}/assign`, {
method: 'POST',
body: JSON.stringify({ customerId, ticketId }),
})
}
export async function backfillProjectPushes(id) {
return adminFetch(`/api/admin/website-projects/${id}/pushes`, { method: 'POST' })
}
export async function updateWebsiteProject(id, payload) {
return adminFetch(`/api/admin/website-projects/${id}`, {
method: 'PATCH',