@forge/manifest 0.0.0-experimental-9489df9 → 0.0.0-experimental-52c2a24

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.
Files changed (72) hide show
  1. package/CHANGELOG.md +325 -5
  2. package/out/index.d.ts +1 -1
  3. package/out/index.d.ts.map +1 -1
  4. package/out/index.js +2 -1
  5. package/out/mapping/product-event-to-scope-mapping.json +314 -8
  6. package/out/processor/full-validation-processor.d.ts.map +1 -1
  7. package/out/processor/full-validation-processor.js +2 -0
  8. package/out/schema/basic-manifest-schema.json +90 -4
  9. package/out/schema/basic-manifest.d.ts +94 -1
  10. package/out/schema/display-conditions-schema.json +3 -0
  11. package/out/schema/manifest-schema.json +4967 -3271
  12. package/out/schema/manifest.d.ts +1793 -1195
  13. package/out/scopes/shipyard-scopes.json +20 -0
  14. package/out/text/errors.d.ts +24 -2
  15. package/out/text/errors.d.ts.map +1 -1
  16. package/out/text/errors.js +30 -6
  17. package/out/types/display-condition-types.d.ts +1 -0
  18. package/out/types/display-condition-types.d.ts.map +1 -1
  19. package/out/types/module-types.d.ts +5 -1
  20. package/out/types/module-types.d.ts.map +1 -1
  21. package/out/types/module-types.js +4 -0
  22. package/out/utils/get-all-modules.js +2 -1
  23. package/out/utils/line-finder.d.ts +1 -1
  24. package/out/utils/line-finder.d.ts.map +1 -1
  25. package/out/utils/line-finder.js +2 -1
  26. package/out/utils/module-key-cleaner.d.ts +1 -1
  27. package/out/utils/module-key-cleaner.d.ts.map +1 -1
  28. package/out/utils/module-key-cleaner.js +4 -2
  29. package/out/utils/module-references.d.ts +2 -2
  30. package/out/utils/module-references.d.ts.map +1 -1
  31. package/out/utils/module-references.js +4 -2
  32. package/out/validators/connect-authentication-validator.js +1 -1
  33. package/out/validators/connect-modules-validator.js +3 -3
  34. package/out/validators/connect-remote-validator.js +4 -3
  35. package/out/validators/entity-property-validator.js +1 -1
  36. package/out/validators/modules-validator.d.ts.map +1 -1
  37. package/out/validators/modules-validator.js +33 -33
  38. package/out/validators/modules-validators/confluence/index.d.ts +1 -1
  39. package/out/validators/modules-validators/confluence/index.d.ts.map +1 -1
  40. package/out/validators/modules-validators/confluence/index.js +7 -6
  41. package/out/validators/modules-validators/confluence/validateCrossModulePropertyUniqueness.d.ts +1 -1
  42. package/out/validators/modules-validators/confluence/validateCrossModulePropertyUniqueness.d.ts.map +1 -1
  43. package/out/validators/modules-validators/confluence/validateCrossModulePropertyUniqueness.js +6 -5
  44. package/out/validators/modules-validators/confluence/validateCustomContentHierarchy.d.ts +1 -1
  45. package/out/validators/modules-validators/confluence/validateCustomContentHierarchy.d.ts.map +1 -1
  46. package/out/validators/modules-validators/confluence/validateCustomContentHierarchy.js +4 -3
  47. package/out/validators/modules-validators/confluence/validateKeyboardShortcuts.d.ts +1 -1
  48. package/out/validators/modules-validators/confluence/validateKeyboardShortcuts.d.ts.map +1 -1
  49. package/out/validators/modules-validators/confluence/validateKeyboardShortcuts.js +49 -37
  50. package/out/validators/modules-validators/confluence/validatePropertyUniqueness.d.ts +1 -1
  51. package/out/validators/modules-validators/confluence/validatePropertyUniqueness.d.ts.map +1 -1
  52. package/out/validators/modules-validators/confluence/validatePropertyUniqueness.js +3 -2
  53. package/out/validators/modules-validators/confluence/validateSingleProperty.d.ts +1 -1
  54. package/out/validators/modules-validators/confluence/validateSingleProperty.d.ts.map +1 -1
  55. package/out/validators/modules-validators/confluence/validateSingleProperty.js +3 -2
  56. package/out/validators/modules-validators/jira/ui-modifications.js +1 -1
  57. package/out/validators/modules-validators/jira/validate-full-admin-page.d.ts +4 -0
  58. package/out/validators/modules-validators/jira/validate-full-admin-page.d.ts.map +1 -0
  59. package/out/validators/modules-validators/jira/validate-full-admin-page.js +44 -0
  60. package/out/validators/modules-validators/jira/validate-subpages-in-module.d.ts +4 -0
  61. package/out/validators/modules-validators/jira/validate-subpages-in-module.d.ts.map +1 -0
  62. package/out/validators/modules-validators/jira/validate-subpages-in-module.js +18 -0
  63. package/out/validators/permissions-validator.js +1 -1
  64. package/out/validators/product-trigger-scopes-validator.js +2 -2
  65. package/out/validators/providers-validator.js +4 -4
  66. package/out/validators/resources-validator.js +15 -15
  67. package/out/validators/schema-validator.d.ts.map +1 -1
  68. package/out/validators/schema-validator.js +6 -3
  69. package/out/validators/storage-validator.d.ts +10 -0
  70. package/out/validators/storage-validator.d.ts.map +1 -0
  71. package/out/validators/storage-validator.js +83 -0
  72. package/package.json +5 -5
