@verdaccio/types 14.0.0-next-9.15 → 14.0.0-next-9.17
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/configuration.ts +6 -0
package/package.json
CHANGED
package/src/configuration.ts
CHANGED
|
@@ -227,6 +227,8 @@ export interface JWTVerifyOptions extends VerifyOptions {}
|
|
|
227
227
|
export interface APITokenOptions {
|
|
228
228
|
legacy: boolean;
|
|
229
229
|
jwt?: JWTOptions;
|
|
230
|
+
/** Accept `Authorization: Basic` on the login endpoint only. Enabled unless `false`. */
|
|
231
|
+
basicLogin?: boolean;
|
|
230
232
|
}
|
|
231
233
|
|
|
232
234
|
export interface Security {
|
|
@@ -314,6 +316,10 @@ export type ServerSettingsConf = {
|
|
|
314
316
|
// When true, static file requests (/-/static/*) are hidden from pino logs
|
|
315
317
|
// and only visible via DEBUG=verdaccio:middleware:log. Defaults to true.
|
|
316
318
|
hideStaticLogs?: boolean;
|
|
319
|
+
// When true, successful /-/ping requests are hidden from pino logs
|
|
320
|
+
// and only visible via DEBUG=verdaccio:middleware:log. Failed pings
|
|
321
|
+
// (status >= 400) are still logged. Defaults to true.
|
|
322
|
+
hidePingLogs?: boolean;
|
|
317
323
|
// Options passed to the cors middleware. Omit to use cors defaults.
|
|
318
324
|
cors?: CorsOptions;
|
|
319
325
|
};
|