@salesforce/source-deploy-retrieve 13.8.2 → 13.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/src/client/index.d.ts +1 -1
- package/lib/src/client/index.js.map +1 -1
- package/lib/src/client/metadataApiDeploy.js +1 -1
- package/lib/src/client/metadataApiDeploy.js.map +1 -1
- package/lib/src/client/metadataApiRetrieve.js +1 -1
- package/lib/src/client/metadataApiRetrieve.js.map +1 -1
- package/lib/src/client/metadataTransfer.js +1 -1
- package/lib/src/client/metadataTransfer.js.map +1 -1
- package/lib/src/client/types.d.ts +7 -0
- package/lib/src/client/types.js.map +1 -1
- package/lib/src/collections/componentSet.js +1 -1
- package/lib/src/collections/componentSet.js.map +1 -1
- package/lib/src/collections/componentSetBuilder.js +1 -1
- package/lib/src/collections/componentSetBuilder.js.map +1 -1
- package/lib/src/convert/convertContext/convertContext.d.ts +2 -0
- package/lib/src/convert/convertContext/convertContext.js +2 -0
- package/lib/src/convert/convertContext/convertContext.js.map +1 -1
- package/lib/src/convert/convertContext/profileMetadataFinalizer.d.ts +20 -0
- package/lib/src/convert/convertContext/profileMetadataFinalizer.js +218 -0
- package/lib/src/convert/convertContext/profileMetadataFinalizer.js.map +1 -0
- package/lib/src/convert/convertContext/recompositionFinalizer.js +1 -1
- package/lib/src/convert/convertContext/recompositionFinalizer.js.map +1 -1
- package/lib/src/convert/metadataConverter.js +1 -1
- package/lib/src/convert/metadataConverter.js.map +1 -1
- package/lib/src/convert/replacements.js +1 -1
- package/lib/src/convert/replacements.js.map +1 -1
- package/lib/src/convert/streams.js +1 -1
- package/lib/src/convert/streams.js.map +1 -1
- package/lib/src/convert/transformers/decomposedMetadataTransformer.js +1 -1
- package/lib/src/convert/transformers/decomposedMetadataTransformer.js.map +1 -1
- package/lib/src/convert/transformers/defaultMetadataTransformer.d.ts +3 -1
- package/lib/src/convert/transformers/defaultMetadataTransformer.js +4 -3
- package/lib/src/convert/transformers/defaultMetadataTransformer.js.map +1 -1
- package/lib/src/convert/transformers/metadataTransformerFactory.js +4 -1
- package/lib/src/convert/transformers/metadataTransformerFactory.js.map +1 -1
- package/lib/src/convert/transformers/nonDecomposedMetadataTransformer.js +1 -1
- package/lib/src/convert/transformers/nonDecomposedMetadataTransformer.js.map +1 -1
- package/lib/src/convert/transformers/profileMetadataTransformer.d.ts +12 -0
- package/lib/src/convert/transformers/profileMetadataTransformer.js +19 -0
- package/lib/src/convert/transformers/profileMetadataTransformer.js.map +1 -0
- package/lib/src/convert/transformers/staticResourceMetadataTransformer.js +1 -1
- package/lib/src/convert/transformers/staticResourceMetadataTransformer.js.map +1 -1
- package/lib/src/index.d.ts +1 -1
- package/lib/src/index.js.map +1 -1
- package/lib/src/registry/levenshtein.js +1 -1
- package/lib/src/registry/levenshtein.js.map +1 -1
- package/lib/src/registry/metadataRegistry.json +4 -0
- package/lib/src/registry/registryAccess.js +1 -1
- package/lib/src/registry/registryAccess.js.map +1 -1
- package/lib/src/registry/types.d.ts +1 -1
- package/lib/src/registry/variants.js +1 -1
- package/lib/src/registry/variants.js.map +1 -1
- package/lib/src/resolve/adapters/baseSourceAdapter.js +1 -1
- package/lib/src/resolve/adapters/baseSourceAdapter.js.map +1 -1
- package/lib/src/resolve/adapters/decomposedSourceAdapter.js +1 -1
- package/lib/src/resolve/adapters/decomposedSourceAdapter.js.map +1 -1
- package/lib/src/resolve/adapters/digitalExperienceSourceAdapter.js +1 -1
- package/lib/src/resolve/adapters/digitalExperienceSourceAdapter.js.map +1 -1
- package/lib/src/resolve/adapters/matchingContentSourceAdapter.js +1 -1
- package/lib/src/resolve/adapters/matchingContentSourceAdapter.js.map +1 -1
- package/lib/src/resolve/adapters/mixedContentSourceAdapter.js +1 -1
- package/lib/src/resolve/adapters/mixedContentSourceAdapter.js.map +1 -1
- package/lib/src/resolve/adapters/sourceAdapterFactory.js +1 -1
- package/lib/src/resolve/adapters/sourceAdapterFactory.js.map +1 -1
- package/lib/src/resolve/adapters/uiBundlesSourceAdapter.js +1 -1
- package/lib/src/resolve/adapters/uiBundlesSourceAdapter.js.map +1 -1
- package/lib/src/resolve/connectionResolver.js +1 -1
- package/lib/src/resolve/connectionResolver.js.map +1 -1
- package/lib/src/resolve/metadataResolver.js +1 -1
- package/lib/src/resolve/metadataResolver.js.map +1 -1
- package/lib/src/resolve/sourceComponent.js +1 -1
- package/lib/src/resolve/sourceComponent.js.map +1 -1
- package/lib/src/resolve/treeContainers.js +1 -1
- package/lib/src/resolve/treeContainers.js.map +1 -1
- package/lib/src/utils/filePathGenerator.js +6 -2
- package/lib/src/utils/filePathGenerator.js.map +1 -1
- package/lib/src/utils/path.js +1 -1
- package/lib/src/utils/path.js.map +1 -1
- package/messages/sdr.md +4 -0
- package/package.json +2 -2
|
@@ -64,7 +64,7 @@ const resolve_1 = require("../resolve");
|
|
|
64
64
|
const agentResolver_1 = require("../resolve/pseudoTypes/agentResolver");
|
|
65
65
|
const types_1 = require("./types");
|
|
66
66
|
;
|
|
67
|
-
const messages = new core_1.Messages('@salesforce/source-deploy-retrieve', 'sdr', new Map([["md_request_fail", "Metadata API request failed: %s"], ["error_retry_limit_exceeded", "Exceeded maximum of %s consecutive retryable errors. Last error: %s"], ["error_could_not_infer_type", "%s: Could not infer a metadata type"], ["error_unexpected_child_type", "Unexpected child metadata [%s] found for parent type [%s]"], ["noParent", "Could not find parent type for %s (%s)"], ["error_expected_source_files", "%s: Expected source files for type '%s'"], ["error_failed_convert", "Component conversion failed: %s"], ["error_invalid_test_level", "TestLevel cannot be '%s' unless API version is %s or later"], ["error_merge_metadata_target_unsupported", "Merge convert for metadata target format currently unsupported"], ["error_missing_adapter", "Missing adapter '%s' for metadata type '%s'"], ["error_missing_transformer", "Missing transformer '%s' for metadata type '%s'"], ["error_missing_type_definition", "Missing metadata type definition in registry for id '%s'."], ["error_missing_child_type_definition", "Type %s does not have a child type definition %s."], ["noChildTypes", "No child types found in registry for %s (reading %s at %s)"], ["error_no_metadata_xml_ignore", "Metadata xml file %s is forceignored but is required for %s."], ["noSourceIgnore", "%s metadata types require source files, but %s is forceignored."], ["noSourceIgnore.actions", "- Metadata types with content are composed of two files: a content file (ie MyApexClass.cls) and a -meta.xml file (i.e MyApexClass.cls-meta.xml). You must include both files in your .forceignore file. Or try appending \u201C\\*\u201D to your existing .forceignore entry.\n\nSee <https://developer.salesforce.com/docs/atlas.en-us.sfdx_dev.meta/sfdx_dev/sfdx_dev_exclude_source.htm> for examples"], ["error_path_not_found", "%s: File or folder not found"], ["noContentFound", "SourceComponent %s (metadata type = %s) is missing its content file."], ["noContentFound.actions", ["Ensure the content file exists in the expected location.", "If the content file is in your .forceignore file, ensure the meta-xml file is also ignored to completely exclude it."]], ["error_parsing_xml", "SourceComponent %s (metadata type = %s) does not have an associated metadata xml to parse"], ["error_expected_file_path", "%s: path is to a directory, expected a file"], ["error_expected_directory_path", "%s: path is to a file, expected a directory"], ["error_directory_not_found_or_not_directory", "%s: path is not a directory"], ["error_no_directory_stream", "%s doesn't support readable streams on directories."], ["error_no_source_to_deploy", "No source-backed components present in the package."], ["error_no_components_to_retrieve", "No components in the package to retrieve."], ["error_static_resource_attempting_zip_slip", "Entry '%s' in static resource '%s' resolves to a location outside the extraction directory ('%s')."], ["error_static_resource_symlink", "Entry '%s' in static resource '%s' would be written through a symbolic link ('%s'). Writing through symbolic links is not allowed because it can place files outside the extraction directory ('%s')."], ["error_retrieve_symlink", "File '%s' would be written through a symbolic link ('%s'). Writing through symbolic links is not allowed during retrieve because it can place files outside the project directory ('%s')."], ["error_static_resource_expected_archive_type", "A StaticResource directory must have a content type of application/zip or application/jar - found %s for %s."], ["error_static_resource_missing_resource_file", "A StaticResource must have an associated .resource file, missing %s.resource-meta.xml"], ["error_no_job_id", "The %s operation is missing a job ID. Initialize an operation with an ID, or start a new job."], ["missingApiVersion", "Could not determine an API version to use for the generated manifest. Tried looking for sourceApiVersion in sfdx-project.json, apiVersion from config vars, and the highest apiVersion from the APEX REST endpoint. Using API version 58.0 as a last resort."], ["invalid_xml_parsing", "error parsing %s due to:\\n message: %s\\n line: %s\\n code: %s"], ["zipBufferError", "Zip buffer was not created during conversion"], ["undefinedComponentSet", "Unable to construct a componentSet. Check the logs for more information."], ["replacementsFileNotRead", "The file \"%s\" specified in the \"replacements\" property of sfdx-project.json could not be read."], ["unsupportedBundleType", "Unsupported Bundle Type: %s"], ["filePathGeneratorNoTypeSupport", "Type not supported for filepath generation: %s"], ["missingFolderType", "The registry has %s as is inFolder but it does not have a folderType"], ["tooManyFiles", "Multiple files found for path: %s."], ["cantGetName", "Unable to calculate fullName from path: %s (%s)"], ["missingMetaFileSuffix", "The metadata registry is configured incorrectly for %s. Expected a metaFileSuffix."], ["uniqueIdElementNotInRegistry", "No uniqueIdElement found in registry for %s (reading %s at %s)."], ["uniqueIdElementNotInChild", "The uniqueIdElement %s was not found the child (reading %s at %s)."], ["suggest_type_header", "A metadata type lookup for \"%s\" found the following close matches:"], ["suggest_type_did_you_mean", "-- Did you mean \".%s%s\" instead for the \"%s\" metadata type?"], ["suggest_type_more_suggestions", "Additional suggestions:\nConfirm the file name, extension, and directory names are correct. Validate against the registry at:\n<https://github.com/forcedotcom/source-deploy-retrieve/blob/main/src/registry/metadataRegistry.json>\n\nIf the type is not listed in the registry, check that it has Metadata API support via the Metadata Coverage Report:\n<https://developer.salesforce.com/docs/metadata-coverage>\n\nIf the type is available via Metadata API but not in the registry\n\n- Open an issue <https://github.com/forcedotcom/cli/issues>\n- Add the type via PR. Instructions: <https://github.com/forcedotcom/source-deploy-retrieve/blob/main/contributing/metadata.md>"], ["error_directory_name_path_traversal", "The directoryName '%s' for metadata type '%s' contains path segments that resolve outside the project root. Verify your registryCustomizations in sfdx-project.json do not contain directory traversal sequences."], ["error_write_path_outside_root", "The write path '%s' resolves outside the root destination '%s'. This may indicate a path traversal attempt via registryCustomizations."], ["warning_jwt_api_version", "This org uses JWT-based access tokens, which require API version 68.0 or later for SOAP metadata operations. The current API version is %s, so metadata listing may return empty or incomplete results. To resolve, update sourceApiVersion in sfdx-project.json to 68.0 or higher."], ["type_name_suggestions", "Confirm the metadata type name is correct. Validate against the registry at:\n<https://github.com/forcedotcom/source-deploy-retrieve/blob/main/src/registry/metadataRegistry.json>\n\nIf the type is not listed in the registry, check that it has Metadata API support via the Metadata Coverage Report:\n<https://developer.salesforce.com/docs/metadata-coverage>\n\nIf the type is available via Metadata API but not in the registry\n\n- Open an issue <https://github.com/forcedotcom/cli/issues>\n- Add the type via PR. Instructions: <https://github.com/forcedotcom/source-deploy-retrieve/blob/main/contributing/metadata.md>"]]));
|
|
67
|
+
const messages = new core_1.Messages('@salesforce/source-deploy-retrieve', 'sdr', new Map([["md_request_fail", "Metadata API request failed: %s"], ["error_retry_limit_exceeded", "Exceeded maximum of %s consecutive retryable errors. Last error: %s"], ["error_could_not_infer_type", "%s: Could not infer a metadata type"], ["error_unexpected_child_type", "Unexpected child metadata [%s] found for parent type [%s]"], ["noParent", "Could not find parent type for %s (%s)"], ["error_expected_source_files", "%s: Expected source files for type '%s'"], ["error_failed_convert", "Component conversion failed: %s"], ["error_profile_singleton_conflict", "Profile %s has conflicting values for singleton tag %s in source paths %s and %s."], ["error_invalid_test_level", "TestLevel cannot be '%s' unless API version is %s or later"], ["error_merge_metadata_target_unsupported", "Merge convert for metadata target format currently unsupported"], ["error_missing_adapter", "Missing adapter '%s' for metadata type '%s'"], ["error_missing_transformer", "Missing transformer '%s' for metadata type '%s'"], ["error_missing_type_definition", "Missing metadata type definition in registry for id '%s'."], ["error_missing_child_type_definition", "Type %s does not have a child type definition %s."], ["noChildTypes", "No child types found in registry for %s (reading %s at %s)"], ["error_no_metadata_xml_ignore", "Metadata xml file %s is forceignored but is required for %s."], ["noSourceIgnore", "%s metadata types require source files, but %s is forceignored."], ["noSourceIgnore.actions", "- Metadata types with content are composed of two files: a content file (ie MyApexClass.cls) and a -meta.xml file (i.e MyApexClass.cls-meta.xml). You must include both files in your .forceignore file. Or try appending \u201C\\*\u201D to your existing .forceignore entry.\n\nSee <https://developer.salesforce.com/docs/atlas.en-us.sfdx_dev.meta/sfdx_dev/sfdx_dev_exclude_source.htm> for examples"], ["error_path_not_found", "%s: File or folder not found"], ["noContentFound", "SourceComponent %s (metadata type = %s) is missing its content file."], ["noContentFound.actions", ["Ensure the content file exists in the expected location.", "If the content file is in your .forceignore file, ensure the meta-xml file is also ignored to completely exclude it."]], ["error_parsing_xml", "SourceComponent %s (metadata type = %s) does not have an associated metadata xml to parse"], ["error_expected_file_path", "%s: path is to a directory, expected a file"], ["error_expected_directory_path", "%s: path is to a file, expected a directory"], ["error_directory_not_found_or_not_directory", "%s: path is not a directory"], ["error_no_directory_stream", "%s doesn't support readable streams on directories."], ["error_no_source_to_deploy", "No source-backed components present in the package."], ["error_no_components_to_retrieve", "No components in the package to retrieve."], ["error_static_resource_attempting_zip_slip", "Entry '%s' in static resource '%s' resolves to a location outside the extraction directory ('%s')."], ["error_static_resource_symlink", "Entry '%s' in static resource '%s' would be written through a symbolic link ('%s'). Writing through symbolic links is not allowed because it can place files outside the extraction directory ('%s')."], ["error_retrieve_symlink", "File '%s' would be written through a symbolic link ('%s'). Writing through symbolic links is not allowed during retrieve because it can place files outside the project directory ('%s')."], ["error_static_resource_expected_archive_type", "A StaticResource directory must have a content type of application/zip or application/jar - found %s for %s."], ["error_static_resource_missing_resource_file", "A StaticResource must have an associated .resource file, missing %s.resource-meta.xml"], ["error_no_job_id", "The %s operation is missing a job ID. Initialize an operation with an ID, or start a new job."], ["missingApiVersion", "Could not determine an API version to use for the generated manifest. Tried looking for sourceApiVersion in sfdx-project.json, apiVersion from config vars, and the highest apiVersion from the APEX REST endpoint. Using API version 58.0 as a last resort."], ["invalid_xml_parsing", "error parsing %s due to:\\n message: %s\\n line: %s\\n code: %s"], ["zipBufferError", "Zip buffer was not created during conversion"], ["undefinedComponentSet", "Unable to construct a componentSet. Check the logs for more information."], ["replacementsFileNotRead", "The file \"%s\" specified in the \"replacements\" property of sfdx-project.json could not be read."], ["unsupportedBundleType", "Unsupported Bundle Type: %s"], ["filePathGeneratorNoTypeSupport", "Type not supported for filepath generation: %s"], ["missingFolderType", "The registry has %s as is inFolder but it does not have a folderType"], ["tooManyFiles", "Multiple files found for path: %s."], ["cantGetName", "Unable to calculate fullName from path: %s (%s)"], ["missingMetaFileSuffix", "The metadata registry is configured incorrectly for %s. Expected a metaFileSuffix."], ["uniqueIdElementNotInRegistry", "No uniqueIdElement found in registry for %s (reading %s at %s)."], ["uniqueIdElementNotInChild", "The uniqueIdElement %s was not found the child (reading %s at %s)."], ["suggest_type_header", "A metadata type lookup for \"%s\" found the following close matches:"], ["suggest_type_did_you_mean", "-- Did you mean \".%s%s\" instead for the \"%s\" metadata type?"], ["suggest_type_more_suggestions", "Additional suggestions:\nConfirm the file name, extension, and directory names are correct. Validate against the registry at:\n<https://github.com/forcedotcom/source-deploy-retrieve/blob/main/src/registry/metadataRegistry.json>\n\nIf the type is not listed in the registry, check that it has Metadata API support via the Metadata Coverage Report:\n<https://developer.salesforce.com/docs/metadata-coverage>\n\nIf the type is available via Metadata API but not in the registry\n\n- Open an issue <https://github.com/forcedotcom/cli/issues>\n- Add the type via PR. Instructions: <https://github.com/forcedotcom/source-deploy-retrieve/blob/main/contributing/metadata.md>"], ["error_directory_name_path_traversal", "The directoryName '%s' for metadata type '%s' contains path segments that resolve outside the project root. Verify your registryCustomizations in sfdx-project.json do not contain directory traversal sequences."], ["error_write_path_outside_root", "The write path '%s' resolves outside the root destination '%s'. This may indicate a path traversal attempt via registryCustomizations."], ["warning_jwt_api_version", "This org uses JWT-based access tokens, which require API version 68.0 or later for SOAP metadata operations. The current API version is %s, so metadata listing may return empty or incomplete results. To resolve, update sourceApiVersion in sfdx-project.json to 68.0 or higher."], ["type_name_suggestions", "Confirm the metadata type name is correct. Validate against the registry at:\n<https://github.com/forcedotcom/source-deploy-retrieve/blob/main/src/registry/metadataRegistry.json>\n\nIf the type is not listed in the registry, check that it has Metadata API support via the Metadata Coverage Report:\n<https://developer.salesforce.com/docs/metadata-coverage>\n\nIf the type is available via Metadata API but not in the registry\n\n- Open an issue <https://github.com/forcedotcom/cli/issues>\n- Add the type via PR. Instructions: <https://github.com/forcedotcom/source-deploy-retrieve/blob/main/contributing/metadata.md>"]]));
|
|
68
68
|
let logger;
|
|
69
69
|
const getLogger = () => {
|
|
70
70
|
if (!logger) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"componentSetBuilder.js","sourceRoot":"","sources":["../../../src/collections/componentSetBuilder.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAClC,2CAAoG;AACpG,yCAA8C;AAC9C,8DAA6B;AAC7B,yCAAsC;AAEtC,gEAA6D;AAC7D,8DAA2D;AAC3D,+DAA4D;AAG5D,wCAA8C;AAC9C,wEAI8C;AAC9C,mCAAwE;;AAGxE,MAAM,QAAQ,OAAG,eAAQ,CAAc,oCAAoC,EAAE,KAAK,6tOAAC,CAAC;AAmDpF,IAAI,MAAc,CAAC;AACnB,MAAM,SAAS,GAAG,GAAW,EAAE;IAC7B,IAAI,CAAC,MAAM,EAAE,CAAC;QACZ,MAAM,GAAG,aAAM,CAAC,aAAa,CAAC,qBAAqB,CAAC,CAAC;IACvD,CAAC;IACD,OAAO,MAAM,CAAC;AAChB,CAAC,CAAC;AAEF,MAAM,YAAY,GAAG,EAAE,KAAK,EAAE,OAAO,EAAE,CAAC;AACxC,MAAM,gBAAgB,GAAG,IAAI,GAAG,CAAC,MAAM,CAAC,MAAM,CAAC,YAAY,CAAC,CAAC,CAAC;AAE9D,MAAa,mBAAmB;IAC9B;;;;;;;OAOG;IAEH,sCAAsC;IAC/B,MAAM,CAAC,KAAK,CAAC,KAAK,CAAC,OAA4B;QACpD,IAAI,YAAsC,CAAC;QAE3C,MAAM,EAAE,UAAU,EAAE,QAAQ,EAAE,QAAQ,EAAE,YAAY,EAAE,GAAG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B,QAAQ,IAAI,SAAS,yBAAyB,CAAC,CAAC;oBAC3F,eAAe,CAAC,IAAI,CAAC,GAAG,QAAQ,IAAI,SAAS,EAAE,CAAC,CAAC;gBACnD,CAAC;YACH,CAAC;QACH,CAAC;IACH,CAAC;IAED,OAAO,EAAE,eAAe,EAAE,iBAAiB,EAAE,CAAC;AAChD,CAAC,CAAC"}
|
|
@@ -5,6 +5,7 @@ import { DecompositionFinalizer } from './decompositionFinalizer';
|
|
|
5
5
|
import { DecomposedLabelsFinalizer } from './decomposedLabelsFinalizer';
|
|
6
6
|
import { DecomposedPermissionSetFinalizer } from './decomposedPermissionSetFinalizer';
|
|
7
7
|
import { DecomposedExternalServiceRegistrationFinalizer } from './decomposedExternalServiceRegistrationFinalizer';
|
|
8
|
+
import { ProfileMetadataFinalizer } from './profileMetadataFinalizer';
|
|
8
9
|
/**
|
|
9
10
|
* A state manager over the course of a single metadata conversion call.
|
|
10
11
|
*/
|
|
@@ -15,5 +16,6 @@ export declare class ConvertContext {
|
|
|
15
16
|
readonly decomposedLabels: DecomposedLabelsFinalizer;
|
|
16
17
|
readonly decomposedPermissionSet: DecomposedPermissionSetFinalizer;
|
|
17
18
|
readonly decomposedExternalServiceRegistration: DecomposedExternalServiceRegistrationFinalizer;
|
|
19
|
+
readonly profileMetadata: ProfileMetadataFinalizer;
|
|
18
20
|
executeFinalizers(defaultDirectory?: string): AsyncIterable<WriterFormat[]>;
|
|
19
21
|
}
|
|
@@ -8,6 +8,7 @@ const transactionFinalizer_1 = require("./transactionFinalizer");
|
|
|
8
8
|
const decomposedLabelsFinalizer_1 = require("./decomposedLabelsFinalizer");
|
|
9
9
|
const decomposedPermissionSetFinalizer_1 = require("./decomposedPermissionSetFinalizer");
|
|
10
10
|
const decomposedExternalServiceRegistrationFinalizer_1 = require("./decomposedExternalServiceRegistrationFinalizer");
|
|
11
|
+
const profileMetadataFinalizer_1 = require("./profileMetadataFinalizer");
|
|
11
12
|
/**
|
|
12
13
|
* A state manager over the course of a single metadata conversion call.
|
|
13
14
|
*/
|
|
@@ -18,6 +19,7 @@ class ConvertContext {
|
|
|
18
19
|
decomposedLabels = new decomposedLabelsFinalizer_1.DecomposedLabelsFinalizer();
|
|
19
20
|
decomposedPermissionSet = new decomposedPermissionSetFinalizer_1.DecomposedPermissionSetFinalizer();
|
|
20
21
|
decomposedExternalServiceRegistration = new decomposedExternalServiceRegistrationFinalizer_1.DecomposedExternalServiceRegistrationFinalizer();
|
|
22
|
+
profileMetadata = new profileMetadataFinalizer_1.ProfileMetadataFinalizer();
|
|
21
23
|
async *executeFinalizers(defaultDirectory) {
|
|
22
24
|
for (const member of Object.values(this)) {
|
|
23
25
|
if (member instanceof transactionFinalizer_1.ConvertTransactionFinalizer) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"convertContext.js","sourceRoot":"","sources":["../../../../src/convert/convertContext/convertContext.ts"],"names":[],"mappings":";;;AAgBA,qEAAkE;AAClE,2EAAwE;AACxE,qEAAkE;AAClE,iEAAqE;AACrE,2EAAwE;AACxE,yFAAsF;AACtF,qHAAkH;AAClH;;GAEG;AACH,MAAa,cAAc;IACT,aAAa,GAAG,IAAI,+CAAsB,EAAE,CAAC;IAC7C,aAAa,GAAG,IAAI,+CAAsB,EAAE,CAAC;IAC7C,gBAAgB,GAAG,IAAI,qDAAyB,EAAE,CAAC;IACnD,gBAAgB,GAAG,IAAI,qDAAyB,EAAE,CAAC;IACnD,uBAAuB,GAAG,IAAI,mEAAgC,EAAE,CAAC;IACjE,qCAAqC,GAAG,IAAI,+FAA8C,EAAE,CAAC;
|
|
1
|
+
{"version":3,"file":"convertContext.js","sourceRoot":"","sources":["../../../../src/convert/convertContext/convertContext.ts"],"names":[],"mappings":";;;AAgBA,qEAAkE;AAClE,2EAAwE;AACxE,qEAAkE;AAClE,iEAAqE;AACrE,2EAAwE;AACxE,yFAAsF;AACtF,qHAAkH;AAClH,yEAAsE;AACtE;;GAEG;AACH,MAAa,cAAc;IACT,aAAa,GAAG,IAAI,+CAAsB,EAAE,CAAC;IAC7C,aAAa,GAAG,IAAI,+CAAsB,EAAE,CAAC;IAC7C,gBAAgB,GAAG,IAAI,qDAAyB,EAAE,CAAC;IACnD,gBAAgB,GAAG,IAAI,qDAAyB,EAAE,CAAC;IACnD,uBAAuB,GAAG,IAAI,mEAAgC,EAAE,CAAC;IACjE,qCAAqC,GAAG,IAAI,+FAA8C,EAAE,CAAC;IAC7F,eAAe,GAAG,IAAI,mDAAwB,EAAE,CAAC;IAG1D,KAAK,CAAC,CAAC,iBAAiB,CAAC,gBAAyB;QACvD,KAAK,MAAM,MAAM,IAAI,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,EAAE,CAAC;YACzC,IAAI,MAAM,YAAY,kDAA2B,EAAE,CAAC;gBAClD,MAAM,MAAM,CAAC,QAAQ,CAAC,gBAAgB,CAAC,CAAC;YAC1C,CAAC;QACH,CAAC;IACH,CAAC;CACF;AAjBD,wCAiBC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { JsonMap } from '@salesforce/ts-types';
|
|
2
|
+
import { SourceComponent } from '../../resolve';
|
|
3
|
+
import { WriterFormat } from '../types';
|
|
4
|
+
import { ConvertTransactionFinalizer } from './transactionFinalizer';
|
|
5
|
+
type ProfileFragment = {
|
|
6
|
+
component: SourceComponent;
|
|
7
|
+
profile: JsonMap;
|
|
8
|
+
};
|
|
9
|
+
type ProfileState = Map<string, {
|
|
10
|
+
component: SourceComponent;
|
|
11
|
+
profiles: ProfileFragment[];
|
|
12
|
+
}>;
|
|
13
|
+
export declare class ProfileMetadataFinalizer extends ConvertTransactionFinalizer<ProfileState> {
|
|
14
|
+
transactionState: ProfileState;
|
|
15
|
+
private sourceProfiles;
|
|
16
|
+
add(component: SourceComponent): Promise<void>;
|
|
17
|
+
addSource(component: SourceComponent, mergeWith: SourceComponent): Promise<void>;
|
|
18
|
+
finalize(defaultDirectory?: string): Promise<WriterFormat[]>;
|
|
19
|
+
}
|
|
20
|
+
export {};
|
|
@@ -0,0 +1,218 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ProfileMetadataFinalizer = void 0;
|
|
4
|
+
/*
|
|
5
|
+
* Copyright 2026, Salesforce, Inc.
|
|
6
|
+
*
|
|
7
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
8
|
+
* you may not use this file except in compliance with the License.
|
|
9
|
+
* You may obtain a copy of the License at
|
|
10
|
+
*
|
|
11
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
12
|
+
*
|
|
13
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
14
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
15
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
16
|
+
* See the License for the specific language governing permissions and
|
|
17
|
+
* limitations under the License.
|
|
18
|
+
*/
|
|
19
|
+
const node_fs_1 = require("node:fs");
|
|
20
|
+
const node_path_1 = require("node:path");
|
|
21
|
+
const node_util_1 = require("node:util");
|
|
22
|
+
const messages_1 = require("@salesforce/core/messages");
|
|
23
|
+
const sfError_1 = require("@salesforce/core/sfError");
|
|
24
|
+
const common_1 = require("../../common");
|
|
25
|
+
const resolve_1 = require("../../resolve");
|
|
26
|
+
const defaultMetadataTransformer_1 = require("../transformers/defaultMetadataTransformer");
|
|
27
|
+
const streams_1 = require("../streams");
|
|
28
|
+
const transactionFinalizer_1 = require("./transactionFinalizer");
|
|
29
|
+
;
|
|
30
|
+
const messages = new messages_1.Messages('@salesforce/source-deploy-retrieve', 'sdr', new Map([["md_request_fail", "Metadata API request failed: %s"], ["error_retry_limit_exceeded", "Exceeded maximum of %s consecutive retryable errors. Last error: %s"], ["error_could_not_infer_type", "%s: Could not infer a metadata type"], ["error_unexpected_child_type", "Unexpected child metadata [%s] found for parent type [%s]"], ["noParent", "Could not find parent type for %s (%s)"], ["error_expected_source_files", "%s: Expected source files for type '%s'"], ["error_failed_convert", "Component conversion failed: %s"], ["error_profile_singleton_conflict", "Profile %s has conflicting values for singleton tag %s in source paths %s and %s."], ["error_invalid_test_level", "TestLevel cannot be '%s' unless API version is %s or later"], ["error_merge_metadata_target_unsupported", "Merge convert for metadata target format currently unsupported"], ["error_missing_adapter", "Missing adapter '%s' for metadata type '%s'"], ["error_missing_transformer", "Missing transformer '%s' for metadata type '%s'"], ["error_missing_type_definition", "Missing metadata type definition in registry for id '%s'."], ["error_missing_child_type_definition", "Type %s does not have a child type definition %s."], ["noChildTypes", "No child types found in registry for %s (reading %s at %s)"], ["error_no_metadata_xml_ignore", "Metadata xml file %s is forceignored but is required for %s."], ["noSourceIgnore", "%s metadata types require source files, but %s is forceignored."], ["noSourceIgnore.actions", "- Metadata types with content are composed of two files: a content file (ie MyApexClass.cls) and a -meta.xml file (i.e MyApexClass.cls-meta.xml). You must include both files in your .forceignore file. Or try appending \u201C\\*\u201D to your existing .forceignore entry.\n\nSee <https://developer.salesforce.com/docs/atlas.en-us.sfdx_dev.meta/sfdx_dev/sfdx_dev_exclude_source.htm> for examples"], ["error_path_not_found", "%s: File or folder not found"], ["noContentFound", "SourceComponent %s (metadata type = %s) is missing its content file."], ["noContentFound.actions", ["Ensure the content file exists in the expected location.", "If the content file is in your .forceignore file, ensure the meta-xml file is also ignored to completely exclude it."]], ["error_parsing_xml", "SourceComponent %s (metadata type = %s) does not have an associated metadata xml to parse"], ["error_expected_file_path", "%s: path is to a directory, expected a file"], ["error_expected_directory_path", "%s: path is to a file, expected a directory"], ["error_directory_not_found_or_not_directory", "%s: path is not a directory"], ["error_no_directory_stream", "%s doesn't support readable streams on directories."], ["error_no_source_to_deploy", "No source-backed components present in the package."], ["error_no_components_to_retrieve", "No components in the package to retrieve."], ["error_static_resource_attempting_zip_slip", "Entry '%s' in static resource '%s' resolves to a location outside the extraction directory ('%s')."], ["error_static_resource_symlink", "Entry '%s' in static resource '%s' would be written through a symbolic link ('%s'). Writing through symbolic links is not allowed because it can place files outside the extraction directory ('%s')."], ["error_retrieve_symlink", "File '%s' would be written through a symbolic link ('%s'). Writing through symbolic links is not allowed during retrieve because it can place files outside the project directory ('%s')."], ["error_static_resource_expected_archive_type", "A StaticResource directory must have a content type of application/zip or application/jar - found %s for %s."], ["error_static_resource_missing_resource_file", "A StaticResource must have an associated .resource file, missing %s.resource-meta.xml"], ["error_no_job_id", "The %s operation is missing a job ID. Initialize an operation with an ID, or start a new job."], ["missingApiVersion", "Could not determine an API version to use for the generated manifest. Tried looking for sourceApiVersion in sfdx-project.json, apiVersion from config vars, and the highest apiVersion from the APEX REST endpoint. Using API version 58.0 as a last resort."], ["invalid_xml_parsing", "error parsing %s due to:\\n message: %s\\n line: %s\\n code: %s"], ["zipBufferError", "Zip buffer was not created during conversion"], ["undefinedComponentSet", "Unable to construct a componentSet. Check the logs for more information."], ["replacementsFileNotRead", "The file \"%s\" specified in the \"replacements\" property of sfdx-project.json could not be read."], ["unsupportedBundleType", "Unsupported Bundle Type: %s"], ["filePathGeneratorNoTypeSupport", "Type not supported for filepath generation: %s"], ["missingFolderType", "The registry has %s as is inFolder but it does not have a folderType"], ["tooManyFiles", "Multiple files found for path: %s."], ["cantGetName", "Unable to calculate fullName from path: %s (%s)"], ["missingMetaFileSuffix", "The metadata registry is configured incorrectly for %s. Expected a metaFileSuffix."], ["uniqueIdElementNotInRegistry", "No uniqueIdElement found in registry for %s (reading %s at %s)."], ["uniqueIdElementNotInChild", "The uniqueIdElement %s was not found the child (reading %s at %s)."], ["suggest_type_header", "A metadata type lookup for \"%s\" found the following close matches:"], ["suggest_type_did_you_mean", "-- Did you mean \".%s%s\" instead for the \"%s\" metadata type?"], ["suggest_type_more_suggestions", "Additional suggestions:\nConfirm the file name, extension, and directory names are correct. Validate against the registry at:\n<https://github.com/forcedotcom/source-deploy-retrieve/blob/main/src/registry/metadataRegistry.json>\n\nIf the type is not listed in the registry, check that it has Metadata API support via the Metadata Coverage Report:\n<https://developer.salesforce.com/docs/metadata-coverage>\n\nIf the type is available via Metadata API but not in the registry\n\n- Open an issue <https://github.com/forcedotcom/cli/issues>\n- Add the type via PR. Instructions: <https://github.com/forcedotcom/source-deploy-retrieve/blob/main/contributing/metadata.md>"], ["error_directory_name_path_traversal", "The directoryName '%s' for metadata type '%s' contains path segments that resolve outside the project root. Verify your registryCustomizations in sfdx-project.json do not contain directory traversal sequences."], ["error_write_path_outside_root", "The write path '%s' resolves outside the root destination '%s'. This may indicate a path traversal attempt via registryCustomizations."], ["warning_jwt_api_version", "This org uses JWT-based access tokens, which require API version 68.0 or later for SOAP metadata operations. The current API version is %s, so metadata listing may return empty or incomplete results. To resolve, update sourceApiVersion in sfdx-project.json to 68.0 or higher."], ["type_name_suggestions", "Confirm the metadata type name is correct. Validate against the registry at:\n<https://github.com/forcedotcom/source-deploy-retrieve/blob/main/src/registry/metadataRegistry.json>\n\nIf the type is not listed in the registry, check that it has Metadata API support via the Metadata Coverage Report:\n<https://developer.salesforce.com/docs/metadata-coverage>\n\nIf the type is available via Metadata API but not in the registry\n\n- Open an issue <https://github.com/forcedotcom/cli/issues>\n- Add the type via PR. Instructions: <https://github.com/forcedotcom/source-deploy-retrieve/blob/main/contributing/metadata.md>"]]));
|
|
31
|
+
class ProfileMetadataFinalizer extends transactionFinalizer_1.ConvertTransactionFinalizer {
|
|
32
|
+
transactionState = new Map();
|
|
33
|
+
sourceProfiles = new Map();
|
|
34
|
+
async add(component) {
|
|
35
|
+
const output = (0, defaultMetadataTransformer_1.getXmlDestination)('metadata', component);
|
|
36
|
+
const profile = (await component.parseXml()).Profile;
|
|
37
|
+
const state = this.transactionState.get(output) ?? { component, profiles: [] };
|
|
38
|
+
state.profiles.push({ component, profile });
|
|
39
|
+
this.transactionState.set(output, state);
|
|
40
|
+
}
|
|
41
|
+
async addSource(component, mergeWith) {
|
|
42
|
+
// Register shared state before any reads finish: fragment conversions run concurrently.
|
|
43
|
+
let state = this.sourceProfiles.get(component.fullName);
|
|
44
|
+
if (!state) {
|
|
45
|
+
state = {
|
|
46
|
+
component,
|
|
47
|
+
incoming: component.parseXml().then((xml) => xml.Profile),
|
|
48
|
+
locals: new Map(),
|
|
49
|
+
};
|
|
50
|
+
this.sourceProfiles.set(component.fullName, state);
|
|
51
|
+
}
|
|
52
|
+
if (mergeWith.xml && !state.locals.has((0, node_path_1.resolve)(mergeWith.xml))) {
|
|
53
|
+
state.locals.set((0, node_path_1.resolve)(mergeWith.xml), {
|
|
54
|
+
component: mergeWith,
|
|
55
|
+
profile: mergeWith.parseXml().then((xml) => xml.Profile),
|
|
56
|
+
});
|
|
57
|
+
}
|
|
58
|
+
await Promise.all([state.incoming, ...Array.from(state.locals.values(), ({ profile }) => profile)]);
|
|
59
|
+
}
|
|
60
|
+
async finalize(defaultDirectory) {
|
|
61
|
+
const results = Array.from(this.transactionState, ([output, { component, profiles }]) => ({
|
|
62
|
+
component,
|
|
63
|
+
writeInfos: [{ output, source: new streams_1.JsToXml({ Profile: mergeProfiles(profiles) }) }],
|
|
64
|
+
}));
|
|
65
|
+
const sourceResults = await Promise.all(Array.from(this.sourceProfiles.values(), async ({ component, incoming, locals }) => {
|
|
66
|
+
const output = (0, node_path_1.resolve)(defaultDirectory ?? '', (0, defaultMetadataTransformer_1.getXmlDestination)('source', component));
|
|
67
|
+
const sourceProfiles = await Promise.all(Array.from(locals.values(), async ({ component: localComponent, profile }) => ({
|
|
68
|
+
component: localComponent,
|
|
69
|
+
profile: await profile,
|
|
70
|
+
touched: false,
|
|
71
|
+
})));
|
|
72
|
+
let defaultProfile;
|
|
73
|
+
if ((0, node_fs_1.existsSync)(output)) {
|
|
74
|
+
defaultProfile = sourceProfiles.find(({ component: localComponent }) => (0, node_path_1.resolve)(localComponent.xml ?? '') === output);
|
|
75
|
+
if (!defaultProfile) {
|
|
76
|
+
const defaultComponent = new resolve_1.SourceComponent({
|
|
77
|
+
name: component.fullName,
|
|
78
|
+
type: component.type,
|
|
79
|
+
xml: output,
|
|
80
|
+
});
|
|
81
|
+
defaultProfile = {
|
|
82
|
+
component: defaultComponent,
|
|
83
|
+
profile: (await defaultComponent.parseXml()).Profile,
|
|
84
|
+
touched: false,
|
|
85
|
+
};
|
|
86
|
+
sourceProfiles.push(defaultProfile);
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
for (const [key, value] of Object.entries(await incoming)) {
|
|
90
|
+
if (key === common_1.XML_NS_KEY || value === undefined)
|
|
91
|
+
continue;
|
|
92
|
+
for (const entry of valuesOf(value)) {
|
|
93
|
+
const owners = sourceProfiles.filter(({ profile }) => valuesOf(profile[key]).some((local) => entriesMatch(key, local, entry)));
|
|
94
|
+
if (owners.length) {
|
|
95
|
+
owners.forEach((owner) => replaceEntry(owner, key, entry));
|
|
96
|
+
}
|
|
97
|
+
else {
|
|
98
|
+
defaultProfile ??= {
|
|
99
|
+
component: new resolve_1.SourceComponent({ name: component.fullName, type: component.type, xml: output }),
|
|
100
|
+
profile: { [common_1.XML_NS_KEY]: common_1.XML_NS_URL },
|
|
101
|
+
touched: false,
|
|
102
|
+
};
|
|
103
|
+
if (!sourceProfiles.includes(defaultProfile))
|
|
104
|
+
sourceProfiles.push(defaultProfile);
|
|
105
|
+
appendEntry(defaultProfile, key, entry);
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
return sourceProfiles
|
|
110
|
+
.filter(({ touched }) => touched)
|
|
111
|
+
.map(({ component: sourceComponent, profile }) => ({
|
|
112
|
+
component: sourceComponent,
|
|
113
|
+
writeInfos: [{ output: sourceComponent.xml, source: new streams_1.JsToXml({ Profile: profile }) }],
|
|
114
|
+
}));
|
|
115
|
+
}));
|
|
116
|
+
results.push(...sourceResults.flat());
|
|
117
|
+
return results;
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
exports.ProfileMetadataFinalizer = ProfileMetadataFinalizer;
|
|
121
|
+
const singletonTags = new Set(['custom', 'description', 'loginHours', 'userLicense']);
|
|
122
|
+
const valuesOf = (value) => value === undefined ? [] : Array.isArray(value) ? value : [value];
|
|
123
|
+
const stringValue = (value) => (typeof value === 'string' ? value : undefined);
|
|
124
|
+
const identityFields = {
|
|
125
|
+
applicationVisibilities: 'application',
|
|
126
|
+
categoryGroupVisibilities: 'dataCategoryGroup',
|
|
127
|
+
classAccesses: 'apexClass',
|
|
128
|
+
customMetadataTypeAccesses: 'name',
|
|
129
|
+
customPermissions: 'name',
|
|
130
|
+
customSettingAccesses: 'name',
|
|
131
|
+
externalDataSourceAccesses: 'externalDataSource',
|
|
132
|
+
fieldPermissions: 'field',
|
|
133
|
+
flowAccesses: 'flow',
|
|
134
|
+
objectPermissions: 'object',
|
|
135
|
+
pageAccesses: 'apexPage',
|
|
136
|
+
recordTypeVisibilities: 'recordType',
|
|
137
|
+
tabVisibilities: 'tab',
|
|
138
|
+
userPermissions: 'name',
|
|
139
|
+
};
|
|
140
|
+
const entryIdentity = (tag, entry) => {
|
|
141
|
+
if (singletonTags.has(tag))
|
|
142
|
+
return tag;
|
|
143
|
+
if (!entry || typeof entry !== 'object' || Array.isArray(entry))
|
|
144
|
+
return undefined;
|
|
145
|
+
const map = entry;
|
|
146
|
+
if (tag === 'layoutAssignments') {
|
|
147
|
+
const layout = map.layout;
|
|
148
|
+
const recordType = map.recordType;
|
|
149
|
+
// A record type is the assignment slot. The layout is the mutable value.
|
|
150
|
+
return typeof recordType === 'string'
|
|
151
|
+
? `recordType:${recordType}`
|
|
152
|
+
: typeof layout === 'string'
|
|
153
|
+
? `default:${layout.split('-')[0]}`
|
|
154
|
+
: undefined;
|
|
155
|
+
}
|
|
156
|
+
if (tag === 'loginIpRanges') {
|
|
157
|
+
const startAddress = map.startAddress;
|
|
158
|
+
const endAddress = map.endAddress;
|
|
159
|
+
return typeof startAddress === 'string' && typeof endAddress === 'string'
|
|
160
|
+
? `${startAddress}:${endAddress}`
|
|
161
|
+
: undefined;
|
|
162
|
+
}
|
|
163
|
+
if (tag === 'profileActionOverrides') {
|
|
164
|
+
const values = [map.actionName, map.formFactor, map.pageOrSobjectType, map.recordType];
|
|
165
|
+
const stringValues = values.map(stringValue);
|
|
166
|
+
return values.every((value, index) => value === undefined || stringValues[index] !== undefined)
|
|
167
|
+
? stringValues.map((value) => value ?? '').join(':')
|
|
168
|
+
: undefined;
|
|
169
|
+
}
|
|
170
|
+
const field = identityFields[tag];
|
|
171
|
+
return field && typeof map[field] === 'string' ? map[field] : undefined;
|
|
172
|
+
};
|
|
173
|
+
const entriesMatch = (tag, local, incoming) => {
|
|
174
|
+
const localIdentity = entryIdentity(tag, local);
|
|
175
|
+
const incomingIdentity = entryIdentity(tag, incoming);
|
|
176
|
+
return localIdentity && incomingIdentity ? localIdentity === incomingIdentity : (0, node_util_1.isDeepStrictEqual)(local, incoming);
|
|
177
|
+
};
|
|
178
|
+
const replaceEntry = (source, tag, incoming) => {
|
|
179
|
+
const existing = valuesOf(source.profile[tag]);
|
|
180
|
+
const replacement = existing.map((entry) => (entriesMatch(tag, entry, incoming) ? incoming : entry));
|
|
181
|
+
if (!(0, node_util_1.isDeepStrictEqual)(existing, replacement)) {
|
|
182
|
+
source.profile[tag] = singletonTags.has(tag) ? replacement[0] : replacement;
|
|
183
|
+
source.touched = true;
|
|
184
|
+
}
|
|
185
|
+
};
|
|
186
|
+
const appendEntry = (source, tag, entry) => {
|
|
187
|
+
const entries = valuesOf(source.profile[tag]);
|
|
188
|
+
source.profile[tag] = singletonTags.has(tag) ? entry : entries.concat(entry);
|
|
189
|
+
source.touched = true;
|
|
190
|
+
};
|
|
191
|
+
const mergeProfiles = (profiles, validateSingletons = true) => {
|
|
192
|
+
const merged = { [common_1.XML_NS_KEY]: common_1.XML_NS_URL };
|
|
193
|
+
const owners = new Map();
|
|
194
|
+
for (const { component, profile } of profiles) {
|
|
195
|
+
for (const [key, value] of Object.entries(profile)) {
|
|
196
|
+
if (key === common_1.XML_NS_KEY || value === undefined)
|
|
197
|
+
continue;
|
|
198
|
+
const mergedValues = valuesOf(merged[key]);
|
|
199
|
+
for (const entry of valuesOf(value)) {
|
|
200
|
+
if (mergedValues.some((existing) => (0, node_util_1.isDeepStrictEqual)(existing, entry)))
|
|
201
|
+
continue;
|
|
202
|
+
if (validateSingletons && singletonTags.has(key) && mergedValues.length) {
|
|
203
|
+
throw new sfError_1.SfError(messages.getMessage('error_profile_singleton_conflict', [
|
|
204
|
+
component.fullName,
|
|
205
|
+
key,
|
|
206
|
+
owners.get(key)?.xml,
|
|
207
|
+
component.xml,
|
|
208
|
+
]), 'ConversionError');
|
|
209
|
+
}
|
|
210
|
+
mergedValues.push(entry);
|
|
211
|
+
owners.set(key, component);
|
|
212
|
+
}
|
|
213
|
+
merged[key] = mergedValues;
|
|
214
|
+
}
|
|
215
|
+
}
|
|
216
|
+
return merged;
|
|
217
|
+
};
|
|
218
|
+
//# sourceMappingURL=profileMetadataFinalizer.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"profileMetadataFinalizer.js","sourceRoot":"","sources":["../../../../src/convert/convertContext/profileMetadataFinalizer.ts"],"names":[],"mappings":";;;AAAA;;;;;;;;;;;;;;GAcG;AACH,qCAAqC;AACrC,yCAAoC;AACpC,yCAA8C;AAC9C,wDAAqD;AACrD,sDAAmD;AAEnD,yCAAsD;AACtD,2CAAgD;AAChD,2FAA+E;AAC/E,wCAAqC;AAErC,iEAAqE;;AAGrE,MAAM,QAAQ,OAAG,mBAAQ,CAAc,oCAAoC,EAAE,KAAK,w1OAAC,CAAC;AAYpF,MAAa,wBAAyB,SAAQ,kDAAyC;IAC9E,gBAAgB,GAAiB,IAAI,GAAG,EAAE,CAAC;IAC1C,cAAc,GAAG,IAAI,GAAG,EAA8B,CAAC;IAExD,KAAK,CAAC,GAAG,CAAC,SAA0B;QACzC,MAAM,MAAM,GAAG,IAAA,8CAAiB,EAAC,UAAU,EAAE,SAAS,CAAC,CAAC;QACxD,MAAM,OAAO,GAAG,CAAC,MAAM,SAAS,CAAC,QAAQ,EAAE,CAAC,CAAC,OAAkB,CAAC;QA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E,GAAG;wBACpB,SAAS,CAAC,GAAG;qBACd,CAAC,EACF,iBAAiB,CAClB,CAAC;gBACJ,CAAC;gBACD,YAAY,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;gBACzB,MAAM,CAAC,GAAG,CAAC,GAAG,EAAE,SAAS,CAAC,CAAC;YAC7B,CAAC;YACD,MAAM,CAAC,GAAG,CAAC,GAAG,YAAY,CAAC;QAC7B,CAAC;IACH,CAAC;IAED,OAAO,MAAM,CAAC;AAChB,CAAC,CAAC"}
|
|
@@ -24,7 +24,7 @@ const sourceComponent_1 = require("../../resolve/sourceComponent");
|
|
|
24
24
|
const streams_1 = require("../streams");
|
|
25
25
|
const transactionFinalizer_1 = require("./transactionFinalizer");
|
|
26
26
|
;
|
|
27
|
-
const messages = new messages_1.Messages('@salesforce/source-deploy-retrieve', 'sdr', new Map([["md_request_fail", "Metadata API request failed: %s"], ["error_retry_limit_exceeded", "Exceeded maximum of %s consecutive retryable errors. Last error: %s"], ["error_could_not_infer_type", "%s: Could not infer a metadata type"], ["error_unexpected_child_type", "Unexpected child metadata [%s] found for parent type [%s]"], ["noParent", "Could not find parent type for %s (%s)"], ["error_expected_source_files", "%s: Expected source files for type '%s'"], ["error_failed_convert", "Component conversion failed: %s"], ["error_invalid_test_level", "TestLevel cannot be '%s' unless API version is %s or later"], ["error_merge_metadata_target_unsupported", "Merge convert for metadata target format currently unsupported"], ["error_missing_adapter", "Missing adapter '%s' for metadata type '%s'"], ["error_missing_transformer", "Missing transformer '%s' for metadata type '%s'"], ["error_missing_type_definition", "Missing metadata type definition in registry for id '%s'."], ["error_missing_child_type_definition", "Type %s does not have a child type definition %s."], ["noChildTypes", "No child types found in registry for %s (reading %s at %s)"], ["error_no_metadata_xml_ignore", "Metadata xml file %s is forceignored but is required for %s."], ["noSourceIgnore", "%s metadata types require source files, but %s is forceignored."], ["noSourceIgnore.actions", "- Metadata types with content are composed of two files: a content file (ie MyApexClass.cls) and a -meta.xml file (i.e MyApexClass.cls-meta.xml). You must include both files in your .forceignore file. Or try appending \u201C\\*\u201D to your existing .forceignore entry.\n\nSee <https://developer.salesforce.com/docs/atlas.en-us.sfdx_dev.meta/sfdx_dev/sfdx_dev_exclude_source.htm> for examples"], ["error_path_not_found", "%s: File or folder not found"], ["noContentFound", "SourceComponent %s (metadata type = %s) is missing its content file."], ["noContentFound.actions", ["Ensure the content file exists in the expected location.", "If the content file is in your .forceignore file, ensure the meta-xml file is also ignored to completely exclude it."]], ["error_parsing_xml", "SourceComponent %s (metadata type = %s) does not have an associated metadata xml to parse"], ["error_expected_file_path", "%s: path is to a directory, expected a file"], ["error_expected_directory_path", "%s: path is to a file, expected a directory"], ["error_directory_not_found_or_not_directory", "%s: path is not a directory"], ["error_no_directory_stream", "%s doesn't support readable streams on directories."], ["error_no_source_to_deploy", "No source-backed components present in the package."], ["error_no_components_to_retrieve", "No components in the package to retrieve."], ["error_static_resource_attempting_zip_slip", "Entry '%s' in static resource '%s' resolves to a location outside the extraction directory ('%s')."], ["error_static_resource_symlink", "Entry '%s' in static resource '%s' would be written through a symbolic link ('%s'). Writing through symbolic links is not allowed because it can place files outside the extraction directory ('%s')."], ["error_retrieve_symlink", "File '%s' would be written through a symbolic link ('%s'). Writing through symbolic links is not allowed during retrieve because it can place files outside the project directory ('%s')."], ["error_static_resource_expected_archive_type", "A StaticResource directory must have a content type of application/zip or application/jar - found %s for %s."], ["error_static_resource_missing_resource_file", "A StaticResource must have an associated .resource file, missing %s.resource-meta.xml"], ["error_no_job_id", "The %s operation is missing a job ID. Initialize an operation with an ID, or start a new job."], ["missingApiVersion", "Could not determine an API version to use for the generated manifest. Tried looking for sourceApiVersion in sfdx-project.json, apiVersion from config vars, and the highest apiVersion from the APEX REST endpoint. Using API version 58.0 as a last resort."], ["invalid_xml_parsing", "error parsing %s due to:\\n message: %s\\n line: %s\\n code: %s"], ["zipBufferError", "Zip buffer was not created during conversion"], ["undefinedComponentSet", "Unable to construct a componentSet. Check the logs for more information."], ["replacementsFileNotRead", "The file \"%s\" specified in the \"replacements\" property of sfdx-project.json could not be read."], ["unsupportedBundleType", "Unsupported Bundle Type: %s"], ["filePathGeneratorNoTypeSupport", "Type not supported for filepath generation: %s"], ["missingFolderType", "The registry has %s as is inFolder but it does not have a folderType"], ["tooManyFiles", "Multiple files found for path: %s."], ["cantGetName", "Unable to calculate fullName from path: %s (%s)"], ["missingMetaFileSuffix", "The metadata registry is configured incorrectly for %s. Expected a metaFileSuffix."], ["uniqueIdElementNotInRegistry", "No uniqueIdElement found in registry for %s (reading %s at %s)."], ["uniqueIdElementNotInChild", "The uniqueIdElement %s was not found the child (reading %s at %s)."], ["suggest_type_header", "A metadata type lookup for \"%s\" found the following close matches:"], ["suggest_type_did_you_mean", "-- Did you mean \".%s%s\" instead for the \"%s\" metadata type?"], ["suggest_type_more_suggestions", "Additional suggestions:\nConfirm the file name, extension, and directory names are correct. Validate against the registry at:\n<https://github.com/forcedotcom/source-deploy-retrieve/blob/main/src/registry/metadataRegistry.json>\n\nIf the type is not listed in the registry, check that it has Metadata API support via the Metadata Coverage Report:\n<https://developer.salesforce.com/docs/metadata-coverage>\n\nIf the type is available via Metadata API but not in the registry\n\n- Open an issue <https://github.com/forcedotcom/cli/issues>\n- Add the type via PR. Instructions: <https://github.com/forcedotcom/source-deploy-retrieve/blob/main/contributing/metadata.md>"], ["error_directory_name_path_traversal", "The directoryName '%s' for metadata type '%s' contains path segments that resolve outside the project root. Verify your registryCustomizations in sfdx-project.json do not contain directory traversal sequences."], ["error_write_path_outside_root", "The write path '%s' resolves outside the root destination '%s'. This may indicate a path traversal attempt via registryCustomizations."], ["warning_jwt_api_version", "This org uses JWT-based access tokens, which require API version 68.0 or later for SOAP metadata operations. The current API version is %s, so metadata listing may return empty or incomplete results. To resolve, update sourceApiVersion in sfdx-project.json to 68.0 or higher."], ["type_name_suggestions", "Confirm the metadata type name is correct. Validate against the registry at:\n<https://github.com/forcedotcom/source-deploy-retrieve/blob/main/src/registry/metadataRegistry.json>\n\nIf the type is not listed in the registry, check that it has Metadata API support via the Metadata Coverage Report:\n<https://developer.salesforce.com/docs/metadata-coverage>\n\nIf the type is available via Metadata API but not in the registry\n\n- Open an issue <https://github.com/forcedotcom/cli/issues>\n- Add the type via PR. Instructions: <https://github.com/forcedotcom/source-deploy-retrieve/blob/main/contributing/metadata.md>"]]));
|
|
27
|
+
const messages = new messages_1.Messages('@salesforce/source-deploy-retrieve', 'sdr', new Map([["md_request_fail", "Metadata API request failed: %s"], ["error_retry_limit_exceeded", "Exceeded maximum of %s consecutive retryable errors. Last error: %s"], ["error_could_not_infer_type", "%s: Could not infer a metadata type"], ["error_unexpected_child_type", "Unexpected child metadata [%s] found for parent type [%s]"], ["noParent", "Could not find parent type for %s (%s)"], ["error_expected_source_files", "%s: Expected source files for type '%s'"], ["error_failed_convert", "Component conversion failed: %s"], ["error_profile_singleton_conflict", "Profile %s has conflicting values for singleton tag %s in source paths %s and %s."], ["error_invalid_test_level", "TestLevel cannot be '%s' unless API version is %s or later"], ["error_merge_metadata_target_unsupported", "Merge convert for metadata target format currently unsupported"], ["error_missing_adapter", "Missing adapter '%s' for metadata type '%s'"], ["error_missing_transformer", "Missing transformer '%s' for metadata type '%s'"], ["error_missing_type_definition", "Missing metadata type definition in registry for id '%s'."], ["error_missing_child_type_definition", "Type %s does not have a child type definition %s."], ["noChildTypes", "No child types found in registry for %s (reading %s at %s)"], ["error_no_metadata_xml_ignore", "Metadata xml file %s is forceignored but is required for %s."], ["noSourceIgnore", "%s metadata types require source files, but %s is forceignored."], ["noSourceIgnore.actions", "- Metadata types with content are composed of two files: a content file (ie MyApexClass.cls) and a -meta.xml file (i.e MyApexClass.cls-meta.xml). You must include both files in your .forceignore file. Or try appending \u201C\\*\u201D to your existing .forceignore entry.\n\nSee <https://developer.salesforce.com/docs/atlas.en-us.sfdx_dev.meta/sfdx_dev/sfdx_dev_exclude_source.htm> for examples"], ["error_path_not_found", "%s: File or folder not found"], ["noContentFound", "SourceComponent %s (metadata type = %s) is missing its content file."], ["noContentFound.actions", ["Ensure the content file exists in the expected location.", "If the content file is in your .forceignore file, ensure the meta-xml file is also ignored to completely exclude it."]], ["error_parsing_xml", "SourceComponent %s (metadata type = %s) does not have an associated metadata xml to parse"], ["error_expected_file_path", "%s: path is to a directory, expected a file"], ["error_expected_directory_path", "%s: path is to a file, expected a directory"], ["error_directory_not_found_or_not_directory", "%s: path is not a directory"], ["error_no_directory_stream", "%s doesn't support readable streams on directories."], ["error_no_source_to_deploy", "No source-backed components present in the package."], ["error_no_components_to_retrieve", "No components in the package to retrieve."], ["error_static_resource_attempting_zip_slip", "Entry '%s' in static resource '%s' resolves to a location outside the extraction directory ('%s')."], ["error_static_resource_symlink", "Entry '%s' in static resource '%s' would be written through a symbolic link ('%s'). Writing through symbolic links is not allowed because it can place files outside the extraction directory ('%s')."], ["error_retrieve_symlink", "File '%s' would be written through a symbolic link ('%s'). Writing through symbolic links is not allowed during retrieve because it can place files outside the project directory ('%s')."], ["error_static_resource_expected_archive_type", "A StaticResource directory must have a content type of application/zip or application/jar - found %s for %s."], ["error_static_resource_missing_resource_file", "A StaticResource must have an associated .resource file, missing %s.resource-meta.xml"], ["error_no_job_id", "The %s operation is missing a job ID. Initialize an operation with an ID, or start a new job."], ["missingApiVersion", "Could not determine an API version to use for the generated manifest. Tried looking for sourceApiVersion in sfdx-project.json, apiVersion from config vars, and the highest apiVersion from the APEX REST endpoint. Using API version 58.0 as a last resort."], ["invalid_xml_parsing", "error parsing %s due to:\\n message: %s\\n line: %s\\n code: %s"], ["zipBufferError", "Zip buffer was not created during conversion"], ["undefinedComponentSet", "Unable to construct a componentSet. Check the logs for more information."], ["replacementsFileNotRead", "The file \"%s\" specified in the \"replacements\" property of sfdx-project.json could not be read."], ["unsupportedBundleType", "Unsupported Bundle Type: %s"], ["filePathGeneratorNoTypeSupport", "Type not supported for filepath generation: %s"], ["missingFolderType", "The registry has %s as is inFolder but it does not have a folderType"], ["tooManyFiles", "Multiple files found for path: %s."], ["cantGetName", "Unable to calculate fullName from path: %s (%s)"], ["missingMetaFileSuffix", "The metadata registry is configured incorrectly for %s. Expected a metaFileSuffix."], ["uniqueIdElementNotInRegistry", "No uniqueIdElement found in registry for %s (reading %s at %s)."], ["uniqueIdElementNotInChild", "The uniqueIdElement %s was not found the child (reading %s at %s)."], ["suggest_type_header", "A metadata type lookup for \"%s\" found the following close matches:"], ["suggest_type_did_you_mean", "-- Did you mean \".%s%s\" instead for the \"%s\" metadata type?"], ["suggest_type_more_suggestions", "Additional suggestions:\nConfirm the file name, extension, and directory names are correct. Validate against the registry at:\n<https://github.com/forcedotcom/source-deploy-retrieve/blob/main/src/registry/metadataRegistry.json>\n\nIf the type is not listed in the registry, check that it has Metadata API support via the Metadata Coverage Report:\n<https://developer.salesforce.com/docs/metadata-coverage>\n\nIf the type is available via Metadata API but not in the registry\n\n- Open an issue <https://github.com/forcedotcom/cli/issues>\n- Add the type via PR. Instructions: <https://github.com/forcedotcom/source-deploy-retrieve/blob/main/contributing/metadata.md>"], ["error_directory_name_path_traversal", "The directoryName '%s' for metadata type '%s' contains path segments that resolve outside the project root. Verify your registryCustomizations in sfdx-project.json do not contain directory traversal sequences."], ["error_write_path_outside_root", "The write path '%s' resolves outside the root destination '%s'. This may indicate a path traversal attempt via registryCustomizations."], ["warning_jwt_api_version", "This org uses JWT-based access tokens, which require API version 68.0 or later for SOAP metadata operations. The current API version is %s, so metadata listing may return empty or incomplete results. To resolve, update sourceApiVersion in sfdx-project.json to 68.0 or higher."], ["type_name_suggestions", "Confirm the metadata type name is correct. Validate against the registry at:\n<https://github.com/forcedotcom/source-deploy-retrieve/blob/main/src/registry/metadataRegistry.json>\n\nIf the type is not listed in the registry, check that it has Metadata API support via the Metadata Coverage Report:\n<https://developer.salesforce.com/docs/metadata-coverage>\n\nIf the type is available via Metadata API but not in the registry\n\n- Open an issue <https://github.com/forcedotcom/cli/issues>\n- Add the type via PR. Instructions: <https://github.com/forcedotcom/source-deploy-retrieve/blob/main/contributing/metadata.md>"]]));
|
|
28
28
|
/**
|
|
29
29
|
* Merges child components that share the same parent in the conversion pipeline into a single file.
|
|
30
30
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"recompositionFinalizer.js","sourceRoot":"","sources":["../../../../src/convert/convertContext/recompositionFinalizer.ts"],"names":[],"mappings":";;;AAAA;;;;;;;;;;;;;;GAcG;AACH,yCAAiC;AAEjC,wDAAqD;AACrD,uDAAmG;AAEnG,sDAAgE;AAEhE,mEAAgE;AAChE,wCAAqC;AAErC,iEAAqE;;AAGrE,MAAM,QAAQ,OAAG,mBAAQ,CAAc,oCAAoC,EAAE,KAAK,
|
|
1
|
+
{"version":3,"file":"recompositionFinalizer.js","sourceRoot":"","sources":["../../../../src/convert/convertContext/recompositionFinalizer.ts"],"names":[],"mappings":";;;AAAA;;;;;;;;;;;;;;GAcG;AACH,yCAAiC;AAEjC,wDAAqD;AACrD,uDAAmG;AAEnG,sDAAgE;AAEhE,mEAAgE;AAChE,wCAAqC;AAErC,iEAAqE;;AAGrE,MAAM,QAAQ,OAAG,mBAAQ,CAAc,oCAAoC,EAAE,KAAK,w1OAAC,CAAC;AAiBpF;;;;;GAKG;AACH,MAAa,sBAAuB,SAAQ,kDAA+C;IAClF,gBAAgB,GAAuB,IAAI,GAAG,EAA4C,CAAC;IAC1F,QAAQ,GAAa,IAAI,GAAG,EAAE,CAAC;IAEhC,KAAK,CAAC,QAAQ;QACnB,OAAO,OAAO,CAAC,GAAG,CAChB,CAAC,GAAG,IAAI,CAAC,gBAAgB,CAAC,MAAM,EAAE,CAAC;aAChC,MAAM,CAAC,0BAA0B,CAAC;aAClC,GAAG,CAAC,wBAAwB,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAChD,CAAC;IACJ,CAAC;CACF;AAXD,wDAWC;AAED,MAAM,wBAAwB,GAC5B,CAAC,KAAe,EAAE,EAAE,CACpB,KAAK,EAAE,UAA6C,EAAyB,EAAE,CAAC,CAAC;IAC/E,SA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Ae;YAC1D,CAAC,CAAC,GAAG,CAAC,kBAAkB,CAAC,EAAE,CAAC,GAAG,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,MAAM,eAAe,CAAC,QAAQ,CAAC,CAAC,GAAG,CAAC,MAAM,CAAC,EAAE,CAAC;YACjG,CAAC,CAAC,IAAA,4BAAe,EAAC,GAAG,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,MAAM,GAAG,CAAC,QAAQ,EAAE,CAAC,IAAI,EAAE,CAAC;QACjE,QAAQ,CAAC,GAAG,CAAC,GAAG,EAAE,MAAM,CAAC,CAAC;IAC5B,CAAC;IACD,OAAO,QAAQ,CAAC,GAAG,CAAC,GAAG,CAAC,IAAI,EAAE,CAAC;AACjC,CAAC,CAAC"}
|
|
@@ -29,7 +29,7 @@ const registryAccess_1 = require("../registry/registryAccess");
|
|
|
29
29
|
const streams_1 = require("./streams");
|
|
30
30
|
const replacements_1 = require("./replacements");
|
|
31
31
|
;
|
|
32
|
-
const messages = new messages_1.Messages('@salesforce/source-deploy-retrieve', 'sdr', new Map([["md_request_fail", "Metadata API request failed: %s"], ["error_retry_limit_exceeded", "Exceeded maximum of %s consecutive retryable errors. Last error: %s"], ["error_could_not_infer_type", "%s: Could not infer a metadata type"], ["error_unexpected_child_type", "Unexpected child metadata [%s] found for parent type [%s]"], ["noParent", "Could not find parent type for %s (%s)"], ["error_expected_source_files", "%s: Expected source files for type '%s'"], ["error_failed_convert", "Component conversion failed: %s"], ["error_invalid_test_level", "TestLevel cannot be '%s' unless API version is %s or later"], ["error_merge_metadata_target_unsupported", "Merge convert for metadata target format currently unsupported"], ["error_missing_adapter", "Missing adapter '%s' for metadata type '%s'"], ["error_missing_transformer", "Missing transformer '%s' for metadata type '%s'"], ["error_missing_type_definition", "Missing metadata type definition in registry for id '%s'."], ["error_missing_child_type_definition", "Type %s does not have a child type definition %s."], ["noChildTypes", "No child types found in registry for %s (reading %s at %s)"], ["error_no_metadata_xml_ignore", "Metadata xml file %s is forceignored but is required for %s."], ["noSourceIgnore", "%s metadata types require source files, but %s is forceignored."], ["noSourceIgnore.actions", "- Metadata types with content are composed of two files: a content file (ie MyApexClass.cls) and a -meta.xml file (i.e MyApexClass.cls-meta.xml). You must include both files in your .forceignore file. Or try appending \u201C\\*\u201D to your existing .forceignore entry.\n\nSee <https://developer.salesforce.com/docs/atlas.en-us.sfdx_dev.meta/sfdx_dev/sfdx_dev_exclude_source.htm> for examples"], ["error_path_not_found", "%s: File or folder not found"], ["noContentFound", "SourceComponent %s (metadata type = %s) is missing its content file."], ["noContentFound.actions", ["Ensure the content file exists in the expected location.", "If the content file is in your .forceignore file, ensure the meta-xml file is also ignored to completely exclude it."]], ["error_parsing_xml", "SourceComponent %s (metadata type = %s) does not have an associated metadata xml to parse"], ["error_expected_file_path", "%s: path is to a directory, expected a file"], ["error_expected_directory_path", "%s: path is to a file, expected a directory"], ["error_directory_not_found_or_not_directory", "%s: path is not a directory"], ["error_no_directory_stream", "%s doesn't support readable streams on directories."], ["error_no_source_to_deploy", "No source-backed components present in the package."], ["error_no_components_to_retrieve", "No components in the package to retrieve."], ["error_static_resource_attempting_zip_slip", "Entry '%s' in static resource '%s' resolves to a location outside the extraction directory ('%s')."], ["error_static_resource_symlink", "Entry '%s' in static resource '%s' would be written through a symbolic link ('%s'). Writing through symbolic links is not allowed because it can place files outside the extraction directory ('%s')."], ["error_retrieve_symlink", "File '%s' would be written through a symbolic link ('%s'). Writing through symbolic links is not allowed during retrieve because it can place files outside the project directory ('%s')."], ["error_static_resource_expected_archive_type", "A StaticResource directory must have a content type of application/zip or application/jar - found %s for %s."], ["error_static_resource_missing_resource_file", "A StaticResource must have an associated .resource file, missing %s.resource-meta.xml"], ["error_no_job_id", "The %s operation is missing a job ID. Initialize an operation with an ID, or start a new job."], ["missingApiVersion", "Could not determine an API version to use for the generated manifest. Tried looking for sourceApiVersion in sfdx-project.json, apiVersion from config vars, and the highest apiVersion from the APEX REST endpoint. Using API version 58.0 as a last resort."], ["invalid_xml_parsing", "error parsing %s due to:\\n message: %s\\n line: %s\\n code: %s"], ["zipBufferError", "Zip buffer was not created during conversion"], ["undefinedComponentSet", "Unable to construct a componentSet. Check the logs for more information."], ["replacementsFileNotRead", "The file \"%s\" specified in the \"replacements\" property of sfdx-project.json could not be read."], ["unsupportedBundleType", "Unsupported Bundle Type: %s"], ["filePathGeneratorNoTypeSupport", "Type not supported for filepath generation: %s"], ["missingFolderType", "The registry has %s as is inFolder but it does not have a folderType"], ["tooManyFiles", "Multiple files found for path: %s."], ["cantGetName", "Unable to calculate fullName from path: %s (%s)"], ["missingMetaFileSuffix", "The metadata registry is configured incorrectly for %s. Expected a metaFileSuffix."], ["uniqueIdElementNotInRegistry", "No uniqueIdElement found in registry for %s (reading %s at %s)."], ["uniqueIdElementNotInChild", "The uniqueIdElement %s was not found the child (reading %s at %s)."], ["suggest_type_header", "A metadata type lookup for \"%s\" found the following close matches:"], ["suggest_type_did_you_mean", "-- Did you mean \".%s%s\" instead for the \"%s\" metadata type?"], ["suggest_type_more_suggestions", "Additional suggestions:\nConfirm the file name, extension, and directory names are correct. Validate against the registry at:\n<https://github.com/forcedotcom/source-deploy-retrieve/blob/main/src/registry/metadataRegistry.json>\n\nIf the type is not listed in the registry, check that it has Metadata API support via the Metadata Coverage Report:\n<https://developer.salesforce.com/docs/metadata-coverage>\n\nIf the type is available via Metadata API but not in the registry\n\n- Open an issue <https://github.com/forcedotcom/cli/issues>\n- Add the type via PR. Instructions: <https://github.com/forcedotcom/source-deploy-retrieve/blob/main/contributing/metadata.md>"], ["error_directory_name_path_traversal", "The directoryName '%s' for metadata type '%s' contains path segments that resolve outside the project root. Verify your registryCustomizations in sfdx-project.json do not contain directory traversal sequences."], ["error_write_path_outside_root", "The write path '%s' resolves outside the root destination '%s'. This may indicate a path traversal attempt via registryCustomizations."], ["warning_jwt_api_version", "This org uses JWT-based access tokens, which require API version 68.0 or later for SOAP metadata operations. The current API version is %s, so metadata listing may return empty or incomplete results. To resolve, update sourceApiVersion in sfdx-project.json to 68.0 or higher."], ["type_name_suggestions", "Confirm the metadata type name is correct. Validate against the registry at:\n<https://github.com/forcedotcom/source-deploy-retrieve/blob/main/src/registry/metadataRegistry.json>\n\nIf the type is not listed in the registry, check that it has Metadata API support via the Metadata Coverage Report:\n<https://developer.salesforce.com/docs/metadata-coverage>\n\nIf the type is available via Metadata API but not in the registry\n\n- Open an issue <https://github.com/forcedotcom/cli/issues>\n- Add the type via PR. Instructions: <https://github.com/forcedotcom/source-deploy-retrieve/blob/main/contributing/metadata.md>"]]));
|
|
32
|
+
const messages = new messages_1.Messages('@salesforce/source-deploy-retrieve', 'sdr', new Map([["md_request_fail", "Metadata API request failed: %s"], ["error_retry_limit_exceeded", "Exceeded maximum of %s consecutive retryable errors. Last error: %s"], ["error_could_not_infer_type", "%s: Could not infer a metadata type"], ["error_unexpected_child_type", "Unexpected child metadata [%s] found for parent type [%s]"], ["noParent", "Could not find parent type for %s (%s)"], ["error_expected_source_files", "%s: Expected source files for type '%s'"], ["error_failed_convert", "Component conversion failed: %s"], ["error_profile_singleton_conflict", "Profile %s has conflicting values for singleton tag %s in source paths %s and %s."], ["error_invalid_test_level", "TestLevel cannot be '%s' unless API version is %s or later"], ["error_merge_metadata_target_unsupported", "Merge convert for metadata target format currently unsupported"], ["error_missing_adapter", "Missing adapter '%s' for metadata type '%s'"], ["error_missing_transformer", "Missing transformer '%s' for metadata type '%s'"], ["error_missing_type_definition", "Missing metadata type definition in registry for id '%s'."], ["error_missing_child_type_definition", "Type %s does not have a child type definition %s."], ["noChildTypes", "No child types found in registry for %s (reading %s at %s)"], ["error_no_metadata_xml_ignore", "Metadata xml file %s is forceignored but is required for %s."], ["noSourceIgnore", "%s metadata types require source files, but %s is forceignored."], ["noSourceIgnore.actions", "- Metadata types with content are composed of two files: a content file (ie MyApexClass.cls) and a -meta.xml file (i.e MyApexClass.cls-meta.xml). You must include both files in your .forceignore file. Or try appending \u201C\\*\u201D to your existing .forceignore entry.\n\nSee <https://developer.salesforce.com/docs/atlas.en-us.sfdx_dev.meta/sfdx_dev/sfdx_dev_exclude_source.htm> for examples"], ["error_path_not_found", "%s: File or folder not found"], ["noContentFound", "SourceComponent %s (metadata type = %s) is missing its content file."], ["noContentFound.actions", ["Ensure the content file exists in the expected location.", "If the content file is in your .forceignore file, ensure the meta-xml file is also ignored to completely exclude it."]], ["error_parsing_xml", "SourceComponent %s (metadata type = %s) does not have an associated metadata xml to parse"], ["error_expected_file_path", "%s: path is to a directory, expected a file"], ["error_expected_directory_path", "%s: path is to a file, expected a directory"], ["error_directory_not_found_or_not_directory", "%s: path is not a directory"], ["error_no_directory_stream", "%s doesn't support readable streams on directories."], ["error_no_source_to_deploy", "No source-backed components present in the package."], ["error_no_components_to_retrieve", "No components in the package to retrieve."], ["error_static_resource_attempting_zip_slip", "Entry '%s' in static resource '%s' resolves to a location outside the extraction directory ('%s')."], ["error_static_resource_symlink", "Entry '%s' in static resource '%s' would be written through a symbolic link ('%s'). Writing through symbolic links is not allowed because it can place files outside the extraction directory ('%s')."], ["error_retrieve_symlink", "File '%s' would be written through a symbolic link ('%s'). Writing through symbolic links is not allowed during retrieve because it can place files outside the project directory ('%s')."], ["error_static_resource_expected_archive_type", "A StaticResource directory must have a content type of application/zip or application/jar - found %s for %s."], ["error_static_resource_missing_resource_file", "A StaticResource must have an associated .resource file, missing %s.resource-meta.xml"], ["error_no_job_id", "The %s operation is missing a job ID. Initialize an operation with an ID, or start a new job."], ["missingApiVersion", "Could not determine an API version to use for the generated manifest. Tried looking for sourceApiVersion in sfdx-project.json, apiVersion from config vars, and the highest apiVersion from the APEX REST endpoint. Using API version 58.0 as a last resort."], ["invalid_xml_parsing", "error parsing %s due to:\\n message: %s\\n line: %s\\n code: %s"], ["zipBufferError", "Zip buffer was not created during conversion"], ["undefinedComponentSet", "Unable to construct a componentSet. Check the logs for more information."], ["replacementsFileNotRead", "The file \"%s\" specified in the \"replacements\" property of sfdx-project.json could not be read."], ["unsupportedBundleType", "Unsupported Bundle Type: %s"], ["filePathGeneratorNoTypeSupport", "Type not supported for filepath generation: %s"], ["missingFolderType", "The registry has %s as is inFolder but it does not have a folderType"], ["tooManyFiles", "Multiple files found for path: %s."], ["cantGetName", "Unable to calculate fullName from path: %s (%s)"], ["missingMetaFileSuffix", "The metadata registry is configured incorrectly for %s. Expected a metaFileSuffix."], ["uniqueIdElementNotInRegistry", "No uniqueIdElement found in registry for %s (reading %s at %s)."], ["uniqueIdElementNotInChild", "The uniqueIdElement %s was not found the child (reading %s at %s)."], ["suggest_type_header", "A metadata type lookup for \"%s\" found the following close matches:"], ["suggest_type_did_you_mean", "-- Did you mean \".%s%s\" instead for the \"%s\" metadata type?"], ["suggest_type_more_suggestions", "Additional suggestions:\nConfirm the file name, extension, and directory names are correct. Validate against the registry at:\n<https://github.com/forcedotcom/source-deploy-retrieve/blob/main/src/registry/metadataRegistry.json>\n\nIf the type is not listed in the registry, check that it has Metadata API support via the Metadata Coverage Report:\n<https://developer.salesforce.com/docs/metadata-coverage>\n\nIf the type is available via Metadata API but not in the registry\n\n- Open an issue <https://github.com/forcedotcom/cli/issues>\n- Add the type via PR. Instructions: <https://github.com/forcedotcom/source-deploy-retrieve/blob/main/contributing/metadata.md>"], ["error_directory_name_path_traversal", "The directoryName '%s' for metadata type '%s' contains path segments that resolve outside the project root. Verify your registryCustomizations in sfdx-project.json do not contain directory traversal sequences."], ["error_write_path_outside_root", "The write path '%s' resolves outside the root destination '%s'. This may indicate a path traversal attempt via registryCustomizations."], ["warning_jwt_api_version", "This org uses JWT-based access tokens, which require API version 68.0 or later for SOAP metadata operations. The current API version is %s, so metadata listing may return empty or incomplete results. To resolve, update sourceApiVersion in sfdx-project.json to 68.0 or higher."], ["type_name_suggestions", "Confirm the metadata type name is correct. Validate against the registry at:\n<https://github.com/forcedotcom/source-deploy-retrieve/blob/main/src/registry/metadataRegistry.json>\n\nIf the type is not listed in the registry, check that it has Metadata API support via the Metadata Coverage Report:\n<https://developer.salesforce.com/docs/metadata-coverage>\n\nIf the type is available via Metadata API but not in the registry\n\n- Open an issue <https://github.com/forcedotcom/cli/issues>\n- Add the type via PR. Instructions: <https://github.com/forcedotcom/source-deploy-retrieve/blob/main/contributing/metadata.md>"]]));
|
|
33
33
|
class MetadataConverter {
|
|
34
34
|
static PACKAGE_XML_FILE = 'package.xml';
|
|
35
35
|
static DESTRUCTIVE_CHANGES_POST_XML_FILE = 'destructiveChangesPost.xml';
|