(next: boolean)
| 1580 | * persist, and still return something useful (a deep link). |
| 1581 | */ |
| 1582 | const applyAppsEnabled = (next: boolean): void => { |
| 1583 | appsEnabled = next; |
| 1584 | if (next) { |
| 1585 | executeActionTool?.enable(); |
| 1586 | executeActionResumeTool?.enable(); |
| 1587 | } else { |
| 1588 | executeActionTool?.disable(); |
| 1589 | executeActionResumeTool?.disable(); |
| 1590 | } |
| 1591 | }; |
| 1592 | |
| 1593 | // Best-effort usage observation; a failing observer never affects the tool. |
| 1594 | const notifyArtifactUsage = (action: "created" | "viewed" | "updated"): Effect.Effect<void> => |
no outgoing calls
no test coverage detected