Appearance
helix / validateRegistryId
Function: validateRegistryId()
validateRegistryId(
version,registry,registryName,id):string
Defined in: versions/registry.ts:13
Validate a resource-location id against one of the target version's registries. Returns the normalized id, or throws naming the version if the id is unknown.
Parameters
version
registry
ReadonlySet<string>
registryName
string
id
string
Returns
string