add runtime profile deletion and refine config forms
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/push/woodpecker Pipeline was successful
This commit is contained in:
@@ -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 }
|
||||
|
||||
Reference in New Issue
Block a user