Skip to content

Commit c93c3fc

Browse files
@jotadevelopersergiohgz
authored andcommitted
fix: update https
1 parent b1e780a commit c93c3fc

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

core/types/src/types.js

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -199,9 +199,11 @@ declare interface verdaccio$WebConf {
199199
}
200200

201201
declare interface verdaccio$HttpsConf {
202-
key: string;
203-
cert: string;
204-
ca: string;
202+
key?: string;
203+
cert?: string;
204+
ca?: string;
205+
pfx?: string;
206+
passphrase?: string;
205207
}
206208

207209
declare type verdaccio$AuthConf = any | verdaccio$AuthHtpasswd;
@@ -256,6 +258,7 @@ declare type verdaccio$Config = {
256258
no_proxy?: string;
257259
max_body_size?: string;
258260
notifications: verdaccio$Notifications;
261+
middlewares?: any;
259262
checkSecretKey: (token: string) => string;
260263
hasProxyTo(pkg: string, upLink: string): boolean;
261264
getMatchedPackagesSpec?: (storage: string) => verdaccio$PackageAccess;

0 commit comments

Comments
 (0)