add runtime profile deletion and refine config forms
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
2026-07-09 14:53:39 +09:00
parent f36e15f1ed
commit 009f698a9f
2 changed files with 72 additions and 3 deletions
+6
View File
@@ -18,6 +18,12 @@ export function createRuntimeProfile(input: { appId: string; name: string; envir
});
}
export function deleteRuntimeProfile(profileId: string) {
return apiRequest<{ deleted: boolean; profileId: string; name: string }>(`/apps/runtime-profiles/${profileId}`, {
method: 'DELETE'
});
}
export function createRuntimeVariable(
profileId: string,
input: { componentId: string; key: string; value: string; isSecret: boolean }