@verdaccio/types 14.0.0-next-9.7 → 14.0.0-next-9.9

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@verdaccio/types",
3
- "version": "14.0.0-next-9.7",
3
+ "version": "14.0.0-next-9.9",
4
4
  "description": "Verdaccio Type Definitions",
5
5
  "keywords": [
6
6
  "private",
package/src/commons.ts CHANGED
@@ -10,6 +10,9 @@ export interface RemoteUser {
10
10
  groups: string[];
11
11
  name: string | void;
12
12
  error?: string;
13
+ token?: {
14
+ key: string;
15
+ };
13
16
  }
14
17
 
15
18
  export type StringValue = string | void | null;
@@ -273,7 +273,7 @@ export type ServerSettingsConf = {
273
273
  * acme-XXXXXX
274
274
  */
275
275
  pluginPrefix?: string;
276
- passwordValidationRegex?: RegExp;
276
+ passwordValidationRegex?: RegExp | string;
277
277
  // docs on `trustProxy` can be found at: https://expressjs.com/en/guide/behind-proxies.html
278
278
  trustProxy?: string;
279
279
  // Controls how requests with dotfile path segments (e.g. /.env, /.well-known/) are handled.