(model: CustomRegistryModelEntry)
| 267 | } |
| 268 | |
| 269 | function resolveCapabilities(model: CustomRegistryModelEntry): string[] { |
| 270 | if (hasRichCapabilityHints(model)) { |
| 271 | return capabilitiesFromCustomEntry(model); |
| 272 | } |
| 273 | return [...CUSTOM_REGISTRY_DEFAULT_CAPABILITIES]; |
| 274 | } |
| 275 | |
| 276 | /** |
| 277 | * Writes one custom-registry provider entry into the managed config in place. |
no test coverage detected