Show module names for dynamic plugins

This commit is contained in:
ZiyaZhang
2026-08-11 08:54:29 -07:00
parent 2614a2df93
commit eea356e785
8 changed files with 36 additions and 26 deletions
+1 -1
View File
@@ -60,7 +60,7 @@ export class PluginInventoryService extends GatewayService {
if (entry.options.group) continue
entries.push({
entryId: pluginEntryId(entry.id),
displayId: entry.options.id,
moduleName: entry.options.name,
enabled: !entry.disabled,
fiberPhase: entry.fiber === undefined ? null : FIBER_PHASE[entry.fiber.state],
})
+2 -2
View File
@@ -15,8 +15,8 @@ export type PluginFiberPhase =
/** One non-group Loader entry exposed to trusted clients. */
export interface PluginInventoryEntry {
readonly entryId: PluginEntryId
/** Local Loader id used as the compact card title. */
readonly displayId: string
/** Exact module specifier imported by the Loader entry. */
readonly moduleName: string
/** Effective Loader enablement, including disabled ancestor groups. */
readonly enabled: boolean
readonly fiberPhase: PluginFiberPhase