Zuweisen über das Portal, Import neuer Repos, Pushes nachtragen
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
cc59e7978e
commit
56489b8d6d
2 files changed
+21
-15
No files matched your search
@@ -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',
|
||||
|
||||
Reference in new issue
Block a user