Skip to content

Commit

Permalink
feat: add search method BREAKING CHANGE: search method must be implem…
Browse files Browse the repository at this point in the history
…ented to allow search functionality
  • Loading branch information
@jotadeveloper authored and sergiohgz committed Jul 25, 2019
1 parent 8e94d0f commit b6d94e6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions core/types/src/types.js
Original file line number Diff line number Diff line change
Expand Up @@ -282,6 +282,7 @@ declare interface verdaccio$ILocalData {
getSecret(): Promise<string>;
setSecret(secret: string): Promise<any>;
getPackageStorage(packageInfo: string): verdaccio$IPackageStorage;
search(onPackage: verdaccio$Callback, onEnd: verdaccio$Callback): void;
}

declare interface verdaccio$ILocalPackageManager {
Expand All @@ -301,6 +302,7 @@ declare interface verdaccio$ILocalPackageManager {

declare module "@verdaccio/local-storage" {
declare export type ILocalData = verdaccio$ILocalData;
declare export type IPluginStorage = verdaccio$ILocalData;
declare export type IPackageStorage = verdaccio$IPackageStorage;
declare export type ILocalPackageManager = verdaccio$ILocalPackageManager;
declare class LocalDatabase<ILocalData>{
Expand Down

0 comments on commit b6d94e6

Please sign in to comment.