@salesforce/source-deploy-retrieve 7.0.1 → 7.1.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.
|
@@ -1892,6 +1892,14 @@
|
|
|
1892
1892
|
"inFolder": false,
|
|
1893
1893
|
"strictDirectoryName": true
|
|
1894
1894
|
},
|
|
1895
|
+
"botblock": {
|
|
1896
|
+
"id": "botblock",
|
|
1897
|
+
"name": "BotBlock",
|
|
1898
|
+
"suffix": "botBlock",
|
|
1899
|
+
"directoryName": "botBlocks",
|
|
1900
|
+
"inFolder": false,
|
|
1901
|
+
"strictDirectoryName": true
|
|
1902
|
+
},
|
|
1895
1903
|
"animationrule": {
|
|
1896
1904
|
"id": "animationrule",
|
|
1897
1905
|
"name": "AnimationRule",
|
|
@@ -3359,6 +3367,7 @@
|
|
|
3359
3367
|
"mlDomain": "mldomain",
|
|
3360
3368
|
"bot": "bot",
|
|
3361
3369
|
"botTemplate": "bottemplate",
|
|
3370
|
+
"botBlock": "botblock",
|
|
3362
3371
|
"botVersion": "botversion",
|
|
3363
3372
|
"animationRule": "animationrule",
|
|
3364
3373
|
"deployment": "recordactiondeployment",
|
|
@@ -3511,6 +3520,7 @@
|
|
|
3511
3520
|
"objects": "customobject",
|
|
3512
3521
|
"bots": "bot",
|
|
3513
3522
|
"botTemplates": "bottemplate",
|
|
3523
|
+
"botBlocks": "botblock",
|
|
3514
3524
|
"objectTranslations": "customobjecttranslation",
|
|
3515
3525
|
"staticresources": "staticresource",
|
|
3516
3526
|
"sites": "customsite",
|
|
@@ -1895,6 +1895,14 @@ export declare const registry: Readonly<{
|
|
|
1895
1895
|
inFolder: boolean;
|
|
1896
1896
|
strictDirectoryName: boolean;
|
|
1897
1897
|
};
|
|
1898
|
+
botblock: {
|
|
1899
|
+
id: string;
|
|
1900
|
+
name: string;
|
|
1901
|
+
suffix: string;
|
|
1902
|
+
directoryName: string;
|
|
1903
|
+
inFolder: boolean;
|
|
1904
|
+
strictDirectoryName: boolean;
|
|
1905
|
+
};
|
|
1898
1906
|
animationrule: {
|
|
1899
1907
|
id: string;
|
|
1900
1908
|
name: string;
|
|
@@ -3362,6 +3370,7 @@ export declare const registry: Readonly<{
|
|
|
3362
3370
|
mlDomain: string;
|
|
3363
3371
|
bot: string;
|
|
3364
3372
|
botTemplate: string;
|
|
3373
|
+
botBlock: string;
|
|
3365
3374
|
botVersion: string;
|
|
3366
3375
|
animationRule: string;
|
|
3367
3376
|
deployment: string;
|
|
@@ -3514,6 +3523,7 @@ export declare const registry: Readonly<{
|
|
|
3514
3523
|
objects: string;
|
|
3515
3524
|
bots: string;
|
|
3516
3525
|
botTemplates: string;
|
|
3526
|
+
botBlocks: string;
|
|
3517
3527
|
objectTranslations: string;
|
|
3518
3528
|
staticresources: string;
|
|
3519
3529
|
sites: string;
|
|
@@ -28,7 +28,16 @@ class ManifestResolver {
|
|
|
28
28
|
const packageTypeMembers = (0, kit_1.ensureArray)(parsedManifest.types);
|
|
29
29
|
const apiVersion = parsedManifest.version;
|
|
30
30
|
for (const typeMembers of packageTypeMembers) {
|
|
31
|
-
|
|
31
|
+
let typeName = typeMembers.name;
|
|
32
|
+
// protect against empty/invalid typeMember definitions in the manifest
|
|
33
|
+
if (typeof typeName !== 'string' || typeName.length === 0) {
|
|
34
|
+
if (typeof typeName === 'object') {
|
|
35
|
+
typeName = JSON.stringify(typeName);
|
|
36
|
+
}
|
|
37
|
+
const err = new Error(`Invalid types definition in manifest file: ${manifestPath}\nFound: "${typeName ?? ''}"`);
|
|
38
|
+
err.name = 'InvalidManifest';
|
|
39
|
+
throw err;
|
|
40
|
+
}
|
|
32
41
|
const type = this.registry.getTypeByName(typeName);
|
|
33
42
|
const parentType = type.folderType ? this.registry.getTypeByName(type.folderType) : undefined;
|
|
34
43
|
const members = (0, kit_1.ensureArray)(typeMembers.members);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"manifestResolver.js","sourceRoot":"","sources":["../../../src/resolve/manifestResolver.ts"],"names":[],"mappings":";AAAA;;;;;GAKG;;;AAEH,qDAAoD;AACpD,yCAA8C;AAC9C,0CAA2D;AAC3D,qDAAsE;AA6BtE;;GAEG;AACH,MAAa,gBAAgB;IAI3B,YAAmB,OAAsB,IAAI,oCAAmB,EAAE,EAAE,QAAQ,GAAG,IAAI,yBAAc,EAAE;QACjG,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC;IAC3B,CAAC;IAEM,KAAK,CAAC,OAAO,CAAC,YAAoB;QACvC,MAAM,UAAU,GAAwB,EAAE,CAAC;QAE3C,MAAM,IAAI,GAAG,MAAM,IAAI,CAAC,IAAI,CAAC,QAAQ,CAAC,YAAY,CAAC,CAAC;QAEpD,MAAM,cAAc,GAClB,IAAA,uBAAQ,EAAC,IAAI,CAAC,QAAQ,EAAE,EAAE;YACxB,SAAS,EAAE,CAAC,SAAS,CAAC;SACvB,CACF,CAAC,OAAO,CAAC;QACV,MAAM,kBAAkB,GAAG,IAAA,iBAAW,EAAC,cAAc,CAAC,KAAK,CAAC,CAAC;QAC7D,MAAM,UAAU,GAAG,cAAc,CAAC,OAAO,CAAC;QAE1C,KAAK,MAAM,WAAW,IAAI,kBAAkB,EAAE;YAC5C,
|
|
1
|
+
{"version":3,"file":"manifestResolver.js","sourceRoot":"","sources":["../../../src/resolve/manifestResolver.ts"],"names":[],"mappings":";AAAA;;;;;GAKG;;;AAEH,qDAAoD;AACpD,yCAA8C;AAC9C,0CAA2D;AAC3D,qDAAsE;AA6BtE;;GAEG;AACH,MAAa,gBAAgB;IAI3B,YAAmB,OAAsB,IAAI,oCAAmB,EAAE,EAAE,QAAQ,GAAG,IAAI,yBAAc,EAAE;QACjG,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC;IAC3B,CAAC;IAEM,KAAK,CAAC,OAAO,CAAC,YAAoB;QACvC,MAA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4
|
"description": "JavaScript library to run Salesforce metadata deploys and retrieves",
|
|
5
5
|
"main": "lib/src/index.js",
|
|
6
6
|
"author": "Salesforce",
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
"unzipper": "0.10.11"
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|
|
42
|
-
"@salesforce/cli-plugins-testkit": "^2.5.
|
|
42
|
+
"@salesforce/cli-plugins-testkit": "^2.5.3",
|
|
43
43
|
"@salesforce/dev-config": "^3.0.1",
|
|
44
44
|
"@salesforce/dev-scripts": "^3.1.0",
|
|
45
45
|
"@salesforce/prettier-config": "^0.0.2",
|
|
@@ -63,7 +63,7 @@
|
|
|
63
63
|
"eslint-config-salesforce-typescript": "^1.1.1",
|
|
64
64
|
"eslint-plugin-header": "^3.1.1",
|
|
65
65
|
"eslint-plugin-import": "^2.26.0",
|
|
66
|
-
"eslint-plugin-jsdoc": "^39.3.
|
|
66
|
+
"eslint-plugin-jsdoc": "^39.3.14",
|
|
67
67
|
"husky": "^7.0.4",
|
|
68
68
|
"jsforce": "^2.0.0-beta.19",
|
|
69
69
|
"mocha": "^9.2.2",
|
|
@@ -100,7 +100,7 @@
|
|
|
100
100
|
"test": "sf-test",
|
|
101
101
|
"test:nuts:scale": "mocha \"test/nuts/scale/eda.nut.ts\" --timeout 500000; mocha \"test/nuts/scale/lotsOfClasses.nut.ts\" --timeout 500000; mocha \"test/nuts/scale/lotsOfClassesOneDir.nut.ts\" --timeout 500000",
|
|
102
102
|
"test:nuts:scale:record": "yarn test:nuts:scale && git add . && git commit -m \"test: record perf [ci skip]\" --no-verify && git push --no-verify",
|
|
103
|
-
"test:registry": "mocha ./test/registry/registryCompleteness.test.ts",
|
|
103
|
+
"test:registry": "mocha ./test/registry/registryCompleteness.test.ts --timeout 50000",
|
|
104
104
|
"update-registry": "npx ts-node scripts/update-registry/update2.ts",
|
|
105
105
|
"update-supported-metadata": "npx ts-node scripts/update-registry/update-supported-metadata.ts"
|
|
106
106
|
},
|