@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
@@ -27,7 +27,7 @@
27
27
  "version": "latest",
28
28
  "id": "00000000-0000-0000-0000-000000000000",
29
29
  "failoverPath": {
30
- "default": "script.js"
30
+ "path": "script.js"
31
31
  }
32
32
  },
33
33
  "frameworkD": {
@@ -35,8 +35,8 @@
35
35
  "version": "latest",
36
36
  "id": "00000000-0000-0000-0000-000000000000",
37
37
  "failoverPath": {
38
- "default": "script.js",
39
- "debug": "script.debug.js"
38
+ "path": "script.js",
39
+ "integrity": "sha384-oqVuAfXRKap7fdgcCY5uykM6+R9GqQ8K/uxy9rx7HNQlGYl1kPzQho1wx4JwY8wC"
40
40
  }
41
41
  },
42
42
  "frameworkE": {
@@ -57,7 +57,7 @@
57
57
  "version": "latest",
58
58
  "id": "00000000-0000-0000-0000-000000000000",
59
59
  "failoverPath": {
60
- "default": "script.js"
60
+ "path": "script.js"
61
61
  },
62
62
  "shouldNotPreload": true
63
63
  },
@@ -66,8 +66,8 @@
66
66
  "version": "latest",
67
67
  "id": "00000000-0000-0000-0000-000000000000",
68
68
  "failoverPath": {
69
- "default": "script.js",
70
- "debug": "script.debug.js"
69
+ "path": "script.js",
70
+ "integrity": "sha384-oqVuAfXRKap7fdgcCY5uykM6+R9GqQ8K/uxy9rx7HNQlGYl1kPzQho1wx4JwY8wC"
71
71
  },
72
72
  "shouldNotPreload": true
73
73
  },
@@ -89,7 +89,7 @@
89
89
  "version": "latest",
90
90
  "id": "00000000-0000-0000-0000-000000000000",
91
91
  "failoverPath": {
92
- "default": "script.js"
92
+ "path": "script.js"
93
93
  },
94
94
  "shouldNotPreload": false
95
95
  },
@@ -98,8 +98,8 @@
98
98
  "version": "latest",
99
99
  "id": "00000000-0000-0000-0000-000000000000",
100
100
  "failoverPath": {
101
- "default": "script.js",
102
- "debug": "script.debug.js"
101
+ "path": "script.js",
102
+ "integrity": "sha384-oqVuAfXRKap7fdgcCY5uykM6+R9GqQ8K/uxy9rx7HNQlGYl1kPzQho1wx4JwY8wC"
103
103
  },
104
104
  "shouldNotPreload": false
105
105
  },
@@ -110,14 +110,14 @@
110
110
  "dependencyA": {
111
111
  "type": "path",
112
112
  "path": {
113
- "default": "dependencyA.script.js",
114
- "debug": "dependencyA.debug.script.js"
113
+ "path": "dependencyA.script.js",
114
+ "integrity": "sha384-oqVuAfXRKap7fdgcCY5uykM6+R9GqQ8K/uxy9rx7HNQlGYl1kPzQho1wx4JwY8wC"
115
115
  }
116
116
  },
117
117
  "dependencyB": {
118
118
  "type": "path",
119
119
  "path": {
120
- "default": "dependencyB.script.js"
120
+ "path": "dependencyB.script.js"
121
121
  }
122
122
  },
