Skip to content

Commit

Permalink
feat(types): adding tag type for auth plugins (#318)
Browse files Browse the repository at this point in the history
  • Loading branch information
g3hxqe-contrib authored Jan 29, 2020
1 parent edecf55 commit 7f07c94
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions core/types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,7 @@ declare module '@verdaccio/types' {
interface AuthPluginPackage {
packageName: string;
packageVersion?: string;
tag?: string;
}

interface PackageAccess {
Expand Down Expand Up @@ -482,6 +483,7 @@ declare module '@verdaccio/types' {
interface AllowAccess {
name: string;
version?: string;
tag?: string;
}

type AuthAccessCallback = (error: string | null, access: boolean) => void;
Expand Down

0 comments on commit 7f07c94

Please sign in to comment.