vlocode-project - v1.40.0-beta-4
    Preparing search index...

    Interface MetadataType

    interface MetadataType {
        aliasFor?: string;
        children?: {
            directories?: DirectoryIndex;
            suffixes: SuffixIndex;
            types: TypeIndex;
        };
        childXmlNames: string[];
        directoryName: string;
        folderContentType?: string;
        folderType?: string;
        hasContent: boolean;
        id: string;
        ignoreParentName?: boolean;
        ignoreParsedFullName?: boolean;
        inFolder?: boolean;
        isAddressable?: boolean;
        isBundle: boolean;
        label: string;
        legacySuffix?: string;
        metaFileSuffix?: string;
        name: string;
        strategies?: {
            adapter: | "default"
            | "mixedContent"
            | "matchingContentFile"
            | "decomposed"
            | "digitalExperience"
            | "bundle"
            | "partiallyDecomposed";
            decomposition?: "topLevel"
            | "folderPerType";
            recomposition?: "startEmpty";
            transformer?:
                | "standard"
                | "decomposed"
                | "staticResource"
                | "nonDecomposed"
                | "decomposedLabels"
                | "decomposedPermissionSet"
                | "decomposeExternalServiceRegistration";
        };
        strictDirectoryName?: boolean;
        suffix?: string;
        supportsPartialDelete?: boolean;
        supportsWildcardAndName?: boolean;
        unaddressableWithoutParent?: boolean;
        uniqueIdElement?: string;
        xmlElementName?: string;
        xmlName: string;
    }

    Hierarchy

    • MetadataType
      • MetadataType
    Index

    Properties

    aliasFor?: string

    Whenever this type is requested, return the aliasFor type instead

    children?: {
        directories?: DirectoryIndex;
        suffixes: SuffixIndex;
        types: TypeIndex;
    }

    Type definitions for child types, if the type has any.

    Examples: CustomField and CompactLayout on CustomObject

    childXmlNames: string[]

    Array with the list of child XML fragments that match this metadata type

    directoryName: string

    Name of the directory where components are located in a package.

    folderContentType?: string

    If the type is a folder type (container for components), the id of the type it is a container for.

    folderType?: string

    If the type is contained in folders, the id of the type that contains it.

    hasContent: boolean

    True when the metadata has a separate content file(s) this implies that any -meta.xml file is a meta file and not a content file and should not be renamed.

    id: string

    Unique identifier of the metadata type. Usually the API name lowercased.

    ignoreParentName?: boolean

    If the parent name should be ignored when constructing the type's fullName

    ignoreParsedFullName?: boolean

    Whether or not to ignore the fullName that's parsed from the file path. If true, the metadata type's name will be used instead. For example, CustomLabels instead of MyLabels.

    inFolder?: boolean

    Whether or not components are stored in folders.

    Examples: Reports, Dashboards, Documents, EmailTemplates

    use folderType to get the related folder type, if one exists

    isAddressable?: boolean

    Whether the component is supported by the Metadata API and therefore should be included within a manifest.

    isBundle: boolean
    label: string

    Human readable label for the metadata type, used in UI and commands This is derived from the name of the metadata type and formatted to be more readable.

    legacySuffix?: string

    When converting deploying source, this will update the suffix in the output or temporary directory (metadata format) Use this, along with additional suffix keys in the registry, to support incorrect suffixes from existing code

    metaFileSuffix?: string

    MetaFile suffix

    An override to the default "-meta.xml" suffix.

    Examples: "_meta.json" for DigitalExperience.

    name: string

    API name of the metadata type.

    strategies?: {
        adapter:
            | "default"
            | "mixedContent"
            | "matchingContentFile"
            | "decomposed"
            | "digitalExperience"
            | "bundle"
            | "partiallyDecomposed";
        decomposition?: "topLevel"
        | "folderPerType";
        recomposition?: "startEmpty";
        transformer?:
            | "standard"
            | "decomposed"
            | "staticResource"
            | "nonDecomposed"
            | "decomposedLabels"
            | "decomposedPermissionSet"
            | "decomposeExternalServiceRegistration";
    }

    Configuration for resolving and converting components of the type.

    strictDirectoryName?: boolean

    Whether or not components are required to reside in a folder named after the type's directoryName.

    suffix?: string

    File suffix

    Some types may not have one, such as those made up of varying file extensions.

    Examples: LightningComponentBundles, Documents, StaticResources

    supportsPartialDelete?: boolean

    Whether the component can be partially deleted, such as metadata types that are made up of multiple files.

    Examples: LightningComponentBundle, ExperienceBundle, StaticResource, and DigitalExperienceBundle

    supportsWildcardAndName?: boolean

    Whether or not components of the same type can be can be specified with the wildcard character, and by name in a manifest

    <members>*</members>
    <members>Account</members>
    <name>CustomObject</name>
    unaddressableWithoutParent?: boolean

    Whether the component requires the parent to be present when deploying/retrieving

    uniqueIdElement?: string

    The xml attribute used as the unique identifier when parsing the xml

    xmlElementName?: string

    The XML element name for the type in the xml file used for constructing child components.

    xmlName: string

    Name of the XML tag used for this metadata type

    Use MetadataType.name instead