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