forked from farhoodlabs/paperclip
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:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user