@salesforce/source-deploy-retrieve
Preparing search index...
MetadataTransformer
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
Properties
default
Directory?
to
Source
Format
Methods
to
Metadata
Format
Properties
Optional
default
Directory
defaultDirectory
?:
string
to
Source
Format
toSourceFormat
:
ToSourceFormat
Methods
to
Metadata
Format
toMetadataFormat
(
component
:
SourceComponent
,
)
:
Promise
<
(
{
output
:
SourcePath
}
&
(
|
{
shouldDelete
?:
never
;
source
:
Readable
}
|
{
fullName
:
string
;
shouldDelete
:
true
;
source
?:
never
;
type
:
string
}
)
)
[]
,
>
Parameters
component
:
SourceComponent
Returns
Promise
<
(
{
output
:
SourcePath
}
&
(
|
{
shouldDelete
?:
never
;
source
:
Readable
}
|
{
fullName
:
string
;
shouldDelete
:
true
;
source
?:
never
;
type
:
string
}
)
)
[]
,
>
Settings
Member Visibility
Inherited
Theme
OS
Light
Dark
On This Page
Properties
default
Directory
to
Source
Format
Methods
to
Metadata
Format
@salesforce/source-deploy-retrieve
Loading...
Transforms metadata component files into different SFDX file formats