this repo has no description
5
fork

Configure Feed

Select the types of activity you want to include in your feed.

at main 13 lines 559 B view raw
1import { isBaseActionProvider } from "@jet/environment/dispatching"; 2/** 3 * Retrieve an {@linkcode ActionModel} for the given {@linkcode intent} through 4 * any registered `IntentController`s that implement `ActionProvider` 5 */ 6export function actionFor(intent, objectGraph, options = {}) { 7 const resolvedController = objectGraph.dispatcher.controller(intent); 8 if (isBaseActionProvider(resolvedController)) { 9 return resolvedController.actionFor(intent, objectGraph, options); 10 } 11 return null; 12} 13//# sourceMappingURL=action-provider.js.map