@simplysf/simply-document 0.2.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/README.md +253 -0
- package/lib/commands/simply/document/diff.d.ts +25 -0
- package/lib/commands/simply/document/diff.js +232 -0
- package/lib/commands/simply/document/diff.js.map +1 -0
- package/lib/commands/simply/document/generate.d.ts +25 -0
- package/lib/commands/simply/document/generate.js +466 -0
- package/lib/commands/simply/document/generate.js.map +1 -0
- package/lib/common/changeReportTemplate.d.ts +22 -0
- package/lib/common/changeReportTemplate.js +269 -0
- package/lib/common/changeReportTemplate.js.map +1 -0
- package/lib/common/technicalDesignDocumentTemplate.d.ts +211 -0
- package/lib/common/technicalDesignDocumentTemplate.js +1254 -0
- package/lib/common/technicalDesignDocumentTemplate.js.map +1 -0
- package/lib/index.d.ts +2 -0
- package/lib/index.js +17 -0
- package/lib/index.js.map +1 -0
- package/messages/simply.document.diff.md +63 -0
- package/messages/simply.document.generate.md +61 -0
- package/package.json +210 -0
|
@@ -0,0 +1,269 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) 2026, Clay Chipps; Copyright (c) 2026 Salesforce, Inc.
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
import Handlebars from 'handlebars';
|
|
17
|
+
const handlebars = Handlebars.create();
|
|
18
|
+
const changeTableSource = `
|
|
19
|
+
<table class="wrapped">
|
|
20
|
+
<colgroup>
|
|
21
|
+
<col />
|
|
22
|
+
<col />
|
|
23
|
+
<col />
|
|
24
|
+
<col />
|
|
25
|
+
<col />
|
|
26
|
+
</colgroup>
|
|
27
|
+
<tbody>
|
|
28
|
+
<tr>
|
|
29
|
+
<th>Component Name</th>
|
|
30
|
+
<th>Component Type</th>
|
|
31
|
+
<th>Change Type</th>
|
|
32
|
+
<th>Change description</th>
|
|
33
|
+
<th>Path</th>
|
|
34
|
+
</tr>
|
|
35
|
+
{{#each this}}
|
|
36
|
+
<tr>
|
|
37
|
+
<td>{{this.componentName}}</td>
|
|
38
|
+
<td>{{this.componentType}}</td>
|
|
39
|
+
<td style="text-align: center"><b>{{this.changeType}}</b></td>
|
|
40
|
+
<td>{{this.changeDescription}}</td>
|
|
41
|
+
<td>{{this.path}}</td>
|
|
42
|
+
</tr>
|
|
43
|
+
{{/each}}
|
|
44
|
+
</tbody>
|
|
45
|
+
</table>
|
|
46
|
+
`;
|
|
47
|
+
const changeReportSource = `<h2>Objects & Data Model</h2>
|
|
48
|
+
|
|
49
|
+
<h3>Standard Objects</h3>
|
|
50
|
+
{{#if standardObjects}}
|
|
51
|
+
{{> changeTable standardObjects}}
|
|
52
|
+
{{else}}
|
|
53
|
+
<p>None</p>
|
|
54
|
+
{{/if}}
|
|
55
|
+
|
|
56
|
+
<h3>Custom Objects</h3>
|
|
57
|
+
{{#if customObjects}}
|
|
58
|
+
{{> changeTable customObjects}}
|
|
59
|
+
{{else}}
|
|
60
|
+
<p>None</p>
|
|
61
|
+
{{/if}}
|
|
62
|
+
|
|
63
|
+
<h3>Custom Settings</h3>
|
|
64
|
+
{{#if customSettings}}
|
|
65
|
+
{{> changeTable customSettings}}
|
|
66
|
+
{{else}}
|
|
67
|
+
<p>None</p>
|
|
68
|
+
{{/if}}
|
|
69
|
+
|
|
70
|
+
<h3>Custom Metadata Types</h3>
|
|
71
|
+
{{#if customMetadataTypes}}
|
|
72
|
+
{{> changeTable customMetadataTypes}}
|
|
73
|
+
{{else}}
|
|
74
|
+
<p>None</p>
|
|
75
|
+
{{/if}}
|
|
76
|
+
|
|
77
|
+
<h3>Custom Metadata</h3>
|
|
78
|
+
{{#if customMetadata}}
|
|
79
|
+
{{> changeTable customMetadata}}
|
|
80
|
+
{{else}}
|
|
81
|
+
<p>None</p>
|
|
82
|
+
{{/if}}
|
|
83
|
+
|
|
84
|
+
<h3>Platform Events</h3>
|
|
85
|
+
{{#if platformEvents}}
|
|
86
|
+
{{> changeTable platformEvents}}
|
|
87
|
+
{{else}}
|
|
88
|
+
<p>None</p>
|
|
89
|
+
{{/if}}
|
|
90
|
+
|
|
91
|
+
<h2>Custom Code</h2>
|
|
92
|
+
|
|
93
|
+
<h3>Apex Classes</h3>
|
|
94
|
+
{{#if apexClasses}}
|
|
95
|
+
{{> changeTable apexClasses}}
|
|
96
|
+
{{else}}
|
|
97
|
+
<p>None</p>
|
|
98
|
+
{{/if}}
|
|
99
|
+
|
|
100
|
+
<h3>Apex Triggers</h3>
|
|
101
|
+
{{#if apexTriggers}}
|
|
102
|
+
{{> changeTable apexTriggers}}
|
|
103
|
+
{{else}}
|
|
104
|
+
<p>None</p>
|
|
105
|
+
{{/if}}
|
|
106
|
+
|
|
107
|
+
<h3>Visualforce Pages</h3>
|
|
108
|
+
{{#if visualforcePages}}
|
|
109
|
+
{{> changeTable visualforcePages}}
|
|
110
|
+
{{else}}
|
|
111
|
+
<p>None</p>
|
|
112
|
+
{{/if}}
|
|
113
|
+
|
|
114
|
+
<h2>User Interface Components</h2>
|
|
115
|
+
|
|
116
|
+
<h3>Lightning Web Components</h3>
|
|
117
|
+
{{#if lightningComponents}}
|
|
118
|
+
{{> changeTable lightningComponents}}
|
|
119
|
+
{{else}}
|
|
120
|
+
<p>None</p>
|
|
121
|
+
{{/if}}
|
|
122
|
+
|
|
123
|
+
<h3>Aura Components</h3>
|
|
124
|
+
{{#if auraComponents}}
|
|
125
|
+
{{> changeTable auraComponents}}
|
|
126
|
+
{{else}}
|
|
127
|
+
<p>None</p>
|
|
128
|
+
{{/if}}
|
|
129
|
+
|
|
130
|
+
<h2>Business Logic & Automation</h2>
|
|
131
|
+
|
|
132
|
+
<h3>Flows</h3>
|
|
133
|
+
{{#if flows}}
|
|
134
|
+
{{> changeTable flows}}
|
|
135
|
+
{{else}}
|
|
136
|
+
<p>None</p>
|
|
137
|
+
{{/if}}
|
|
138
|
+
|
|
139
|
+
<h3>Flexipages</h3>
|
|
140
|
+
{{#if flexipages}}
|
|
141
|
+
{{> changeTable flexipages}}
|
|
142
|
+
{{else}}
|
|
143
|
+
<p>None</p>
|
|
144
|
+
{{/if}}
|
|
145
|
+
|
|
146
|
+
<h3>Approval Processes</h3>
|
|
147
|
+
{{#if approvalProcesses}}
|
|
148
|
+
{{> changeTable approvalProcesses}}
|
|
149
|
+
{{else}}
|
|
150
|
+
<p>None</p>
|
|
151
|
+
{{/if}}
|
|
152
|
+
|
|
153
|
+
<h2>Applications & Branding</h2>
|
|
154
|
+
|
|
155
|
+
<h3>Custom Applications</h3>
|
|
156
|
+
{{#if customApplications}}
|
|
157
|
+
{{> changeTable customApplications}}
|
|
158
|
+
{{else}}
|
|
159
|
+
<p>None</p>
|
|
160
|
+
{{/if}}
|
|
161
|
+
|
|
162
|
+
<h3>Custom Labels</h3>
|
|
163
|
+
{{#if customLabels}}
|
|
164
|
+
{{> changeTable customLabels}}
|
|
165
|
+
{{else}}
|
|
166
|
+
<p>None</p>
|
|
167
|
+
{{/if}}
|
|
168
|
+
|
|
169
|
+
<h3>Static Resources</h3>
|
|
170
|
+
{{#if staticResources}}
|
|
171
|
+
{{> changeTable staticResources}}
|
|
172
|
+
{{else}}
|
|
173
|
+
<p>None</p>
|
|
174
|
+
{{/if}}
|
|
175
|
+
|
|
176
|
+
<h2>Analytics & Reporting</h2>
|
|
177
|
+
|
|
178
|
+
<h3>Dashboards</h3>
|
|
179
|
+
{{#if dashboards}}
|
|
180
|
+
{{> changeTable dashboards}}
|
|
181
|
+
{{else}}
|
|
182
|
+
<p>None</p>
|
|
183
|
+
{{/if}}
|
|
184
|
+
|
|
185
|
+
<h3>Reports</h3>
|
|
186
|
+
{{#if reports}}
|
|
187
|
+
{{> changeTable reports}}
|
|
188
|
+
{{else}}
|
|
189
|
+
<p>None</p>
|
|
190
|
+
{{/if}}
|
|
191
|
+
|
|
192
|
+
<h3>Email Templates</h3>
|
|
193
|
+
{{#if emailTemplates}}
|
|
194
|
+
{{> changeTable emailTemplates}}
|
|
195
|
+
{{else}}
|
|
196
|
+
<p>None</p>
|
|
197
|
+
{{/if}}
|
|
198
|
+
|
|
199
|
+
<h2>Digital Experiences</h2>
|
|
200
|
+
|
|
201
|
+
<h3>Digital Experience Bundles</h3>
|
|
202
|
+
{{#if digitalExperienceBundles}}
|
|
203
|
+
{{> changeTable digitalExperienceBundles}}
|
|
204
|
+
{{else}}
|
|
205
|
+
<p>None</p>
|
|
206
|
+
{{/if}}
|
|
207
|
+
|
|
208
|
+
<h3>Experience Bundles</h3>
|
|
209
|
+
{{#if experienceBundles}}
|
|
210
|
+
{{> changeTable experienceBundles}}
|
|
211
|
+
{{else}}
|
|
212
|
+
<p>None</p>
|
|
213
|
+
{{/if}}
|
|
214
|
+
|
|
215
|
+
<h2>Security, Groups & Queues</h2>
|
|
216
|
+
|
|
217
|
+
<h3>Groups</h3>
|
|
218
|
+
{{#if groups}}
|
|
219
|
+
{{> changeTable groups}}
|
|
220
|
+
{{else}}
|
|
221
|
+
<p>None</p>
|
|
222
|
+
{{/if}}
|
|
223
|
+
|
|
224
|
+
<h3>Queues</h3>
|
|
225
|
+
{{#if queues}}
|
|
226
|
+
{{> changeTable queues}}
|
|
227
|
+
{{else}}
|
|
228
|
+
<p>None</p>
|
|
229
|
+
{{/if}}
|
|
230
|
+
|
|
231
|
+
<h3>Permission Sets</h3>
|
|
232
|
+
{{#if permissionSets}}
|
|
233
|
+
{{> changeTable permissionSets}}
|
|
234
|
+
{{else}}
|
|
235
|
+
<p>None</p>
|
|
236
|
+
{{/if}}
|
|
237
|
+
|
|
238
|
+
<h3>Permission Set Groups</h3>
|
|
239
|
+
{{#if permissionSetGroups}}
|
|
240
|
+
{{> changeTable permissionSetGroups}}
|
|
241
|
+
{{else}}
|
|
242
|
+
<p>None</p>
|
|
243
|
+
{{/if}}
|
|
244
|
+
|
|
245
|
+
<h3>Sharing Rules</h3>
|
|
246
|
+
{{#if sharingRules}}
|
|
247
|
+
{{> changeTable sharingRules}}
|
|
248
|
+
{{else}}
|
|
249
|
+
<p>None</p>
|
|
250
|
+
{{/if}}
|
|
251
|
+
`;
|
|
252
|
+
handlebars.registerPartial('changeTable', changeTableSource);
|
|
253
|
+
const renderChangeReport = handlebars.compile(changeReportSource);
|
|
254
|
+
/**
|
|
255
|
+
* Render a Confluence-storage-format change report grouping a set of changed components by
|
|
256
|
+
* component type, for pasting into a release/change-management page.
|
|
257
|
+
*
|
|
258
|
+
* @param changes - The changed components, grouped by component type.
|
|
259
|
+
* @param customTemplateSource - A user-supplied Handlebars template to render instead of the
|
|
260
|
+
* built-in one. Compiled against the same Handlebars instance as the built-in template, so it
|
|
261
|
+
* can also use the `changeTable` partial. See the README's "Custom Templates" section for the
|
|
262
|
+
* `changes` data shape and the fields `changeTable` renders.
|
|
263
|
+
* @returns The rendered XHTML fragment.
|
|
264
|
+
*/
|
|
265
|
+
export function buildChangeReportHtml(changes, customTemplateSource) {
|
|
266
|
+
const render = customTemplateSource ? handlebars.compile(customTemplateSource) : renderChangeReport;
|
|
267
|
+
return render(changes);
|
|
268
|
+
}
|
|
269
|
+
//# sourceMappingURL=changeReportTemplate.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"changeReportTemplate.js","sourceRoot":"","sources":["../../src/common/changeReportTemplate.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,UAAU,MAAM,YAAY,CAAC;AAcpC,MAAM,UAAU,GAAG,UAAU,CAAC,MAAM,EAAE,CAAC;AAEvC,MAAM,iBAAiB,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA4BzB,CAAC;AAEF,MAAM,kBAAkB,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA4M1B,CAAC;AAEF,UAAU,CAAC,eAAe,CAAC,aAAa,EAAE,iBAAiB,CAAC,CAAC;AAE7D,MAAM,kBAAkB,GAAG,UAAU,CAAC,OAAO,CAAC,kBAAkB,CAAC,CAAC;AAElE;;;;;;;;;;GAUG;AACH,MAAM,UAAU,qBAAqB,CAAC,OAA+B,EAAE,oBAA6B;IAClG,MAAM,MAAM,GAAG,oBAAoB,CAAC,CAAC,CAAC,UAAU,CAAC,OAAO,CAAC,oBAAoB,CAAC,CAAC,CAAC,CAAC,kBAAkB,CAAC;IACpG,OAAO,MAAM,CAAC,OAAO,CAAC,CAAC;AACzB,CAAC"}
|
|
@@ -0,0 +1,211 @@
|
|
|
1
|
+
/** A record type on a standard or custom object. */
|
|
2
|
+
export type RecordTypeItem = {
|
|
3
|
+
fullName: string;
|
|
4
|
+
label?: string;
|
|
5
|
+
active?: string;
|
|
6
|
+
description?: string;
|
|
7
|
+
};
|
|
8
|
+
/** A page layout on a standard or custom object. */
|
|
9
|
+
export type LayoutItem = {
|
|
10
|
+
nameOnly?: string;
|
|
11
|
+
};
|
|
12
|
+
/** A custom field on a standard object, custom object, custom setting, custom metadata type, or platform event. */
|
|
13
|
+
export type CustomFieldItem = {
|
|
14
|
+
fullName: string;
|
|
15
|
+
label?: string;
|
|
16
|
+
type?: string;
|
|
17
|
+
required?: string;
|
|
18
|
+
externalId?: string;
|
|
19
|
+
unique?: string;
|
|
20
|
+
miniDescription?: string;
|
|
21
|
+
};
|
|
22
|
+
/** A field set on a standard or custom object. */
|
|
23
|
+
export type FieldSetItem = {
|
|
24
|
+
fullName: string;
|
|
25
|
+
label?: string;
|
|
26
|
+
description?: string;
|
|
27
|
+
displayedFields?: Array<{
|
|
28
|
+
field?: string;
|
|
29
|
+
}>;
|
|
30
|
+
};
|
|
31
|
+
/** A validation rule on a standard or custom object. */
|
|
32
|
+
export type ValidationRuleItem = {
|
|
33
|
+
fullName: string;
|
|
34
|
+
active?: string;
|
|
35
|
+
description?: string;
|
|
36
|
+
};
|
|
37
|
+
/**
|
|
38
|
+
* A standard object, custom object, custom setting, custom metadata type, or platform event.
|
|
39
|
+
* These all share the same shape, since they're all backed by `CustomObject`-family metadata.
|
|
40
|
+
*/
|
|
41
|
+
export type ObjectItem = {
|
|
42
|
+
name: string;
|
|
43
|
+
label?: string;
|
|
44
|
+
miniDescription?: string;
|
|
45
|
+
sharingModel?: string;
|
|
46
|
+
externalSharingModel?: string;
|
|
47
|
+
customSettingsType?: string;
|
|
48
|
+
eventType?: string;
|
|
49
|
+
publishBehavior?: string;
|
|
50
|
+
recordTypes?: RecordTypeItem[];
|
|
51
|
+
layouts?: LayoutItem[];
|
|
52
|
+
customFields?: CustomFieldItem[];
|
|
53
|
+
fieldSets?: FieldSetItem[];
|
|
54
|
+
validationRules?: ValidationRuleItem[];
|
|
55
|
+
};
|
|
56
|
+
export type GroupItem = {
|
|
57
|
+
label?: string;
|
|
58
|
+
apiName?: string;
|
|
59
|
+
doesIncludeBosses?: string;
|
|
60
|
+
};
|
|
61
|
+
export type QueueItem = {
|
|
62
|
+
label?: string;
|
|
63
|
+
name: string;
|
|
64
|
+
doesSendEmailToMembers?: string;
|
|
65
|
+
queueObjects?: string[];
|
|
66
|
+
};
|
|
67
|
+
export type PermissionSetGroupItem = {
|
|
68
|
+
label?: string;
|
|
69
|
+
name: string;
|
|
70
|
+
description?: string;
|
|
71
|
+
};
|
|
72
|
+
export type PermissionSetItem = {
|
|
73
|
+
label?: string;
|
|
74
|
+
name: string;
|
|
75
|
+
description?: string;
|
|
76
|
+
};
|
|
77
|
+
export type CustomApplicationItem = {
|
|
78
|
+
label?: string;
|
|
79
|
+
name: string;
|
|
80
|
+
description?: string;
|
|
81
|
+
};
|
|
82
|
+
export type FlowItem = {
|
|
83
|
+
label?: string;
|
|
84
|
+
name: string;
|
|
85
|
+
processType?: string;
|
|
86
|
+
description?: string;
|
|
87
|
+
};
|
|
88
|
+
export type FlexipageItem = {
|
|
89
|
+
masterLabel?: string;
|
|
90
|
+
name: string;
|
|
91
|
+
type?: string;
|
|
92
|
+
};
|
|
93
|
+
export type ApprovalProcessItem = {
|
|
94
|
+
label?: string;
|
|
95
|
+
name: string;
|
|
96
|
+
active?: string;
|
|
97
|
+
description?: string;
|
|
98
|
+
};
|
|
99
|
+
export type CustomLabelItem = {
|
|
100
|
+
fullName?: string;
|
|
101
|
+
shortDescription?: string;
|
|
102
|
+
};
|
|
103
|
+
export type EmailTemplateItem = {
|
|
104
|
+
apiName: string;
|
|
105
|
+
label?: string;
|
|
106
|
+
type?: string;
|
|
107
|
+
description?: string;
|
|
108
|
+
};
|
|
109
|
+
export type ReportItem = {
|
|
110
|
+
name: string;
|
|
111
|
+
folderName?: string;
|
|
112
|
+
description?: string;
|
|
113
|
+
};
|
|
114
|
+
export type DashboardItem = {
|
|
115
|
+
name: string;
|
|
116
|
+
folderName?: string;
|
|
117
|
+
description?: string;
|
|
118
|
+
};
|
|
119
|
+
export type ApexClassItem = {
|
|
120
|
+
name: string;
|
|
121
|
+
status?: string;
|
|
122
|
+
apiVersion?: string;
|
|
123
|
+
};
|
|
124
|
+
export type ApexTriggerItem = {
|
|
125
|
+
name: string;
|
|
126
|
+
status?: string;
|
|
127
|
+
apiVersion?: string;
|
|
128
|
+
};
|
|
129
|
+
export type LightningComponentItem = {
|
|
130
|
+
name: string;
|
|
131
|
+
description?: string;
|
|
132
|
+
apiVersion?: string;
|
|
133
|
+
};
|
|
134
|
+
export type AuraComponentItem = {
|
|
135
|
+
name: string;
|
|
136
|
+
description?: string;
|
|
137
|
+
apiVersion?: string;
|
|
138
|
+
};
|
|
139
|
+
export type VisualforcePageItem = {
|
|
140
|
+
name: string;
|
|
141
|
+
label?: string;
|
|
142
|
+
description?: string;
|
|
143
|
+
apiVersion?: string;
|
|
144
|
+
};
|
|
145
|
+
export type StaticResourceItem = {
|
|
146
|
+
name: string;
|
|
147
|
+
contentType?: string;
|
|
148
|
+
cacheControl?: string;
|
|
149
|
+
description?: string;
|
|
150
|
+
};
|
|
151
|
+
export type ExperienceBundleItem = {
|
|
152
|
+
name: string;
|
|
153
|
+
};
|
|
154
|
+
export type DigitalExperienceBundleItem = {
|
|
155
|
+
name: string;
|
|
156
|
+
};
|
|
157
|
+
export type CustomMetadataItem = {
|
|
158
|
+
label?: string;
|
|
159
|
+
name: string;
|
|
160
|
+
};
|
|
161
|
+
export type SharingRuleItem = {
|
|
162
|
+
label?: string;
|
|
163
|
+
fullName?: string;
|
|
164
|
+
object?: string;
|
|
165
|
+
type?: string;
|
|
166
|
+
accessLevel?: string;
|
|
167
|
+
description?: string;
|
|
168
|
+
};
|
|
169
|
+
/** The full data model rendered by the technical design document template. */
|
|
170
|
+
export type TechnicalDesignDocumentData = {
|
|
171
|
+
apexClasses: ApexClassItem[];
|
|
172
|
+
apexTriggers: ApexTriggerItem[];
|
|
173
|
+
approvalProcesses: ApprovalProcessItem[];
|
|
174
|
+
auraComponents: AuraComponentItem[];
|
|
175
|
+
customApplications: CustomApplicationItem[];
|
|
176
|
+
customLabels: CustomLabelItem[];
|
|
177
|
+
customMetadata: CustomMetadataItem[];
|
|
178
|
+
customMetadataTypes: ObjectItem[];
|
|
179
|
+
customObjects: ObjectItem[];
|
|
180
|
+
customSettings: ObjectItem[];
|
|
181
|
+
dashboards: DashboardItem[];
|
|
182
|
+
digitalExperienceBundles: DigitalExperienceBundleItem[];
|
|
183
|
+
emailTemplates: EmailTemplateItem[];
|
|
184
|
+
experienceBundles: ExperienceBundleItem[];
|
|
185
|
+
flexipages: FlexipageItem[];
|
|
186
|
+
flows: FlowItem[];
|
|
187
|
+
groups: GroupItem[];
|
|
188
|
+
lightningComponents: LightningComponentItem[];
|
|
189
|
+
permissionSets: PermissionSetItem[];
|
|
190
|
+
permissionSetGroups: PermissionSetGroupItem[];
|
|
191
|
+
platformEvents: ObjectItem[];
|
|
192
|
+
queues: QueueItem[];
|
|
193
|
+
reports: ReportItem[];
|
|
194
|
+
sharingRules: SharingRuleItem[];
|
|
195
|
+
standardObjects: ObjectItem[];
|
|
196
|
+
staticResources: StaticResourceItem[];
|
|
197
|
+
visualforcePages: VisualforcePageItem[];
|
|
198
|
+
};
|
|
199
|
+
/**
|
|
200
|
+
* Render a Confluence-storage-format technical design document from a Salesforce project's
|
|
201
|
+
* scanned metadata, covering objects/data model, security model, groups/queues/permissions,
|
|
202
|
+
* solution inventory, and custom code inventory.
|
|
203
|
+
*
|
|
204
|
+
* @param data - The scanned project metadata to render.
|
|
205
|
+
* @param customTemplateSource - A user-supplied Handlebars template to render instead of the
|
|
206
|
+
* built-in one. Compiled against the same Handlebars instance as the built-in template, so it
|
|
207
|
+
* can also use the `loud` helper. See the README's "Custom Templates" section for the `data`
|
|
208
|
+
* shape.
|
|
209
|
+
* @returns The rendered XHTML document.
|
|
210
|
+
*/
|
|
211
|
+
export declare function buildTechnicalDesignDocumentHtml(data: TechnicalDesignDocumentData, customTemplateSource?: string): string;
|