(next: boolean)
| 1730 | * persist, and still return something useful (a deep link). |
| 1731 | */ |
| 1732 | const applyAppsEnabled = (next: boolean): void => { |
| 1733 | appsEnabled = next; |
| 1734 | if (next) { |
| 1735 | executeActionTool?.enable(); |
| 1736 | executeActionResumeTool?.enable(); |
| 1737 | } else { |
| 1738 | executeActionTool?.disable(); |
| 1739 | executeActionResumeTool?.disable(); |
| 1740 | } |
| 1741 | }; |
| 1742 | |
| 1743 | // Best-effort usage observation; a failing observer never affects the tool. |
| 1744 | const notifyArtifactUsage = (action: "created" | "viewed" | "updated"): Effect.Effect<void> => |
no outgoing calls
no test coverage detected