(next: boolean)
| 2254 | * persist, and still return something useful (a deep link). |
| 2255 | */ |
| 2256 | const applyAppsEnabled = (next: boolean): void => { |
| 2257 | appsEnabled = next; |
| 2258 | if (next) { |
| 2259 | executeActionTool?.enable(); |
| 2260 | executeActionResumeTool?.enable(); |
| 2261 | } else { |
| 2262 | executeActionTool?.disable(); |
| 2263 | executeActionResumeTool?.disable(); |
| 2264 | } |
| 2265 | }; |
| 2266 | |
| 2267 | // Best-effort usage observation; a failing observer never affects the tool. |
| 2268 | const notifyArtifactUsage = (action: "created" | "viewed" | "updated"): Effect.Effect<void> => |
no outgoing calls
no test coverage detected