@microsoft/sp-module-interfaces 1.14.0 → 1.15.0-rc.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.
Files changed (28) hide show
  1. package/dist/index-internal-beta.d.ts +37 -48
  2. package/dist/index-internal-public.d.ts +6 -4
  3. package/dist/index-internal.d.ts +6 -4
  4. package/dist/tsdoc-metadata.json +1 -1
  5. package/lib-commonjs/index.js +6 -2
  6. package/lib-commonjs/manifestHelpers.d.ts +20 -0
  7. package/lib-commonjs/manifestHelpers.d.ts.map +1 -0
  8. package/lib-commonjs/manifestHelpers.js +29 -0
  9. package/lib-commonjs/manifestSchemaValidator.js +6 -2
  10. package/lib-commonjs/manifestSchemas/IAdaptiveCardExtensionManifest.d.ts +2 -2
  11. package/lib-commonjs/manifestSchemas/IClientSideComponentLoaderConfiguration.d.ts +21 -33
  12. package/lib-commonjs/manifestSchemas/IClientSideComponentLoaderConfiguration.d.ts.map +1 -1
  13. package/lib-commonjs/manifestSchemas/IClientSideWebPartManifest.d.ts +2 -2
  14. package/lib-commonjs/manifestSchemas/ICommandSetExtensionManifest.d.ts +1 -1
  15. package/lib-commonjs/manifestSchemas/examples/application.manifest.json +36 -36
  16. package/lib-commonjs/manifestSchemas/examples/application_1.manifest.js +36 -36
  17. package/lib-commonjs/manifestSchemas/examples/assembly.manifest.json +37 -37
  18. package/lib-commonjs/manifestSchemas/examples/assembly_1.manifest.js +36 -36
  19. package/lib-commonjs/manifestSchemas/examples/library.manifest.json +36 -36
  20. package/lib-commonjs/manifestSchemas/examples/library_1.manifest.js +36 -36
  21. package/lib-commonjs/manifestSchemas/examples/multi-version_1.manifest.js +72 -72
  22. package/lib-commonjs/manifestSchemas/examples/multi-version_1.manifest.json +36 -36
  23. package/lib-commonjs/manifestSchemas/examples/webpart.manifest.json +36 -36
  24. package/lib-commonjs/manifestSchemas/examples/webpart_1.manifest.js +36 -36
  25. package/lib-commonjs/manifestSchemas/examples/webpart_2.manifest.js +36 -36
  26. package/lib-commonjs/manifestSchemas/jsonSchemas/client-side-component-loader-configuration.schema.json +12 -18
  27. package/lib-commonjs/manifestSchemas/jsonSchemas/client-side-extension-manifest.schema.json +2 -1
  28. package/package.json +6 -2
@@ -30,7 +30,7 @@ const multiVersionManifest = {
30
30
  version: 'latest',
31
31
  id: '00000000-0000-0000-0000-000000000000',
32
32
  failoverPath: {
33
- default: 'script.js'
33
+ path: 'script.js'
34
34
  }
35
35
  },
