Skip to main content
Version: Next

RouterOptions

Home > @backstage/plugin-search-backend > RouterOptions

Warning: This API is now obsolete.

Please migrate to the new backend system as this will be removed in the future.

Signature:

export type RouterOptions = {
engine: SearchEngine;
types: Record<string, DocumentTypeInfo>;
discovery?: DiscoveryService;
permissions: PermissionEvaluator | PermissionAuthorizer;
config: Config;
logger: LoggerService;
auth?: AuthService;
httpAuth?: HttpAuthService;
};

References: SearchEngine, DocumentTypeInfo, DiscoveryService, PermissionEvaluator, PermissionAuthorizer, Config, LoggerService, AuthService, HttpAuthService