(next: boolean)
| 1696 | * persist, and still return something useful (a deep link). |
| 1697 | */ |
| 1698 | const applyAppsEnabled = (next: boolean): void => { |
| 1699 | appsEnabled = next; |
| 1700 | if (next) { |
| 1701 | executeActionTool?.enable(); |
| 1702 | executeActionResumeTool?.enable(); |
| 1703 | } else { |
| 1704 | executeActionTool?.disable(); |
| 1705 | executeActionResumeTool?.disable(); |
| 1706 | } |
| 1707 | }; |
| 1708 | |
| 1709 | // Best-effort usage observation; a failing observer never affects the tool. |
| 1710 | const notifyArtifactUsage = (action: "created" | "viewed" | "updated"): Effect.Effect<void> => |
no outgoing calls
no test coverage detected