36
36
  frameworkD: {
@@ -38,8 +38,8 @@ const multiVersionManifest = {
38
38
  version: 'latest',
39
39
  id: '00000000-0000-0000-0000-000000000000',
40
40
  failoverPath: {
41
- default: 'script.js',
42
- debug: 'script.debug.js'
41
+ path: 'script.js',
42
+ integrity: 'sha384-oqVuAfXRKap7fdgcCY5uykM6+R9GqQ8K/uxy9rx7HNQlGYl1kPzQho1wx4JwY8wC'
43
43
  }
44
44
  },
45
45
  frameworkE: {
@@ -60,7 +60,7 @@ const multiVersionManifest = {
60
60
  version: 'latest',
61
61
  id: '00000000-0000-0000-0000-000000000000',
62
62
  failoverPath: {
63
- default: 'script.js'
63
+ path: 'script.js'
64
64
  },
65
65
  shouldNotPreload: true
66
66
  },
@@ -69,8 +69,8 @@ const multiVersionManifest = {
69
69
  version: 'latest',
70
70
  id: '00000000-0000-0000-0000-000000000000',
71
71
  failoverPath: {
72
- default: 'script.js',
73
- debug: 'script.debug.js'
72
+ path: 'script.js',
73
+ integrity: 'sha384-oqVuAfXRKap7fdgcCY5uykM6+R9GqQ8K/uxy9rx7HNQlGYl1kPzQho1wx4JwY8wC'
74
74
  },
75
75
  shouldNotPreload: true
76
76
  },
@@ -92,7 +92,7 @@ const multiVersionManifest = {
92
92
  version: 'latest',
93
93
  id: '00000000-0000-0000-0000-000000000000',
94
94
  failoverPath: {
95
- default: 'script.js'
95
+ path: 'script.js'
96
96
  },
97
97
  shouldNotPreload: false
98
98
  },
@@ -101,8 +101,8 @@ const multiVersionManifest = {
101
101
  version: 'latest',
102
102
  id: '00000000-0000-0000-0000-000000000000',
103
103
  failoverPath: {
104
- default: 'script.js',
105
- debug: 'script.debug.js'
104
+ path: 'script.js',
105
+ integrity: 'sha384-oqVuAfXRKap7fdgcCY5uykM6+R9GqQ8K/uxy9rx7HNQlGYl1kPzQho1wx4JwY8wC'
106
106
  },
107
107
  shouldNotPreload: false
108
108
  },
@@ -113,14 +113,14 @@ const multiVersionManifest = {
113
113
  dependencyA: {
114
114
  type: 'path',
115
115
  path: {
116
- default: 'dependencyA.script.js',
117
- debug: 'dependencyA.debug.script.js'
116
+ path: 'dependencyA.script.js',
117
+ integrity: 'sha384-oqVuAfXRKap7fdgcCY5uykM6+R9GqQ8K/uxy9rx7HNQlGYl1kPzQho1wx4JwY8wC.js'
118
118
  }
119
119
  },
120
120
  dependencyB: {
121
121
  type: 'path',
122
122
  path: {
123
- default: 'dependencyB.script.js'
123
+ path: 'dependencyB.script.js'
124
124
  }
125
125
  },
126
126
  dependencyC: {
@@ -130,15 +130,15 @@ const multiVersionManifest = {
130
130
  dependencyD: {
131
131
  type: 'path',
132
132
  path: {
133
- default: 'dependencyD.script.js',
134
- debug: 'dependencyD.debug.script.js'
133
+ path: 'dependencyD.script.js',
134
+ integrity: 'sha384-oqVuAfXRKap7fdgcCY5uykM6+R9GqQ8K/uxy9rx7HNQlGYl1kPzQho1wx4JwY8wC.js'
135
135
  },
136
136
  shouldNotPreload: true
137
137
  },
138
138
  dependencyE: {
139
139
  type: 'path',
140
140
  path: {
141
- default: 'dependencyE.script.js'
141
+ path: 'dependencyE.script.js'
142
142
  },
143
143
  shouldNotPreload: true
144
144
  },
@@ -150,15 +150,15 @@ const multiVersionManifest = {
150
150
  dependencyG: {
151
151
  type: 'path',
152
152
  path: {
153
- default: 'dependencyG.script.js',
154
- debug: 'dependencyG.debug.script.js'
153
+ path: 'dependencyG.script.js',
154
+ integrity: 'sha384-oqVuAfXRKap7fdgcCY5uykM6+R9GqQ8K/uxy9rx7HNQlGYl1kPzQho1wx4JwY8wC.js'
155
155
  },
156
156
  shouldNotPreload: false
157
157
  },
158
158
  dependencyH: {
159
159
  type: 'path',
160
160
  path: {
161
- default: 'dependencyH.script.js'
161
+ path: 'dependencyH.script.js'
162
162
  },
163
163
  shouldNotPreload: false
164
164
  },
@@ -174,14 +174,14 @@ const multiVersionManifest = {
174
174
  stringsB: {
175
175
  type: 'localizedPath',
176
176
  defaultPath: {
177
- default: 'stringsB_default.js',
178
- debug: 'stringsB_default.debug.js'
177
+ path: 'stringsB_default.js',
178
+ integrity: 'sha384-oqVuAfXRKap7fdgcCY5uykM6+R9GqQ8K/uxy9rx7HNQlGYl1kPzQho1wx4JwY8wC'
179
179
  }
180
180
  },
181
181
  stringsC: {
182
182
  type: 'localizedPath',
183
183
  defaultPath: {
184
- default: 'stringsC_default.js'
184
+ path: 'stringsC_default.js'
185
185
  }
186
186
  },
187
187
  stringsD: {
@@ -197,7 +197,7 @@ const multiVersionManifest = {
197
197
  defaultPath: 'stringsE_default.js',
198
198
  paths: {
199
199
  'en-us': {
200
- default: 'stringsE_en-us.js'
200
+ path: 'stringsE_en-us.js'
201
201
  },
202
202
  'fr-fr': 'stringsE_fr-fr.js'
203
203
  }
@@ -207,8 +207,8 @@ const multiVersionManifest = {
207
207
  defaultPath: 'stringsF_default.js',
208
208
  paths: {
209
209
  'en-us': {
210
- default: 'stringsF_en-us.js',
211
- debug: 'stringsF_en-us.debug.js'
210
+ path: 'stringsF_en-us.js',
211
+ integrity: 'sha384-oqVuAfXRKap7fdgcCY5uykM6+R9GqQ8K/uxy9rx7HNQlGYl1kPzQho1wx4JwY8wC.js'
212
212
  },
213
213
  'fr-fr': 'stringsF_fr-fr.js'
214
214
  }
@@ -221,15 +221,15 @@ const multiVersionManifest = {
221
221
  stringsH: {
222
222
  type: 'localizedPath',
223
223
  defaultPath: {
224
- default: 'stringsH_default.js',
225
- debug: 'stringsH_default.debug.js'
224
+ path: 'stringsH_default.js',
225
+ integrity: 'sha384-oqVuAfXRKap7fdgcCY5uykM6+R9GqQ8K/uxy9rx7HNQlGYl1kPzQho1wx4JwY8wC'
226
226
  },
227
227
  shouldNotPreload: true
228
228
  },
229
229
  stringsI: {
230
230
  type: 'localizedPath',
231
231
  defaultPath: {
232
- default: 'stringsI_default.js'
232
+ path: 'stringsI_default.js'
233
233
  },
234
234
  shouldNotPreload: true
235
235
  },
@@ -247,7 +247,7 @@ const multiVersionManifest = {
247
247
  defaultPath: 'stringsK_default.js',
248
248
  paths: {
249
249
  'en-us': {
250
- default: 'stringsK_en-us.js'
250
+ path: 'stringsK_en-us.js'
251
251
  },
252
252
  'fr-fr': 'stringsK_fr-fr.js'
253
253
  },
@@ -258,8 +258,8 @@ const multiVersionManifest = {
258
258
  defaultPath: 'stringsL_default.js',
259
259
  paths: {
260
260
  'en-us': {
261
- default: 'stringsL_en-us.js',
262
- debug: 'stringsL_en-us.debug.js'
261
+ path: 'stringsL_en-us.js',
262
+ integrity: 'sha384-oqVuAfXRKap7fdgcCY5uykM6+R9GqQ8K/uxy9rx7HNQlGYl1kPzQho1wx4JwY8wC.js'
263
263
  },
264
264
  'fr-fr': 'stringsL_fr-fr.js'
265
265
  },
@@ -273,15 +273,15 @@ const multiVersionManifest = {
273
273
  stringsN: {
274
274
  type: 'localizedPath',
275
275
  defaultPath: {
276
- default: 'stringsN_default.js',
277
- debug: 'stringsN_default.debug.js'
276
+ path: 'stringsN_default.js',
277
+ integrity: 'sha384-oqVuAfXRKap7fdgcCY5uykM6+R9GqQ8K/uxy9rx7HNQlGYl1kPzQho1wx4JwY8wC'
278
278
  },
279
279
  shouldNotPreload: false
280
280
  },
281
281
  stringsO: {
282
282
  type: 'localizedPath',
283
283
  defaultPath: {
284
- default: 'stringsO_default.js'
284
+ path: 'stringsO_default.js'
285
285
  },
286
286
  shouldNotPreload: false
287
287
  },
@@ -299,7 +299,7 @@ const multiVersionManifest = {
299
299
  defaultPath: 'stringsQ_default.js',
300
300
  paths: {
301
301
  'en-us': {
302
- default: 'stringsQ_en-us.js'
302
+ path: 'stringsQ_en-us.js'
303
303
  },
304
304
  'fr-fr': 'stringsQ_fr-fr.js'
305
305
  },
@@ -310,8 +310,8 @@ const multiVersionManifest = {
310
310
  defaultPath: 'stringsR_default.js',
311
311
  paths: {
312
312
  'en-us': {
313
- default: 'stringsR_en-us.js',
314
- debug: 'stringsR_en-us.debug.js'
313
+ path: 'stringsR_en-us.js',
314
+ integrity: 'sha384-oqVuAfXRKap7fdgcCY5uykM6+R9GqQ8K/uxy9rx7HNQlGYl1kPzQho1wx4JwY8wC.js'
315
315
  },
316
316
  'fr-fr': 'stringsR_fr-fr.js'
317
317
  },
@@ -358,7 +358,7 @@ const multiVersionManifest = {
358
358
  version: 'latest',
359
359
  id: '00000000-0000-0000-0000-000000000000',
360
360
  failoverPath: {
361
- default: 'script.js'
361
+ path: 'script.js'
362
362
  }
363
363
  },
364
364
  frameworkD: {
@@ -366,8 +366,8 @@ const multiVersionManifest = {
366
366
  version: 'latest',
367
367
  id: '00000000-0000-0000-0000-000000000000',
368
368
  failoverPath: {
369
- default: 'script.js',
370
- debug: 'script.debug.js'
369
+ path: 'script.js',
370
+ integrity: 'sha384-oqVuAfXRKap7fdgcCY5uykM6+R9GqQ8K/uxy9rx7HNQlGYl1kPzQho1wx4JwY8wC'
371
371
  }
372
372
  },
373
373
  frameworkE: {
@@ -388,7 +388,7 @@ const multiVersionManifest = {
388
388
  version: 'latest',
389
389
  id: '00000000-0000-0000-0000-000000000000',
390
390
  failoverPath: {
391
- default: 'script.js'
391
+ path: 'script.js'
392
392
  },
393
393
  shouldNotPreload: true
394
394
  },
@@ -397,8 +397,8 @@ const multiVersionManifest = {
397
397
  version: 'latest',
398
398
  id: '00000000-0000-0000-0000-000000000000',
399
399
  failoverPath: {
400
- default: 'script.js',
401
- debug: 'script.debug.js'
400
+ path: 'script.js',
401
+ integrity: 'sha384-oqVuAfXRKap7fdgcCY5uykM6+R9GqQ8K/uxy9rx7HNQlGYl1kPzQho1wx4JwY8wC'
402
402
  },
403
403
  shouldNotPreload: true
404
404
  },
@@ -420,7 +420,7 @@ const multiVersionManifest = {
420
420
  version: 'latest',
421
421
  id: '00000000-0000-0000-0000-000000000000',
422
422
  failoverPath: {
423
- default: 'script.js'
423
+ path: 'script.js'
424
424
  },
425
425
  shouldNotPreload: false
426
426
  },
@@ -429,8 +429,8 @@ const multiVersionManifest = {
429
429
  version: 'latest',
430
430
  id: '00000000-0000-0000-0000-000000000000',
431
431
  failoverPath: {
432
- default: 'script.js',
433
- debug: 'script.debug.js'
432
+ path: 'script.js',
433
+ integrity: 'sha384-oqVuAfXRKap7fdgcCY5uykM6+R9GqQ8K/uxy9rx7HNQlGYl1kPzQho1wx4JwY8wC'
434
434
  },
435
435
  shouldNotPreload: false
436
436
  },
@@ -441,14 +441,14 @@ const multiVersionManifest = {
441
441
  dependencyA: {
442
442
  type: 'path',
443
443
  path: {
444
- default: 'dependencyA.script.js',
445
- debug: 'dependencyA.debug.script.js'
444
+ path: 'dependencyA.script.js',
445
+ integrity: 'sha384-oqVuAfXRKap7fdgcCY5uykM6+R9GqQ8K/uxy9rx7HNQlGYl1kPzQho1wx4JwY8wC.js'
446
446
  }
447
447
  },
448
448
  dependencyB: {
449
449
  type: 'path',
450
450
  path: {
451
- default: 'dependencyB.script.js'
451
+ path: 'dependencyB.script.js'
452
452
  }
453
453
  },
454
454
  dependencyC: {
@@ -458,15 +458,15 @@ const multiVersionManifest = {
458
458
  dependencyD: {
459
459
  type: 'path',
460
460
  path: {
461
- default: 'dependencyD.script.js',
462
- debug: 'dependencyD.debug.script.js'
461
+ path: 'dependencyD.script.js',
462
+ integrity: 'sha384-oqVuAfXRKap7fdgcCY5uykM6+R9GqQ8K/uxy9rx7HNQlGYl1kPzQho1wx4JwY8wC.js'
463
463
  },
464
464
  shouldNotPreload: true
465
465
  },
466
466
  dependencyE: {
467
467
  type: 'path',
468
468
  path: {
469
- default: 'dependencyE.script.js'
469
+ path: 'dependencyE.script.js'
470
470
  },
471
471
  shouldNotPreload: true
472
472
  },
@@ -478,15 +478,15 @@ const multiVersionManifest = {
478
478
  dependencyG: {
479
479
  type: 'path',
480
480
  path: {
481
- default: 'dependencyG.script.js',
482
- debug: 'dependencyG.debug.script.js'
481
+ path: 'dependencyG.script.js',
482
+ integrity: 'sha384-oqVuAfXRKap7fdgcCY5uykM6+R9GqQ8K/uxy9rx7HNQlGYl1kPzQho1wx4JwY8wC.js'
483
483
  },
484
484
  shouldNotPreload: false
485
485
  },
486
486
  dependencyH: {
487
487
  type: 'path',
488
488
  path: {
489
- default: 'dependencyH.script.js'
489
+ path: 'dependencyH.script.js'
490
490
  },
491
491
  shouldNotPreload: false
492
492
  },
@@ -502,14 +502,14 @@ const multiVersionManifest = {
502
502
  stringsB: {
503
503
  type: 'localizedPath',
504
504
  defaultPath: {
505
- default: 'stringsB_default.js',
506
- debug: 'stringsB_default.debug.js'
505
+ path: 'stringsB_default.js',
506
+ integrity: 'sha384-oqVuAfXRKap7fdgcCY5uykM6+R9GqQ8K/uxy9rx7HNQlGYl1kPzQho1wx4JwY8wC'
507
507
  }
508
508
  },
509
509
  stringsC: {
510
510
  type: 'localizedPath',
511
511
  defaultPath: {
512
- default: 'stringsC_default.js'
512
+ path: 'stringsC_default.js'
513
513
  }
514
514
  },
515
515
  stringsD: {
@@ -525,7 +525,7 @@ const multiVersionManifest = {
525
525
  defaultPath: 'stringsE_default.js',
526
526
  paths: {
527
527
  'en-us': {
528
- default: 'stringsE_en-us.js'
528
+ path: 'stringsE_en-us.js'
529
529
  },
530
530
  'fr-fr': 'stringsE_fr-fr.js'
531
531
  }
@@ -535,8 +535,8 @@ const multiVersionManifest = {
535
535
  defaultPath: 'stringsF_default.js',
536
536
  paths: {
537
537
  'en-us': {
538
- default: 'stringsF_en-us.js',
539
- debug: 'stringsF_en-us.debug.js'
538
+ path: 'stringsF_en-us.js',
539
+ integrity: 'sha384-oqVuAfXRKap7fdgcCY5uykM6+R9GqQ8K/uxy9rx7HNQlGYl1kPzQho1wx4JwY8wC.js'
540
540
  },
541
541
  'fr-fr': 'stringsF_fr-fr.js'
542
542
  }
@@ -549,15 +549,15 @@ const multiVersionManifest = {
549
549
  stringsH: {
550
550
  type: 'localizedPath',
551
551
  defaultPath: {
552
- default: 'stringsH_default.js',
553
- debug: 'stringsH_default.debug.js'
552
+ path: 'stringsH_default.js',
553
+ integrity: 'sha384-oqVuAfXRKap7fdgcCY5uykM6+R9GqQ8K/uxy9rx7HNQlGYl1kPzQho1wx4JwY8wC'
554
554
  },
555
555
  shouldNotPreload: true
556
556
  },
557
557
  stringsI: {
558
558
  type: 'localizedPath',
559
559
  defaultPath: {
560
- default: 'stringsI_default.js'
560
+ path: 'stringsI_default.js'
561
561
  },
562
562
  shouldNotPreload: true
563
563
  },
@@ -575,7 +575,7 @@ const multiVersionManifest = {
575
575
  defaultPath: 'stringsK_default.js',
576
576
  paths: {
577
577
  'en-us': {
578
- default: 'stringsK_en-us.js'
578
+ path: 'stringsK_en-us.js'
579
579
  },
580
580
  'fr-fr': 'stringsK_fr-fr.js'
581
581
  },
@@ -586,8 +586,8 @@ const multiVersionManifest = {
586
586
  defaultPath: 'stringsL_default.js',
587
587
  paths: {
588
588
  'en-us': {
589
- default: 'stringsL_en-us.js',
590
- debug: 'stringsL_en-us.debug.js'
589
+ path: 'stringsL_en-us.js',
590
+ integrity: 'sha384-oqVuAfXRKap7fdgcCY5uykM6+R9GqQ8K/uxy9rx7HNQlGYl1kPzQho1wx4JwY8wC.js'
591
591
  },
592
592
  'fr-fr': 'stringsL_fr-fr.js'
593
593
  },
@@ -601,15 +601,15 @@ const multiVersionManifest = {
601
601
  stringsN: {
602
602
  type: 'localizedPath',
603
603
  defaultPath: {
604
- default: 'stringsN_default.js',
605
- debug: 'stringsN_default.debug.js'
604
+ path: 'stringsN_default.js',
605
+ integrity: 'sha384-oqVuAfXRKap7fdgcCY5uykM6+R9GqQ8K/uxy9rx7HNQlGYl1kPzQho1wx4JwY8wC'
606
606
  },
607
607
  shouldNotPreload: false
608
608
  },
609
609
  stringsO: {
610
610
  type: 'localizedPath',
611
611
  defaultPath: {
612
- default: 'stringsO_default.js'
612
+ path: 'stringsO_default.js'
613
613
  },
614
614
  shouldNotPreload: false
615
615
  },
@@ -627,7 +627,7 @@ const multiVersionManifest = {
627
627
  defaultPath: 'stringsQ_default.js',
628
628
  paths: {
629
629
  'en-us': {
630
- default: 'stringsQ_en-us.js'
630
+ path: 'stringsQ_en-us.js'
631
631
  },
632
632
  'fr-fr': 'stringsQ_fr-fr.js'
633
633
  },
@@ -638,8 +638,8 @@ const multiVersionManifest = {
638
638
  defaultPath: 'stringsR_default.js',
639
639
  paths: {
640
640
  'en-us': {
641
- default: 'stringsR_en-us.js',
642
- debug: 'stringsR_en-us.debug.js'
641
+ path: 'stringsR_en-us.js',
642
+ integrity: 'sha384-oqVuAfXRKap7fdgcCY5uykM6+R9GqQ8K/uxy9rx7HNQlGYl1kPzQho1wx4JwY8wC.js'
643
643
  },
644
644
  'fr-fr': 'stringsR_fr-fr.js'
645
645
  },