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

    Type Alias MetadataTransformer

    Transforms metadata component files into different SFDX file formats

    type MetadataTransformer = {
        defaultDirectory?: string;
        toSourceFormat: ToSourceFormat;
        toMetadataFormat(
            component: SourceComponent,
        ): Promise<
            (
                { output: SourcePath } & (
                    | { shouldDelete?: never; source: Readable }
                    | { fullName: string; shouldDelete: true; source?: never; type: string }
                )
            )[],
        >;
    }
    Index
    defaultDirectory?: string
    toSourceFormat: ToSourceFormat
    • Parameters

      Returns Promise<
          (
              { output: SourcePath } & (
                  | { shouldDelete?: never; source: Readable }
                  | { fullName: string; shouldDelete: true; source?: never; type: string }
              )
          )[],
      >