LogoRobo.js
Framework

HandlerEntry

Interface: HandlerEntry

A handler entry in the manifest. Extends ProcessedEntry with source tracking.

Extends

Properties

PropertyTypeDescriptionInherited from
auto?booleanWhether this entry was auto-generated.ProcessedEntry.auto
exports{ config: boolean; default: boolean; named: string[]; }Which exports this handler has. Used for lazy loading - can check capabilities before importing.ProcessedEntry.exports
exports.configbooleanWhether config export exists-
exports.defaultbooleanWhether default export exists-
exports.namedstring[]List of named exports found (e.g., ['GET', 'POST'])-
extra?Record<string, unknown>Additional data for special cases. Examples { parent: 'admin', type: 'subcommand' } for Discord { catchAll: { param: 'path', optional: false } } for ServerProcessedEntry.extra
idstringUnique identifier for this entry. Format: "{key}" for project, "{plugin}:{key}" for plugins For multiple handlers: append ":{index}"-
index?numberFor multiple handlers per key (events), the index.-
keystringThe handler key. Example "ping", "admin ban", "users/[id]", "auth/[...path]"ProcessedEntry.key
metadataRecord<string, unknown>Metadata extracted from the handler's config export. Structure depends on the route type.ProcessedEntry.metadata
module?stringModule name if from /src/modules/.ProcessedEntry.module
parent?stringFor commands with subcommands, the parent command key.-
pathstringPath to the handler file (for manifest). Example "commands/admin/ban.js"ProcessedEntry.path
pluginstringPlugin name if source is 'plugin', null otherwise.-
pluginVersion?stringPlugin version if source is 'plugin'.-
source"plugin" | "project"Where this handler came from.-

On this page