Show module names for dynamic plugins
This commit is contained in:
@@ -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],
|
||||
})
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user