@salesforce/source-deploy-retrieve 13.14.6-d360.0 → 13.15.1
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/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/transports/transportPipeline.js +1 -1
- package/lib/src/client/transports/transportPipeline.js.map +1 -1
- package/lib/src/collections/componentSet.d.ts +0 -27
- package/lib/src/collections/componentSet.js +2 -50
- package/lib/src/collections/componentSet.js.map +1 -1
- package/lib/src/collections/componentSetBuilder.d.ts +0 -5
- package/lib/src/collections/componentSetBuilder.js +1 -8
- package/lib/src/collections/componentSetBuilder.js.map +1 -1
- package/lib/src/collections/index.d.ts +0 -1
- package/lib/src/collections/index.js +1 -3
- package/lib/src/collections/index.js.map +1 -1
- package/lib/src/convert/convertContext/profileMetadataFinalizer.js +34 -2
- package/lib/src/convert/convertContext/profileMetadataFinalizer.js.map +1 -1
- 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/computeAppMetadataTransformer.js +1 -1
- package/lib/src/convert/transformers/computeAppMetadataTransformer.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.js +1 -1
- package/lib/src/convert/transformers/defaultMetadataTransformer.js.map +1 -1
- package/lib/src/convert/transformers/enrichmentMetadataTransformer.d.ts +16 -0
- package/lib/src/convert/transformers/enrichmentMetadataTransformer.js +67 -0
- package/lib/src/convert/transformers/enrichmentMetadataTransformer.js.map +1 -0
- package/lib/src/convert/transformers/metadataTransformerFactory.js +4 -4
- 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/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 +1 -2
- 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 +28 -238
- package/lib/src/registry/registryAccess.d.ts +21 -0
- package/lib/src/registry/registryAccess.js +27 -1
- package/lib/src/registry/registryAccess.js.map +1 -1
- package/lib/src/registry/types.d.ts +17 -7
- package/lib/src/registry/types.js.map +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/enrichmentSourceAdapter.d.ts +20 -0
- package/lib/src/resolve/adapters/enrichmentSourceAdapter.js +46 -0
- package/lib/src/resolve/adapters/enrichmentSourceAdapter.js.map +1 -0
- package/lib/src/resolve/adapters/index.d.ts +0 -1
- package/lib/src/resolve/adapters/index.js +1 -3
- package/lib/src/resolve/adapters/index.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 +4 -4
- 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 +29 -3
- 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 +4 -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 -28
- package/package.json +1 -1
- package/lib/src/collections/d360Dependencies.d.ts +0 -55
- package/lib/src/collections/d360Dependencies.js +0 -445
- package/lib/src/collections/d360Dependencies.js.map +0 -1
- package/lib/src/convert/transformers/d360MetadataTransformer.d.ts +0 -37
- package/lib/src/convert/transformers/d360MetadataTransformer.js +0 -213
- package/lib/src/convert/transformers/d360MetadataTransformer.js.map +0 -1
- package/lib/src/resolve/adapters/d360SourceAdapter.d.ts +0 -86
- package/lib/src/resolve/adapters/d360SourceAdapter.js +0 -180
- package/lib/src/resolve/adapters/d360SourceAdapter.js.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"levenshtein.js","sourceRoot":"","sources":["../../../src/registry/levenshtein.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,wDAAqD;AACrD,8DAAgD;;AAIhD,MAAM,QAAQ,OAAG,mBAAQ,CAAc,oCAAoC,EAAE,KAAK,
|
|
1
|
+
{"version":3,"file":"levenshtein.js","sourceRoot":"","sources":["../../../src/registry/levenshtein.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,wDAAqD;AACrD,8DAAgD;;AAIhD,MAAM,QAAQ,OAAG,mBAAQ,CAAc,oCAAoC,EAAE,KAAK,okPAAC,CAAC;AAEpF,6CAA6C;AACtC,MAAM,kBAAkB,GAAG,CAAC,QAA0B,EAAE,QAAgB,EAAY,EAAE;IAC3F,MAAM,MAAM,GAAG,SAAS,CACtB,MAAM,CAAC,MAAM,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,EAChD,QAAQ,CACT,CAAC;IAEF,MAAM,OAAO,GAAG,eAAe,CAAC,MAAM,CAAC,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC;IAC1E,OAAO;QACL,GAAG,CAAC,OAAO,CAAC,MAAM;YAChB,CAAC,CAAC;gBACE,6CAA6C,OAAO,CAAC,IAAI,CAAC,GAAG,CAAC,GAAG;gBACjE,EAAE,EAAE,0CAA0C;aAC/C;YACH,CAAC,CAAC,EAAE,CAAC;QACP,QAAQ,CAAC,UAAU,CAAC,uBAAuB,CAAC;KAC7C,CAAC;AACJ,CAAC,CAAC;AAhBW,QAAA,kBAAkB,sBAgB7B;AAEK,MAAM,gBAAgB,GAAG,CAAC,QAAkB,EAAE,KAAa,EAAY,EAAE;IAC9E,MAAM,MAAM,GAAG,SAAS,CAAC,QAAQ,EAAE,KAAK,CAAC,CAAC;IAC1C,OAAO,eAAe,CAAC,MAAM,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,WAAW,CAAC,CAAC;AAC3D,CAAC,CAAC;AAHW,QAAA,gBAAgB,oBAG3B;AAOF,MAAM,SAAS,GAAG,CAAC,OAAiB,EAAE,KAAa,EAAsB,EAAE,CACzE,OAAO,CAAC,GAAG,CAAC,CAAC,WAAW,EAAE,EAAE,CAAC,CAAC;IAC5B,WAAW;IACX,KAAK,EAAE,WAAW,CAAC,GAAG,CAAC,KAAK,EAAE,WAAW,EAAE,EAAE,WAAW,EAAE,IAAI,EAAE,CAAC;CAClE,CAAC,CAAC,CAAC;AAEN,iGAAiG;AACjG,MAAM,eAAe,GAAG,CAAC,MAA0B,EAAsB,EAAE;IACzE,MAAM,YAAY,GAAG,MAAM,CAAC,IAAI,CAAC,iBAAiB,CAAC,CAAC;IACpD,MAAM,WAAW,GAAG,MAAM,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC;IACpC,OAAO,YAAY,CAAC,MAAM,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,KAAK,KAAK,WAAW,CAAC,CAAC;AACrE,CAAC,CAAC;AAEF,MAAM,iBAAiB,GAAG,CAAC,CAAmB,EAAE,CAAmB,EAAU,EAAE,CAAC,CAAC,CAAC,KAAK,GAAG,CAAC,CAAC,KAAK,CAAC"}
|
|
@@ -51,24 +51,7 @@
|
|
|
51
51
|
"botBlocks": "botblock",
|
|
52
52
|
"botTemplates": "bottemplate",
|
|
53
53
|
"bots": "bot",
|
|
54
|
-
"calculatedInsights": "calculatedinsight",
|
|
55
54
|
"contentTypes": "contenttypebundle",
|
|
56
|
-
"dataModelObjects": "datamodelobject",
|
|
57
|
-
"dataModelObjectMappings": "datamodelobjectmapping",
|
|
58
|
-
"dataLakeObjects": "datalakeobject",
|
|
59
|
-
"dataspaceMembers": "dataspacemember",
|
|
60
|
-
"secondaryIndexes": "secondaryindex",
|
|
61
|
-
"dataModelObjectRelationships": "datamodelobjectrelationship",
|
|
62
|
-
"dataStreams": "datastream",
|
|
63
|
-
"dataConnections": "dataconnection",
|
|
64
|
-
"dataTransforms": "datatransform",
|
|
65
|
-
"activationTargets": "activationtarget",
|
|
66
|
-
"dataActions": "dataaction",
|
|
67
|
-
"dataActionTargets": "dataactiontarget",
|
|
68
|
-
"dataGraphs": "datagraph",
|
|
69
|
-
"identityResolutions": "identityresolution",
|
|
70
|
-
"marketSegments": "marketsegment",
|
|
71
|
-
"marketSegmentActivations": "marketsegmentactivation",
|
|
72
55
|
"documents": "document",
|
|
73
56
|
"emailservices": "emailservicesfunction",
|
|
74
57
|
"experiencePropertyTypeBundles": "experiencepropertytypebundle",
|
|
@@ -362,7 +345,6 @@
|
|
|
362
345
|
"integrationProviderDefinition": "integrationproviderdef",
|
|
363
346
|
"internalDataConnector": "internaldataconnector",
|
|
364
347
|
"internalOrganization": "internalorganization",
|
|
365
|
-
"json": "calculatedinsight",
|
|
366
348
|
"keywords": "keywordlist",
|
|
367
349
|
"labels": "customlabels",
|
|
368
350
|
"layout": "layout",
|
|
@@ -413,6 +395,7 @@
|
|
|
413
395
|
"navigationMenu": "navigationmenu",
|
|
414
396
|
"network": "network",
|
|
415
397
|
"networkBranding": "networkbranding",
|
|
398
|
+
"notificationDefinition": "ntfcndefinition",
|
|
416
399
|
"notifications": "apexemailnotifications",
|
|
417
400
|
"notiftype": "customnotificationtype",
|
|
418
401
|
"oauthcustomscope": "oauthcustomscope",
|
|
@@ -628,7 +611,6 @@
|
|
|
628
611
|
"meetingPlaybookDefinition": "meetingplaybookdefinition",
|
|
629
612
|
"idpConfiguration": "idpconfiguration",
|
|
630
613
|
"computeApp": "computeapp",
|
|
631
|
-
"notificationDefinition": "ntfcndefinition",
|
|
632
614
|
"ecaAttest": "extlclntappattestsettings",
|
|
633
615
|
"ecaAttestPlcy": "extlclntappattestconfigurablepolicies",
|
|
634
616
|
"genOpPlanEligibilityConfig": "genopplaneligibilityconfig",
|
|
@@ -1779,6 +1761,22 @@
|
|
|
1779
1761
|
"suffix": "object",
|
|
1780
1762
|
"supportsWildcardAndName": true
|
|
1781
1763
|
},
|
|
1764
|
+
"customobject.pilotaigenerateddescriptionenrichment": {
|
|
1765
|
+
"directoryName": "objects/enrichments/aiGeneratedDescriptions",
|
|
1766
|
+
"enrichment": {
|
|
1767
|
+
"directory": "aiGeneratedDescriptions",
|
|
1768
|
+
"targetDirectory": "objects",
|
|
1769
|
+
"targetType": "CustomObject"
|
|
1770
|
+
},
|
|
1771
|
+
"id": "customobject.pilotaigenerateddescriptionenrichment",
|
|
1772
|
+
"inFolder": false,
|
|
1773
|
+
"name": "CustomObject.PilotAIGeneratedDescriptionEnrichment",
|
|
1774
|
+
"strategies": {
|
|
1775
|
+
"adapter": "enrichment",
|
|
1776
|
+
"transformer": "enrichment"
|
|
1777
|
+
},
|
|
1778
|
+
"suffix": "aigenerateddescription"
|
|
1779
|
+
},
|
|
1782
1780
|
"customobjecttranslation": {
|
|
1783
1781
|
"children": {
|
|
1784
1782
|
"directories": {
|
|
@@ -3593,6 +3591,14 @@
|
|
|
3593
3591
|
"strictDirectoryName": false,
|
|
3594
3592
|
"suffix": "config"
|
|
3595
3593
|
},
|
|
3594
|
+
"ntfcndefinition": {
|
|
3595
|
+
"directoryName": "notificationDefinitions",
|
|
3596
|
+
"id": "ntfcndefinition",
|
|
3597
|
+
"inFolder": false,
|
|
3598
|
+
"name": "NtfcnDefinition",
|
|
3599
|
+
"strictDirectoryName": false,
|
|
3600
|
+
"suffix": "notificationDefinition"
|
|
3601
|
+
},
|
|
3596
3602
|
"oauthcustomscope": {
|
|
3597
3603
|
"directoryName": "oauthcustomscopes",
|
|
3598
3604
|
"id": "oauthcustomscope",
|
|
@@ -3941,12 +3947,12 @@
|
|
|
3941
3947
|
"id": "profile",
|
|
3942
3948
|
"inFolder": false,
|
|
3943
3949
|
"name": "Profile",
|
|
3944
|
-
"strictDirectoryName": false,
|
|
3945
|
-
"suffix": "profile",
|
|
3946
3950
|
"strategies": {
|
|
3947
3951
|
"adapter": "default",
|
|
3948
3952
|
"transformer": "profile"
|
|
3949
|
-
}
|
|
3953
|
+
},
|
|
3954
|
+
"strictDirectoryName": false,
|
|
3955
|
+
"suffix": "profile"
|
|
3950
3956
|
},
|
|
3951
3957
|
"profilepasswordpolicy": {
|
|
3952
3958
|
"directoryName": "profilePasswordPolicies",
|
|
@@ -5456,222 +5462,6 @@
|
|
|
5456
5462
|
},
|
|
5457
5463
|
"supportsPartialDelete": true
|
|
5458
5464
|
},
|
|
5459
|
-
"calculatedinsight": {
|
|
5460
|
-
"id": "calculatedinsight",
|
|
5461
|
-
"name": "CalculatedInsight",
|
|
5462
|
-
"suffix": "json",
|
|
5463
|
-
"directoryName": "calculatedInsights",
|
|
5464
|
-
"inFolder": false,
|
|
5465
|
-
"strictDirectoryName": true,
|
|
5466
|
-
"strategies": {
|
|
5467
|
-
"adapter": "d360",
|
|
5468
|
-
"transformer": "d360"
|
|
5469
|
-
}
|
|
5470
|
-
},
|
|
5471
|
-
"datamodelobject": {
|
|
5472
|
-
"id": "datamodelobject",
|
|
5473
|
-
"name": "DataModelObject",
|
|
5474
|
-
"suffix": "json",
|
|
5475
|
-
"directoryName": "dataModelObjects",
|
|
5476
|
-
"inFolder": false,
|
|
5477
|
-
"strictDirectoryName": true,
|
|
5478
|
-
"strategies": {
|
|
5479
|
-
"adapter": "d360",
|
|
5480
|
-
"transformer": "d360"
|
|
5481
|
-
}
|
|
5482
|
-
},
|
|
5483
|
-
"datalakeobject": {
|
|
5484
|
-
"id": "datalakeobject",
|
|
5485
|
-
"name": "DataLakeObject",
|
|
5486
|
-
"suffix": "json",
|
|
5487
|
-
"directoryName": "dataLakeObjects",
|
|
5488
|
-
"inFolder": false,
|
|
5489
|
-
"strictDirectoryName": true,
|
|
5490
|
-
"strategies": {
|
|
5491
|
-
"adapter": "d360",
|
|
5492
|
-
"transformer": "d360"
|
|
5493
|
-
}
|
|
5494
|
-
},
|
|
5495
|
-
"dataspacemember": {
|
|
5496
|
-
"id": "dataspacemember",
|
|
5497
|
-
"name": "DataspaceMember",
|
|
5498
|
-
"suffix": "json",
|
|
5499
|
-
"directoryName": "dataspaceMembers",
|
|
5500
|
-
"inFolder": false,
|
|
5501
|
-
"excludeFromManifest": true,
|
|
5502
|
-
"strictDirectoryName": true,
|
|
5503
|
-
"strategies": {
|
|
5504
|
-
"adapter": "d360",
|
|
5505
|
-
"transformer": "d360"
|
|
5506
|
-
}
|
|
5507
|
-
},
|
|
5508
|
-
"datamodelobjectmapping": {
|
|
5509
|
-
"id": "datamodelobjectmapping",
|
|
5510
|
-
"name": "DataModelObjectMapping",
|
|
5511
|
-
"suffix": "json",
|
|
5512
|
-
"directoryName": "dataModelObjectMappings",
|
|
5513
|
-
"inFolder": false,
|
|
5514
|
-
"excludeFromManifest": true,
|
|
5515
|
-
"strictDirectoryName": true,
|
|
5516
|
-
"strategies": {
|
|
5517
|
-
"adapter": "d360",
|
|
5518
|
-
"transformer": "d360"
|
|
5519
|
-
}
|
|
5520
|
-
},
|
|
5521
|
-
"secondaryindex": {
|
|
5522
|
-
"id": "secondaryindex",
|
|
5523
|
-
"name": "SecondaryIndex",
|
|
5524
|
-
"suffix": "json",
|
|
5525
|
-
"directoryName": "secondaryIndexes",
|
|
5526
|
-
"inFolder": false,
|
|
5527
|
-
"excludeFromManifest": true,
|
|
5528
|
-
"strictDirectoryName": true,
|
|
5529
|
-
"strategies": {
|
|
5530
|
-
"adapter": "d360",
|
|
5531
|
-
"transformer": "d360"
|
|
5532
|
-
}
|
|
5533
|
-
},
|
|
5534
|
-
"datamodelobjectrelationship": {
|
|
5535
|
-
"id": "datamodelobjectrelationship",
|
|
5536
|
-
"name": "DataModelObjectRelationship",
|
|
5537
|
-
"suffix": "json",
|
|
5538
|
-
"directoryName": "dataModelObjectRelationships",
|
|
5539
|
-
"inFolder": false,
|
|
5540
|
-
"excludeFromManifest": true,
|
|
5541
|
-
"strictDirectoryName": true,
|
|
5542
|
-
"strategies": {
|
|
5543
|
-
"adapter": "d360",
|
|
5544
|
-
"transformer": "d360"
|
|
5545
|
-
}
|
|
5546
|
-
},
|
|
5547
|
-
"datastream": {
|
|
5548
|
-
"id": "datastream",
|
|
5549
|
-
"name": "DataStream",
|
|
5550
|
-
"suffix": "json",
|
|
5551
|
-
"directoryName": "dataStreams",
|
|
5552
|
-
"inFolder": false,
|
|
5553
|
-
"strictDirectoryName": true,
|
|
5554
|
-
"strategies": {
|
|
5555
|
-
"adapter": "d360",
|
|
5556
|
-
"transformer": "d360"
|
|
5557
|
-
}
|
|
5558
|
-
},
|
|
5559
|
-
"dataconnection": {
|
|
5560
|
-
"id": "dataconnection",
|
|
5561
|
-
"name": "DataConnection",
|
|
5562
|
-
"suffix": "json",
|
|
5563
|
-
"directoryName": "dataConnections",
|
|
5564
|
-
"inFolder": false,
|
|
5565
|
-
"strictDirectoryName": true,
|
|
5566
|
-
"strategies": {
|
|
5567
|
-
"adapter": "d360",
|
|
5568
|
-
"transformer": "d360"
|
|
5569
|
-
}
|
|
5570
|
-
},
|
|
5571
|
-
"datatransform": {
|
|
5572
|
-
"id": "datatransform",
|
|
5573
|
-
"name": "DataTransform",
|
|
5574
|
-
"suffix": "json",
|
|
5575
|
-
"directoryName": "dataTransforms",
|
|
5576
|
-
"inFolder": false,
|
|
5577
|
-
"strictDirectoryName": true,
|
|
5578
|
-
"strategies": {
|
|
5579
|
-
"adapter": "d360",
|
|
5580
|
-
"transformer": "d360"
|
|
5581
|
-
}
|
|
5582
|
-
},
|
|
5583
|
-
"activationtarget": {
|
|
5584
|
-
"id": "activationtarget",
|
|
5585
|
-
"name": "ActivationTarget",
|
|
5586
|
-
"suffix": "json",
|
|
5587
|
-
"directoryName": "activationTargets",
|
|
5588
|
-
"inFolder": false,
|
|
5589
|
-
"strictDirectoryName": true,
|
|
5590
|
-
"strategies": {
|
|
5591
|
-
"adapter": "d360",
|
|
5592
|
-
"transformer": "d360"
|
|
5593
|
-
}
|
|
5594
|
-
},
|
|
5595
|
-
"dataaction": {
|
|
5596
|
-
"id": "dataaction",
|
|
5597
|
-
"name": "DataAction",
|
|
5598
|
-
"suffix": "json",
|
|
5599
|
-
"directoryName": "dataActions",
|
|
5600
|
-
"inFolder": false,
|
|
5601
|
-
"strictDirectoryName": true,
|
|
5602
|
-
"strategies": {
|
|
5603
|
-
"adapter": "d360",
|
|
5604
|
-
"transformer": "d360"
|
|
5605
|
-
}
|
|
5606
|
-
},
|
|
5607
|
-
"dataactiontarget": {
|
|
5608
|
-
"id": "dataactiontarget",
|
|
5609
|
-
"name": "DataActionTarget",
|
|
5610
|
-
"suffix": "json",
|
|
5611
|
-
"directoryName": "dataActionTargets",
|
|
5612
|
-
"inFolder": false,
|
|
5613
|
-
"strictDirectoryName": true,
|
|
5614
|
-
"strategies": {
|
|
5615
|
-
"adapter": "d360",
|
|
5616
|
-
"transformer": "d360"
|
|
5617
|
-
}
|
|
5618
|
-
},
|
|
5619
|
-
"datagraph": {
|
|
5620
|
-
"id": "datagraph",
|
|
5621
|
-
"name": "DataGraph",
|
|
5622
|
-
"suffix": "json",
|
|
5623
|
-
"directoryName": "dataGraphs",
|
|
5624
|
-
"inFolder": false,
|
|
5625
|
-
"strictDirectoryName": true,
|
|
5626
|
-
"strategies": {
|
|
5627
|
-
"adapter": "d360",
|
|
5628
|
-
"transformer": "d360"
|
|
5629
|
-
}
|
|
5630
|
-
},
|
|
5631
|
-
"identityresolution": {
|
|
5632
|
-
"id": "identityresolution",
|
|
5633
|
-
"name": "IdentityResolution",
|
|
5634
|
-
"suffix": "json",
|
|
5635
|
-
"directoryName": "identityResolutions",
|
|
5636
|
-
"inFolder": false,
|
|
5637
|
-
"strictDirectoryName": true,
|
|
5638
|
-
"strategies": {
|
|
5639
|
-
"adapter": "d360",
|
|
5640
|
-
"transformer": "d360"
|
|
5641
|
-
}
|
|
5642
|
-
},
|
|
5643
|
-
"marketsegment": {
|
|
5644
|
-
"id": "marketsegment",
|
|
5645
|
-
"name": "MarketSegment",
|
|
5646
|
-
"suffix": "json",
|
|
5647
|
-
"directoryName": "marketSegments",
|
|
5648
|
-
"inFolder": false,
|
|
5649
|
-
"strictDirectoryName": true,
|
|
5650
|
-
"strategies": {
|
|
5651
|
-
"adapter": "d360",
|
|
5652
|
-
"transformer": "d360"
|
|
5653
|
-
}
|
|
5654
|
-
},
|
|
5655
|
-
"marketsegmentactivation": {
|
|
5656
|
-
"id": "marketsegmentactivation",
|
|
5657
|
-
"name": "MarketSegmentActivation",
|
|
5658
|
-
"suffix": "json",
|
|
5659
|
-
"directoryName": "marketSegmentActivations",
|
|
5660
|
-
"inFolder": false,
|
|
5661
|
-
"strictDirectoryName": true,
|
|
5662
|
-
"strategies": {
|
|
5663
|
-
"adapter": "d360",
|
|
5664
|
-
"transformer": "d360"
|
|
5665
|
-
}
|
|
5666
|
-
},
|
|
5667
|
-
"ntfcndefinition": {
|
|
5668
|
-
"directoryName": "notificationDefinitions",
|
|
5669
|
-
"id": "ntfcndefinition",
|
|
5670
|
-
"inFolder": false,
|
|
5671
|
-
"name": "NtfcnDefinition",
|
|
5672
|
-
"strictDirectoryName": false,
|
|
5673
|
-
"suffix": "notificationDefinition"
|
|
5674
|
-
},
|
|
5675
5465
|
"computeapp": {
|
|
5676
5466
|
"directoryName": "computeApps",
|
|
5677
5467
|
"id": "computeapp",
|
|
@@ -4,6 +4,7 @@ export declare class RegistryAccess {
|
|
|
4
4
|
private strictFolderTypes?;
|
|
5
5
|
private folderContentTypes?;
|
|
6
6
|
private aliasTypes?;
|
|
7
|
+
private enrichmentTypes?;
|
|
7
8
|
constructor(registry?: MetadataRegistry, projectDir?: string);
|
|
8
9
|
getRegistry(): MetadataRegistry;
|
|
9
10
|
/**
|
|
@@ -66,6 +67,26 @@ export declare class RegistryAccess {
|
|
|
66
67
|
* @returns An array of metadata type objects that have aliasFor
|
|
67
68
|
*/
|
|
68
69
|
getAliasTypes(): MetadataType[];
|
|
70
|
+
/**
|
|
71
|
+
* Query for the types that have the enrichment property defined.
|
|
72
|
+
* E.g., CustomObject.PilotAIGeneratedDescriptionEnrichment
|
|
73
|
+
*
|
|
74
|
+
* @see {@link MetadataType.enrichment}
|
|
75
|
+
*
|
|
76
|
+
* @returns An array of enrichment metadata type objects
|
|
77
|
+
*/
|
|
78
|
+
getEnrichmentTypes(): MetadataType[];
|
|
79
|
+
/**
|
|
80
|
+
* Find the enrichment type registered for a target directory and an enrichment directory.
|
|
81
|
+
* E.g., ('objects', 'aiGeneratedDescriptions') is CustomObject.PilotAIGeneratedDescriptionEnrichment
|
|
82
|
+
*
|
|
83
|
+
* @see {@link MetadataType.enrichment}
|
|
84
|
+
*
|
|
85
|
+
* @param targetDirectory - directory of the type the enrichment applies to, e.g. `objects`
|
|
86
|
+
* @param directory - the enrichment's own directory, e.g. `aiGeneratedDescriptions`
|
|
87
|
+
* @returns The enrichment type, or undefined if none is registered for the pair
|
|
88
|
+
*/
|
|
89
|
+
getEnrichmentType(targetDirectory: string, directory: string): MetadataType | undefined;
|
|
69
90
|
/**
|
|
70
91
|
* Return the parent metadata type from the registry for the given child type
|
|
71
92
|
*
|
|
@@ -21,12 +21,13 @@ const sfError_1 = require("@salesforce/core/sfError");
|
|
|
21
21
|
const variants_1 = require("./variants");
|
|
22
22
|
const levenshtein_1 = require("./levenshtein");
|
|
23
23
|
;
|
|
24
|
-
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_transport_provider", "No transport provider is registered for '%s' required by %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>"]
|
|
24
|
+
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_transport_provider", "No transport provider is registered for '%s' required by %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_enrichment_definition", "Type %s uses the enrichment transformer but has no enrichment definition in the registry."], ["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>"]]));
|
|
25
25
|
class RegistryAccess {
|
|
26
26
|
registry;
|
|
27
27
|
strictFolderTypes;
|
|
28
28
|
folderContentTypes;
|
|
29
29
|
aliasTypes;
|
|
30
|
+
enrichmentTypes;
|
|
30
31
|
constructor(registry, projectDir) {
|
|
31
32
|
this.registry = registry ?? (0, variants_1.getEffectiveRegistry)({ projectDir });
|
|
32
33
|
}
|
|
@@ -141,6 +142,31 @@ class RegistryAccess {
|
|
|
141
142
|
}
|
|
142
143
|
return this.aliasTypes;
|
|
143
144
|
}
|
|
145
|
+
/**
|
|
146
|
+
* Query for the types that have the enrichment property defined.
|
|
147
|
+
* E.g., CustomObject.PilotAIGeneratedDescriptionEnrichment
|
|
148
|
+
*
|
|
149
|
+
* @see {@link MetadataType.enrichment}
|
|
150
|
+
*
|
|
151
|
+
* @returns An array of enrichment metadata type objects
|
|
152
|
+
*/
|
|
153
|
+
getEnrichmentTypes() {
|
|
154
|
+
this.enrichmentTypes ??= Object.values(this.registry.types).filter((type) => type.enrichment);
|
|
155
|
+
return this.enrichmentTypes;
|
|
156
|
+
}
|
|
157
|
+
/**
|
|
158
|
+
* Find the enrichment type registered for a target directory and an enrichment directory.
|
|
159
|
+
* E.g., ('objects', 'aiGeneratedDescriptions') is CustomObject.PilotAIGeneratedDescriptionEnrichment
|
|
160
|
+
*
|
|
161
|
+
* @see {@link MetadataType.enrichment}
|
|
162
|
+
*
|
|
163
|
+
* @param targetDirectory - directory of the type the enrichment applies to, e.g. `objects`
|
|
164
|
+
* @param directory - the enrichment's own directory, e.g. `aiGeneratedDescriptions`
|
|
165
|
+
* @returns The enrichment type, or undefined if none is registered for the pair
|
|
166
|
+
*/
|
|
167
|
+
getEnrichmentType(targetDirectory, directory) {
|
|
168
|
+
return this.getEnrichmentTypes().find((type) => type.enrichment?.targetDirectory === targetDirectory && type.enrichment.directory === directory);
|
|
169
|
+
}
|
|
144
170
|
/**
|
|
145
171
|
* Return the parent metadata type from the registry for the given child type
|
|
146
172
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"registryAccess.js","sourceRoot":"","sources":["../../../src/registry/registryAccess.ts"],"names":[],"mappings":";;;AAAA;;;;;;;;;;;;;;GAcG;AACH,wDAAqD;AACrD,sDAAmD;AAEnD,yCAAkD;AAClD,+CAAqE;;AAOrE,MAAM,QAAQ,OAAG,mBAAQ,CAAc,oCAAoC,EAAE,KAAK,
|
|
1
|
+
{"version":3,"file":"registryAccess.js","sourceRoot":"","sources":["../../../src/registry/registryAccess.ts"],"names":[],"mappings":";;;AAAA;;;;;;;;;;;;;;GAcG;AACH,wDAAqD;AACrD,sDAAmD;AAEnD,yCAAkD;AAClD,+CAAqE;;AAOrE,MAAM,QAAQ,OAAG,mBAAQ,CAAc,oCAAoC,EAAE,KAAK,okPAAC,CAAC;AAEpF,MAAa,cAAc;IACjB,QAAQ,CAAmB;IAC3B,iBAAiB,CAAkB;IACnC,kBAAkB,CAAkB;IACpC,UAAU,CAAkB;IAC5B,eAAe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IAAI,CAAC,eAAe,CAAC;IAC9B,CAAC;IAED;;;;;;;;;OASG;IACI,iBAAiB,CAAC,eAAuB,EAAE,SAAiB;QACjE,OAAO,IAAI,CAAC,kBAAkB,EAAE,CAAC,IAAI,CACnC,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,UAAU,EAAE,eAAe,KAAK,eAAe,IAAI,IAAI,CAAC,UAAU,CAAC,SAAS,KAAK,SAAS,CAC1G,CAAC;IACJ,CAAC;IAED;;;;;OAKG;IACI,aAAa,CAAC,SAAiB;QACpC,MAAM,KAAK,GAAG,SAAS,CAAC,WAAW,EAAE,CAAC,IAAI,EAAE,CAAC;QAC7C,IAAI,IAAI,CAAC,QAAQ,CAAC,UAAU,CAAC,KAAK,CAAC,EAAE,CAAC;YACpC,MAAM,YAAY,GAAG,IAAI,CAAC,QAAQ,CAAC,UAAU,CAAC,KAAK,CAAC,CAAC;YACrD,OAAO,IAAI,CAAC,QAAQ,CAAC,KAAK,CAAC,YAAY,CAAC,CAAC;QAC3C,CAAC;IACH,CAAC;CACF;AArLD,wCAqLC"}
|
|
@@ -99,11 +99,6 @@ export type MetadataType = {
|
|
|
99
99
|
* Whether the component requires the parent to be present when deploying/retrieving
|
|
100
100
|
*/
|
|
101
101
|
unaddressableWithoutParent?: boolean;
|
|
102
|
-
/**
|
|
103
|
-
* Leave the component out of package.xml while still sending its files in the deploy/retrieve payload.
|
|
104
|
-
* For types the Metadata API only accepts as part of a parent component, not as a manifest entry of their own.
|
|
105
|
-
*/
|
|
106
|
-
excludeFromManifest?: boolean;
|
|
107
102
|
/**
|
|
108
103
|
* Whether or not components of the same type can be can be specified with the wildcard character, and by name in a manifest
|
|
109
104
|
*
|
|
@@ -120,6 +115,21 @@ export type MetadataType = {
|
|
|
120
115
|
* __Examples:__ `LightningComponentBundle`, `ExperienceBundle`, `StaticResource`, and `DigitalExperienceBundle`
|
|
121
116
|
*/
|
|
122
117
|
supportsPartialDelete?: boolean;
|
|
118
|
+
/**
|
|
119
|
+
* Marks an enrichment (meta-metadata) type, which is a top-level type attached to a target type's component.
|
|
120
|
+
* Set only on enrichment types, whose names are `<targetType>.<enrichmentType>`.
|
|
121
|
+
*
|
|
122
|
+
* __Example:__ `CustomObject.PilotAIGeneratedDescriptionEnrichment`, with the API directory
|
|
123
|
+
* `objects/enrichments/aiGeneratedDescriptions`.
|
|
124
|
+
*/
|
|
125
|
+
enrichment?: {
|
|
126
|
+
/** Registered name of the type the enrichment is attached to, e.g. `CustomObject` */
|
|
127
|
+
targetType: string;
|
|
128
|
+
/** API directory of the target type, e.g. `objects` */
|
|
129
|
+
targetDirectory: string;
|
|
130
|
+
/** Last segment of the enrichment's API directory, e.g. `aiGeneratedDescriptions` */
|
|
131
|
+
directory: string;
|
|
132
|
+
};
|
|
123
133
|
/**
|
|
124
134
|
* Whenever this type is requested, return the aliasFor type instead
|
|
125
135
|
*/
|
|
@@ -138,8 +148,8 @@ export type MetadataType = {
|
|
|
138
148
|
* Configuration for resolving and converting components of the type.
|
|
139
149
|
*/
|
|
140
150
|
strategies?: {
|
|
141
|
-
adapter: 'mixedContent' | 'matchingContentFile' | 'decomposed' | 'digitalExperience' | 'bundle' | 'default' | 'partiallyDecomposed' | 'uiBundles' | 'computeApp' | '
|
|
142
|
-
transformer?: 'decomposed' | 'staticResource' | 'nonDecomposed' | 'standard' | 'decomposedLabels' | 'decomposedPermissionSet' | 'decomposeExternalServiceRegistration' | 'uiBundle' | 'profile' | 'computeApp' | '
|
|
151
|
+
adapter: 'mixedContent' | 'matchingContentFile' | 'decomposed' | 'digitalExperience' | 'bundle' | 'default' | 'partiallyDecomposed' | 'uiBundles' | 'computeApp' | 'enrichment';
|
|
152
|
+
transformer?: 'decomposed' | 'staticResource' | 'nonDecomposed' | 'standard' | 'decomposedLabels' | 'decomposedPermissionSet' | 'decomposeExternalServiceRegistration' | 'uiBundle' | 'profile' | 'computeApp' | 'enrichment';
|
|
143
153
|
decomposition?: 'topLevel' | 'folderPerType';
|
|
144
154
|
recomposition?: 'startEmpty';
|
|
145
155
|
transport?: TransportName;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../src/registry/types.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../src/registry/types.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AA0LU,QAAA,cAAc,GAAG,CAAC,YAAY,CAAU,CAAC"}
|
|
@@ -56,7 +56,7 @@ const core_1 = require("@salesforce/core");
|
|
|
56
56
|
const registryData = __importStar(require("./metadataRegistry.json"));
|
|
57
57
|
const presetMap_1 = require("./presets/presetMap");
|
|
58
58
|
;
|
|
59
|
-
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_transport_provider", "No transport provider is registered for '%s' required by %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>"]
|
|
59
|
+
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_transport_provider", "No transport provider is registered for '%s' required by %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_enrichment_definition", "Type %s uses the enrichment transformer but has no enrichment definition in the registry."], ["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>"]]));
|
|
60
60
|
/** combine the standard registration with any overrides specific in the sfdx-project.json */
|
|
61
61
|
const getEffectiveRegistry = (input) => {
|
|
62
62
|
if (input?.registryCustomizations) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"variants.js","sourceRoot":"","sources":["../../../src/registry/variants.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;;;;;;;;;;;;;;GAcG;AACH,yCAA2C;AAC3C,2CAAkG;AAElG,0DAA0D;AAC1D,qEAAqE;AACrE,sEAAwD;AACxD,mDAAgD;;AAGhD,MAAM,QAAQ,OAAG,eAAQ,CAAc,oCAAoC,EAAE,KAAK,
|
|
1
|
+
{"version":3,"file":"variants.js","sourceRoot":"","sources":["../../../src/registry/variants.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;;;;;;;;;;;;;;GAcG;AACH,yCAA2C;AAC3C,2CAAkG;AAElG,0DAA0D;AAC1D,qEAAqE;AACrE,sEAAwD;AACxD,mDAAgD;;AAGhD,MAAM,QAAQ,OAAG,eAAQ,CAAc,oCAAoC,EAAE,KAAK,okPAAC,CAAC;AAoBpF,6FAA6F;AACtF,MAAM,oBAAoB,GAAG,CAAC,KAAyB,EAA8B,EAAE;IAC5F,IAAI,KAAK,EAAE,sBAAsB,EAAE,CAAC;QAClC,mCAAmC,CAAC,KAAK,CAAC,sBAAsB,CAAC,CAAC;IACpE,CAAC;IACD,OAAO,kBAAkB,CACvB,IAAA,uBAAe,EACb,YAAgC,EAChC,aAAa,CACX,KAAK,EAAE,OAAO,EAAE,MAAM,IAAI,KAAK,E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