Return the landing slots' results to the request pipeline #233

Merged
lilleman merged 7 commits from item-68 into main 2026-11-09 00:59:08 +01:00
Showing only changes of commit 0116e862ba - Show all commits
+2 -2
View File
@@ -20,8 +20,8 @@ export interface RequestCsrf {
// own context — otherwise the plugin's keys render as bare keys on the pages it owns. // own context — otherwise the plugin's keys render as bare keys on the pages it owns.
export type PluginContextFactory = (pluginId: string) => RequestContext; export type PluginContextFactory = (pluginId: string) => RequestContext;
// A landing slot's result when a plugin owns it: rendered against that plugin's views, and // A landing slot's result when a plugin owns it: the host renders it against that plugin's views
// observed by the response hooks, on `ctx`. // on `ctx`, and shows it to the response hooks like a plugin route's result.
export interface PluginOwned { export interface PluginOwned {
ctx: RequestContext; // the owner's own context, from PluginContextFactory ctx: RequestContext; // the owner's own context, from PluginContextFactory
pluginId: string; pluginId: string;