@burdenoff/fluidgrids-fe-sdk 2026.616.2 → 2026.624.1

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.
@@ -1,4 +1,4 @@
1
- export { WorkflowBuilder } from './chunk-TYOU6RYA.js';
1
+ export { WorkflowBuilder } from './chunk-55M5C4P4.js';
2
2
  import './chunk-C5VIFUNU.js';
3
3
  import './chunk-7VEOUEIN.js';
4
4
  import './chunk-Z54K22LP.js';
@@ -11,5 +11,5 @@ import './chunk-BQXHJIER.js';
11
11
  import './chunk-5BDQNSP3.js';
12
12
  import './chunk-WWU2O2SR.js';
13
13
  import './chunk-XQP33UJR.js';
14
- //# sourceMappingURL=WorkflowBuilder-BIAKKNKM.js.map
15
- //# sourceMappingURL=WorkflowBuilder-BIAKKNKM.js.map
14
+ //# sourceMappingURL=WorkflowBuilder-EANY4S3K.js.map
15
+ //# sourceMappingURL=WorkflowBuilder-EANY4S3K.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":[],"names":[],"mappings":"","file":"WorkflowBuilder-BIAKKNKM.js"}
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"WorkflowBuilder-EANY4S3K.js"}
@@ -9581,13 +9581,29 @@ function isTriggerNodeType(type) {
9581
9581
  if (!type) return false;
9582
9582
  return type === "trigger" || type === "trigger:api" || type.startsWith("trigger:") || type.startsWith("internal:schedule") || type.startsWith("internal:webhook") || type.startsWith("internal:api") || type.startsWith("internal:form") || type.startsWith("internal:mcp") || type.endsWith("_trigger") || type.endsWith("Trigger") || type.endsWith("-trigger");
9583
9583
  }
9584
+ function readDeclaredOperations(nodeData) {
9585
+ const ops = nodeData?.operations;
9586
+ if (Array.isArray(ops)) return ops;
9587
+ const wrapped = ops?.operations;
9588
+ return Array.isArray(wrapped) ? wrapped : [];
9589
+ }
9584
9590
  function isNodeTrigger(node) {
9585
9591
  if (isTriggerNodeType(node.type)) return true;
9586
- if (node.type === "integration/channel") {
9592
+ const type = node.type ?? "";
9593
+ if (type === "integration/channel" || type.startsWith("store/")) {
9587
9594
  const data = node.data;
9588
- const role = data.role ?? data.args?.state?.role;
9595
+ const explicitRole = data.role ?? data.args?.state?.role;
9596
+ if (explicitRole === "trigger") return true;
9597
+ if (explicitRole === "action") return false;
9589
9598
  const opName = data.operation_name;
9590
- return role === "trigger" || typeof opName === "string" && opName.startsWith("on");
9599
+ if (typeof opName === "string") {
9600
+ const op = readDeclaredOperations(data.nodeData).find(
9601
+ (o) => o.name === opName
9602
+ );
9603
+ if (op?.role === "trigger") return true;
9604
+ if (op?.role === "action") return false;
9605
+ return opName.startsWith("on");
9606
+ }
9591
9607
  }
9592
9608
  return false;
9593
9609
  }
@@ -11405,5 +11421,5 @@ function WorkflowBuilder() {
11405
11421
  }
11406
11422
 
11407
11423
  export { Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, TemplateCard, WorkflowBuilder, useWorkflowTemplates };
11408
- //# sourceMappingURL=chunk-TYOU6RYA.js.map
11409
- //# sourceMappingURL=chunk-TYOU6RYA.js.map
11424
+ //# sourceMappingURL=chunk-55M5C4P4.js.map
11425
+ //# sourceMappingURL=chunk-55M5C4P4.js.map