Options
All
  • Public
  • Public/Protected
  • All
Menu

Class HostedPluginReader

Hierarchy

  • HostedPluginReader

Implements

  • BackendApplicationContribution

Index

Constructors

constructor

Properties

Protected Readonly logger

logger: ILogger

Private Readonly metadataProcessors

metadataProcessors: MetadataProcessor[]

Protected pluginsIdsFiles

pluginsIdsFiles: Map<string, string> = ...

Map between a plugin id and its local storage

Protected Readonly scanner

Methods

configure

  • configure(app: Application): void

getPluginMetadata

  • getPluginMetadata(pluginPath: undefined | string): Promise<undefined | PluginMetadata>

Protected handleMissingResource

  • handleMissingResource(req: Request<ParamsDictionary, any, any, ParsedQs, Record<string, any>>, res: Response<any, Record<string, any>>): Promise<void>

readContribution

readDependencies

  • readDependencies(plugin: PluginPackage): undefined | Map<string, string>

readMetadata

readPackage

  • readPackage(pluginPath: undefined | string): Promise<undefined | PluginPackage>