@ixo/editor 5.20.0-experimental.2 → 5.20.0-experimental.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -618,6 +618,32 @@ registerAction({
618
618
  }
619
619
  ],
620
620
  pendingDisplayFields: ["flowTemplateConfig.templateCount", "flowTemplateConfig.protocolCount"]
621
+ },
622
+ {
623
+ name: "selected",
624
+ displayName: "Flow Templates Selected",
625
+ description: "Fires with the flow template selection payload consumed by POD signing.",
626
+ payloadSchema: [
627
+ {
628
+ path: "flowTemplateConfig",
629
+ displayName: "Flow Template Config",
630
+ type: "object",
631
+ description: "Selected templates grouped by their protocol DID for later import"
632
+ },
633
+ {
634
+ path: "selectedProtocolTemplates",
635
+ displayName: "Selected Protocol Templates",
636
+ type: "array",
637
+ description: "Selected protocol templates with protocol DID and source room ID"
638
+ },
639
+ {
640
+ path: "selectedFlowDids",
641
+ displayName: "Selected Flow Room IDs",
642
+ type: "array",
643
+ description: "Source Matrix room IDs for selected templates"
644
+ }
645
+ ],
646
+ pendingDisplayFields: ["flowTemplateConfig.templateCount", "flowTemplateConfig.protocolCount"]
621
647
  }
622
648
  ],
623
649
  run: async (inputs) => {
@@ -631,7 +657,17 @@ registerAction({
631
657
  };
632
658
  return {
633
659
  output: { selectedProtocolTemplates, selectedFlowDids, flowTemplateConfig },
634
- events: [{ name: "configured", payload: { flowTemplateConfig } }]
660
+ events: [
661
+ { name: "configured", payload: { flowTemplateConfig } },
662
+ {
663
+ name: "selected",
664
+ payload: {
665
+ flowTemplateConfig,
666
+ selectedProtocolTemplates,
667
+ selectedFlowDids
668
+ }
669
+ }
670
+ ]
635
671
  };
636
672
  }
637
673
  });
@@ -10194,4 +10230,4 @@ export {
10194
10230
  executeQueuedFlowAgentCoreCommands,
10195
10231
  FlowAgentService
10196
10232
  };
10197
- //# sourceMappingURL=chunk-OK3ILV2C.mjs.map
10233
+ //# sourceMappingURL=chunk-6CBTLK7K.mjs.map