UNPKG

@botonic/plugin-flow-builder

Version:

Botonic plugin for **Hubtype Flow Builder**: run and bridge flow-driven logic from bots on the **current** line.

14 lines 483 B
import { getFlowBuilderPlugin } from '../utils'; export function getFlowBuilderActionContext(botonicContext, contentID) { const flowBuilderPlugin = getFlowBuilderPlugin(botonicContext.plugins); const cmsApi = flowBuilderPlugin.cmsApi; const resolvedLocale = flowBuilderPlugin.cmsApi.getResolvedLocale(); return { cmsApi, flowBuilderPlugin, botonicContext, resolvedLocale, contentID, }; } //# sourceMappingURL=context.js.map