@microsoft/sp-module-interfaces 1.15.0-beta.1 → 1.15.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 (24) hide show
  1. package/dist/index-internal-beta.d.ts +32 -43
  2. package/dist/index-internal-public.d.ts +3 -1
  3. package/dist/index-internal.d.ts +15 -718
  4. package/dist/tsdoc-metadata.json +1 -1
  5. package/lib-commonjs/index.js +5 -1
  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 +5 -1
  10. package/lib-commonjs/manifestSchemas/IClientSideComponentLoaderConfiguration.d.ts +21 -33
  11. package/lib-commonjs/manifestSchemas/IClientSideComponentLoaderConfiguration.d.ts.map +1 -1
  12. package/lib-commonjs/manifestSchemas/examples/application.manifest.json +36 -36
  13. package/lib-commonjs/manifestSchemas/examples/application_1.manifest.js +36 -36
  14. package/lib-commonjs/manifestSchemas/examples/assembly.manifest.json +37 -37
  15. package/lib-commonjs/manifestSchemas/examples/assembly_1.manifest.js +36 -36
  16. package/lib-commonjs/manifestSchemas/examples/library.manifest.json +36 -36
  17. package/lib-commonjs/manifestSchemas/examples/library_1.manifest.js +36 -36
  18. package/lib-commonjs/manifestSchemas/examples/multi-version_1.manifest.js +72 -72
  19. package/lib-commonjs/manifestSchemas/examples/multi-version_1.manifest.json +36 -36
  20. package/lib-commonjs/manifestSchemas/examples/webpart.manifest.json +36 -36
  21. package/lib-commonjs/manifestSchemas/examples/webpart_1.manifest.js +36 -36
  22. package/lib-commonjs/manifestSchemas/examples/webpart_2.manifest.js +36 -36
  23. package/lib-commonjs/manifestSchemas/jsonSchemas/client-side-component-loader-configuration.schema.json +12 -18
  24. package/package.json +2 -2
@@ -26,7 +26,7 @@ const appManifest = {
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 appManifest = {
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 appManifest = {
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 appManifest = {
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 appManifest = {
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 appManifest = {
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 appManifest = {
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 appManifest = {
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 appManifest = {
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 appManifest = {
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 appManifest = {
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 appManifest = {
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 appManifest = {
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 appManifest = {
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 appManifest = {
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 appManifest = {
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 appManifest = {
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 appManifest = {
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
  },
@@ -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
  },