(next: boolean)
| 1606 | * persist, and still return something useful (a deep link). |
| 1607 | */ |
| 1608 | const applyAppsEnabled = (next: boolean): void => { |
| 1609 | appsEnabled = next; |
| 1610 | if (next) { |
| 1611 | executeActionTool?.enable(); |
| 1612 | executeActionResumeTool?.enable(); |
| 1613 | } else { |
| 1614 | executeActionTool?.disable(); |
| 1615 | executeActionResumeTool?.disable(); |
| 1616 | } |
| 1617 | }; |
| 1618 | |
| 1619 | // Best-effort usage observation; a failing observer never affects the tool. |
| 1620 | const notifyArtifactUsage = (action: "created" | "viewed" | "updated"): Effect.Effect<void> => |
no outgoing calls
no test coverage detected