Optional
registry: MetadataRegistryOptional
projectDir: stringPredicate to test types with
The first metadata type object that fulfills the predicate
Query for the types that have the aliasFor property defined. E.g., EmailTemplateFolder
An array of metadata type objects that have aliasFor
Query for the types that have the folderContentType property defined. E.g., reportFolder, dashboardFolder, documentFolder, emailFolder
An array of metadata type objects that have folder content
Return the parent metadata type from the registry for the given child type
Child metadata type name
Parent metadata type object or undefined if no parent exists
Query the types that require a strict parent directory
An array of metadata type objects that require strict parent folder names
Query a metadata type by its name.
Case-insensitive name of the metadata type
The corresponding metadata type object
Query a metadata type by its file suffix.
File suffix of the metadata type
The corresponding metadata type object
Find similar metadata type matches by its file suffix
File suffix of the metadata type
An array of similar suffix and metadata type matches
Searches for the first metadata type in the registry that returns
true
for the given predicate function.Can return undefined if no type matches the predicate.