package/CHANGELOG.md CHANGED
@@ -1,23 +1,343 @@
1
1
  # @forge/manifest
2
2
 
3
- ## 0.0.0-experimental-9489df9
3
+ ## 0.0.0-experimental-52c2a24
4
4
 
5
- ### Major Changes
5
+ ### Minor Changes
6
6
 
7
- - 6728c67: Make validator interface asynchronous
7
+ - 52c2a24d: Enable Custom Entities in Manifest
8
+
9
+ ## 4.7.0
8
10
 
9
11
  ### Minor Changes
10
12
 
11
- - acf78b5: BCAT-1386 Add scopes mapping for bitbucket repo created event
12
- - 0da5775: Add following Jira Service Management modules:
13
+ - 43d62903: Adding capability to explicitly deny unlicensedAccess property in modules that dont allow.
14
+
15
+ ### Patch Changes
16
+
17
+ - 37eee39: Bumping dependencies via Renovate:
18
+
19
+ - ajv
20
+
21
+ - ce555b4: Add Jira jqlFunction module
22
+ - 8e0605e: Update manifest definitions
23
+ - 80e6b95: Update manifest definitions
24
+ - Updated dependencies [af4c149]
25
+ - @forge/util@1.2.1
26
+
27
+ ## 4.7.0-next.4
28
+
29
+ ### Patch Changes
30
+
31
+ - 8e0605e: Update manifest definitions
32
+
33
+ ## 4.7.0-next.3
34
+
35
+ ### Patch Changes
36
+
37
+ - 37eee39: Bumping dependencies via Renovate:
38
+
39
+ - ajv
40
+
41
+ - ce555b4: Add Jira jqlFunction module
42
+
43
+ ## 4.7.0-next.2
44
+
45
+ ### Minor Changes
46
+
47
+ - 43d6290: Adding capability to explicitly deny unlicensedAccess property in modules that dont allow.
48
+
49
+ ## 4.6.1-next.1
50
+
51
+ ### Patch Changes
52
+
53
+ - Updated dependencies [af4c149]
54
+ - @forge/util@1.2.1-next.0
55
+
56
+ ## 4.6.1-next.0
57
+
58
+ ### Patch Changes
59
+
60
+ - 80e6b952: Update manifest definitions
61
+
62
+ ## 4.6.0
63
+
64
+ ### Minor Changes
65
+
66
+ - 30a32d0: Added new task scope for Confluence for Gen2 APIs
67
+ - 734a5de: Filtering options for Jira triggers
68
+
69
+ ### Patch Changes
70
+
71
+ - 40b251c: Update manifest definitions
72
+ - 2c490ad: Update manifest definitions
73
+ - 4471be8: Update manifest definitions
74
+ - e975f19: Update manifest definitions
75
+
76
+ ## 4.6.0-next.5
77
+
78
+ ### Patch Changes
79
+
80
+ - 2c490ad: Update manifest definitions
81
+
82
+ ## 4.6.0-next.4
83
+
84
+ ### Patch Changes
85
+
86
+ - e975f19: Update manifest definitions
87
+
88
+ ## 4.6.0-next.3
89
+
90
+ ### Minor Changes
91
+
92
+ - 30a32d0: Added new task scope for Confluence for Gen2 APIs
93
+
94
+ ## 4.6.0-next.2
95
+
96
+ ### Patch Changes
97
+
98
+ - 4471be8: Update manifest definitions
99
+
100
+ ## 4.6.0-next.1
101
+
102
+ ### Minor Changes
103
+
104
+ - 734a5dec: Filtering options for Jira triggers
105
+
106
+ ## 4.5.4-next.0
107
+
108
+ ### Patch Changes
109
+
110
+ - 40b251cf: Update manifest definitions
111
+
112
+ ## 4.5.3
113
+
114
+ ### Patch Changes
115
+
116
+ - 4ac7253: Update manifest definitions
117
+ - 8f01fae: Update manifest definitions
118
+
119
+ ## 4.5.3-next.1
120
+
121
+ ### Patch Changes
122
+
123
+ - 8f01fae: Update manifest definitions
124
+
125
+ ## 4.5.3-next.0
126
+
127
+ ### Patch Changes
128
+
129
+ - 4ac7253: Update manifest definitions
130
+
131
+ ## 4.5.2
132
+
133
+ ### Patch Changes
134
+
135
+ - 269a493: Export Providers type
136
+
137
+ ## 4.5.2-next.0
138
+
139
+ ### Patch Changes
140
+
141
+ - 269a493a: Export Providers type
142
+
143
+ ## 4.5.1
144
+
145
+ ### Patch Changes
146
+
147
+ - b469c80: Update manifest definitions
148
+
149
+ ## 4.5.1-next.0
150
+
151
+ ### Patch Changes
152
+
153
+ - b469c802: Update manifest definitions
154
+
155
+ ## 4.5.0
156
+
157
+ ### Minor Changes
158
+
159
+ - be216ec: Added new jira:issueContext module
160
+
161
+ ### Patch Changes
162
+
163
+ - 34d81d4: Update manifest definitions
164
+ - 72f098e: Update manifest definitions
165
+ - 8e2a5a6: Update node-fetch version
166
+
167
+ ## 4.5.0-next.3
168
+
169
+ ### Patch Changes
170
+
171
+ - 72f098e: Update manifest definitions
172
+
173
+ ## 4.5.0-next.2
174
+
175
+ ### Minor Changes
176
+
177
+ - be216ec6: Added new jira:issueContext module
178
+
179
+ ## 4.4.2-next.1
180
+
181
+ ### Patch Changes
182
+
183
+ - 8e2a5a6: Update node-fetch version
184
+
185
+ ## 4.4.2-next.0
186
+
187
+ ### Patch Changes
188
+
189
+ - 34d81d4e: Update manifest definitions
190
+
191
+ ## 4.4.1
192
+
193
+ ### Patch Changes
194
+
195
+ - 138bb0a: Add scope mappings for Confluence comment and attachment events
196
+
197
+ ## 4.4.1-next.0
198
+
199
+ ### Patch Changes
200
+
201
+ - 138bb0a: Add scope mappings for Confluence comment and attachment events
202
+
203
+ ## 4.4.0
204
+
205
+ ### Minor Changes
206
+
207
+ - dfc74ba: [HYP-15] Add new validation rules for jira:adminPage module for new optional properties useAsGetStarted and useAsConfig, update existing validation rule to allow jira:adminPage module have multiple entries
208
+
209
+ ### Patch Changes
210
+
211
+ - f93ae31: Added automation:i18n module
212
+ - 05b306b: Update manifest definitions
213
+ - d6ec15d: Update manifest definitions
214
+
215
+ ## 4.4.0-next.3
216
+
217
+ ### Patch Changes
218
+
219
+ - 05b306b: Update manifest definitions
220
+
221
+ ## 4.4.0-next.2
222
+
223
+ ### Minor Changes
224
+
225
+ - dfc74ba: [HYP-15] Add new validation rules for jira:adminPage module for new optional properties useAsGetStarted and useAsConfig, update existing validation rule to allow jira:adminPage module have multiple entries
226
+
227
+ ## 4.3.1-next.1
228
+
229
+ ### Patch Changes
230
+
231
+ - f93ae31: Added automation:i18n module
232
+
233
+ ## 4.3.1-next.0
234
+
235
+ ### Patch Changes
236
+
237
+ - d6ec15d: Update manifest definitions
238
+
239
+ ## 4.3.0
240
+
241
+ ### Minor Changes
242
+
243
+ - 0871a3b: Added validation for Confluence keyboard shortcuts to disallow multiple non-modifier keys and enforce that modifier keys precede the main key being modified.
244
+
245
+ ### Patch Changes
246
+
247
+ - 1c51c99: Add scope mappings for Confluence page and blogpost events
248
+ - f8d567a: Update manifest definitions
249
+ - 47a47a4: Update manifest definitions
250
+ - aa3a70e: Update manifest definitions
251
+
252
+ ## 4.3.0-next.4
253
+
254
+ ### Patch Changes
255
+
256
+ - aa3a70e: Update manifest definitions
257
+
258
+ ## 4.3.0-next.3
259
+
260
+ ### Patch Changes
261
+
262
+ - 47a47a4: Update manifest definitions
263
+
264
+ ## 4.3.0-next.2
265
+
266
+ ### Minor Changes
267
+
268
+ - 0871a3b: Added validation for Confluence keyboard shortcuts to disallow multiple non-modifier keys and enforce that modifier keys precede the main key being modified.
269
+
270
+ ## 4.2.1-next.1
271
+
272
+ ### Patch Changes
273
+
274
+ - f8d567a3: Update manifest definitions
275
+
276
+ ## 4.2.1-next.0
277
+
278
+ ### Patch Changes
279
+
280
+ - 1c51c99: Add scope mappings for Confluence page and blogpost events
281
+
282
+ ## 4.2.0
283
+
284
+ ### Minor Changes
285
+
286
+ - 151c4d8: add issue view background script
287
+
288
+ ### Patch Changes
289
+
290
+ - 237e3c7: Update manifest definitions
291
+
292
+ ## 4.2.0-next.1
293
+
294
+ ### Patch Changes
295
+
296
+ - 237e3c72: Update manifest definitions
297
+
298
+ ## 4.2.0-next.0
299
+
300
+ ### Minor Changes
301
+
302
+ - 151c4d8: add issue view background script
303
+
304
+ ## 4.1.0
305
+
306
+ ### Minor Changes
307
+
308
+ - c9f0e83: Add following Jira Service Management modules:
309
+
310
+ - jiraServiceManagement:portalRequestCreatePropertyPanel module
311
+
312
+ ## 4.1.0-next.0
313
+
314
+ ### Minor Changes
315
+
316
+ - c9f0e83: Add following Jira Service Management modules:
13
317
 
