@helyx/bot 1.5.1 → 1.5.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (121) hide show
  1. package/CHANGELOG.md +25 -0
  2. package/command-root-catalogue.json +452 -0
  3. package/dist/cached-message-deletion-authority.d.ts +27 -0
  4. package/dist/cached-message-deletion-authority.js +288 -0
  5. package/dist/channel-audit-configuration.d.ts +11 -1
  6. package/dist/channel-audit-configuration.js +28 -6
  7. package/dist/channel-audit-control.js +42 -2
  8. package/dist/channel-audit-permissions.js +76 -3
  9. package/dist/cloud-command-policy-sync.d.ts +26 -0
  10. package/dist/cloud-command-policy-sync.js +198 -0
  11. package/dist/cloud-connector.d.ts +6 -1
  12. package/dist/cloud-connector.js +224 -53
  13. package/dist/cloud-control-dispatcher.js +18 -0
  14. package/dist/command-policy-runtime.d.ts +23 -0
  15. package/dist/command-policy-runtime.js +53 -0
  16. package/dist/command-root-catalogue.d.ts +5 -0
  17. package/dist/command-root-catalogue.js +16 -0
  18. package/dist/control-error-mapping.d.ts +8 -0
  19. package/dist/control-error-mapping.js +60 -0
  20. package/dist/control-errors.d.ts +3 -1
  21. package/dist/control-errors.js +4 -1
  22. package/dist/control-health-routes.d.ts +10 -0
  23. package/dist/control-health-routes.js +28 -0
  24. package/dist/control-server-schemas.d.ts +7 -0
  25. package/dist/control-server-schemas.js +9 -0
  26. package/dist/control-server.d.ts +27 -6
  27. package/dist/control-server.js +103 -122
  28. package/dist/creator-invite-key.d.ts +6 -0
  29. package/dist/creator-invite-key.js +16 -0
  30. package/dist/creator-invite-service.d.ts +3 -1
  31. package/dist/creator-invite-service.js +8 -7
  32. package/dist/creator-onboarding-platform.d.ts +1 -0
  33. package/dist/creator-onboarding-platform.js +5 -2
  34. package/dist/dashboard-feature-control.d.ts +2 -1
  35. package/dist/dashboard-feature-control.js +1 -0
  36. package/dist/dashboard-logging.d.ts +20 -0
  37. package/dist/dashboard-logging.js +39 -0
  38. package/dist/dashboard-module-projection.d.ts +1 -1
  39. package/dist/dashboard-module-projection.js +5 -2
  40. package/dist/dashboard-preview-import-routes.js +8 -0
  41. package/dist/database-bootstrap.d.ts +1 -1
  42. package/dist/database-bootstrap.js +4 -3
  43. package/dist/discord-channel-audit.js +1 -0
  44. package/dist/discord-user-identities.d.ts +14 -0
  45. package/dist/discord-user-identities.js +64 -0
  46. package/dist/emergency-deletion-dispatcher.d.ts +68 -0
  47. package/dist/emergency-deletion-dispatcher.js +502 -0
  48. package/dist/emergency-deletion-rest-transport.d.ts +24 -0
  49. package/dist/emergency-deletion-rest-transport.js +253 -0
  50. package/dist/events.d.ts +5 -0
  51. package/dist/events.js +53 -10
  52. package/dist/guarded-discord-dispatcher.d.ts +29 -0
  53. package/dist/guarded-discord-dispatcher.js +204 -0
  54. package/dist/guild-command-discord-client.d.ts +2 -0
  55. package/dist/guild-command-discord-client.js +7 -0
  56. package/dist/guild-command-projection.d.ts +4 -1
  57. package/dist/guild-command-projection.js +25 -0
  58. package/dist/guild-command-read-service.d.ts +10 -1
  59. package/dist/guild-command-read-service.js +37 -0
  60. package/dist/guild-command-worker.d.ts +19 -4
  61. package/dist/guild-command-worker.js +356 -26
  62. package/dist/guild-message-protection-author-roles.d.ts +7 -0
  63. package/dist/guild-message-protection-author-roles.js +93 -0
  64. package/dist/guild-message-protection-deletion.d.ts +21 -0
  65. package/dist/guild-message-protection-deletion.js +138 -0
  66. package/dist/guild-message-protection-delivery.d.ts +41 -0
  67. package/dist/guild-message-protection-delivery.js +223 -0
  68. package/dist/guild-message-update-metadata.d.ts +32 -0
  69. package/dist/guild-message-update-metadata.js +255 -0
  70. package/dist/guilds.d.ts +2 -1
  71. package/dist/guilds.js +11 -1
  72. package/dist/hosted-server-moderation.d.ts +2 -2
  73. package/dist/index.js +68 -4
  74. package/dist/interactions.d.ts +3 -1
  75. package/dist/interactions.js +77 -12
  76. package/dist/invite-rollup-maintenance.d.ts +9 -0
  77. package/dist/invite-rollup-maintenance.js +12 -0
  78. package/dist/managed-resource-authorization.d.ts +15 -0
  79. package/dist/managed-resource-authorization.js +37 -0
  80. package/dist/managed-resource-create-defaults.d.ts +21 -0
  81. package/dist/managed-resource-create-defaults.js +83 -0
  82. package/dist/managed-resource-query.d.ts +6 -0
  83. package/dist/managed-resource-query.js +15 -0
  84. package/dist/member-role-ids.d.ts +17 -0
  85. package/dist/member-role-ids.js +66 -0
  86. package/dist/message-protection-admission.d.ts +60 -0
  87. package/dist/message-protection-admission.js +279 -0
  88. package/dist/message-protection-cold-data.d.ts +42 -0
  89. package/dist/message-protection-cold-data.js +180 -0
  90. package/dist/message-protection-coordinator.d.ts +73 -0
  91. package/dist/message-protection-coordinator.js +622 -0
  92. package/dist/message-protection-settings.d.ts +40 -0
  93. package/dist/message-protection-settings.js +275 -0
  94. package/dist/message-protection-summary.d.ts +8 -0
  95. package/dist/message-protection-summary.js +98 -0
  96. package/dist/module-availability-control.js +20 -12
  97. package/dist/module-logging.d.ts +3 -2
  98. package/dist/module-logging.js +6 -1
  99. package/dist/modules.js +56 -1
  100. package/dist/mysql-runtime-persistence.d.ts +1 -0
  101. package/dist/mysql-runtime-persistence.js +4 -1
  102. package/dist/nexus-command-recovery-control-routes.d.ts +5 -0
  103. package/dist/nexus-command-recovery-control-routes.js +48 -0
  104. package/dist/nexus-command-references.d.ts +6 -0
  105. package/dist/nexus-command-references.js +33 -0
  106. package/dist/scheduled-task-runner.js +23 -4
  107. package/dist/shard-command-startup.d.ts +13 -0
  108. package/dist/shard-command-startup.js +27 -0
  109. package/dist/shard-contracts.d.ts +84 -0
  110. package/dist/shard-contracts.js +33 -0
  111. package/dist/shard-core-readiness.d.ts +5 -0
  112. package/dist/shard-core-readiness.js +19 -0
  113. package/dist/shard-router.d.ts +3 -0
  114. package/dist/shard-router.js +10 -1
  115. package/dist/shard-supervisor.d.ts +1 -1
  116. package/dist/shard-supervisor.js +131 -43
  117. package/dist/shard-worker.d.ts +1 -0
  118. package/dist/shard-worker.js +37 -15
  119. package/documentation/README.md +1 -0
  120. package/documentation/guides/self-hosting.md +54 -0
  121. package/package.json +18 -17