123
123
  "dependencyC": {
@@ -127,15 +127,15 @@
127
127
  "dependencyD": {
128
128
  "type": "path",
129
129
  "path": {
130
- "default": "dependencyD.script.js",
131
- "debug": "dependencyD.debug.script.js"
130
+ "path": "dependencyD.script.js",
131
+ "integrity": "sha384-oqVuAfXRKap7fdgcCY5uykM6+R9GqQ8K/uxy9rx7HNQlGYl1kPzQho1wx4JwY8wC"
132
132
  },
133
133
  "shouldNotPreload": true
134
134
  },
135
135
  "dependencyE": {
136
136
  "type": "path",
137
137
  "path": {
138
- "default": "dependencyE.script.js"
138
+ "path": "dependencyE.script.js"
139
139
  },
140
140
  "shouldNotPreload": true
141
141
  },
@@ -147,15 +147,15 @@
147
147
  "dependencyG": {
148
148
  "type": "path",
149
149
  "path": {
150
- "default": "dependencyG.script.js",
151
- "debug": "dependencyG.debug.script.js"
150
+ "path": "dependencyG.script.js",
151
+ "integrity": "sha384-oqVuAfXRKap7fdgcCY5uykM6+R9GqQ8K/uxy9rx7HNQlGYl1kPzQho1wx4JwY8wC"
152
152
  },
153
153
  "shouldNotPreload": false
154
154
  },
155
155
  "dependencyH": {
156
156
  "type": "path",
157
157
  "path": {
158
- "default": "dependencyH.script.js"
158
+ "path": "dependencyH.script.js"
159
159
  },
160
160
  "shouldNotPreload": false
161
161
  },
@@ -171,14 +171,14 @@
171
171
  "stringsB": {
172
172
  "type": "localizedPath",
173
173
  "defaultPath": {
174
- "default": "stringsB_default.js",
175
- "debug": "stringsB_default.debug.js"
174
+ "path": "stringsB_default.js",
175
+ "integrity": "sha384-oqVuAfXRKap7fdgcCY5uykM6+R9GqQ8K/uxy9rx7HNQlGYl1kPzQho1wx4JwY8wC"
176
176
  }
177
177
  },
178
178
  "stringsC": {
179
179
  "type": "localizedPath",
180
180
  "defaultPath": {
181
- "default": "stringsC_default.js"
181
+ "path": "stringsC_default.js"
182
182
  }
183
183
  },
184
184
  "stringsD": {
@@ -194,7 +194,7 @@
194
194
  "defaultPath": "stringsE_default.js",
195
195
  "paths": {
196
196
  "en-us": {
197
- "default": "stringsE_en-us.js"
197
+ "path": "stringsE_en-us.js"
198
198
  },
199
199
  "fr-fr": "stringsE_fr-fr.js"
200
200
  }
@@ -204,8 +204,8 @@
204
204
  "defaultPath": "stringsF_default.js",
205
205
  "paths": {
206
206
  "en-us": {
207
- "default": "stringsF_en-us.js",
208
- "debug": "stringsF_en-us.debug.js"
207
+ "path": "stringsF_en-us.js",
208
+ "integrity": "sha384-oqVuAfXRKap7fdgcCY5uykM6+R9GqQ8K/uxy9rx7HNQlGYl1kPzQho1wx4JwY8wC"
209
209
  },
210
210
  "fr-fr": "stringsF_fr-fr.js"
211
211
  }
@@ -218,15 +218,15 @@
218
218
  "stringsH": {
219
219
  "type": "localizedPath",
220
220
  "defaultPath": {
221
- "default": "stringsH_default.js",
222
- "debug": "stringsH_default.debug.js"
221
+ "path": "stringsH_default.js",
222
+ "integrity": "sha384-oqVuAfXRKap7fdgcCY5uykM6+R9GqQ8K/uxy9rx7HNQlGYl1kPzQho1wx4JwY8wC"
223
223
  },
224
224
  "shouldNotPreload": true
225
225
  },
226
226
  "stringsI": {
227
227
  "type": "localizedPath",
228
228
  "defaultPath": {
229
- "default": "stringsI_default.js"
229
+ "path": "stringsI_default.js"
230
230
  },
231
231
  "shouldNotPreload": true
232
232
  },
@@ -244,7 +244,7 @@
244
244
  "defaultPath": "stringsK_default.js",
245
245
  "paths": {
246
246
  "en-us": {
247
- "default": "stringsK_en-us.js"
247
+ "path": "stringsK_en-us.js"
248
248
  },
249
249
  "fr-fr": "stringsK_fr-fr.js"
250
250
  },
@@ -255,8 +255,8 @@
255
255
  "defaultPath": "stringsL_default.js",
256
256
  "paths": {
257
257
  "en-us": {
258
- "default": "stringsL_en-us.js",
259
- "debug": "stringsL_en-us.debug.js"
258
+ "path": "stringsL_en-us.js",
259
+ "integrity": "sha384-oqVuAfXRKap7fdgcCY5uykM6+R9GqQ8K/uxy9rx7HNQlGYl1kPzQho1wx4JwY8wC"
260
260
  },
261
261
  "fr-fr": "stringsL_fr-fr.js"
262
262
  },
@@ -270,15 +270,15 @@
270
270
  "stringsN": {
271
271
  "type": "localizedPath",
272
272
  "defaultPath": {
273
- "default": "stringsN_default.js",
274
- "debug": "stringsN_default.debug.js"
273
+ "path": "stringsN_default.js",
274
+ "integrity": "sha384-oqVuAfXRKap7fdgcCY5uykM6+R9GqQ8K/uxy9rx7HNQlGYl1kPzQho1wx4JwY8wC"
275
275
  },
276
276
  "shouldNotPreload": false
277
277
  },
278
278
  "stringsO": {
279
279
  "type": "localizedPath",
280
280
  "defaultPath": {
281
- "default": "stringsO_default.js"
281
+ "path": "stringsO_default.js"
282
282
  },
283
283
  "shouldNotPreload": false
284
284
  },
@@ -296,7 +296,7 @@
296
296
  "defaultPath": "stringsQ_default.js",
297
297
  "paths": {
298
298
  "en-us": {
299
- "default": "stringsQ_en-us.js"
299
+ "path": "stringsQ_en-us.js"
300
300
  },
301
301
  "fr-fr": "stringsQ_fr-fr.js"
302
302
  },
@@ -307,8 +307,8 @@
307
307
  "defaultPath": "stringsR_default.js",
308
308
  "paths": {
309
309
  "en-us": {
310
- "default": "stringsR_en-us.js",
311
- "debug": "stringsR_en-us.debug.js"
310
+ "path": "stringsR_en-us.js",
311
+ "integrity": "sha384-oqVuAfXRKap7fdgcCY5uykM6+R9GqQ8K/uxy9rx7HNQlGYl1kPzQho1wx4JwY8wC"
312
312
  },
313
313
  "fr-fr": "stringsR_fr-fr.js"
314
314
  },
@@ -26,7 +26,7 @@ const libraryManifest = {
26
26
  version: 'latest',
27
27
  id: '00000000-0000-0000-0000-000000000000',
28
28
  failoverPath: {
29
- default: 'script.js'
29
+ path: 'script.js'
30
30
  }
31
31
  },
32
32
  frameworkD: {
@@ -34,8 +34,8 @@ const libraryManifest = {
34
34
  version: 'latest',
35
35
  id: '00000000-0000-0000-0000-000000000000',
36
36
  failoverPath: {
37
- default: 'script.js',
38
- debug: 'script.debug.js'
37
+ path: 'script.js',
38
+ integrity: 'sha384-oqVuAfXRKap7fdgcCY5uykM6+R9GqQ8K/uxy9rx7HNQlGYl1kPzQho1wx4JwY8wC'
39
39
  }
40
40
  },
41
41
  frameworkE: {
@@ -56,7 +56,7 @@ const libraryManifest = {
56
56
  version: 'latest',
57
57
  id: '00000000-0000-0000-0000-000000000000',
58
58
  failoverPath: {
59
- default: 'script.js'
59
+ path: 'script.js'
60
60
  },
61
61
  shouldNotPreload: true
62
62
  },
@@ -65,8 +65,8 @@ const libraryManifest = {
65
65
  version: 'latest',
66
66
  id: '00000000-0000-0000-0000-000000000000',
67
67
  failoverPath: {
68
- default: 'script.js',
69
- debug: 'script.debug.js'
68
+ path: 'script.js',
69
+ integrity: 'sha384-oqVuAfXRKap7fdgcCY5uykM6+R9GqQ8K/uxy9rx7HNQlGYl1kPzQho1wx4JwY8wC'
70
70
  },
71
71
  shouldNotPreload: true
72
72
  },
@@ -88,7 +88,7 @@ const libraryManifest = {
88
88
  version: 'latest',
89
89
  id: '00000000-0000-0000-0000-000000000000',
90
90
  failoverPath: {
91
- default: 'script.js'
91
+ path: 'script.js'
92
92
  },
93
93
  shouldNotPreload: false
94
94
  },
@@ -97,8 +97,8 @@ const libraryManifest = {
97
97
  version: 'latest',
98
98
  id: '00000000-0000-0000-0000-000000000000',
99
99
  failoverPath: {
100
- default: 'script.js',
101
- debug: 'script.debug.js'
100
+ path: 'script.js',
101
+ integrity: 'sha384-oqVuAfXRKap7fdgcCY5uykM6+R9GqQ8K/uxy9rx7HNQlGYl1kPzQho1wx4JwY8wC'
102
102
  },
103
103
  shouldNotPreload: false
104
104
  },
@@ -109,14 +109,14 @@ const libraryManifest = {
109
109
  dependencyA: {
110
110
  type: 'path',
111
111
  path: {
112
- default: 'dependencyA.script.js',
113
- debug: 'dependencyA.debug.script.js'
112
+ path: 'dependencyA.script.js',
113
+ integrity: 'sha384-oqVuAfXRKap7fdgcCY5uykM6+R9GqQ8K/uxy9rx7HNQlGYl1kPzQho1wx4JwY8wC'
114
114
  }
115
115
  },
116
116
  dependencyB: {
117
117
  type: 'path',
118
118
  path: {
119
- default: 'dependencyB.script.js'
119
+ path: 'dependencyB.script.js'
120
120
  }
121
121
  },
122
122
  dependencyC: {
@@ -126,15 +126,15 @@ const libraryManifest = {
126
126
  dependencyD: {
127
127
  type: 'path',
128
128
  path: {
129
- default: 'dependencyD.script.js',
130
- debug: 'dependencyD.debug.script.js'
129
+ path: 'dependencyD.script.js',
130
+ integrity: 'sha384-oqVuAfXRKap7fdgcCY5uykM6+R9GqQ8K/uxy9rx7HNQlGYl1kPzQho1wx4JwY8wC'
131
131
  },
132
132
  shouldNotPreload: true
133
133
  },
134
134
  dependencyE: {
135
135
  type: 'path',
136
136
  path: {
137
- default: 'dependencyE.script.js'
137
+ path: 'dependencyE.script.js'
138
138
  },
139
139
  shouldNotPreload: true
140
140
  },
@@ -146,15 +146,15 @@ const libraryManifest = {
146
146
  dependencyG: {
147
147
  type: 'path',
148
148
  path: {
149
- default: 'dependencyG.script.js',
150
- debug: 'dependencyG.debug.script.js'
149
+ path: 'dependencyG.script.js',
150
+ integrity: 'sha384-oqVuAfXRKap7fdgcCY5uykM6+R9GqQ8K/uxy9rx7HNQlGYl1kPzQho1wx4JwY8wC'
151
151
  },
152
152
  shouldNotPreload: false
153
153
  },
154
154
  dependencyH: {
155
155
  type: 'path',
156
156
  path: {
157
- default: 'dependencyH.script.js'
157
+ path: 'dependencyH.script.js'
158
158
  },
159
159
  shouldNotPreload: false
160
160
  },
@@ -170,14 +170,14 @@ const libraryManifest = {
170
170
  stringsB: {
171
171
  type: 'localizedPath',
172
172
  defaultPath: {
173
- default: 'stringsB_default.js',
174
- debug: 'stringsB_default.debug.js'
173
+ path: 'stringsB_default.js',
174
+ integrity: 'sha384-oqVuAfXRKap7fdgcCY5uykM6+R9GqQ8K/uxy9rx7HNQlGYl1kPzQho1wx4JwY8wC'
175
175
  }
176
176
  },
177
177
  stringsC: {
178
178
  type: 'localizedPath',
179
179
  defaultPath: {
180
- default: 'stringsC_default.js'
180
+ path: 'stringsC_default.js'
181
181
  }
182
182
  },
183
183
  stringsD: {
@@ -193,7 +193,7 @@ const libraryManifest = {
193
193
  defaultPath: 'stringsE_default.js',
194
194
  paths: {
195
195
  'en-us': {
196
- default: 'stringsE_en-us.js'
196
+ path: 'stringsE_en-us.js'
197
197
  },
198
198
  'fr-fr': 'stringsE_fr-fr.js'
199
199
  }
@@ -203,8 +203,8 @@ const libraryManifest = {
203
203
  defaultPath: 'stringsF_default.js',
204
204
  paths: {
205
205
  'en-us': {
206
- default: 'stringsF_en-us.js',
207
- debug: 'stringsF_en-us.debug.js'
206
+ path: 'stringsF_en-us.js',
207
+ integrity: 'sha384-oqVuAfXRKap7fdgcCY5uykM6+R9GqQ8K/uxy9rx7HNQlGYl1kPzQho1wx4JwY8wC'
208
208
  },
209
209
  'fr-fr': 'stringsF_fr-fr.js'
210
210
  }
@@ -217,15 +217,15 @@ const libraryManifest = {
217
217
  stringsH: {
218
218
  type: 'localizedPath',
219
219
  defaultPath: {
220
- default: 'stringsH_default.js',
221
- debug: 'stringsH_default.debug.js'
220
+ path: 'stringsH_default.js',
221
+ integrity: 'sha384-oqVuAfXRKap7fdgcCY5uykM6+R9GqQ8K/uxy9rx7HNQlGYl1kPzQho1wx4JwY8wC'
222
222
  },
223
223
  shouldNotPreload: true
224
224
  },
225
225
  stringsI: {
226
226
  type: 'localizedPath',
227
227
  defaultPath: {
228
- default: 'stringsI_default.js'
228
+ path: 'stringsI_default.js'
229
229
  },
230
230
  shouldNotPreload: true
231
231
  },
@@ -243,7 +243,7 @@ const libraryManifest = {
243
243
  defaultPath: 'stringsK_default.js',
244
244
  paths: {
245
245
  'en-us': {
246
- default: 'stringsK_en-us.js'
246
+ path: 'stringsK_en-us.js'
247
247
  },
248
248
  'fr-fr': 'stringsK_fr-fr.js'
249
249
  },
@@ -254,8 +254,8 @@ const libraryManifest = {
254
254
  defaultPath: 'stringsL_default.js',
255
255
  paths: {
256
256
  'en-us': {
257
- default: 'stringsL_en-us.js',
258
- debug: 'stringsL_en-us.debug.js'
257
+ path: 'stringsL_en-us.js',
258
+ integrity: 'sha384-oqVuAfXRKap7fdgcCY5uykM6+R9GqQ8K/uxy9rx7HNQlGYl1kPzQho1wx4JwY8wC'
259
259
  },
260
260
  'fr-fr': 'stringsL_fr-fr.js'
261
261
  },
@@ -269,15 +269,15 @@ const libraryManifest = {
269
269
  stringsN: {
270
270
  type: 'localizedPath',
271
271
  defaultPath: {
272
- default: 'stringsN_default.js',
273
- debug: 'stringsN_default.debug.js'
272
+ path: 'stringsN_default.js',
273
+ integrity: 'sha384-oqVuAfXRKap7fdgcCY5uykM6+R9GqQ8K/uxy9rx7HNQlGYl1kPzQho1wx4JwY8wC'
274
274
  },
275
275
  shouldNotPreload: false
276
276
  },
277
277
  stringsO: {
278
278
  type: 'localizedPath',
279
279
  defaultPath: {
280
- default: 'stringsO_default.js'
280
+ path: 'stringsO_default.js'
281
281
  },
282
282
  shouldNotPreload: false
283
283
  },
@@ -295,7 +295,7 @@ const libraryManifest = {
295
295
  defaultPath: 'stringsQ_default.js',
296
296
  paths: {
297
297
  'en-us': {
298
- default: 'stringsQ_en-us.js'
298
+ path: 'stringsQ_en-us.js'
299
299
  },
300
300
  'fr-fr': 'stringsQ_fr-fr.js'
301
301
  },
@@ -306,8 +306,8 @@ const libraryManifest = {
306
306
  defaultPath: 'stringsR_default.js',
307
307
  paths: {
308
308
  'en-us': {
309
- default: 'stringsR_en-us.js',
310
- debug: 'stringsR_en-us.debug.js'
309
+ path: 'stringsR_en-us.js',
310
+ integrity: 'sha384-oqVuAfXRKap7fdgcCY5uykM6+R9GqQ8K/uxy9rx7HNQlGYl1kPzQho1wx4JwY8wC'
311
311
  },
312
312
  'fr-fr': 'stringsR_fr-fr.js'
313
313
  },