@cparra/apexdocs 2.2.3 → 2.3.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/.github/workflows/close_stale.yml +22 -0
- package/README.md +33 -8
- package/docs/Misc/SampleClass.md +168 -0
- package/docs/README.md +1 -1
- package/docs/Sample-Classes/SampleClass.md +7 -1
- package/examples/force-app/main/default/classes/SampleClass.cls +1 -1
- package/lib/application/Apexdocs.d.ts +2 -1
- package/lib/application/Apexdocs.js +7 -5
- package/lib/application/Apexdocs.js.map +1 -1
- package/lib/model/apex-bundle.d.ts +2 -1
- package/lib/model/apex-bundle.js +2 -1
- package/lib/model/apex-bundle.js.map +1 -1
- package/lib/model/file.js +5 -2
- package/lib/model/file.js.map +1 -1
- package/lib/model/markdown-file.d.ts +2 -0
- package/lib/model/markdown-file.js +22 -0
- package/lib/model/markdown-file.js.map +1 -1
- package/lib/model/markdown-generation-util/doc-comment-annotation-util.js +0 -1
- package/lib/model/markdown-generation-util/doc-comment-annotation-util.js.map +1 -1
- package/lib/model/markdown-home-file.d.ts +0 -1
- package/lib/model/markdown-home-file.js +0 -4
- package/lib/model/markdown-home-file.js.map +1 -1
- package/lib/model/markdown-type-file.d.ts +0 -1
- package/lib/model/markdown-type-file.js +0 -4
- package/lib/model/markdown-type-file.js.map +1 -1
- package/lib/service/apex-file-reader.js +4 -4
- package/lib/service/apex-file-reader.js.map +1 -1
- package/lib/service/manifest-factory.d.ts +2 -1
- package/lib/service/manifest-factory.js.map +1 -1
- package/lib/service/parser.d.ts +2 -2
- package/lib/service/parser.js +3 -1
- package/lib/service/parser.js.map +1 -1
- package/lib/transpiler/markdown/class-file-generatorHelper.js +2 -2
- package/lib/transpiler/markdown/class-file-generatorHelper.js.map +1 -1
- package/lib/util/error-logger.js +25 -24
- package/lib/util/error-logger.js.map +1 -1
- package/lib/util/logger.d.ts +4 -1
- package/lib/util/logger.js +28 -3
- package/lib/util/logger.js.map +1 -1
- package/package.json +5 -4
- package/src/application/Apexdocs.ts +8 -5
- package/src/model/apex-bundle.ts +1 -1
- package/src/model/file.ts +6 -2
- package/src/model/markdown-file.ts +26 -0
- package/src/model/markdown-generation-util/doc-comment-annotation-util.ts +0 -1
- package/src/model/markdown-home-file.ts +0 -5
- package/src/model/markdown-type-file.ts +0 -5
- package/src/service/apex-file-reader.ts +4 -4
- package/src/service/manifest-factory.ts +5 -1
- package/src/service/parser.ts +5 -3
- package/src/transpiler/markdown/class-file-generatorHelper.ts +2 -2
- package/src/util/error-logger.ts +25 -24
- package/src/util/logger.ts +29 -3
- package/docs/Some-group/GroupedClass.md +0 -7
- package/docs/index.html +0 -21
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
name: Close inactive issues
|
|
2
|
+
on:
|
|
3
|
+
schedule:
|
|
4
|
+
- cron: "30 1 * * *"
|
|
5
|
+
|
|
6
|
+
jobs:
|
|
7
|
+
close-issues:
|
|
8
|
+
runs-on: ubuntu-latest
|
|
9
|
+
permissions:
|
|
10
|
+
issues: write
|
|
11
|
+
pull-requests: write
|
|
12
|
+
steps:
|
|
13
|
+
- uses: actions/stale@v5
|
|
14
|
+
with:
|
|
15
|
+
days-before-issue-stale: 30
|
|
16
|
+
days-before-issue-close: 14
|
|
17
|
+
stale-issue-label: "stale"
|
|
18
|
+
stale-issue-message: "This issue is stale because it has been open for 30 days with no activity."
|
|
19
|
+
close-issue-message: "This issue was closed because it has been inactive for 14 days since being marked as stale."
|
|
20
|
+
days-before-pr-stale: -1
|
|
21
|
+
days-before-pr-close: -1
|
|
22
|
+
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
package/README.md
CHANGED
|
@@ -219,6 +219,8 @@ multiple lines, ending with `*/`.
|
|
|
219
219
|
|
|
220
220
|
The following tags are supported on the class level:
|
|
221
221
|
|
|
222
|
+
**Note** Any custom generated tag is also supported. Custom tags can be added with at symbol (`@`) followed by the name of the tag. For example `@custom-tag`
|
|
223
|
+
|
|
222
224
|
| Tag | Description |
|
|
223
225
|
|----------------|--------------------------------------------------------------------------------------------------------------------------------------------|
|
|
224
226
|
| `@description` | One or more lines describing the class. |
|
|
@@ -279,13 +281,14 @@ Methods and constructors support the same tags.
|
|
|
279
281
|
|
|
280
282
|
The following tags are supported on the method level:
|
|
281
283
|
|
|
282
|
-
| Tag
|
|
283
|
-
|
|
284
|
-
| `@description`
|
|
285
|
-
| `@param` _paramName_
|
|
286
|
-
| `@return`
|
|
287
|
-
| `@example`
|
|
288
|
-
| `@throws` _ExceptionName_
|
|
284
|
+
| Tag | Description |
|
|
285
|
+
|------------------------------|---------------------------------------------------|
|
|
286
|
+
| `@description` | One or more lines describing the method. |
|
|
287
|
+
| `@param` _paramName_ | Description of a single parameter. |
|
|
288
|
+
| `@return` | Description of the return value of the method. |
|
|
289
|
+
| `@example` | Example of how the code can be used or called. |
|
|
290
|
+
| `@throws` _ExceptionName_ | Description of an exception thrown by the method. |
|
|
291
|
+
| `@exception` _ExceptionName_ | Same as `@throws`. V2 only |
|
|
289
292
|
|
|
290
293
|
**Example**
|
|
291
294
|
|
|
@@ -297,7 +300,7 @@ The following tags are supported on the method level:
|
|
|
297
300
|
* @example
|
|
298
301
|
* Object result = SampleClass.call('exampleAction');
|
|
299
302
|
*/
|
|
300
|
-
public static Object call(String action) {
|
|
303
|
+
public static Object call(String action) {}
|
|
301
304
|
```
|
|
302
305
|
|
|
303
306
|
### Grouping Declarations Within A Class
|
|
@@ -349,6 +352,28 @@ Apexdocs recognizes 2 different syntax when linking files:
|
|
|
349
352
|
public static Object class(ExampleClass param1) {
|
|
350
353
|
```
|
|
351
354
|
|
|
355
|
+
---
|
|
356
|
+
|
|
357
|
+
Email addresses can also be inlined linked by using the `{@email EMAIL_ADDRESS}` syntax.
|
|
358
|
+
|
|
359
|
+
### HTML support
|
|
360
|
+
|
|
361
|
+
For the most part all HTML is sanitized. But there are some tags are allowed to have for the possibility of better styling long text.
|
|
362
|
+
- Allowed tags are: `br`, `p`, `ul`, and `li`
|
|
363
|
+
|
|
364
|
+
Example
|
|
365
|
+
```apex
|
|
366
|
+
/**
|
|
367
|
+
* @description <p>This is a paragraph</p>
|
|
368
|
+
* <p>And this is another paragraph</p>
|
|
369
|
+
* <ul>
|
|
370
|
+
* <li>This is a list item</li>
|
|
371
|
+
* <li>This is another list item</li>
|
|
372
|
+
* </ul>
|
|
373
|
+
*/
|
|
374
|
+
class MyClass {}
|
|
375
|
+
```
|
|
376
|
+
|
|
352
377
|
## Typescript
|
|
353
378
|
|
|
354
379
|
ApexDocs provides all necessary type definitions.
|
|
@@ -0,0 +1,168 @@
|
|
|
1
|
+
# SampleClass
|
|
2
|
+
|
|
3
|
+
`NAMESPACEACCESSIBLE`
|
|
4
|
+
|
|
5
|
+
`APIVERSION: 54`
|
|
6
|
+
|
|
7
|
+
`STATUS: ACTIVE`
|
|
8
|
+
|
|
9
|
+
Something
|
|
10
|
+
|
|
11
|
+
## Constructors
|
|
12
|
+
### My Super Group
|
|
13
|
+
##### `SampleClass()`
|
|
14
|
+
|
|
15
|
+
`NAMESPACEACCESSIBLE`
|
|
16
|
+
|
|
17
|
+
Constructs a SampleClass without any arguments. This relates to [SampleInterface](/Sample-Interfaces/SampleInterface.md)
|
|
18
|
+
|
|
19
|
+
###### Throws
|
|
20
|
+
|Exception|Description|
|
|
21
|
+
|---|---|
|
|
22
|
+
|`ExcName`|some exception|
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
**CustomAnnotation** A Custom method annotation
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
**See** [SampleInterface](/Sample-Interfaces/SampleInterface.md)
|
|
29
|
+
|
|
30
|
+
###### Example
|
|
31
|
+
```apex
|
|
32
|
+
// Example
|
|
33
|
+
SampleClass sampleInstance = new SampleClass();
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
---
|
|
37
|
+
### Other
|
|
38
|
+
##### `SampleClass(String argument1, String argument2)`
|
|
39
|
+
|
|
40
|
+
Constructs a SampleClass with an argument.
|
|
41
|
+
|
|
42
|
+
###### Parameters
|
|
43
|
+
|Param|Description|
|
|
44
|
+
|---|---|
|
|
45
|
+
|`argument1`|Argument1 definition|
|
|
46
|
+
|`argument2`|Argument2 definition|
|
|
47
|
+
|
|
48
|
+
---
|
|
49
|
+
## Fields
|
|
50
|
+
### Common Constants
|
|
51
|
+
|
|
52
|
+
* `ANOTHER_CONSTANT` → `String`
|
|
53
|
+
* `A_CONSTANT` → `String` [`NAMESPACEACCESSIBLE` ] - This is a constant.
|
|
54
|
+
---
|
|
55
|
+
### Other variables
|
|
56
|
+
|
|
57
|
+
* `someVariable` → `String`
|
|
58
|
+
---
|
|
59
|
+
## Properties
|
|
60
|
+
|
|
61
|
+
### `AnotherProp` → `Decimal`
|
|
62
|
+
|
|
63
|
+
`AURAENABLED`
|
|
64
|
+
|
|
65
|
+
This is a Decimal property.
|
|
66
|
+
|
|
67
|
+
### `MyProp` → `String`
|
|
68
|
+
|
|
69
|
+
`AURAENABLED`
|
|
70
|
+
`DEPRECATED`
|
|
71
|
+
|
|
72
|
+
This is a String property.
|
|
73
|
+
|
|
74
|
+
---
|
|
75
|
+
## Methods
|
|
76
|
+
### `static sampleMethod(String argument1, String argument2)`
|
|
77
|
+
|
|
78
|
+
`NAMESPACEACCESSIBLE`
|
|
79
|
+
|
|
80
|
+
Executes commands based on the passed in argument.
|
|
81
|
+
|
|
82
|
+
#### Parameters
|
|
83
|
+
|Param|Description|
|
|
84
|
+
|---|---|
|
|
85
|
+
|`argument1`|Argument1 to debug|
|
|
86
|
+
|`argument2`|Argument2 to debug|
|
|
87
|
+
|
|
88
|
+
#### Return
|
|
89
|
+
|
|
90
|
+
**Type**
|
|
91
|
+
|
|
92
|
+
String
|
|
93
|
+
|
|
94
|
+
**Description**
|
|
95
|
+
|
|
96
|
+
Empty string
|
|
97
|
+
|
|
98
|
+
#### Example
|
|
99
|
+
```apex
|
|
100
|
+
String result = SampleClass.testMethod();
|
|
101
|
+
System.debug(result);
|
|
102
|
+
```
|
|
103
|
+
|
|
104
|
+
### `static anotherSampleMethod(String arg1)`
|
|
105
|
+
|
|
106
|
+
Something here
|
|
107
|
+
|
|
108
|
+
#### Parameters
|
|
109
|
+
|Param|Description|
|
|
110
|
+
|---|---|
|
|
111
|
+
|
|
112
|
+
|
|
113
|
+
**Arg1** The arg1 description
|
|
114
|
+
|
|
115
|
+
### `static call()`
|
|
116
|
+
|
|
117
|
+
Calls the method. This methods allows you to call it.
|
|
118
|
+
|
|
119
|
+
---
|
|
120
|
+
## Enums
|
|
121
|
+
### InnerEnum
|
|
122
|
+
|
|
123
|
+
`NAMESPACEACCESSIBLE`
|
|
124
|
+
|
|
125
|
+
This is a namespace accessible enum
|
|
126
|
+
|
|
127
|
+
|
|
128
|
+
---
|
|
129
|
+
## Classes
|
|
130
|
+
### AnotherInnerClass
|
|
131
|
+
|
|
132
|
+
Inner class belonging to SampleClass.
|
|
133
|
+
|
|
134
|
+
#### Properties
|
|
135
|
+
|
|
136
|
+
##### `InnerProp` → `String`
|
|
137
|
+
|
|
138
|
+
|
|
139
|
+
Description of the inner property.
|
|
140
|
+
|
|
141
|
+
---
|
|
142
|
+
#### Methods
|
|
143
|
+
##### `innerMethod()`
|
|
144
|
+
|
|
145
|
+
Executes from the inner class.
|
|
146
|
+
|
|
147
|
+
---
|
|
148
|
+
|
|
149
|
+
### InnerClass
|
|
150
|
+
|
|
151
|
+
Inner class belonging to SampleClass.
|
|
152
|
+
|
|
153
|
+
#### Properties
|
|
154
|
+
|
|
155
|
+
##### `InnerProp` → `String`
|
|
156
|
+
|
|
157
|
+
|
|
158
|
+
Description of the inner property.
|
|
159
|
+
|
|
160
|
+
---
|
|
161
|
+
#### Methods
|
|
162
|
+
##### `innerMethod()`
|
|
163
|
+
|
|
164
|
+
Executes from the inner class.
|
|
165
|
+
|
|
166
|
+
---
|
|
167
|
+
|
|
168
|
+
---
|
package/docs/README.md
CHANGED
|
@@ -8,7 +8,7 @@ Uses a block style apex doc
|
|
|
8
8
|
|
|
9
9
|
### [SampleClass](/Sample-Classes/SampleClass.md)
|
|
10
10
|
|
|
11
|
-
This is a class description. This class relates to [SampleInterface](/Sample-Interfaces/SampleInterface.md) But this ClassThatDoesNotExist does not exist. You can also link using this syntax [SampleInterface](/Sample-Interfaces/SampleInterface.md)
|
|
11
|
+
This is a class description. This class relates to [SampleInterface](/Sample-Interfaces/SampleInterface.md) But this [ClassThatDoesNotExist](ClassThatDoesNotExist) does not exist. You can also link using this syntax [SampleInterface](/Sample-Interfaces/SampleInterface.md)
|
|
12
12
|
## Miscellaneous
|
|
13
13
|
|
|
14
14
|
### [SampleClassWithoutModifier](/Misc/SampleClassWithoutModifier.md)
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
`STATUS: ACTIVE`
|
|
8
8
|
|
|
9
|
-
This is a class description. This class relates to [SampleInterface](/Sample-Interfaces/SampleInterface.md) But this ClassThatDoesNotExist does not exist. You can also link using this syntax [SampleInterface](/Sample-Interfaces/SampleInterface.md)
|
|
9
|
+
This is a class description. This class relates to [SampleInterface](/Sample-Interfaces/SampleInterface.md) But this [ClassThatDoesNotExist](ClassThatDoesNotExist) does not exist. You can also link using this syntax [SampleInterface](/Sample-Interfaces/SampleInterface.md)
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
**Group** Sample Classes
|
|
@@ -114,10 +114,16 @@ System.debug(result);
|
|
|
114
114
|
```
|
|
115
115
|
|
|
116
116
|
### `static anotherSampleMethod(String arg1)`
|
|
117
|
+
|
|
118
|
+
Something here
|
|
119
|
+
|
|
117
120
|
#### Parameters
|
|
118
121
|
|Param|Description|
|
|
119
122
|
|---|---|
|
|
120
123
|
|
|
124
|
+
|
|
125
|
+
**Arg1** The arg1 description
|
|
126
|
+
|
|
121
127
|
### `static call()`
|
|
122
128
|
|
|
123
129
|
Calls the method. This methods allows you to call it.
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { ReflectionResult } from '@cparra/apex-reflection';
|
|
2
|
+
import ApexBundle from '../model/apex-bundle';
|
|
2
3
|
/**
|
|
3
4
|
* Application entry-point to generate documentation out of Apex source files.
|
|
4
5
|
*/
|
|
@@ -7,5 +8,5 @@ export declare class Apexdocs {
|
|
|
7
8
|
* Generates documentation out of Apex source files.
|
|
8
9
|
*/
|
|
9
10
|
static generate(): void;
|
|
10
|
-
static _reflectionWithLogger: (
|
|
11
|
+
static _reflectionWithLogger: (apexBundle: ApexBundle) => ReflectionResult;
|
|
11
12
|
}
|
|
@@ -20,27 +20,29 @@ class Apexdocs {
|
|
|
20
20
|
* Generates documentation out of Apex source files.
|
|
21
21
|
*/
|
|
22
22
|
static generate() {
|
|
23
|
+
logger_1.Logger.log('Initializing...');
|
|
23
24
|
const fileBodies = apex_file_reader_1.ApexFileReader.processFiles(new file_system_1.DefaultFileSystem());
|
|
24
25
|
const manifest = manifest_factory_1.createManifest(new parser_1.RawBodyParser(fileBodies), this._reflectionWithLogger);
|
|
25
26
|
const filteredTypes = manifest.filteredByAccessModifierAndAnnotations(settings_1.Settings.getInstance().scope);
|
|
26
27
|
types_repository_1.TypesRepository.getInstance().populate(filteredTypes);
|
|
27
|
-
logger_1.Logger.
|
|
28
|
+
logger_1.Logger.clear();
|
|
29
|
+
logger_1.Logger.logSingle(`Parsed ${filteredTypes.length} files`, false, 'green', false);
|
|
28
30
|
const processor = settings_1.Settings.getInstance().typeTranspiler;
|
|
29
31
|
transpiler_1.default.generate(filteredTypes, processor);
|
|
30
32
|
const generatedFiles = processor.fileBuilder().files();
|
|
31
33
|
file_writer_1.FileWriter.write(generatedFiles, (fileName) => {
|
|
32
|
-
logger_1.Logger.
|
|
34
|
+
logger_1.Logger.logSingle(`${fileName} processed.`, false, 'green', false);
|
|
33
35
|
});
|
|
34
36
|
// Error logging
|
|
35
37
|
error_logger_1.default.logErrors(filteredTypes);
|
|
36
38
|
}
|
|
37
39
|
}
|
|
38
40
|
exports.Apexdocs = Apexdocs;
|
|
39
|
-
Apexdocs._reflectionWithLogger = (
|
|
41
|
+
Apexdocs._reflectionWithLogger = (apexBundle) => {
|
|
40
42
|
var _a;
|
|
41
|
-
const result = apex_reflection_1.reflect(
|
|
43
|
+
const result = apex_reflection_1.reflect(apexBundle.rawTypeContent);
|
|
42
44
|
if (result.error) {
|
|
43
|
-
logger_1.Logger.
|
|
45
|
+
logger_1.Logger.error(`${apexBundle.filePath} - Parsing error ${(_a = result.error) === null || _a === void 0 ? void 0 : _a.message}`);
|
|
44
46
|
}
|
|
45
47
|
return result;
|
|
46
48
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Apexdocs.js","sourceRoot":"","sources":["../../src/application/Apexdocs.ts"],"names":[],"mappings":";;;AAAA,kEAA6D;AAC7D,wDAA2D;AAC3D,6DAAuF;AACvF,2CAAwC;AACxC,kEAA6D;AAC7D,8CAAkD;AAClD,0CAAuC;AACvC,yDAAkD;AAClD,wDAAoD;AACpD,gEAA4D;AAC5D,uDAA+C;
|
|
1
|
+
{"version":3,"file":"Apexdocs.js","sourceRoot":"","sources":["../../src/application/Apexdocs.ts"],"names":[],"mappings":";;;AAAA,kEAA6D;AAC7D,wDAA2D;AAC3D,6DAAuF;AACvF,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,CAAC,UAAU,aAAa,CAAC,MAAM,QAAQ,EAAE,KAAK,EAAE,OAAO,EAAE,KAAK,CAAC,CAAC;QAChF,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;;AAvBH,4BAgCC;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"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
export default class ApexBundle {
|
|
2
|
+
filePath: string;
|
|
2
3
|
rawTypeContent: string;
|
|
3
4
|
rawMetadataContent: string | null;
|
|
4
|
-
constructor(rawTypeContent: string, rawMetadataContent: string | null);
|
|
5
|
+
constructor(filePath: string, rawTypeContent: string, rawMetadataContent: string | null);
|
|
5
6
|
}
|
package/lib/model/apex-bundle.js
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
class ApexBundle {
|
|
4
|
-
constructor(rawTypeContent, rawMetadataContent) {
|
|
4
|
+
constructor(filePath, rawTypeContent, rawMetadataContent) {
|
|
5
|
+
this.filePath = filePath;
|
|
5
6
|
this.rawTypeContent = rawTypeContent;
|
|
6
7
|
this.rawMetadataContent = rawMetadataContent;
|
|
7
8
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"apex-bundle.js","sourceRoot":"","sources":["../../src/model/apex-bundle.ts"],"names":[],"mappings":";;AAAA,MAAqB,UAAU;IAC7B,YAAmB,cAAsB,EAAS,kBAAiC;
|
|
1
|
+
{"version":3,"file":"apex-bundle.js","sourceRoot":"","sources":["../../src/model/apex-bundle.ts"],"names":[],"mappings":";;AAAA,MAAqB,UAAU;IAC7B,YAAmB,QAAgB,EAAS,cAAsB,EAAS,kBAAiC;QAAzF,aAAQ,GAAR,QAAQ,CAAQ;QAAS,mBAAc,GAAd,cAAc,CAAQ;QAAS,uBAAkB,GAAlB,kBAAkB,CAAe;IAAG,CAAC;CACjH;AAFD,6BAEC"}
|
package/lib/model/file.js
CHANGED
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.File = void 0;
|
|
4
|
-
const
|
|
4
|
+
const xss = require("xss");
|
|
5
|
+
const xssFilter = new xss.FilterXSS({
|
|
6
|
+
whiteList: { br: [], p: [], ul: [], li: [] },
|
|
7
|
+
});
|
|
5
8
|
class File {
|
|
6
9
|
constructor(fileName, dir) {
|
|
7
10
|
this.fileName = fileName;
|
|
@@ -12,7 +15,7 @@ class File {
|
|
|
12
15
|
return this._contents;
|
|
13
16
|
}
|
|
14
17
|
addText(text, encodeHtml = true) {
|
|
15
|
-
const textToAdd = encodeHtml ?
|
|
18
|
+
const textToAdd = encodeHtml ? xssFilter.process(text) : text;
|
|
16
19
|
this._contents += textToAdd;
|
|
17
20
|
this.addBlankLine();
|
|
18
21
|
}
|
package/lib/model/file.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"file.js","sourceRoot":"","sources":["../../src/model/file.ts"],"names":[],"mappings":";;;AAAA,
|
|
1
|
+
{"version":3,"file":"file.js","sourceRoot":"","sources":["../../src/model/file.ts"],"names":[],"mappings":";;;AAAA,2BAA4B;AAE5B,MAAM,SAAS,GAAG,IAAI,GAAG,CAAC,SAAS,CAAC;IAClC,SAAS,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE;CAC7C,CAAC,CAAC;AAEH,MAAsB,IAAI;IAGxB,YAAmB,QAAgB,EAAS,GAAW;QAApC,aAAQ,GAAR,QAAQ,CAAQ;QAAS,QAAG,GAAH,GAAG,CAAQ;QAFvD,cAAS,GAAG,EAAE,CAAC;IAE2C,CAAC;IAI3D,IAAI,IAAI;QACN,OAAO,IAAI,CAAC,SAAS,CAAC;IACxB,CAAC;IAED,OAAO,CAAC,IAAY,EAAE,UAAU,GAAG,IAAI;QACrC,MAAM,SAAS,GAAG,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC;QAC9D,IAAI,CAAC,SAAS,IAAI,SAAS,CAAC;QAC5B,IAAI,CAAC,YAAY,EAAE,CAAC;IACtB,CAAC;IAED,YAAY;QACV,IAAI,CAAC,SAAS,IAAI,IAAI,CAAC;IACzB,CAAC;CACF;AApBD,oBAoBC"}
|
|
@@ -2,6 +2,7 @@ import { File } from './file';
|
|
|
2
2
|
export declare class MarkdownFile extends File {
|
|
3
3
|
fileExtension(): string;
|
|
4
4
|
addTitle(text: string, level?: number): void;
|
|
5
|
+
addText(text: string, encodeHtml?: boolean): void;
|
|
5
6
|
startCodeBlock(): void;
|
|
6
7
|
endCodeBlock(): void;
|
|
7
8
|
addHorizontalRule(): void;
|
|
@@ -9,4 +10,5 @@ export declare class MarkdownFile extends File {
|
|
|
9
10
|
addTableRow(...columns: string[]): void;
|
|
10
11
|
addListItem(text: string): void;
|
|
11
12
|
protected static replaceInlineLinks(text: string): string;
|
|
13
|
+
protected static replaceInlineEmails(text: string): string;
|
|
12
14
|
}
|
|
@@ -17,6 +17,11 @@ class MarkdownFile extends file_1.File {
|
|
|
17
17
|
this._contents += title;
|
|
18
18
|
this.addBlankLine();
|
|
19
19
|
}
|
|
20
|
+
addText(text, encodeHtml = true) {
|
|
21
|
+
text = MarkdownFile.replaceInlineLinks(text);
|
|
22
|
+
text = MarkdownFile.replaceInlineEmails(text);
|
|
23
|
+
super.addText(text, encodeHtml);
|
|
24
|
+
}
|
|
20
25
|
startCodeBlock() {
|
|
21
26
|
this._contents += '```';
|
|
22
27
|
const sourceLanguage = 'apex';
|
|
@@ -76,6 +81,23 @@ class MarkdownFile extends file_1.File {
|
|
|
76
81
|
}
|
|
77
82
|
return text;
|
|
78
83
|
}
|
|
84
|
+
static replaceInlineEmails(text) {
|
|
85
|
+
// Parsing links using {@link ClassName} format
|
|
86
|
+
const linkFormatRegEx = '{@email (.*?)}';
|
|
87
|
+
const expression = new RegExp(linkFormatRegEx, 'gi');
|
|
88
|
+
let match;
|
|
89
|
+
const matches = [];
|
|
90
|
+
do {
|
|
91
|
+
match = expression.exec(text);
|
|
92
|
+
if (match) {
|
|
93
|
+
matches.push(match);
|
|
94
|
+
}
|
|
95
|
+
} while (match);
|
|
96
|
+
for (const currentMatch of matches) {
|
|
97
|
+
text = text.replace(currentMatch[0], `[${currentMatch[1]}](mailto:${currentMatch[1]})`);
|
|
98
|
+
}
|
|
99
|
+
return text;
|
|
100
|
+
}
|
|
79
101
|
}
|
|
80
102
|
exports.MarkdownFile = MarkdownFile;
|
|
81
103
|
//# sourceMappingURL=markdown-file.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"markdown-file.js","sourceRoot":"","sources":["../../src/model/markdown-file.ts"],"names":[],"mappings":";;;AAAA,iCAA8B;AAC9B,kGAAyF;AAEzF,MAAa,YAAa,SAAQ,WAAI;IACpC,aAAa;QACX,OAAO,KAAK,CAAC;IACf,CAAC;IAED,QAAQ,CAAC,IAAY,EAAE,KAAK,GAAG,CAAC;QAC9B,IAAI,KAAK,GAAG,EAAE,CAAC;QACf,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,KAAK,EAAE,CAAC,EAAE,EAAE;YAC9B,KAAK,IAAI,GAAG,CAAC;SACd;QAED,KAAK,IAAI,GAAG,CAAC;QACb,KAAK,IAAI,IAAI,CAAC;QACd,IAAI,CAAC,SAAS,IAAI,KAAK,CAAC;QACxB,IAAI,CAAC,YAAY,EAAE,CAAC;IACtB,CAAC;IAED,cAAc;QACZ,IAAI,CAAC,SAAS,IAAI,KAAK,CAAC;QACxB,MAAM,cAAc,GAAG,MAAM,CAAC;QAC9B,IAAI,CAAC,SAAS,IAAI,cAAc,CAAC;QACjC,IAAI,CAAC,YAAY,EAAE,CAAC;IACtB,CAAC;IAED,YAAY;QACV,IAAI,CAAC,SAAS,IAAI,KAAK,CAAC;QACxB,IAAI,CAAC,YAAY,EAAE,CAAC;IACtB,CAAC;IAED,iBAAiB;QACf,IAAI,CAAC,SAAS,IAAI,KAAK,CAAC;QACxB,IAAI,CAAC,YAAY,EAAE,CAAC;IACtB,CAAC;IAED,eAAe,CAAC,GAAG,OAAiB;QAClC,IAAI,CAAC,SAAS,IAAI,GAAG,CAAC;QACtB,OAAO,CAAC,OAAO,CAAC,CAAC,MAAM,EAAE,EAAE;YACzB,IAAI,CAAC,SAAS,IAAI,MAAM,GAAG,GAAG,CAAC;QACjC,CAAC,CAAC,CAA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CAAC,IAAI,CAAC,CAAC;YAC9B,IAAI,KAAK,EAAE;gBACT,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;aACrB;SACF,QAAQ,KAAK,EAAE;QAEhB,KAAK,MAAM,YAAY,IAAI,OAAO,EAAE;YAClC,IAAI,GAAG,IAAI,CAAC,OAAO,CAAC,YAAY,CAAC,CAAC,CAAC,EAAE,IAAI,YAAY,CAAC,CAAC,CAAC,YAAY,YAAY,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC;SACzF;QACD,OAAO,IAAI,CAAC;IACd,CAAC;CACF;AA/GD,oCA+GC"}
|
|
@@ -13,7 +13,6 @@ function addCustomDocCommentAnnotations(markdownFile, docCommentAware) {
|
|
|
13
13
|
const words = text.split(/[-_]+/);
|
|
14
14
|
const capitalizedWords = [];
|
|
15
15
|
for (const word of words) {
|
|
16
|
-
console.log(`current word ${word}`);
|
|
17
16
|
capitalizedWords.push(word.charAt(0).toUpperCase() + word.slice(1));
|
|
18
17
|
}
|
|
19
18
|
return capitalizedWords.join(' ');
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"doc-comment-annotation-util.js","sourceRoot":"","sources":["../../../src/model/markdown-generation-util/doc-comment-annotation-util.ts"],"names":[],"mappings":";;;AACA,qGAA4F;AAO5F,SAAgB,8BAA8B,CAAC,YAA0B,EAAE,eAAgC;;IACzG,MAAA,eAAe,CAAC,UAAU,0CAAE,WAAW,CACpC,MAAM,CAAC,CAAC,iBAAuC,EAAE,EAAE,CAAC,iBAAiB,CAAC,IAAI,KAAK,aAAa,EAC5F,OAAO,CAAC,CAAC,iBAAuC,EAAE,EAAE;QACnD,YAAY,CAAC,YAAY,EAAE,CAAC;QAC5B,YAAY,CAAC,OAAO,CAAC,sBAAsB,CAAC,iBAAiB,CAAC,CAAC,CAAC;QAChE,YAAY,CAAC,YAAY,EAAE,CAAC;IAC9B,CAAC,EAAE;IAEL,SAAS,kBAAkB,CAAC,IAAY;QACtC,MAAM,KAAK,GAAG,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC;QAClC,MAAM,gBAAgB,GAAG,EAAE,CAAC;QAC5B,KAAK,MAAM,IAAI,IAAI,KAAK,EAAE;YACxB,
|
|
1
|
+
{"version":3,"file":"doc-comment-annotation-util.js","sourceRoot":"","sources":["../../../src/model/markdown-generation-util/doc-comment-annotation-util.ts"],"names":[],"mappings":";;;AACA,qGAA4F;AAO5F,SAAgB,8BAA8B,CAAC,YAA0B,EAAE,eAAgC;;IACzG,MAAA,eAAe,CAAC,UAAU,0CAAE,WAAW,CACpC,MAAM,CAAC,CAAC,iBAAuC,EAAE,EAAE,CAAC,iBAAiB,CAAC,IAAI,KAAK,aAAa,EAC5F,OAAO,CAAC,CAAC,iBAAuC,EAAE,EAAE;QACnD,YAAY,CAAC,YAAY,EAAE,CAAC;QAC5B,YAAY,CAAC,OAAO,CAAC,sBAAsB,CAAC,iBAAiB,CAAC,CAAC,CAAC;QAChE,YAAY,CAAC,YAAY,EAAE,CAAC;IAC9B,CAAC,EAAE;IAEL,SAAS,kBAAkB,CAAC,IAAY;QACtC,MAAM,KAAK,GAAG,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC;QAClC,MAAM,gBAAgB,GAAG,EAAE,CAAC;QAC5B,KAAK,MAAM,IAAI,IAAI,KAAK,EAAE;YACxB,gBAAgB,CAAC,IAAI,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,WAAW,EAAE,GAAG,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC;SACrE;QACD,OAAO,gBAAgB,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;IACpC,CAAC;IAED,SAAS,sBAAsB,CAAC,UAAgC;QAC9D,IAAI,kBAAkB,GAAG,UAAU,CAAC,IAAI,CAAC;QACzC,IAAI,UAAU,CAAC,IAAI,CAAC,WAAW,EAAE,KAAK,KAAK,EAAE;YAC3C,kBAAkB,GAAG,oCAAwB,CAAC,qBAAqB,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;SACtF;QACD,OAAO,KAAK,kBAAkB,CAAC,UAAU,CAAC,IAAI,CAAC,MAAM,kBAAkB,EAAE,CAAC;IAC5E,CAAC;AACH,CAAC;AAzBD,wEAyBC"}
|
|
@@ -4,7 +4,6 @@ export declare class MarkdownHomeFile extends MarkdownFile {
|
|
|
4
4
|
fileName: string;
|
|
5
5
|
types: Type[];
|
|
6
6
|
constructor(fileName: string, types: Type[], headerContent?: string);
|
|
7
|
-
addText(text: string, encodeHtml?: boolean): void;
|
|
8
7
|
private addTypeEntries;
|
|
9
8
|
private addTypeEntry;
|
|
10
9
|
private group;
|
|
@@ -14,10 +14,6 @@ class MarkdownHomeFile extends markdown_file_1.MarkdownFile {
|
|
|
14
14
|
this.addTitle('Classes');
|
|
15
15
|
this.addTypeEntries(types);
|
|
16
16
|
}
|
|
17
|
-
addText(text, encodeHtml = true) {
|
|
18
|
-
text = markdown_file_1.MarkdownFile.replaceInlineLinks(text);
|
|
19
|
-
super.addText(text, encodeHtml);
|
|
20
|
-
}
|
|
21
17
|
addTypeEntries(types) {
|
|
22
18
|
const groupedClasses = this.group(types);
|
|
23
19
|
groupedClasses.forEach((value, key) => {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"markdown-home-file.js","sourceRoot":"","sources":["../../src/model/markdown-home-file.ts"],"names":[],"mappings":";;;AACA,kGAAyF;AACzF,mDAA+C;AAE/C,MAAa,gBAAiB,SAAQ,4BAAY;IAChD,YAAmB,QAAgB,EAAS,KAAa,EAAE,aAAsB;QAC/E,KAAK,CAAC,QAAQ,EAAE,EAAE,CAAC,CAAC;QADH,aAAQ,GAAR,QAAQ,CAAQ;QAAS,UAAK,GAAL,KAAK,CAAQ;QAEvD,IAAI,aAAa,EAAE;YACjB,IAAI,CAAC,OAAO,CAAC,aAAa,CAAC,CAAC;SAC7B;QACD,IAAI,CAAC,QAAQ,CAAC,SAAS,CAAC,CAAC;QACz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AC;IAEO,KAAK,CAAC,OAAe;QAC3B,OAAO,OAAO,CAAC,MAAM,CAAC,CAAC,MAAM,EAAE,YAAY,EAAE,EAAE;YAC7C,MAAM,GAAG,GAAG,IAAI,CAAC,aAAa,CAAC,YAAY,CAAC,CAAC;YAC7C,MAAM,KAAK,GAAW,MAAM,CAAC,GAAG,CAAC,GAAG,CAAC,IAAI,EAAE,CAAC;YAC5C,KAAK,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC;YACzB,MAAM,CAAC,GAAG,CAAC,GAAG,EAAE,KAAK,CAAC,CAAC;YACvB,OAAO,MAAM,CAAC;QAChB,CAAC,EAAE,IAAI,GAAG,EAAE,CAAC,CAAC;IAChB,CAAC;IAEO,aAAa,CAAC,UAAgB;;QACpC,OAAO,mBACL,UAAU,CAAC,UAAU,0CAAE,WAAW,CAAC,IAAI,CAAC,CAAC,UAAU,EAAE,EAAE,CAAC,UAAU,CAAC,IAAI,KAAK,OAAO,2CAAG,IAAI,mCAAI,eAAe,CAC9G,CAAC;IACJ,CAAC;CACF;AA1CD,4CA0CC"}
|
|
@@ -5,7 +5,6 @@ export declare class MarkdownTypeFile extends MarkdownFile implements WalkerList
|
|
|
5
5
|
type: Type;
|
|
6
6
|
headingLevel: number;
|
|
7
7
|
constructor(type: Type, headingLevel?: number, headerContent?: string);
|
|
8
|
-
addText(text: string, encodeHtml?: boolean): void;
|
|
9
8
|
onTypeDeclaration(typeMirror: Type): void;
|
|
10
9
|
onConstructorDeclaration(className: string, constructors: ConstructorMirror[]): void;
|
|
11
10
|
onFieldsDeclaration(fields: FieldMirror[]): void;
|
|
@@ -16,10 +16,6 @@ class MarkdownTypeFile extends markdown_file_1.MarkdownFile {
|
|
|
16
16
|
const walker = walker_factory_1.WalkerFactory.get(type);
|
|
17
17
|
walker.walk(this);
|
|
18
18
|
}
|
|
19
|
-
addText(text, encodeHtml = true) {
|
|
20
|
-
text = markdown_file_1.MarkdownFile.replaceInlineLinks(text);
|
|
21
|
-
super.addText(text, encodeHtml);
|
|
22
|
-
}
|
|
23
19
|
onTypeDeclaration(typeMirror) {
|
|
24
20
|
this.addTitle(typeMirror.name, this.headingLevel);
|
|
25
21
|
markdown_generation_util_1.declareType(this, typeMirror);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"markdown-type-file.js","sourceRoot":"","sources":["../../src/model/markdown-type-file.ts"],"names":[],"mappings":";;;AAUA,sEAAkE;AAElE,mDAA+C;AAC/C,yEAAsF;AACtF,kGAAyF;AAUzF,MAAa,gBAAiB,SAAQ,4BAAY;IAChD,YAAmB,IAAU,EAAS,eAAuB,CAAC,EAAE,aAAsB;QACpF,KAAK,CAAC,GAAG,IAAI,CAAC,IAAI,EAAE,EAAE,oCAAwB,CAAC,iBAAiB,CAAC,IAAI,CAAC,CAAC,CAAC;QADvD,SAAI,GAAJ,IAAI,CAAM;QAAS,iBAAY,GAAZ,YAAY,CAAY;QAE5D,IAAI,aAAa,EAAE;YACjB,IAAI,CAAC,OAAO,CAAC,aAAa,CAAC,CAAC;SAC7B;QACD,MAAM,MAAM,GAAG,8BAAa,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC;QACvC,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IACpB,CAAC;IAEM,
|
|
1
|
+
{"version":3,"file":"markdown-type-file.js","sourceRoot":"","sources":["../../src/model/markdown-type-file.ts"],"names":[],"mappings":";;;AAUA,sEAAkE;AAElE,mDAA+C;AAC/C,yEAAsF;AACtF,kGAAyF;AAUzF,MAAa,gBAAiB,SAAQ,4BAAY;IAChD,YAAmB,IAAU,EAAS,eAAuB,CAAC,EAAE,aAAsB;QACpF,KAAK,CAAC,GAAG,IAAI,CAAC,IAAI,EAAE,EAAE,oCAAwB,CAAC,iBAAiB,CAAC,IAAI,CAAC,CAAC,CAAC;QADvD,SAAI,GAAJ,IAAI,CAAM;QAAS,iBAAY,GAAZ,YAAY,CAAY;QAE5D,IAAI,aAAa,EAAE;YACjB,IAAI,CA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AAY,GAAG,IAAI,CAAC,YAAY,GAAG,CAAC,CAAC;IAC5C,CAAC;IAEO,KAAK,CAAC,IAAkB;QAC9B,OAAO,IAAI,CAAC,MAAM,CAAC,CAAC,MAAgB,EAAE,IAAI,EAAE,EAAE;;YAC5C,MAAM,SAAS,SAAW,IAAI,CAAC,KAAK,mCAAI,OAAO,CAAC;YAChD,MAAM,KAAK,GAAiB,MAAM,CAAC,SAAS,CAAC,IAAI,EAAE,CAAC;YACpD,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;YACjB,MAAM,CAAC,SAAS,CAAC,GAAG,KAAK,CAAC;YAC1B,OAAO,MAAM,CAAC;QAChB,CAAC,EAAE,EAAE,CAAC,CAAC;IACT,CAAC;CACF;AApHD,4CAoHC"}
|
|
@@ -12,12 +12,12 @@ class ApexFileReader {
|
|
|
12
12
|
* Reads from .cls files and returns their raw body.
|
|
13
13
|
*/
|
|
14
14
|
static processFiles(fileSystem, rootPath = this.sourceDirectory) {
|
|
15
|
-
let
|
|
15
|
+
let bundles = [];
|
|
16
16
|
const directoryContents = fileSystem.readDirectory(rootPath);
|
|
17
17
|
directoryContents.forEach((currentFilePath) => {
|
|
18
18
|
const currentPath = fileSystem.joinPath(rootPath, currentFilePath);
|
|
19
19
|
if (this.readRecursively && fileSystem.isDirectory(currentPath)) {
|
|
20
|
-
|
|
20
|
+
bundles = bundles.concat(this.processFiles(fileSystem, currentPath));
|
|
21
21
|
}
|
|
22
22
|
if (!this.isApexFile(currentFilePath)) {
|
|
23
23
|
return;
|
|
@@ -25,9 +25,9 @@ class ApexFileReader {
|
|
|
25
25
|
const rawApexFile = fileSystem.readFile(currentPath);
|
|
26
26
|
const metadataPath = fileSystem.joinPath(rootPath, `${currentFilePath}-meta.xml`);
|
|
27
27
|
const rawMetadataFile = fileSystem.exists(metadataPath) ? fileSystem.readFile(metadataPath) : null;
|
|
28
|
-
|
|
28
|
+
bundles.push(new apex_bundle_1.default(currentFilePath, rawApexFile, rawMetadataFile));
|
|
29
29
|
});
|
|
30
|
-
return
|
|
30
|
+
return bundles;
|
|
31
31
|
}
|
|
32
32
|
static isApexFile(currentFile) {
|
|
33
33
|
return currentFile.endsWith(APEX_FILE_EXTENSION);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"apex-file-reader.js","sourceRoot":"","sources":["../../src/service/apex-file-reader.ts"],"names":[],"mappings":";;;AAAA,0CAAuC;AAEvC,sDAA8C;AAE9C,MAAM,mBAAmB,GAAG,MAAM,CAAC;AAEnC;;GAEG;AACH,MAAa,cAAc;IACzB;;OAEG;IACH,MAAM,CAAC,YAAY,CAAC,UAAsB,EAAE,WAAmB,IAAI,CAAC,eAAe;QACjF,IAAI,
|
|
1
|
+
{"version":3,"file":"apex-file-reader.js","sourceRoot":"","sources":["../../src/service/apex-file-reader.ts"],"names":[],"mappings":";;;AAAA,0CAAuC;AAEvC,sDAA8C;AAE9C,MAAM,mBAAmB,GAAG,MAAM,CAAC;AAEnC;;GAEG;AACH,MAAa,cAAc;IACzB;;OAEG;IACH,MAAM,CAAC,YAAY,CAAC,UAAsB,EAAE,WAAmB,IAAI,CAAC,eAAe;QACjF,IAAI,OAAO,GAAiB,EAAE,CAAC;QAE/B,MAAM,iBAAiB,GAAG,UAAU,CAAC,aAAa,CAAC,QAAQ,CAAC,CAAC;QAC7D,iBAAiB,CAAC,OAAO,CAAC,CAAC,eAAe,EAAE,EAAE;YAC5C,MAAM,WAAW,GAAG,UAAU,CAAC,QAAQ,CAAC,QAAQ,EAAE,eAAe,CAAC,CAAC;YACnE,IAAI,IAAI,CAAC,eAAe,IAAI,UAAU,CAAC,WAAW,CAAC,WAAW,CAAC,EAAE;gBAC/D,OAAO,GAAG,OAAO,CAAC,MAAM,CAAC,IAAI,CAAC,YAAY,CAAC,UAAU,EAAE,WAAW,CAAC,CAAC,CAAC;aACtE;YAED,IAAI,CAAC,IAAI,CAAC,UAAU,CAAC,eAAe,CAAC,EAAE;gBACrC,OAAO;aACR;YAED,MAAM,WAAW,GAAG,UAAU,CAAC,QAAQ,CAAC,WAAW,CAAC,CAAC;YACrD,MAAM,YAAY,GAAG,UAAU,CAAC,QAAQ,CAAC,QAAQ,EAAE,GAAG,eAAe,WAAW,CAAC,CAAC;YAClF,MAAM,eAAe,GAAG,UAAU,CAAC,MAAM,CAAC,YAAY,CAAC,CAAC,CAAC,CAAC,UAAU,CAAC,QAAQ,CAAC,YAAY,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC;YACnG,OAAO,CAAC,IAAI,CAAC,IAAI,qBAAU,CAAC,eAAe,EAAE,WAAW,EAAE,eAAe,CAAC,CAAC,CAAC;QAC9E,CAAC,CAAC,CAAC;QACH,OAAO,OAAO,CAAC;IACjB,CAAC;IAEO,MAAM,CAAC,UAAU,CAAC,WAAmB;QAC3C,OAAO,WAAW,CAAC,QAAQ,CAAC,mBAAmB,CAAC,CAAC;IACnD,CAAC;IAEO,MAAM,KAAK,eAAe;QAChC,OAAO,mBAAQ,CAAC,WAAW,EAAE,CAAC,eAAe,CAAC;IAChD,CAAC;IAEO,MAAM,KAAK,eAAe;QAChC,OAAO,mBAAQ,CAAC,WAAW,EAAE,CAAC,SAAS,CAAC;IAC1C,CAAC;CACF;AArCD,wCAqCC"}
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import Manifest from '../model/manifest';
|
|
2
2
|
import { TypeParser } from './parser';
|
|
3
3
|
import { ReflectionResult } from '@cparra/apex-reflection';
|
|
4
|
+
import ApexBundle from '../model/apex-bundle';
|
|
4
5
|
/**
|
|
5
6
|
* Builds a new Manifest object, sourcing its types from the received TypeParser.
|
|
6
7
|
* @param typeParser In charge of returning the list of reflected types.
|
|
7
8
|
* @param reflect Reflection function.
|
|
8
9
|
*/
|
|
9
|
-
export declare function createManifest(typeParser: TypeParser, reflect: (
|
|
10
|
+
export declare function createManifest(typeParser: TypeParser, reflect: (apexBundle: ApexBundle) => ReflectionResult): Manifest;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"manifest-factory.js","sourceRoot":"","sources":["../../src/service/manifest-factory.ts"],"names":[],"mappings":";;;AAAA,gDAAyC;
|
|
1
|
+
{"version":3,"file":"manifest-factory.js","sourceRoot":"","sources":["../../src/service/manifest-factory.ts"],"names":[],"mappings":";;;AAAA,gDAAyC;AAKzC;;;;GAIG;AACH,SAAgB,cAAc,CAC5B,UAAsB,EACtB,OAAqD;IAErD,OAAO,IAAI,kBAAQ,CAAC,UAAU,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC;AACjD,CAAC;AALD,wCAKC"}
|