Add RegistryBase schema and type

This commit is contained in:
Michael B. Gale
2026-07-29 11:21:19 +01:00
parent 51d51e8121
commit e55a57b808
2 changed files with 17 additions and 5 deletions

6
lib/entry-points.js generated
View File

@@ -161989,6 +161989,12 @@ function credentialToStr(credential) {
}
return result;
}
var registryBaseSchema = {
/** The type of the package registry. */
type: string,
/** Whether the registry replaces the base registry for the ecosystem. */
"replaces-base": optional(boolean)
};
function getAddressString(address) {
if (address.url === void 0) {
return address.host;