Commit 7e1f8ff
refactor(apps): remove AppManager dependency from deno-runtime Room class
room.ts previously imported `AppManager` from the server layer
(`@rocket.chat/apps-engine/server/AppManager.ts`) solely to type the
private [PrivateManager] symbol field that backs the deprecated
`usernames` getter. This created a cross-boundary import from the
Deno subprocess into the Node.js host.
Replace with a minimal inline `IRoomManager` interface that exposes only
the one method actually called:
getBridges().getInternalBridge().doGetUsernamesOfRoomById()
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent 64502db commit 7e1f8ff
1 file changed
Lines changed: 11 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
5 | 13 | | |
6 | 14 | | |
7 | 15 | | |
| |||
36 | 44 | | |
37 | 45 | | |
38 | 46 | | |
39 | | - | |
| 47 | + | |
40 | 48 | | |
41 | 49 | | |
42 | 50 | | |
| |||
51 | 59 | | |
52 | 60 | | |
53 | 61 | | |
54 | | - | |
| 62 | + | |
55 | 63 | | |
56 | 64 | | |
57 | 65 | | |
| |||
0 commit comments