feat: add SSH config aliases and PostgreSQL extensions
This commit is contained in:
1 parent
8b035d0989
commit
f800d80f90
35 files changed
+1191
-33
No files matched your search
@@ -292,3 +292,22 @@ pub async fn list_owners(
|
||||
) -> Result<Vec<db::OwnerInfo>, String> {
|
||||
dbx_core::schema::list_owners_core(&state, &connection_id, &database, &schema).await
|
||||
}
|
||||
|
||||
#[tauri::command]
|
||||
pub async fn list_extensions(
|
||||
state: State<'_, Arc<AppState>>,
|
||||
connection_id: String,
|
||||
database: String,
|
||||
schema: String,
|
||||
) -> Result<Vec<db::ExtensionInfo>, String> {
|
||||
dbx_core::schema::list_extensions_core(&state, &connection_id, &database, &schema).await
|
||||
}
|
||||
|
||||
#[tauri::command]
|
||||
pub async fn list_available_extensions(
|
||||
state: State<'_, Arc<AppState>>,
|
||||
connection_id: String,
|
||||
database: String,
|
||||
) -> Result<Vec<db::ExtensionInfo>, String> {
|
||||
dbx_core::schema::list_available_extensions_core(&state, &connection_id, &database).await
|
||||
}
|
||||
Reference in new issue
Block a user