mirror of
https://github.com/alkimake/paperclip.git
synced 2026-06-15 02:20:38 +09:00
feat(adapters): add overriddenBuiltin flag to API and Adapter Manager UI
When an external plugin overrides a built-in adapter type, the GET /api/adapters response now includes overriddenBuiltin: true. The Adapter Manager shows an 'Overrides built-in' badge on such adapters.
This commit is contained in:
parent
2a2fa31a03
commit
fb3aabb743
3 changed files with 10 additions and 0 deletions
|
|
@ -17,6 +17,8 @@ export interface AdapterInfo {
|
|||
packageName?: string;
|
||||
/** Whether the adapter was installed from a local path (vs npm). */
|
||||
isLocalPath?: boolean;
|
||||
/** True when an external plugin has replaced a built-in adapter of the same type. */
|
||||
overriddenBuiltin?: boolean;
|
||||
}
|
||||
|
||||
export interface AdapterInstallResult {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue