UNPKG

sf-decomposer

Version:

Decompose Salesforce metadata into granular, VCS-friendly files; recompose for deployment.

18 lines (17 loc) 951 B
import { MetadataType } from '@salesforce/source-deploy-retrieve'; import { MetaAttributes } from '../helpers/types.js'; /** * Resolves and validates the SDR registry entry for a metadata suffix (rejects `object`, unknown * suffixes, and unsupported adapter strategies). Synchronous and side-effect free, so callers can * use it to learn a type's `directoryName` ahead of time — e.g. to build a shared * `buildPackageDirectoryIndex` covering every requested type in one filesystem walk — without * duplicating this lookup logic. */ export declare function resolveMetadataTypeEntry(metaSuffix: string): MetadataType; export declare function getRegistryValuesBySuffix(metaSuffix: string, command: string, ignoreDirs: string[] | undefined, repoRootOverride?: string, uniqueIdOverride?: string, pathIndex?: { index: Map<string, string[]>; ignorePath: string; }): Promise<{ metaAttributes: MetaAttributes; ignorePath: string; }>;