14
318
  - jiraServiceManagement:portalRequestCreatePropertyPanel module
15
319
 
320
+ ## 4.0.0
321
+
322
+ ### Major Changes
323
+
324
+ - 6728c67: Make validator interface asynchronous
325
+
326
+ ### Minor Changes
327
+
328
+ - c0c88f0: BCAT-1386 Remove scopes mapping for bitbucket repo created event
329
+
16
330
  ### Patch Changes
17
331
 
18
332
  - c1c93a4: Update manifest definitions
19
333
  - b1684fd: Update manifest definitions
20
334
 
335
+ ## 4.0.0-next.5
336
+
337
+ ### Minor Changes
338
+
339
+ - c0c88f09: BCAT-1386 Remove scopes mapping for bitbucket repo created event
340
+
21
341
  ## 4.0.0-next.4
22
342
 
23
343
  ### Patch Changes
package/out/index.d.ts CHANGED
@@ -8,6 +8,6 @@ export * from './text';
8
8
  export * from './types';
9
9
  export * from './utils';
10
10
  export * from './validators';
11
- export { Modules, ManifestSchema, App, Resources, Permissions, Remotes, Fetch } from './schema/manifest';
11
+ export { Modules, ManifestSchema, App, Resources, Permissions, Remotes, Fetch, Providers } from './schema/manifest';
12
12
  export declare const validate: (basic?: boolean, manifest?: string | undefined) => Promise<ManifestValidationResult<ManifestSchema | BasicManifestSchema>>;
