connect tailscale node status through platform gateway
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/push/woodpecker Pipeline was successful
This commit is contained in:
@@ -129,19 +129,6 @@ export type LauncherAppLink = {
|
||||
release?: AppRelease | null;
|
||||
};
|
||||
|
||||
export type LauncherCommonSetting = {
|
||||
id: string;
|
||||
key: string;
|
||||
name: string;
|
||||
type: string;
|
||||
value: string;
|
||||
description?: string | null;
|
||||
isActive: boolean;
|
||||
isSecret: boolean;
|
||||
createdAt: string;
|
||||
updatedAt?: string;
|
||||
};
|
||||
|
||||
export type LauncherUnlinkedApp = AppWithComponents & {
|
||||
releases?: AppRelease[];
|
||||
};
|
||||
@@ -380,48 +367,6 @@ export function deleteLauncherAppLink(id: string) {
|
||||
return apiRequest<{ deleted: boolean }>(`/launcher/app-links/${id}`, { method: 'DELETE' });
|
||||
}
|
||||
|
||||
export function listLauncherCommonSettings() {
|
||||
return apiRequest<LauncherCommonSetting[]>('/launcher/common-settings');
|
||||
}
|
||||
|
||||
export function createLauncherCommonSetting(input: {
|
||||
key: string;
|
||||
name: string;
|
||||
type: string;
|
||||
value: string;
|
||||
description?: string;
|
||||
isActive?: boolean;
|
||||
isSecret?: boolean;
|
||||
}) {
|
||||
return apiRequest<{ setting: LauncherCommonSetting }>('/launcher/common-settings', {
|
||||
method: 'POST',
|
||||
body: JSON.stringify(input)
|
||||
});
|
||||
}
|
||||
|
||||
export function updateLauncherCommonSetting(
|
||||
id: string,
|
||||
input: Partial<{
|
||||
key: string;
|
||||
name: string;
|
||||
type: string;
|
||||
value: string;
|
||||
description: string;
|
||||
isActive: boolean;
|
||||
isSecret: boolean;
|
||||
}>
|
||||
) {
|
||||
return apiRequest<{ setting: LauncherCommonSetting }>(`/launcher/common-settings/${id}`, {
|
||||
method: 'PATCH',
|
||||
body: JSON.stringify(input)
|
||||
});
|
||||
}
|
||||
|
||||
export function deleteLauncherCommonSetting(id: string) {
|
||||
return apiRequest<{ deleted: boolean }>(`/launcher/common-settings/${id}`, { method: 'DELETE' });
|
||||
}
|
||||
|
||||
|
||||
export type RuntimeWorkloadEnvVariable = {
|
||||
key: string;
|
||||
value: string;
|
||||
|
||||
Reference in New Issue
Block a user