1 parent
24075fbd52
commit
caac928923
5 files changed
+131
-9
No files matched your search
@@ -158,6 +158,19 @@ namespace Echoion::Api
|
||||
// on the new Core (state-transfer corruption on hot reload). Only
|
||||
// ever add new virtuals at the very end.
|
||||
virtual Result<void> reloadConfig() = 0;
|
||||
|
||||
// Managed extension reconciliation for the host updater. The
|
||||
// request and response are versioned JSON documents so the plugin
|
||||
// package format can evolve without exposing Core implementation
|
||||
// types here. Append-only ABI: do not move this entry above
|
||||
// existing methods.
|
||||
[[nodiscard]] virtual Result<std::string>
|
||||
managePluginsJson(const std::string& /*requestJson*/)
|
||||
{
|
||||
return fail(
|
||||
ErrorCode::NotSupported,
|
||||
"managed plugin updates are not supported by this Core");
|
||||
}
|
||||
};
|
||||
|
||||
} // namespace Echoion::Api
|
||||
Reference in new issue
Block a user