Route durable completion to the initiating PresentationMount, guarded against stale navigation and unrelated fan-out. Publish Gutenberg passages directly, preserve unfinished manual drafts, and open completed documents in the main reader pane. Prepare the selected provider and explicitly opened inspector only. Consolidate Studio factory contracts so optional execution placement is determined by implementations. Support typed stateful presentation props and local-module role selection in the React build layer. Update integration, browser, portal, and authoring documentation.
23 lines
534 B
Nix
23 lines
534 B
Nix
{
|
|
pkgs,
|
|
context,
|
|
src,
|
|
members,
|
|
dependencies ? null,
|
|
}:
|
|
let
|
|
config = pkgs.writeText "camino-react-contracts.json" (
|
|
builtins.toJSON {
|
|
source = src;
|
|
interface = context.interface;
|
|
inherit members dependencies;
|
|
reactSdk = context.reactSdk or null;
|
|
node = "${pkgs.nodejs_24}/bin/node";
|
|
tsc = "${context.typescript}/node_modules/typescript/bin/tsc";
|
|
}
|
|
);
|
|
in
|
|
pkgs.runCommand "camino-react-contracts" { } ''
|
|
${pkgs.nodejs_24}/bin/node ${./.}/build-react-contracts.mjs ${config}
|
|
''
|