fix(plugin): dropdown data prop, always show guide, add config export/import
This commit is contained in:
@@ -73,4 +73,27 @@ export const uploadToDeckyvault = callable<[
|
||||
export const testApiKey = callable<[apiKey: string, baseUrl?: string], {
|
||||
valid: boolean
|
||||
error?: string
|
||||
}>("test_api_key")
|
||||
}>("test_api_key")
|
||||
|
||||
// ── Config Export/Import ────────────────────────────────────────
|
||||
export const exportConfig = callable<[settings: {
|
||||
apiKey: string
|
||||
exportPath: string
|
||||
baseUrl: string
|
||||
hardwareSlug: string | null
|
||||
}], {
|
||||
success: boolean
|
||||
path?: string
|
||||
error?: string
|
||||
}>("export_config")
|
||||
|
||||
export const importConfig = callable<[], {
|
||||
success: boolean
|
||||
settings?: {
|
||||
apiKey: string
|
||||
exportPath: string
|
||||
baseUrl: string
|
||||
hardwareSlug: string | null
|
||||
}
|
||||
error?: string
|
||||
}>("import_config")
|
||||
Reference in New Issue
Block a user