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