@simplysf/simply-document 0.3.7 → 0.4.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.
@@ -1,211 +0,0 @@
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;