merge: align dev branch with main

This commit is contained in:
Developer
2026-06-03 08:51:02 +00:00
parent 51a399c775
commit b39d6ce5f4
319 changed files with 30221 additions and 9221 deletions
+26
View File
@@ -0,0 +1,26 @@
import { apiClient } from "./client";
export interface SSHKey {
id: string;
name: string;
public_key: string;
created_at: string;
}
export interface SSHKeyCreate {
name: string;
}
export async function listSSHKeys(): Promise<SSHKey[]> {
const response = await apiClient.get<SSHKey[]>("/ssh-keys");
return response.data;
}
export async function createSSHKey(data: SSHKeyCreate): Promise<SSHKey> {
const response = await apiClient.post<SSHKey>("/ssh-keys", data);
return response.data;
}
export async function deleteSSHKey(keyId: string): Promise<void> {
await apiClient.delete(`/ssh-keys/${keyId}`);
}