package/CHANGELOG.md CHANGED
@@ -1,5 +1,30 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.5.3
4
+
5
+ ### Patch Changes
6
+
7
+ - Publish the coordinated shared contracts, scheduler admission repair, command-root renaming and restricted-word policy support, database repositories and migrations, and module runtime corrections. Align compatible internal dependency bands so public consumers install the updated shared contracts. Preserve private Testing and Alpha release states.
8
+ - Updated dependencies
9
+ - @helyx/sdk@0.17.0
10
+ - @helyx/module-manifest@0.14.0
11
+ - @helyx/control-protocol@0.9.0
12
+ - @helyx/database-contracts@0.3.0
13
+ - @helyx/config@1.6.0
14
+ - @helyx/database@2.5.0
15
+ - @helyx/verification-contracts@0.5.0
16
+ - @helyx/module-automod@1.1.2
17
+ - @helyx/module-moderation@1.1.2
18
+
19
+ ## 1.5.2
20
+
21
+ ### Patch Changes
22
+
23
+ - Supply hosted shard workers with the purpose-derived Creator invite key instead
24
+ of requiring the application-wide data encryption key in those workers. Preserve
25
+ existing v1 invite ciphertext and fingerprints, and keep startup fail-closed
26
+ when the required scoped key is absent or invalid.
27
+
3
28
  ## 1.5.1
