NPM dependency proxy: add columns to settings model
🔥 Problem
The NPM dependency proxy will need to use credentials to connect to the remote registry.
Those credentials should be stored in the dependency proxy for packages settings object as we did the same for the maven credentials.
The credentials that are going to be used are:
- An url. String. Required.
- A token. String. Encrypted. Optional.
- An email. String. Encrypted? . Optional.
- Base64 encoding. Boolean. False by default.
Validation:
- An email without a token is not valid.
🚒 Solution
Add the appropriate columns to the setting object.
Edited by David Fernandez