(next: boolean)
| 1557 | * persist, and still return something useful (a deep link). |
| 1558 | */ |
| 1559 | const applyAppsEnabled = (next: boolean): void => { |
| 1560 | appsEnabled = next; |
| 1561 | if (next) { |
| 1562 | executeActionTool?.enable(); |
| 1563 | executeActionResumeTool?.enable(); |
| 1564 | } else { |
| 1565 | executeActionTool?.disable(); |
| 1566 | executeActionResumeTool?.disable(); |
| 1567 | } |
| 1568 | }; |
| 1569 | |
| 1570 | // Best-effort usage observation; a failing observer never affects the tool. |
| 1571 | const notifyArtifactUsage = (action: "created" | "viewed" | "updated"): Effect.Effect<void> => |
no outgoing calls
no test coverage detected