@verdaccio/types
Advanced tools
Comparing version 10.3.0 to 10.4.0
# Change Log | ||
## 10.4.0 | ||
### Minor Changes | ||
- 00e4afd: feat: update configuration types | ||
## 10.3.0 | ||
@@ -4,0 +10,0 @@ |
@@ -350,20 +350,15 @@ // <reference types="node" /> | ||
type Server = { | ||
export type ServerSettingsConf = { | ||
// express-rate-limit settings | ||
rateLimit: RateLimit; | ||
keepAliveTimeout?: number; | ||
rateLimit: RateLimit; | ||
}; | ||
interface Config { | ||
user_agent?: string | boolean; | ||
userRateLimit: RateLimit; | ||
server_id: any; | ||
interface ConfigYaml { | ||
_debug?: boolean; | ||
server?: Server; | ||
storage?: string | void; | ||
plugins?: string | void; | ||
secret: string; | ||
self_path: string; | ||
packages: PackageList; | ||
uplinks: UpLinksConfList; | ||
logs?: LoggerConf[]; | ||
// FUTURE: log should be mandatory | ||
logs?: LoggerConfItem; | ||
web?: WebConf; | ||
@@ -373,3 +368,2 @@ auth?: AuthConf; | ||
publish?: PublishOptions; | ||
url_prefix?: string; | ||
store?: any; | ||
@@ -379,2 +373,3 @@ listen?: ListenAddress; | ||
http_proxy?: string; | ||
plugins?: string | void; | ||
https_proxy?: string; | ||
@@ -384,4 +379,18 @@ no_proxy?: string; | ||
notifications?: Notifications; | ||
notify?: Notifications | Notifications[]; | ||
middlewares?: any; | ||
filters?: any; | ||
url_prefix?: string; | ||
server?: ServerSettingsConf; | ||
} | ||
interface ConfigRuntime extends ConfigYaml { | ||
config_path: string; | ||
} | ||
interface Config extends ConfigYaml, ConfigRuntime { | ||
user_agent: string; | ||
server_id: string; | ||
secret: string; | ||
// deprecated | ||
checkSecretKey(token: string): string; | ||
@@ -388,0 +397,0 @@ getMatchedPackagesSpec(storage: string): PackageAccess | void; |
{ | ||
"name": "@verdaccio/types", | ||
"version": "10.3.0", | ||
"version": "10.4.0", | ||
"description": "verdaccio types definitions", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
40041
500