mirror of
https://github.com/langgenius/dify.git
synced 2026-09-24 23:22:26 +08:00
fix(plugin): preserve credentials during local replacement (#39764)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
This commit is contained in:
co-authored by
autofix-ci[bot]
parent
81fd1da3ff
commit
72c20daa61
@@ -475,6 +475,7 @@ export type PluginTaskResponse = {
|
||||
|
||||
export type ParserUninstall = {
|
||||
plugin_installation_id: string
|
||||
preserve_credentials?: boolean
|
||||
}
|
||||
|
||||
export type ParserGithubUpgrade = {
|
||||
|
||||
@@ -314,6 +314,7 @@ export const zPluginReadmeResponse = z.object({
|
||||
*/
|
||||
export const zParserUninstall = z.object({
|
||||
plugin_installation_id: z.string(),
|
||||
preserve_credentials: z.boolean().optional().default(false),
|
||||
})
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user