kin: auto-commit after pipeline

This commit is contained in:
Gros Frumos 2026-03-17 18:23:04 +02:00
parent f6bccdceb3
commit c767c6157a
5 changed files with 61 additions and 13 deletions

View file

@ -189,7 +189,7 @@ export interface ProjectLink {
id: number
from_project: string
to_project: string
link_type: string
type: string
description: string | null
created_at: string
}
@ -411,7 +411,7 @@ export const api = {
get<PipelineLog[]>(`/pipelines/${pipelineId}/logs?since_id=${sinceId}`),
projectLinks: (projectId: string) =>
get<ProjectLink[]>(`/projects/${projectId}/links`),
createProjectLink: (data: { from_project: string; to_project: string; link_type: string; description?: string }) =>
createProjectLink: (data: { from_project: string; to_project: string; type: string; description?: string }) =>
post<ProjectLink>('/project-links', data),
deleteProjectLink: (id: number) =>
del<void>(`/project-links/${id}`),