@salesforce/source-deploy-retrieve
    Preparing search index...

    Class RegistryAccess

    Index
    • 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.

      Parameters

      • predicate: (type: MetadataType) => boolean

        Predicate to test types with

      Returns MetadataType | undefined

      The first metadata type object that fulfills the predicate

    • Return the parent metadata type from the registry for the given child type

      Parameters

      • childName: string

        Child metadata type name

      Returns MetadataType | undefined

      Parent metadata type object or undefined if no parent exists

    • Query a metadata type by its file suffix.

      Parameters

      • suffix: string

        File suffix of the metadata type

      Returns MetadataType | undefined

      The corresponding metadata type object

    • Find similar metadata type matches by its file suffix

      Parameters

      • suffix: string

        File suffix of the metadata type

      Returns { metadataTypeGuess: MetadataType; suffixGuess: string }[] | undefined

      An array of similar suffix and metadata type matches