Skip to content

Commit 64cf59f

Browse files
committed
Docs
1 parent 3ef31b4 commit 64cf59f

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,7 @@ apexdocs changelog --previousVersionDir force-app-previous --currentVersionDir f
123123
| `--includeMetadata ` | N/A | Whether to include the file's meta.xml information: Whether it is active and and the API version | `false` | No |
124124
| `--linkingStrategy` | N/A | The strategy to use when linking to other classes. Possible values are `relative`, `no-link`, and `none` | `relative` | No |
125125
| `--customObjectsGroupName` | N/A | The name under which custom objects will be grouped in the Reference Guide | `Custom Objects` | No |
126+
| `--triggersGroupName` | N/A | The name under which triggers will be grouped in the Reference Guide | `Triggers` | No |
126127

127128
##### Linking Strategy
128129

src/core/reflection/sort-types-and-members.ts

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,14 @@
11
import { ClassMirror, EnumMirror, InterfaceMirror, Type } from '@cparra/apex-reflection';
2-
import { ParsedFile } from '../shared/types';
2+
import { ParsedFile, TopLevelType } from '../shared/types';
33
import { isApexType, isObjectType } from '../shared/utils';
44
import { CustomObjectMetadata } from './sobject/reflect-custom-object-sources';
5-
import { TriggerMetadata } from './trigger/reflect-trigger-source';
65

76
type Named = { name: string };
87

98
export function sortTypesAndMembers(
109
shouldSort: boolean,
11-
parsedFiles: ParsedFile<Type | CustomObjectMetadata | TriggerMetadata>[],
12-
): ParsedFile<Type | CustomObjectMetadata | TriggerMetadata>[] {
10+
parsedFiles: ParsedFile<TopLevelType>[],
11+
): ParsedFile<TopLevelType>[] {
1312
return parsedFiles
1413
.map((parsedFile) => {
1514
if (isApexType(parsedFile.type)) {

0 commit comments

Comments
 (0)