13
13
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAmB,MAAM,SAAS,CAAC;AACpE,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AACnD,OAAO,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;AAG9D,cAAc,WAAW,CAAC;AAC1B,cAAc,aAAa,CAAC;AAC5B,cAAc,UAAU,CAAC;AACzB,cAAc,QAAQ,CAAC;AACvB,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC;AACxB,cAAc,cAAc,CAAC;AAC7B,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,GAAG,EAAE,SAAS,EAAE,WAAW,EAAE,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAEzG,eAAO,MAAM,QAAQ,+BAET,MAAM,GAAG,SAAS,KAC3B,OAAO,CAAC,wBAAwB,CAAC,cAAc,GAAG,mBAAmB,CAAC,CAInD,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAmB,MAAM,SAAS,CAAC;AACpE,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AACnD,OAAO,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;AAG9D,cAAc,WAAW,CAAC;AAC1B,cAAc,aAAa,CAAC;AAC5B,cAAc,UAAU,CAAC;AACzB,cAAc,QAAQ,CAAC;AACvB,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC;AACxB,cAAc,cAAc,CAAC;AAC7B,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,GAAG,EAAE,SAAS,EAAE,WAAW,EAAE,OAAO,EAAE,KAAK,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAEpH,eAAO,MAAM,QAAQ,+BAET,MAAM,GAAG,SAAS,KAC3B,QAAQ,yBAAyB,cAAc,GAAG,mBAAmB,CAAC,CAInD,CAAC"}
package/out/index.js CHANGED
@@ -11,7 +11,8 @@ tslib_1.__exportStar(require("./text"), exports);
11
11
  tslib_1.__exportStar(require("./types"), exports);
12
12
  tslib_1.__exportStar(require("./utils"), exports);
13
13
  tslib_1.__exportStar(require("./validators"), exports);
14
- exports.validate = (basic = false, manifest = undefined) => builder_1.ProcessorBuilder.instance()
14
+ const validate = (basic = false, manifest = undefined) => builder_1.ProcessorBuilder.instance()
15
15
  .withValidation(basic ? types_1.ValidationTypes.BASIC : types_1.ValidationTypes.FULL)
16
16
  .build()
17
17
  .process(manifest);
18
+ exports.validate = validate;