@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
@@ -1,5 +1,5 @@
1
1
  {
2
- "$schema": "./../jsonSchemas/clientSideAssemblyManifestSchema.json",
2
+ "$schema": "./../jsonSchemas/client-side-library-manifest.schema.json",
3
3
 
4
4
  "manifestVersion": 2,
5
5
  "componentType": "Library",
@@ -28,7 +28,7 @@
28
28
  "version": "latest",
29
29
  "id": "00000000-0000-0000-0000-000000000000",
30
30
  "failoverPath": {
31
- "default": "script.js"
31
+ "path": "script.js"
32
32
  }
33
33
  },
34
34
  "frameworkD": {
@@ -36,8 +36,8 @@
36
36
  "version": "latest",
37
37
  "id": "00000000-0000-0000-0000-000000000000",
38
38
  "failoverPath": {
39
- "default": "script.js",
40
- "debug": "script.debug.js"
39
+ "path": "script.js",
40
+ "integrity": "sha384-oqVuAfXRKap7fdgcCY5uykM6+R9GqQ8K/uxy9rx7HNQlGYl1kPzQho1wx4JwY8wC"
41
41
  }
42
42
  },
43
43
  "frameworkE": {
@@ -58,7 +58,7 @@
58
58
  "version": "latest",
59
59
  "id": "00000000-0000-0000-0000-000000000000",
60
60
  "failoverPath": {
61
- "default": "script.js"
61
+ "path": "script.js"
62
62
  },
63
63
  "shouldNotPreload": true
64
64
  },
@@ -67,8 +67,8 @@
67
67
  "version": "latest",
68
68
  "id": "00000000-0000-0000-0000-000000000000",
69
69
  "failoverPath": {
70
- "default": "script.js",
71
- "debug": "script.debug.js"
70
+ "path": "script.js",
71
+ "integrity": "sha384-oqVuAfXRKap7fdgcCY5uykM6+R9GqQ8K/uxy9rx7HNQlGYl1kPzQho1wx4JwY8wC"
72
72
  },
73
73
  "shouldNotPreload": true
74
74
  },
@@ -90,7 +90,7 @@
90
90
  "version": "latest",
91
91
  "id": "00000000-0000-0000-0000-000000000000",
92
92
  "failoverPath": {
93
- "default": "script.js"
93
+ "path": "script.js"
94
94
  },
95
95
  "shouldNotPreload": false
96
96
  },
@@ -99,8 +99,8 @@
99
99
  "version": "latest",
100
100
  "id": "00000000-0000-0000-0000-000000000000",
101
101
  "failoverPath": {
102
- "default": "script.js",
103
- "debug": "script.debug.js"
102
+ "path": "script.js",
103
+ "integrity": "sha384-oqVuAfXRKap7fdgcCY5uykM6+R9GqQ8K/uxy9rx7HNQlGYl1kPzQho1wx4JwY8wC"
104
104
  },
105
105
  "shouldNotPreload": false
106
106
  },
@@ -111,14 +111,14 @@
111
111
  "dependencyA": {
112
112
  "type": "path",
113
113
  "path": {
114
- "default": "dependencyA.script.js",
115
- "debug": "dependencyA.debug.script.js"
114
+ "path": "dependencyA.script.js",
115
+ "integrity": "sha384-oqVuAfXRKap7fdgcCY5uykM6+R9GqQ8K/uxy9rx7HNQlGYl1kPzQho1wx4JwY8wC"
116
116
  }
117
117
  },
118
118
  "dependencyB": {
119
119
  "type": "path",
120
120
  "path": {
121
- "default": "dependencyB.script.js"
121
+ "path": "dependencyB.script.js"
122
122
  }
123
123
  },
