@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
@@ -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
  },
@@ -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
  },