4
29
 
5
30
  ### Patch Changes
@@ -0,0 +1,452 @@
1
+ {
2
+ "schemaVersion": 1,
3
+ "revision": 2,
4
+ "roots": [
5
+ { "name": "access", "type": 1, "ownerModuleId": "helyx.account-gate" },
6
+ { "name": "access", "type": 1, "ownerModuleId": "helyx.verification" },
7
+ {
8
+ "name": "activate",
9
+ "type": 1,
10
+ "ownerModuleId": "helyx.premium-activation"
11
+ },
12
+ { "name": "afk", "type": 1, "ownerModuleId": "helyx.afk" },
13
+ { "name": "dev", "type": 1, "ownerModuleId": "helyx.developer-operations" },
14
+ { "name": "diag", "type": 1, "ownerModuleId": "helyx.diagnostics" },
15
+ { "name": "faq", "type": 1, "ownerModuleId": "helyx.faq" },
16
+ { "name": "forms", "type": 1, "ownerModuleId": "helyx.forms" },
17
+ { "name": "games", "type": 1, "ownerModuleId": "helyx.counting" },
18
+ { "name": "games", "type": 1, "ownerModuleId": "helyx.trivia" },
19
+ { "name": "giveaway", "type": 1, "ownerModuleId": "helyx.giveaways" },
20
+ { "name": "helyx", "type": 1, "ownerModuleId": "helyx.cloud-connect" },
21
+ { "name": "helyx", "type": 1, "ownerModuleId": "helyx.management" },
22
+ { "name": "helyx", "type": 1, "ownerModuleId": "helyx.oauth" },
23
+ { "name": "helyx", "type": 1, "ownerModuleId": "helyx.permissions" },
24
+ { "name": "helyx", "type": 1, "ownerModuleId": "helyx.privacy" },
25
+ { "name": "helyx", "type": 1, "ownerModuleId": "helyx.support" },
26
+ { "name": "mod", "type": 1, "ownerModuleId": "helyx.moderation" },
27
+ { "name": "nexus", "type": 1, "ownerModuleId": "helyx.nexus-core" },
28
+ { "name": "poll", "type": 1, "ownerModuleId": "helyx.polls" },
29
+ { "name": "profile", "type": 1, "ownerModuleId": "helyx.achievements" },
30
+ { "name": "profile", "type": 1, "ownerModuleId": "helyx.levels" },
31
+ { "name": "submit", "type": 1, "ownerModuleId": "helyx.feedback" },
32
+ { "name": "submit", "type": 1, "ownerModuleId": "helyx.suggestions" },
33
+ { "name": "tag", "type": 1, "ownerModuleId": "helyx.tags" }
34
+ ],
35
+ "provenance": {
36
+ "builtins": [
37
+ {
38
+ "commands": [
39
+ "helyx.cloud.connect",
40
+ "helyx.cloud.disconnect",
41
+ "helyx.cloud.rotate",
42
+ "helyx.cloud.status",
43
+ "helyx.cloud.support"
44
+ ],
45
+ "moduleId": "helyx.cloud-connect",
46
+ "releaseStatus": "live",
47
+ "sourcePath": "apps/bot/src/cloud-management-module.ts",
48
+ "version": "0.1.0"
49
+ },
50
+ {
51
+ "commands": ["dev"],
52
+ "moduleId": "helyx.developer-operations",
53
+ "releaseStatus": "live",
54
+ "sourcePath": "apps/bot/src/developer-operations-module.ts",
55
+ "version": "0.3.0"
56
+ },
57
+ {
58
+ "commands": ["diag"],
59
+ "moduleId": "helyx.diagnostics",
60
+ "releaseStatus": "live",
61
+ "sourcePath": "apps/bot/src/diagnostic-command.ts",
62
+ "version": "0.1.0"
63
+ },
64
+ {
65
+ "commands": ["helyx.modules"],
66
+ "moduleId": "helyx.management",
67
+ "releaseStatus": "live",
68
+ "sourcePath": "apps/bot/src/management-module.ts",
69
+ "version": "0.1.0"
70
+ },
71
+ {
72
+ "commands": ["helyx.connections"],
73
+ "moduleId": "helyx.oauth",
74
+ "releaseStatus": "live",
75
+ "sourcePath": "apps/bot/src/oauth-module.ts",
76
+ "version": "0.1.0"
77
+ },
78
+ {
79
+ "commands": ["helyx.permissions"],
80
+ "moduleId": "helyx.permissions",
81
+ "releaseStatus": "live",
82
+ "sourcePath": "apps/bot/src/permissions-module.ts",
83
+ "version": "0.1.0"
84
+ },
85
+ {
86
+ "commands": ["activate"],
87
+ "moduleId": "helyx.premium-activation",
88
+ "releaseStatus": "live",
89
+ "sourcePath": "apps/bot/src/premium-activation-module.ts",
90
+ "version": "0.1.0"
91
+ },
92
+ {
93
+ "commands": ["helyx.privacy"],
94
+ "moduleId": "helyx.privacy",
95
+ "releaseStatus": "live",
96
+ "sourcePath": "apps/bot/src/privacy-module.ts",
97
+ "version": "0.1.0"
98
+ },
99
+ {
100
+ "commands": ["helyx.bug"],
101
+ "moduleId": "helyx.support",
102
+ "releaseStatus": "live",
103
+ "sourcePath": "apps/bot/src/support-module.ts",
104
+ "version": "0.1.0"
105
+ }
106
+ ],
107
+ "modules": [
108
+ {
109
+ "commands": [
110
+ "access.control.reset",
111
+ "access.control.start",
112
+ "access.control.status",
113
+ "access.control.strict"
114
+ ],
115
+ "manifestPath": "modules/account-gate/manifest.json",
116
+ "moduleId": "helyx.account-gate",
117
+ "packageName": "@helyx/module-account-gate",
118
+ "releaseStatus": "live",
119
+ "version": "2.1.2"
120
+ },
121
+ {
122
+ "commands": [
123
+ "profile.achievements.available",
124
+ "profile.achievements.view"
125
+ ],
126
+ "manifestPath": "modules/achievements/manifest.json",
127
+ "moduleId": "helyx.achievements",
128
+ "packageName": "@helyx/module-achievements",
129
+ "releaseStatus": "live",
130
+ "version": "2.1.3"
131
+ },
132
+ {
133
+ "commands": ["afk"],
134
+ "manifestPath": "modules/afk/manifest.json",
135
+ "moduleId": "helyx.afk",
136
+ "packageName": "@helyx/module-afk",
137
+ "releaseStatus": "live",
138
+ "version": "2.1.2"
139
+ },
140
+ {
141
+ "commands": [],
142
+ "manifestPath": "modules/analytics/manifest.json",
143
+ "moduleId": "helyx.analytics",
144
+ "packageName": "@helyx/module-analytics",
145
+ "releaseStatus": "live",
146
+ "version": "1.1.2"
147
+ },
148
+ {
149
+ "commands": [],
150
+ "manifestPath": "modules/automod/manifest.json",
151
+ "moduleId": "helyx.automod",
152
+ "packageName": "@helyx/module-automod",
153
+ "releaseStatus": "live",
154
+ "version": "1.1.2"
155
+ },
156
+ {
157
+ "commands": ["games.counting"],
158
+ "manifestPath": "modules/counting/manifest.json",
159
+ "moduleId": "helyx.counting",
160
+ "packageName": "@helyx/module-counting",
161
+ "releaseStatus": "live",
162
+ "version": "1.1.2"
163
+ },
164
+ {
165
+ "commands": [],
166
+ "manifestPath": "modules/creator-connections/manifest.json",
167
+ "moduleId": "helyx.creator-connections",
168
+ "packageName": "@helyx/module-creator-connections",
169
+ "releaseStatus": "live",
170
+ "version": "1.1.1"
171
+ },
172
+ {
173
+ "commands": ["faq"],
174
+ "manifestPath": "modules/faq/manifest.json",
175
+ "moduleId": "helyx.faq",
176
+ "packageName": "@helyx/module-faq",
177
+ "releaseStatus": "live",
178
+ "version": "1.1.2"
179
+ },
180
+ {
181
+ "commands": ["submit.feedback"],
182
+ "manifestPath": "modules/feedback/manifest.json",
183
+ "moduleId": "helyx.feedback",
184
+ "packageName": "@helyx/module-feedback",
185
+ "releaseStatus": "live",
186
+ "version": "1.3.2"
187
+ },
188
+ {
189
+ "commands": ["forms"],
190
+ "manifestPath": "modules/forms/manifest.json",
191
+ "moduleId": "helyx.forms",
192
+ "packageName": "@helyx/module-forms",
193
+ "releaseStatus": "live",
194
+ "version": "2.1.2"
195
+ },
196
+ {
197
+ "commands": ["giveaway"],
198
+ "manifestPath": "modules/giveaways/manifest.json",
199
+ "moduleId": "helyx.giveaways",
200
+ "packageName": "@helyx/module-giveaways",
201
+ "releaseStatus": "live",
202
+ "version": "2.1.2"
203
+ },
204
+ {
205
+ "commands": [],
206
+ "manifestPath": "modules/health/manifest.json",
207
+ "moduleId": "helyx.health",
208
+ "packageName": "@helyx/module-health",
209
+ "releaseStatus": "live",
210
+ "version": "1.1.2"
211
+ },
212
+ {
213
+ "commands": ["profile.levels.leaderboard", "profile.levels.rank"],
214
+ "manifestPath": "modules/levels/manifest.json",
215
+ "moduleId": "helyx.levels",
216
+ "packageName": "@helyx/module-levels",
217
+ "releaseStatus": "live",
218
+ "version": "1.2.2"
219
+ },
220
+ {
221
+ "commands": [],
222
+ "manifestPath": "modules/logging/manifest.json",
223
+ "moduleId": "helyx.logging",
224
+ "packageName": "@helyx/module-logging",
225
+ "releaseStatus": "live",
226
+ "version": "1.2.2"
227
+ },
228
+ {
229
+ "commands": ["mod"],
230
+ "manifestPath": "modules/moderation/manifest.json",
231
+ "moduleId": "helyx.moderation",
232
+ "packageName": "@helyx/module-moderation",
233
+ "releaseStatus": "live",
234
+ "version": "1.1.2"
235
+ },
236
+ {
237
+ "commands": ["nexus"],
238
+ "manifestPath": "modules/nexus-core/manifest.json",
239
+ "moduleId": "helyx.nexus-core",
240
+ "packageName": "@helyx/module-nexus-core",
241
+ "releaseStatus": "live",
242
+ "version": "2.2.0"
243
+ },
244
+ {
245
+ "commands": [
246
+ "nexus.exchange",
247
+ "nexus.inventory",
248
+ "nexus.redeem",
249
+ "nexus.requests"
250
+ ],
251
+ "manifestPath": "modules/nexus-economy/manifest.json",
252
+ "moduleId": "helyx.nexus-economy",
253
+ "packageName": "@helyx/module-nexus-economy",
254
+ "releaseStatus": "live",
255
+ "version": "1.2.0"
256
+ },
257
+ {
258
+ "commands": ["nexus.daily", "nexus.leaderboard"],
259
+ "manifestPath": "modules/nexus-rewards/manifest.json",
260
+ "moduleId": "helyx.nexus-rewards",
261
+ "packageName": "@helyx/module-nexus-rewards",
262
+ "releaseStatus": "live",
263
+ "version": "1.1.2"
264
+ },
265
+ {
266
+ "commands": ["poll"],
267
+ "manifestPath": "modules/polls/manifest.json",
268
+ "moduleId": "helyx.polls",
269
+ "packageName": "@helyx/module-polls",
270
+ "releaseStatus": "live",
271
+ "version": "1.2.2"
272
+ },
273
+ {
274
+ "commands": [],
275
+ "manifestPath": "modules/reactionroles/manifest.json",
276
+ "moduleId": "helyx.reactionroles",
277
+ "packageName": "@helyx/module-reactionroles",
278
+ "releaseStatus": "live",
279
+ "version": "1.1.2"
280
+ },
281
+ {
282
+ "commands": [],
283
+ "manifestPath": "modules/starboard/manifest.json",
284
+ "moduleId": "helyx.starboard",
285
+ "packageName": "@helyx/module-starboard",
286
+ "releaseStatus": "live",
287
+ "version": "1.1.2"
288
+ },
289
+ {
290
+ "commands": ["submit.suggestion"],
291
+ "manifestPath": "modules/suggestions/manifest.json",
292
+ "moduleId": "helyx.suggestions",
293
+ "packageName": "@helyx/module-suggestions",
294
+ "releaseStatus": "live",
295
+ "version": "1.3.2"
296
+ },
297
+ {
298
+ "commands": ["tag"],
299
+ "manifestPath": "modules/tags/manifest.json",
300
+ "moduleId": "helyx.tags",
301
+ "packageName": "@helyx/module-tags",
302
+ "releaseStatus": "live",
303
+ "version": "1.1.2"
304
+ },
305
+ {
306
+ "commands": ["games.trivia"],
307
+ "manifestPath": "modules/trivia/manifest.json",
308
+ "moduleId": "helyx.trivia",
309
+ "packageName": "@helyx/module-trivia",
310
+ "releaseStatus": "live",
311
+ "version": "1.2.2"
312
+ },
313
+ {
314
+ "commands": [
315
+ "access.verification.approve",
316
+ "access.verification.check",
317
+ "access.verification.deny",
318
+ "access.verification.resend",
319
+ "access.verification.reset",
320
+ "access.verification.retry",
321
+ "access.verification.start",
322
+ "access.verification.status"
323
+ ],
324
+ "manifestPath": "modules/verification/manifest.json",
325
+ "moduleId": "helyx.verification",
326
+ "packageName": "@helyx/module-verification",
327
+ "releaseStatus": "live",
328
+ "version": "1.2.0"
329
+ },
330
+ {
331
+ "commands": [],
332
+ "manifestPath": "modules/welcome/manifest.json",
333
+ "moduleId": "helyx.welcome",
334
+ "packageName": "@helyx/module-welcome",
335
+ "releaseStatus": "live",
336
+ "version": "1.3.2"
337
+ }
338
+ ],
339
+ "sharedFamilies": [
340
+ {
341
+ "name": "access",
342
+ "paths": [
343
+ { "ownerModuleId": "helyx.account-gate", "path": "control.reset" },
344
+ { "ownerModuleId": "helyx.account-gate", "path": "control.start" },
345
+ { "ownerModuleId": "helyx.account-gate", "path": "control.status" },
346
+ { "ownerModuleId": "helyx.account-gate", "path": "control.strict" },
347
+ {
348
+ "ownerModuleId": "helyx.verification",
349
+ "path": "verification.approve"
350
+ },
351
+ {
352
+ "ownerModuleId": "helyx.verification",
353
+ "path": "verification.check"
354
+ },
355
+ {
356
+ "ownerModuleId": "helyx.verification",
357
+ "path": "verification.deny"
358
+ },
359
+ {
360
+ "ownerModuleId": "helyx.verification",
361
+ "path": "verification.resend"
362
+ },
363
+ {
364
+ "ownerModuleId": "helyx.verification",
365
+ "path": "verification.reset"
366
+ },
367
+ {
368
+ "ownerModuleId": "helyx.verification",
369
+ "path": "verification.retry"
370
+ },
371
+ {
372
+ "ownerModuleId": "helyx.verification",
373
+ "path": "verification.start"
374
+ },
375
+ {
376
+ "ownerModuleId": "helyx.verification",
377
+ "path": "verification.status"
378
+ }
379
+ ]
380
+ },
381
+ {
382
+ "name": "games",
383
+ "paths": [
384
+ { "ownerModuleId": "helyx.counting", "path": "counting" },
385
+ { "ownerModuleId": "helyx.trivia", "path": "trivia" }
386
+ ]
387
+ },
388
+ {
389
+ "name": "helyx",
390
+ "paths": [
391
+ { "ownerModuleId": "helyx.support", "path": "bug" },
392
+ { "ownerModuleId": "helyx.cloud-connect", "path": "cloud.connect" },
393
+ {
394
+ "ownerModuleId": "helyx.cloud-connect",
395
+ "path": "cloud.disconnect"
396
+ },
397
+ { "ownerModuleId": "helyx.cloud-connect", "path": "cloud.rotate" },
398
+ { "ownerModuleId": "helyx.cloud-connect", "path": "cloud.status" },
399
+ { "ownerModuleId": "helyx.cloud-connect", "path": "cloud.support" },
400
+ { "ownerModuleId": "helyx.oauth", "path": "connections" },
401
+ { "ownerModuleId": "helyx.management", "path": "modules" },
402
+ { "ownerModuleId": "helyx.permissions", "path": "permissions" },
403
+ { "ownerModuleId": "helyx.privacy", "path": "privacy" }
404
+ ]
405
+ },
406
+ {
407
+ "name": "nexus",
408
+ "paths": [
409
+ { "ownerModuleId": "helyx.nexus-core", "path": "adjust" },
410
+ { "ownerModuleId": "helyx.nexus-core", "path": "award.member" },
411
+ { "ownerModuleId": "helyx.nexus-core", "path": "award.role" },
412
+ { "ownerModuleId": "helyx.nexus-core", "path": "award.server" },
413
+ {
414
+ "ownerModuleId": "helyx.nexus-rewards",
415
+ "path": "backfill.achievements"
416
+ },
417
+ { "ownerModuleId": "helyx.nexus-core", "path": "balance" },
418
+ { "ownerModuleId": "helyx.nexus-rewards", "path": "daily" },
419
+ { "ownerModuleId": "helyx.nexus-economy", "path": "exchange" },
420
+ { "ownerModuleId": "helyx.nexus-core", "path": "history" },
421
+ { "ownerModuleId": "helyx.nexus-economy", "path": "inventory" },
422
+ { "ownerModuleId": "helyx.nexus-rewards", "path": "leaderboard" },
423
+ { "ownerModuleId": "helyx.nexus-economy", "path": "redeem" },
424
+ { "ownerModuleId": "helyx.nexus-economy", "path": "requests" }
425
+ ]
426
+ },
427
+ {
428
+ "name": "profile",
429
+ "paths": [
430
+ {
431
+ "ownerModuleId": "helyx.achievements",
432
+ "path": "achievements.available"
433
+ },
434
+ {
435
+ "ownerModuleId": "helyx.achievements",
436
+ "path": "achievements.view"
437
+ },
438
+ { "ownerModuleId": "helyx.levels", "path": "levels.leaderboard" },
439
+ { "ownerModuleId": "helyx.levels", "path": "levels.rank" }
440
+ ]
441
+ },
442
+ {
443
+ "name": "submit",
444
+ "paths": [
445
+ { "ownerModuleId": "helyx.feedback", "path": "feedback" },
446
+ { "ownerModuleId": "helyx.suggestions", "path": "suggestion" }
447
+ ]
448
+ }
449
+ ]
450
+ },
451
+ "fingerprint": "a33abb53dd9862ee73e43515eae7fa049cd62e8c170473f82bd268878621d55e"
452
+ }
@@ -0,0 +1,27 @@
1
+ import { type Client, type GuildBasedChannel } from "discord.js";
2
+ import type { MessageProtectionEligibility } from "./guild-message-protection-delivery.js";
3
+ export interface CachedMessageDeletionScope {
4
+ readonly guildId: string;
5
+ readonly moduleId: string;
6
+ readonly channelId: string;
7
+ readonly messageId: string;
8
+ readonly admissionToken: string;
9
+ }
10
+ export interface CachedMessageDeletionAuthority {
11
+ readonly scope: Readonly<CachedMessageDeletionScope>;
12
+ isCurrent(this: void): boolean;
13
+ stop(this: void): void;
14
+ }
15
+ interface Options {
16
+ client: Client;
17
+ expectedApplicationId: string;
18
+ eligibility: MessageProtectionEligibility;
19
+ isStopped(this: void): boolean;
20
+ source: CachedMessageDeletionScope & {
21
+ readonly channel: GuildBasedChannel;
22
+ };
23
+ }
24
+ /** Called only by future Core exact-event capture. Cache membership alone is not event provenance. */
25
+ export declare function captureCachedMessageDeletionAuthority(options: Options): Readonly<CachedMessageDeletionAuthority> | undefined;
26
+ export {};
27
+ //# sourceMappingURL=cached-message-deletion-authority.d.ts.map