@cparra/apexdocs 3.17.1-beta.3 → 3.17.1-beta.4
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/dist/cli/generate.js
CHANGED
package/dist/index.js
CHANGED
|
@@ -1427,7 +1427,7 @@ const noopReflectionDebugLogger = {
|
|
|
1427
1427
|
}
|
|
1428
1428
|
};
|
|
1429
1429
|
const noopDebugLogger = noopReflectionDebugLogger;
|
|
1430
|
-
function reflectAsync
|
|
1430
|
+
function reflectAsync(rawSource) {
|
|
1431
1431
|
return __async$5(this, null, function* () {
|
|
1432
1432
|
return new Promise((resolve, reject) => {
|
|
1433
1433
|
const result = apexReflection.reflect(rawSource);
|
|
@@ -1563,7 +1563,7 @@ function reflectBundle$2(apexBundle) {
|
|
|
1563
1563
|
}
|
|
1564
1564
|
function reflectAsTask$1(apexBundle) {
|
|
1565
1565
|
return TE__namespace.tryCatch(
|
|
1566
|
-
() => reflectAsync
|
|
1566
|
+
() => reflectAsync(apexBundle.content),
|
|
1567
1567
|
(error) => new ReflectionErrors([new ReflectionError(apexBundle.filePath, error.message)])
|
|
1568
1568
|
);
|
|
1569
1569
|
}
|
|
@@ -3423,13 +3423,13 @@ function toParsedFile$1(filePath, triggerMirror) {
|
|
|
3423
3423
|
}
|
|
3424
3424
|
function reflectAsTask(triggerContent) {
|
|
3425
3425
|
return TE__namespace.tryCatch(
|
|
3426
|
-
() =>
|
|
3426
|
+
() => reflect(triggerContent.content),
|
|
3427
3427
|
(error) => new ReflectionErrors([new ReflectionError(triggerContent.filePath, error.message)])
|
|
3428
3428
|
);
|
|
3429
3429
|
}
|
|
3430
|
-
function
|
|
3430
|
+
function reflect(triggerContent) {
|
|
3431
3431
|
return __async$4(this, null, function* () {
|
|
3432
|
-
const reflectionResult =
|
|
3432
|
+
const reflectionResult = apexReflection.reflectTrigger(triggerContent);
|
|
3433
3433
|
if (reflectionResult.error) {
|
|
3434
3434
|
throw reflectionResult.error;
|
|
3435
3435
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cparra/apexdocs",
|
|
3
|
-
"version": "3.17.1-beta.
|
|
3
|
+
"version": "3.17.1-beta.4",
|
|
4
4
|
"description": "Library with CLI capabilities to generate documentation for Salesforce Apex classes.",
|
|
5
5
|
"engines": {
|
|
6
6
|
"node": ">=18"
|
|
@@ -96,7 +96,7 @@
|
|
|
96
96
|
]
|
|
97
97
|
},
|
|
98
98
|
"dependencies": {
|
|
99
|
-
"@cparra/apex-reflection": "2.22.0",
|
|
99
|
+
"@cparra/apex-reflection": "2.22.0-dev.20251224093546",
|
|
100
100
|
"@salesforce/source-deploy-retrieve": "^12.20.1",
|
|
101
101
|
"@types/js-yaml": "^4.0.9",
|
|
102
102
|
"@types/yargs": "^17.0.32",
|