124
124
  "dependencyC": {
@@ -128,15 +128,15 @@
128
128
  "dependencyD": {
129
129
  "type": "path",
130
130
  "path": {
131
- "default": "dependencyD.script.js",
132
- "debug": "dependencyD.debug.script.js"
131
+ "path": "dependencyD.script.js",
132
+ "integrity": "sha384-oqVuAfXRKap7fdgcCY5uykM6+R9GqQ8K/uxy9rx7HNQlGYl1kPzQho1wx4JwY8wC"
133
133
  },
134
134
  "shouldNotPreload": true
135
135
  },
136
136
  "dependencyE": {
137
137
  "type": "path",
138
138
  "path": {
139
- "default": "dependencyE.script.js"
139
+ "path": "dependencyE.script.js"
140
140
  },
141
141
  "shouldNotPreload": true
142
142
  },
@@ -148,15 +148,15 @@
148
148
  "dependencyG": {
149
149
  "type": "path",
150
150
  "path": {
151
- "default": "dependencyG.script.js",
152
- "debug": "dependencyG.debug.script.js"
151
+ "path": "dependencyG.script.js",
152
+ "integrity": "sha384-oqVuAfXRKap7fdgcCY5uykM6+R9GqQ8K/uxy9rx7HNQlGYl1kPzQho1wx4JwY8wC"
153
153
  },
154
154
  "shouldNotPreload": false
155
155
  },
156
156
  "dependencyH": {
157
157
  "type": "path",
158
158
  "path": {
159
- "default": "dependencyH.script.js"
159
+ "path": "dependencyH.script.js"
160
160
  },
161
161
  "shouldNotPreload": false
162
162
  },
@@ -172,14 +172,14 @@
172
172
  "stringsB": {
173
173
  "type": "localizedPath",
174
174
  "defaultPath": {
175
- "default": "stringsB_default.js",
176
- "debug": "stringsB_default.debug.js"
175
+ "path": "stringsB_default.js",
176
+ "integrity": "sha384-oqVuAfXRKap7fdgcCY5uykM6+R9GqQ8K/uxy9rx7HNQlGYl1kPzQho1wx4JwY8wC"
177
177
  }
178
178
  },
179
179
  "stringsC": {
180
180
  "type": "localizedPath",
181
181
  "defaultPath": {
182
- "default": "stringsC_default.js"
182
+ "path": "stringsC_default.js"
183
183
  }
184
184
  },
185
185
  "stringsD": {
@@ -195,7 +195,7 @@
195
195
  "defaultPath": "stringsE_default.js",
196
196
  "paths": {
197
197
  "en-us": {
198
- "default": "stringsE_en-us.js"
198
+ "path": "stringsE_en-us.js"
199
199
  },
200
200
  "fr-fr": "stringsE_fr-fr.js"
201
201
  }
@@ -205,8 +205,8 @@
205
205
  "defaultPath": "stringsF_default.js",
206
206
  "paths": {
207
207
  "en-us": {
208
- "default": "stringsF_en-us.js",
209
- "debug": "stringsF_en-us.debug.js"
208
+ "path": "stringsF_en-us.js",
209
+ "integrity": "sha384-oqVuAfXRKap7fdgcCY5uykM6+R9GqQ8K/uxy9rx7HNQlGYl1kPzQho1wx4JwY8wC"
210
210
  },
211
211
  "fr-fr": "stringsF_fr-fr.js"
212
212
  }
@@ -219,15 +219,15 @@
219
219
  "stringsH": {
220
220
  "type": "localizedPath",
221
221
  "defaultPath": {
222
- "default": "stringsH_default.js",
223
- "debug": "stringsH_default.debug.js"
222
+ "path": "stringsH_default.js",
223
+ "integrity": "sha384-oqVuAfXRKap7fdgcCY5uykM6+R9GqQ8K/uxy9rx7HNQlGYl1kPzQho1wx4JwY8wC"
224
224
  },
225
225
  "shouldNotPreload": true
226
226
  },
227
227
  "stringsI": {
228
228
  "type": "localizedPath",
229
229
  "defaultPath": {
230
- "default": "stringsI_default.js"
230
+ "path": "stringsI_default.js"
231
231
  },
232
232
  "shouldNotPreload": true
233
233
  },
@@ -245,7 +245,7 @@
245
245
  "defaultPath": "stringsK_default.js",
246
246
  "paths": {
247
247
  "en-us": {
248
- "default": "stringsK_en-us.js"
248
+ "path": "stringsK_en-us.js"
249
249
  },
250
250
  "fr-fr": "stringsK_fr-fr.js"
251
251
  },
@@ -256,8 +256,8 @@
256
256
  "defaultPath": "stringsL_default.js",
257
257
  "paths": {
258
258
  "en-us": {
259
- "default": "stringsL_en-us.js",
260
- "debug": "stringsL_en-us.debug.js"
259
+ "path": "stringsL_en-us.js",
260
+ "integrity": "sha384-oqVuAfXRKap7fdgcCY5uykM6+R9GqQ8K/uxy9rx7HNQlGYl1kPzQho1wx4JwY8wC"
261
261
  },
262
262
  "fr-fr": "stringsL_fr-fr.js"
263
263
  },
@@ -271,15 +271,15 @@
271
271
  "stringsN": {
272
272
  "type": "localizedPath",
273
273
  "defaultPath": {
274
- "default": "stringsN_default.js",
275
- "debug": "stringsN_default.debug.js"
274
+ "path": "stringsN_default.js",
275
+ "integrity": "sha384-oqVuAfXRKap7fdgcCY5uykM6+R9GqQ8K/uxy9rx7HNQlGYl1kPzQho1wx4JwY8wC"
276
276
  },
277
277
  "shouldNotPreload": false
278
278
  },
279
279
  "stringsO": {
280
280
  "type": "localizedPath",
281
281
  "defaultPath": {
282
- "default": "stringsO_default.js"
282
+ "path": "stringsO_default.js"
283
283
  },
284
284
  "shouldNotPreload": false
285
285
  },
@@ -297,7 +297,7 @@
297
297
  "defaultPath": "stringsQ_default.js",
298
298
  "paths": {
299
299
  "en-us": {
300
- "default": "stringsQ_en-us.js"
300
+ "path": "stringsQ_en-us.js"
301
301
  },
302
302
  "fr-fr": "stringsQ_fr-fr.js"
303
303
  },
@@ -308,8 +308,8 @@
308
308
  "defaultPath": "stringsR_default.js",
309
309
  "paths": {
310
310
  "en-us": {
311
- "default": "stringsR_en-us.js",
312
- "debug": "stringsR_en-us.debug.js"
311
+ "path": "stringsR_en-us.js",
312
+ "integrity": "sha384-oqVuAfXRKap7fdgcCY5uykM6+R9GqQ8K/uxy9rx7HNQlGYl1kPzQho1wx4JwY8wC"
313
313
  },
314
314
  "fr-fr": "stringsR_fr-fr.js"
315
315
  },
@@ -27,7 +27,7 @@ const assemblyManifest = {
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 @@ const assemblyManifest = {
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 @@ const assemblyManifest = {
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 @@ const assemblyManifest = {
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 @@ const assemblyManifest = {
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 @@ const assemblyManifest = {
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 @@ const assemblyManifest = {
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 @@ const assemblyManifest = {
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 @@ const assemblyManifest = {
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 @@ const assemblyManifest = {
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 @@ const assemblyManifest = {
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 @@ const assemblyManifest = {
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 @@ const assemblyManifest = {
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 @@ const assemblyManifest = {
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 @@ const assemblyManifest = {
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 @@ const assemblyManifest = {
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 @@ const assemblyManifest = {
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 @@ const assemblyManifest = {
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
  },