@cparra/apexdocs 2.5.0 → 2.5.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/docs/Main/SampleClass.md
CHANGED
|
@@ -66,6 +66,11 @@ Constructs a SampleClass with an argument.
|
|
|
66
66
|
* `ANOTHER_CONSTANT` → `String`
|
|
67
67
|
* `A_CONSTANT` → `String` [`NAMESPACEACCESSIBLE` ] - This is a constant.
|
|
68
68
|
---
|
|
69
|
+
### 'General' Constants
|
|
70
|
+
|
|
71
|
+
* `GENERAL_ANOTHER_CONSTANT` → `String`
|
|
72
|
+
* `GENERAL_A_CONSTANT` → `String` [`NAMESPACEACCESSIBLE` ] - This is a constant.
|
|
73
|
+
---
|
|
69
74
|
### Other variables
|
|
70
75
|
|
|
71
76
|
* `someVariable` → `String`
|
|
@@ -120,11 +125,6 @@ System.debug(result);
|
|
|
120
125
|
|
|
121
126
|
Something here
|
|
122
127
|
|
|
123
|
-
#### Parameters
|
|
124
|
-
|
|
125
|
-
|Param|Description|
|
|
126
|
-
|---|---|
|
|
127
|
-
|
|
128
128
|
|
|
129
129
|
**Arg1** The arg1 description
|
|
130
130
|
|
|
@@ -28,6 +28,15 @@ public with sharing class SampleClass {
|
|
|
28
28
|
public static final String ANOTHER_CONSTANT = 'My Constant Value';
|
|
29
29
|
// @end-group
|
|
30
30
|
|
|
31
|
+
// @start-group 'General' Constants
|
|
32
|
+
/**
|
|
33
|
+
* @description This is a constant.
|
|
34
|
+
*/
|
|
35
|
+
@NamespaceAccessible
|
|
36
|
+
public static final String GENERAL_A_CONSTANT = 'My Constant Value';
|
|
37
|
+
public static final String GENERAL_ANOTHER_CONSTANT = 'My Constant Value';
|
|
38
|
+
// @end-group
|
|
39
|
+
|
|
31
40
|
// @start-group Other variables
|
|
32
41
|
public String someVariable = 'test';
|
|
33
42
|
// @end-group
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Apexdocs.js","sourceRoot":"","sources":["../../src/application/Apexdocs.ts"],"names":[],"mappings":";;;AAAA,kEAA6D;AAC7D,wDAA2D;AAC3D,
|
|
1
|
+
{"version":3,"file":"Apexdocs.js","sourceRoot":"","sources":["../../src/application/Apexdocs.ts"],"names":[],"mappings":";;;AAAA,kEAA6D;AAC7D,wDAA2D;AAC3D,6DAA0E;AAC1E,2CAAwC;AACxC,kEAA6D;AAC7D,8CAAkD;AAClD,0CAAuC;AACvC,yDAAkD;AAClD,wDAAoD;AACpD,gEAA4D;AAC5D,uDAA+C;AAG/C;;GAEG;AACH,MAAa,QAAQ;IACnB;;OAEG;IACH,MAAM,CAAC,QAAQ;QACb,eAAM,CAAC,GAAG,CAAC,iBAAiB,CAAC,CAAC;QAC9B,MAAM,UAAU,GAAG,iCAAc,CAAC,YAAY,CAAC,IAAI,+BAAiB,EAAE,CAAC,CAAC;QACxE,MAAM,QAAQ,GAAG,iCAAc,CAAC,IAAI,sBAAa,CAAC,UAAU,CAAC,EAAE,IAAI,CAAC,qBAAqB,CAAC,CAAC;QAE3F,MAAM,aAAa,GAAW,QAAQ,CAAC,sCAAsC,CAAC,mBAAQ,CAAC,WAAW,EAAE,CAAC,KAAK,CAAC,CAAC;QAC5G,kCAAe,CAAC,WAAW,EAAE,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC;QACtD,eAAM,CAAC,KAAK,EAAE,CAAC;QAEf,eAAM,CAAC,SAAS,CACd,YAAY,QAAQ,CAAC,KAAK,CAAC,MAAM,GAAG,aAAa,CAAC,MAAM,4BACtD,mBAAQ,CAAC,WAAW,EAAE,CAAC,KACzB,EAAE,EACF,KAAK,EACL,OAAO,EACP,KAAK,CACN,CAAC;QACF,eAAM,CAAC,SAAS,CAAC,8BAA8B,aAAa,CAAC,MAAM,UAAU,EAAE,KAAK,EAAE,OAAO,EAAE,KAAK,CAAC,CAAC;QACtG,MAAM,SAAS,GAAG,mBAAQ,CAAC,WAAW,EAAE,CAAC,cAAc,CAAC;QACxD,oBAAU,CAAC,QAAQ,CAAC,aAAa,EAAE,SAAS,CAAC,CAAC;QAC9C,MAAM,cAAc,GAAG,SAAS,CAAC,WAAW,EAAE,CAAC,KAAK,EAAE,CAAC;QACvD,wBAAU,CAAC,KAAK,CAAC,cAAc,EAAE,CAAC,QAAgB,EAAE,EAAE;YACpD,eAAM,CAAC,SAAS,CAAC,GAAG,QAAQ,aAAa,EAAE,KAAK,EAAE,OAAO,EAAE,KAAK,CAAC,CAAC;QACpE,CAAC,CAAC,CAAC;QAEH,gBAAgB;QAChB,sBAAW,CAAC,SAAS,CAAC,aAAa,CAAC,CAAC;IACvC,CAAC;;AA/BH,4BAwCC;AAPQ,8BAAqB,GAAG,CAAC,UAAsB,EAAoB,EAAE;;IAC1E,MAAM,MAAM,GAAG,yBAAO,CAAC,UAAU,CAAC,cAAc,CAAC,CAAC;IAClD,IAAI,MAAM,CAAC,KAAK,EAAE;QAChB,eAAM,CAAC,KAAK,CAAC,GAAG,UAAU,CAAC,QAAQ,oBAAoB,MAAA,MAAM,CAAC,KAAK,0CAAE,OAAO,EAAE,CAAC,CAAC;KACjF;IACD,OAAO,MAAM,CAAC;AAChB,CAAC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cparra/apexdocs",
|
|
3
|
-
"version": "2.5.
|
|
3
|
+
"version": "2.5.1",
|
|
4
4
|
"description": "Library with CLI capabilities to generate documentation for Salesforce Apex classes.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"apex",
|
|
@@ -64,7 +64,7 @@
|
|
|
64
64
|
]
|
|
65
65
|
},
|
|
66
66
|
"dependencies": {
|
|
67
|
-
"@cparra/apex-reflection": "
|
|
67
|
+
"@cparra/apex-reflection": "1.6.1",
|
|
68
68
|
"chalk": "^4.1.2",
|
|
69
69
|
"fast-xml-parser": "^4.0.1",
|
|
70
70
|
"log-update": "4.0.0",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ApexFileReader } from '../service/apex-file-reader';
|
|
2
2
|
import { DefaultFileSystem } from '../service/file-system';
|
|
3
|
-
import { ReflectionResult, reflect, Type
|
|
3
|
+
import { ReflectionResult, reflect, Type } from '@cparra/apex-reflection';
|
|
4
4
|
import { Logger } from '../util/logger';
|
|
5
5
|
import { createManifest } from '../service/manifest-factory';
|
|
6
6
|
import { RawBodyParser } from '../service/parser';
|