File tree Expand file tree Collapse file tree 1 file changed +18
-0
lines changed
Expand file tree Collapse file tree 1 file changed +18
-0
lines changed Original file line number Diff line number Diff line change @@ -239,6 +239,7 @@ declare type verdaccio$Config = {
239239 user_agent : string ;
240240 server_id: any ;
241241 storage: string ;
242+ secret: string ;
242243 self_path: string ;
243244 packages: verdaccio$PackageList ;
244245 uplinks: verdaccio$UpLinksConfList ;
@@ -383,6 +384,23 @@ declare module "@verdaccio/types" {
383384 isUplinkValid ( url : string ) : boolean ;
384385 }
385386
387+ declare export interface IAuth {
388+ config : verdaccio$Config ;
389+ logger : verdaccio$Logger ;
390+ secret : string ;
391+ plugins : Array < any > ;
392+ }
393+
394+ declare export interface IWebSearch {
395+ index : any ;
396+ storage : IStorageHandler ;
397+ query ( query : string ) : any ;
398+ add ( pkg : Version ) : void ;
399+ remove ( name : string ) : void ;
400+ reindex ( ) : void ;
401+ configureStorage ( storage : IStorageHandler ) : void ;
402+ }
403+
386404 declare export interface IStorageHandler {
387405 config : Config ;
388406 localStorage : IStorage ;
You can’t perform that action at this time.
0 commit comments