@microsoft/sp-module-interfaces 1.20.2 → 1.21.0-beta.2

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 (159) hide show
  1. package/dist/index-internal-beta.d.ts +59 -1
  2. package/dist/index-internal-public.d.ts +53 -1
  3. package/dist/index-internal.d.ts +760 -15
  4. package/lib-commonjs/index.js +31 -28
  5. package/lib-commonjs/manifestHelpers.js +22 -19
  6. package/lib-commonjs/manifestSchemaValidator.js +100 -63
  7. package/lib-commonjs/manifestSchemas/IAdaptiveCardExtensionManifest.js +5 -2
  8. package/lib-commonjs/manifestSchemas/IClientSideApplicationManifest.js +5 -2
  9. package/lib-commonjs/manifestSchemas/IClientSideAssemblyManifest.js +5 -2
  10. package/lib-commonjs/manifestSchemas/IClientSideComponentLoaderConfiguration.js +11 -3
  11. package/lib-commonjs/manifestSchemas/IClientSideComponentManifest.js +5 -2
  12. package/lib-commonjs/manifestSchemas/IClientSideExtensionManifest.js +5 -2
  13. package/lib-commonjs/manifestSchemas/IClientSideLibraryManifest.js +5 -2
  14. package/lib-commonjs/manifestSchemas/IClientSideManifestBase.js +10 -3
  15. package/lib-commonjs/manifestSchemas/IClientSideMultiVersionManifest.js +5 -2
  16. package/lib-commonjs/manifestSchemas/IClientSideWebPartManifest.js +62 -67
  17. package/lib-commonjs/manifestSchemas/ICommandSetExtensionManifest.js +5 -2
  18. package/lib-commonjs/manifestSchemas/IPrefabAppManifest.js +6 -0
  19. package/lib-commonjs/manifestSchemas/ManifestType.js +18 -13
  20. package/lib-commonjs/manifestSchemas/examples/application_1.manifest.js +24 -6
  21. package/lib-commonjs/manifestSchemas/examples/application_2.manifest.js +28 -7
  22. package/lib-commonjs/manifestSchemas/examples/application_3.manifest.js +22 -5
  23. package/lib-commonjs/manifestSchemas/examples/assembly_1.manifest.js +18 -4
  24. package/lib-commonjs/manifestSchemas/examples/commandSet_1.manifest.js +15 -3
  25. package/lib-commonjs/manifestSchemas/examples/extension_1.manifest.js +15 -3
  26. package/lib-commonjs/manifestSchemas/examples/extension_2.manifest.js +15 -3
  27. package/lib-commonjs/manifestSchemas/examples/extension_3.manifest.js +15 -3
  28. package/lib-commonjs/manifestSchemas/examples/extension_4.manifest.js +15 -3
  29. package/lib-commonjs/manifestSchemas/examples/library_1.manifest.js +18 -4
  30. package/lib-commonjs/manifestSchemas/examples/multi-version_1.manifest.js +24 -6
  31. package/lib-commonjs/manifestSchemas/examples/prefab_1.manifest.js +354 -0
  32. package/lib-commonjs/manifestSchemas/examples/prefab_2.manifest.js +391 -0
  33. package/lib-commonjs/manifestSchemas/examples/prefabapp.manifest.json +379 -0
  34. package/lib-commonjs/manifestSchemas/examples/webpart_1.manifest.js +24 -6
  35. package/lib-commonjs/manifestSchemas/examples/webpart_2.manifest.js +47 -12
  36. package/lib-commonjs/manifestSchemas/jsonSchemas/adaptive-card-extension-manifest.schema.json +8 -0
  37. package/lib-commonjs/manifestSchemas/jsonSchemas/client-side-component-manifest.schema.json +5 -2
  38. package/lib-commonjs/manifestSchemas/jsonSchemas/client-side-web-part-manifest.schema.json +23 -0
  39. package/lib-commonjs/manifestSchemas/jsonSchemas/prefab-app-manifest.schema.json +176 -0
  40. package/lib-commonjs/manifestSchemas/remote/draft-04.schema.json +137 -0
  41. package/lib-commonjs/manifestSchemas/remote/site-design-script-actions.schema.json +1158 -0
  42. package/{lib-commonjs → lib-dts}/index.d.ts +1 -0
  43. package/{lib-commonjs → lib-dts}/manifestSchemaValidator.d.ts +4 -1
  44. package/{lib-commonjs → lib-dts}/manifestSchemas/IAdaptiveCardExtensionManifest.d.ts +6 -0
  45. package/{lib-commonjs → lib-dts}/manifestSchemas/IClientSideComponentManifest.d.ts +1 -1
  46. package/{lib-commonjs → lib-dts}/manifestSchemas/IClientSideWebPartManifest.d.ts +33 -0
  47. package/lib-dts/manifestSchemas/IPrefabAppManifest.d.ts +255 -0
  48. package/{lib-commonjs → lib-dts}/manifestSchemas/examples/application_1.manifest.d.ts +1 -1
  49. package/{lib-commonjs → lib-dts}/manifestSchemas/examples/application_2.manifest.d.ts +1 -1
  50. package/{lib-commonjs → lib-dts}/manifestSchemas/examples/application_3.manifest.d.ts +1 -1
  51. package/{lib-commonjs → lib-dts}/manifestSchemas/examples/assembly_1.manifest.d.ts +1 -1
  52. package/{lib-commonjs → lib-dts}/manifestSchemas/examples/commandSet_1.manifest.d.ts +1 -1
  53. package/{lib-commonjs → lib-dts}/manifestSchemas/examples/extension_1.manifest.d.ts +1 -1
  54. package/{lib-commonjs → lib-dts}/manifestSchemas/examples/extension_2.manifest.d.ts +1 -1
  55. package/{lib-commonjs → lib-dts}/manifestSchemas/examples/extension_3.manifest.d.ts +1 -1
  56. package/{lib-commonjs → lib-dts}/manifestSchemas/examples/extension_4.manifest.d.ts +1 -1
  57. package/{lib-commonjs → lib-dts}/manifestSchemas/examples/library_1.manifest.d.ts +1 -1
  58. package/{lib-commonjs → lib-dts}/manifestSchemas/examples/multi-version_1.manifest.d.ts +1 -1
  59. package/lib-dts/manifestSchemas/examples/prefab_1.manifest.d.ts +4 -0
  60. package/lib-dts/manifestSchemas/examples/prefab_2.manifest.d.ts +4 -0
  61. package/{lib-commonjs → lib-dts}/manifestSchemas/examples/webpart_1.manifest.d.ts +1 -1
  62. package/{lib-commonjs → lib-dts}/manifestSchemas/examples/webpart_2.manifest.d.ts +1 -1
  63. package/{dist → lib-dts}/tsdoc-metadata.json +1 -1
  64. package/lib-esm/index.js +15 -0
  65. package/lib-esm/manifestHelpers.js +21 -0
  66. package/lib-esm/manifestSchemaValidator.js +135 -0
  67. package/lib-esm/manifestSchemas/IAdaptiveCardExtensionManifest.js +9 -0
  68. package/lib-esm/manifestSchemas/IClientSideApplicationManifest.js +5 -0
  69. package/lib-esm/manifestSchemas/IClientSideAssemblyManifest.js +7 -0
  70. package/lib-esm/manifestSchemas/IClientSideComponentLoaderConfiguration.js +17 -0
  71. package/lib-esm/manifestSchemas/IClientSideComponentManifest.js +27 -0
  72. package/lib-esm/manifestSchemas/IClientSideExtensionManifest.js +7 -0
  73. package/lib-esm/manifestSchemas/IClientSideLibraryManifest.js +7 -0
  74. package/lib-esm/manifestSchemas/IClientSideManifestBase.js +7 -0
  75. package/lib-esm/manifestSchemas/IClientSideMultiVersionManifest.js +25 -0
  76. package/lib-esm/manifestSchemas/IClientSideWebPartManifest.js +62 -0
  77. package/lib-esm/manifestSchemas/ICommandSetExtensionManifest.js +8 -0
  78. package/lib-esm/manifestSchemas/IPrefabAppManifest.js +7 -0
  79. package/lib-esm/manifestSchemas/ManifestType.js +15 -0
  80. package/lib-esm/manifestSchemas/examples/application.manifest.json +346 -0
  81. package/lib-esm/manifestSchemas/examples/application_1.manifest.js +344 -0
  82. package/lib-esm/manifestSchemas/examples/application_2.manifest.js +47 -0
  83. package/lib-esm/manifestSchemas/examples/application_3.manifest.js +42 -0
  84. package/lib-esm/manifestSchemas/examples/assembly.manifest.json +331 -0
  85. package/lib-esm/manifestSchemas/examples/assembly_1.manifest.js +336 -0
  86. package/lib-esm/manifestSchemas/examples/commandSet_1.manifest.js +42 -0
  87. package/lib-esm/manifestSchemas/examples/commandset.manifest.json +38 -0
  88. package/lib-esm/manifestSchemas/examples/extension.manifest.json +20 -0
  89. package/lib-esm/manifestSchemas/examples/extension_1.manifest.js +25 -0
  90. package/lib-esm/manifestSchemas/examples/extension_2.manifest.js +24 -0
  91. package/lib-esm/manifestSchemas/examples/extension_3.manifest.js +23 -0
  92. package/lib-esm/manifestSchemas/examples/extension_4.manifest.js +23 -0
  93. package/lib-esm/manifestSchemas/examples/library.manifest.json +330 -0
  94. package/lib-esm/manifestSchemas/examples/library_1.manifest.js +335 -0
  95. package/lib-esm/manifestSchemas/examples/multi-version_1.manifest.js +673 -0
  96. package/lib-esm/manifestSchemas/examples/multi-version_1.manifest.json +336 -0
  97. package/lib-esm/manifestSchemas/examples/prefab_1.manifest.js +344 -0
  98. package/lib-esm/manifestSchemas/examples/prefab_2.manifest.js +381 -0
  99. package/lib-esm/manifestSchemas/examples/prefabapp.manifest.json +379 -0
  100. package/lib-esm/manifestSchemas/examples/webpart.manifest.json +380 -0
  101. package/lib-esm/manifestSchemas/examples/webpart_1.manifest.js +350 -0
  102. package/lib-esm/manifestSchemas/examples/webpart_2.manifest.js +388 -0
  103. package/lib-esm/manifestSchemas/jsonSchemas/adaptive-card-extension-manifest.schema.json +230 -0
  104. package/lib-esm/manifestSchemas/jsonSchemas/any-value.schema.json +8 -0
  105. package/lib-esm/manifestSchemas/jsonSchemas/client-side-application-manifest.schema.json +138 -0
  106. package/lib-esm/manifestSchemas/jsonSchemas/client-side-assembly-manifest.schema.json +45 -0
  107. package/lib-esm/manifestSchemas/jsonSchemas/client-side-component-loader-configuration.schema.json +273 -0
  108. package/lib-esm/manifestSchemas/jsonSchemas/client-side-component-manifest.schema.json +131 -0
  109. package/lib-esm/manifestSchemas/jsonSchemas/client-side-extension-manifest.schema.json +61 -0
  110. package/lib-esm/manifestSchemas/jsonSchemas/client-side-library-manifest.schema.json +39 -0
  111. package/lib-esm/manifestSchemas/jsonSchemas/client-side-manifest-base.schema.json +25 -0
  112. package/lib-esm/manifestSchemas/jsonSchemas/client-side-multi-version-manifest.schema.json +118 -0
  113. package/lib-esm/manifestSchemas/jsonSchemas/client-side-web-part-manifest.schema.json +348 -0
  114. package/lib-esm/manifestSchemas/jsonSchemas/command-set-extension-manifest.schema.json +81 -0
  115. package/lib-esm/manifestSchemas/jsonSchemas/guid.schema.json +6 -0
  116. package/lib-esm/manifestSchemas/jsonSchemas/localized-string.schema.json +33 -0
  117. package/lib-esm/manifestSchemas/jsonSchemas/prefab-app-manifest.schema.json +176 -0
  118. package/lib-esm/manifestSchemas/jsonSchemas/semver.schema.json +8 -0
  119. package/lib-esm/manifestSchemas/remote/draft-04.schema.json +137 -0
  120. package/lib-esm/manifestSchemas/remote/site-design-script-actions.schema.json +1158 -0
  121. package/package.json +32 -11
  122. package/lib-commonjs/index.d.ts.map +0 -1
  123. package/lib-commonjs/manifestHelpers.d.ts.map +0 -1
  124. package/lib-commonjs/manifestSchemaValidator.d.ts.map +0 -1
  125. package/lib-commonjs/manifestSchemas/IAdaptiveCardExtensionManifest.d.ts.map +0 -1
  126. package/lib-commonjs/manifestSchemas/IClientSideApplicationManifest.d.ts.map +0 -1
  127. package/lib-commonjs/manifestSchemas/IClientSideAssemblyManifest.d.ts.map +0 -1
  128. package/lib-commonjs/manifestSchemas/IClientSideComponentLoaderConfiguration.d.ts.map +0 -1
  129. package/lib-commonjs/manifestSchemas/IClientSideComponentManifest.d.ts.map +0 -1
  130. package/lib-commonjs/manifestSchemas/IClientSideExtensionManifest.d.ts.map +0 -1
  131. package/lib-commonjs/manifestSchemas/IClientSideLibraryManifest.d.ts.map +0 -1
  132. package/lib-commonjs/manifestSchemas/IClientSideManifestBase.d.ts.map +0 -1
  133. package/lib-commonjs/manifestSchemas/IClientSideMultiVersionManifest.d.ts.map +0 -1
  134. package/lib-commonjs/manifestSchemas/IClientSideWebPartManifest.d.ts.map +0 -1
  135. package/lib-commonjs/manifestSchemas/ICommandSetExtensionManifest.d.ts.map +0 -1
  136. package/lib-commonjs/manifestSchemas/ManifestType.d.ts.map +0 -1
  137. package/lib-commonjs/manifestSchemas/examples/application_1.manifest.d.ts.map +0 -1
  138. package/lib-commonjs/manifestSchemas/examples/application_2.manifest.d.ts.map +0 -1
  139. package/lib-commonjs/manifestSchemas/examples/application_3.manifest.d.ts.map +0 -1
  140. package/lib-commonjs/manifestSchemas/examples/assembly_1.manifest.d.ts.map +0 -1
  141. package/lib-commonjs/manifestSchemas/examples/commandSet_1.manifest.d.ts.map +0 -1
  142. package/lib-commonjs/manifestSchemas/examples/extension_1.manifest.d.ts.map +0 -1
  143. package/lib-commonjs/manifestSchemas/examples/extension_2.manifest.d.ts.map +0 -1
  144. package/lib-commonjs/manifestSchemas/examples/extension_3.manifest.d.ts.map +0 -1
  145. package/lib-commonjs/manifestSchemas/examples/extension_4.manifest.d.ts.map +0 -1
  146. package/lib-commonjs/manifestSchemas/examples/library_1.manifest.d.ts.map +0 -1
  147. package/lib-commonjs/manifestSchemas/examples/multi-version_1.manifest.d.ts.map +0 -1
  148. package/lib-commonjs/manifestSchemas/examples/webpart_1.manifest.d.ts.map +0 -1
  149. package/lib-commonjs/manifestSchemas/examples/webpart_2.manifest.d.ts.map +0 -1
  150. /package/{lib-commonjs → lib-dts}/manifestHelpers.d.ts +0 -0
  151. /package/{lib-commonjs → lib-dts}/manifestSchemas/IClientSideApplicationManifest.d.ts +0 -0
  152. /package/{lib-commonjs → lib-dts}/manifestSchemas/IClientSideAssemblyManifest.d.ts +0 -0
  153. /package/{lib-commonjs → lib-dts}/manifestSchemas/IClientSideComponentLoaderConfiguration.d.ts +0 -0
  154. /package/{lib-commonjs → lib-dts}/manifestSchemas/IClientSideExtensionManifest.d.ts +0 -0
  155. /package/{lib-commonjs → lib-dts}/manifestSchemas/IClientSideLibraryManifest.d.ts +0 -0
  156. /package/{lib-commonjs → lib-dts}/manifestSchemas/IClientSideManifestBase.d.ts +0 -0
  157. /package/{lib-commonjs → lib-dts}/manifestSchemas/IClientSideMultiVersionManifest.d.ts +0 -0
  158. /package/{lib-commonjs → lib-dts}/manifestSchemas/ICommandSetExtensionManifest.d.ts +0 -0
  159. /package/{lib-commonjs → lib-dts}/manifestSchemas/ManifestType.d.ts +0 -0
@@ -0,0 +1,379 @@
1
+ {
2
+ "$schema": "./../jsonSchemas/prefab-app-manifest.schema.json",
3
+
4
+ "manifestVersion": 2,
5
+ "componentType": "Prefab",
6
+ "id": "00000000-0000-0000-0000-000000000000",
7
+ "alias": "Prefab",
8
+ "version": "0.0.1",
9
+ "loaderConfig": {
10
+ "internalModuleBaseUrls": ["https://cdn.net/"],
11
+ "entryModuleId": "main.bundle",
12
+ "scriptResources": {
13
+ "frameworkA": {
14
+ "type": "component",
15
+ "version": "1.2.3",
16
+ "id": "00000000-0000-0000-0000-000000000000"
17
+ },
18
+ "frameworkB": {
19
+ "type": "component",
20
+ "version": "1.2.3",
21
+ "id": "00000000-0000-0000-0000-000000000000",
22
+ "failoverPath": "script.js"
23
+ },
24
+ "frameworkC": {
25
+ "type": "component",
26
+ "version": "latest",
27
+ "id": "00000000-0000-0000-0000-000000000000",
28
+ "failoverPath": {
29
+ "path": "script.js"
30
+ }
31
+ },
32
+ "frameworkD": {
33
+ "type": "component",
34
+ "version": "latest",
35
+ "id": "00000000-0000-0000-0000-000000000000",
36
+ "failoverPath": {
37
+ "path": "script.js",
38
+ "integrity": "sha384-oqVuAfXRKap7fdgcCY5uykM6+R9GqQ8K/uxy9rx7HNQlGYl1kPzQho1wx4JwY8wC"
39
+ }
40
+ },
41
+ "frameworkE": {
42
+ "type": "component",
43
+ "version": "1.2.3",
44
+ "id": "00000000-0000-0000-0000-000000000000",
45
+ "shouldNotPreload": true
46
+ },
47
+ "frameworkF": {
48
+ "type": "component",
49
+ "version": "1.2.3",
50
+ "id": "00000000-0000-0000-0000-000000000000",
51
+ "failoverPath": "script.js",
52
+ "shouldNotPreload": true
53
+ },
54
+ "frameworkG": {
55
+ "type": "component",
56
+ "version": "latest",
57
+ "id": "00000000-0000-0000-0000-000000000000",
58
+ "failoverPath": {
59
+ "path": "script.js"
60
+ },
61
+ "shouldNotPreload": true
62
+ },
63
+ "frameworkI": {
64
+ "type": "component",
65
+ "version": "latest",
66
+ "id": "00000000-0000-0000-0000-000000000000",
67
+ "failoverPath": {
68
+ "path": "script.js",
69
+ "integrity": "sha384-oqVuAfXRKap7fdgcCY5uykM6+R9GqQ8K/uxy9rx7HNQlGYl1kPzQho1wx4JwY8wC"
70
+ },
71
+ "shouldNotPreload": true
72
+ },
73
+ "frameworkJ": {
74
+ "type": "component",
75
+ "version": "1.2.3",
76
+ "id": "00000000-0000-0000-0000-000000000000",
77
+ "shouldNotPreload": false
78
+ },
79
+ "frameworkK": {
80
+ "type": "component",
81
+ "version": "1.2.3",
82
+ "id": "00000000-0000-0000-0000-000000000000",
83
+ "failoverPath": "script.js",
84
+ "shouldNotPreload": false
85
+ },
86
+ "frameworkL": {
87
+ "type": "component",
88
+ "version": "latest",
89
+ "id": "00000000-0000-0000-0000-000000000000",
90
+ "failoverPath": {
91
+ "path": "script.js"
92
+ },
93
+ "shouldNotPreload": false
94
+ },
95
+ "frameworkM": {
96
+ "type": "component",
97
+ "version": "latest",
98
+ "id": "00000000-0000-0000-0000-000000000000",
99
+ "failoverPath": {
100
+ "path": "script.js",
101
+ "integrity": "sha384-oqVuAfXRKap7fdgcCY5uykM6+R9GqQ8K/uxy9rx7HNQlGYl1kPzQho1wx4JwY8wC"
102
+ },
103
+ "shouldNotPreload": false
104
+ },
105
+ "main.bundle": {
106
+ "type": "path",
107
+ "path": "bundle.script.js"
108
+ },
109
+ "dependencyA": {
110
+ "type": "path",
111
+ "path": {
112
+ "path": "dependencyA.script.js",
113
+ "integrity": "sha384-oqVuAfXRKap7fdgcCY5uykM6+R9GqQ8K/uxy9rx7HNQlGYl1kPzQho1wx4JwY8wC"
114
+ }
115
+ },
116
+ "dependencyB": {
117
+ "type": "path",
118
+ "path": {
119
+ "path": "dependencyB.script.js"
120
+ }
121
+ },
122
+ "dependencyC": {
123
+ "type": "path",
124
+ "path": "dependencyC.script.js"
125
+ },
126
+ "dependencyD": {
127
+ "type": "path",
128
+ "path": {
129
+ "path": "dependencyD.script.js",
130
+ "integrity": "sha384-oqVuAfXRKap7fdgcCY5uykM6+R9GqQ8K/uxy9rx7HNQlGYl1kPzQho1wx4JwY8wC"
131
+ },
132
+ "shouldNotPreload": true
133
+ },
134
+ "dependencyE": {
135
+ "type": "path",
136
+ "path": {
137
+ "path": "dependencyE.script.js"
138
+ },
139
+ "shouldNotPreload": true
140
+ },
141
+ "dependencyF": {
142
+ "type": "path",
143
+ "path": "dependencyF.script.js",
144
+ "shouldNotPreload": true
145
+ },
146
+ "dependencyG": {
147
+ "type": "path",
148
+ "path": {
149
+ "path": "dependencyG.script.js",
150
+ "integrity": "sha384-oqVuAfXRKap7fdgcCY5uykM6+R9GqQ8K/uxy9rx7HNQlGYl1kPzQho1wx4JwY8wC"
151
+ },
152
+ "shouldNotPreload": false
153
+ },
154
+ "dependencyH": {
155
+ "type": "path",
156
+ "path": {
157
+ "path": "dependencyH.script.js"
158
+ },
159
+ "shouldNotPreload": false
160
+ },
161
+ "dependencyI": {
162
+ "type": "path",
163
+ "path": "dependencyI.script.js",
164
+ "shouldNotPreload": false
165
+ },
166
+ "stringsA": {
167
+ "type": "localizedPath",
168
+ "defaultPath": "stringsA_default.js"
169
+ },
170
+ "stringsB": {
171
+ "type": "localizedPath",
172
+ "defaultPath": {
173
+ "path": "stringsB_default.js",
174
+ "integrity": "sha384-oqVuAfXRKap7fdgcCY5uykM6+R9GqQ8K/uxy9rx7HNQlGYl1kPzQho1wx4JwY8wC"
175
+ }
176
+ },
177
+ "stringsC": {
178
+ "type": "localizedPath",
179
+ "defaultPath": {
180
+ "path": "stringsC_default.js"
181
+ }
182
+ },
183
+ "stringsD": {
184
+ "type": "localizedPath",
185
+ "defaultPath": "stringsD_default.js",
186
+ "paths": {
187
+ "en-us": "stringsD_en-us.js",
188
+ "fr-fr": "stringsD_fr-fr.js"
189
+ }
190
+ },
191
+ "stringsE": {
192
+ "type": "localizedPath",
193
+ "defaultPath": "stringsE_default.js",
194
+ "paths": {
195
+ "en-us": {
196
+ "path": "stringsE_en-us.js"
197
+ },
198
+ "fr-fr": "stringsE_fr-fr.js"
199
+ }
200
+ },
201
+ "stringsF": {
202
+ "type": "localizedPath",
203
+ "defaultPath": "stringsF_default.js",
204
+ "paths": {
205
+ "en-us": {
206
+ "path": "stringsF_en-us.js",
207
+ "integrity": "sha384-oqVuAfXRKap7fdgcCY5uykM6+R9GqQ8K/uxy9rx7HNQlGYl1kPzQho1wx4JwY8wC"
208
+ },
209
+ "fr-fr": "stringsF_fr-fr.js"
210
+ }
211
+ },
212
+ "stringsG": {
213
+ "type": "localizedPath",
214
+ "defaultPath": "stringsG_default.js",
215
+ "shouldNotPreload": true
216
+ },
217
+ "stringsH": {
218
+ "type": "localizedPath",
219
+ "defaultPath": {
220
+ "path": "stringsH_default.js",
221
+ "integrity": "sha384-oqVuAfXRKap7fdgcCY5uykM6+R9GqQ8K/uxy9rx7HNQlGYl1kPzQho1wx4JwY8wC"
222
+ },
223
+ "shouldNotPreload": true
224
+ },
225
+ "stringsI": {
226
+ "type": "localizedPath",
227
+ "defaultPath": {
228
+ "path": "stringsI_default.js"
229
+ },
230
+ "shouldNotPreload": true
231
+ },
232
+ "stringsJ": {
233
+ "type": "localizedPath",
234
+ "defaultPath": "stringsJ_default.js",
235
+ "paths": {
236
+ "en-us": "stringsJ_en-us.js",
237
+ "fr-fr": "stringsJ_fr-fr.js"
238
+ },
239
+ "shouldNotPreload": true
240
+ },
241
+ "stringsK": {
242
+ "type": "localizedPath",
243
+ "defaultPath": "stringsK_default.js",
244
+ "paths": {
245
+ "en-us": {
246
+ "path": "stringsK_en-us.js"
247
+ },
248
+ "fr-fr": "stringsK_fr-fr.js"
249
+ },
250
+ "shouldNotPreload": true
251
+ },
252
+ "stringsL": {
253
+ "type": "localizedPath",
254
+ "defaultPath": "stringsL_default.js",
255
+ "paths": {
256
+ "en-us": {
257
+ "path": "stringsL_en-us.js",
258
+ "integrity": "sha384-oqVuAfXRKap7fdgcCY5uykM6+R9GqQ8K/uxy9rx7HNQlGYl1kPzQho1wx4JwY8wC"
259
+ },
260
+ "fr-fr": "stringsL_fr-fr.js"
261
+ },
262
+ "shouldNotPreload": true
263
+ },
264
+ "stringsM": {
265
+ "type": "localizedPath",
266
+ "defaultPath": "stringsM_default.js",
267
+ "shouldNotPreload": false
268
+ },
269
+ "stringsN": {
270
+ "type": "localizedPath",
271
+ "defaultPath": {
272
+ "path": "stringsN_default.js",
273
+ "integrity": "sha384-oqVuAfXRKap7fdgcCY5uykM6+R9GqQ8K/uxy9rx7HNQlGYl1kPzQho1wx4JwY8wC"
274
+ },
275
+ "shouldNotPreload": false
276
+ },
277
+ "stringsO": {
278
+ "type": "localizedPath",
279
+ "defaultPath": {
280
+ "path": "stringsO_default.js"
281
+ },
282
+ "shouldNotPreload": false
283
+ },
284
+ "stringsP": {
285
+ "type": "localizedPath",
286
+ "defaultPath": "stringsP_default.js",
287
+ "paths": {
288
+ "en-us": "stringsP_en-us.js",
289
+ "fr-fr": "stringsP_fr-fr.js"
290
+ },
291
+ "shouldNotPreload": false
292
+ },
293
+ "stringsQ": {
294
+ "type": "localizedPath",
295
+ "defaultPath": "stringsQ_default.js",
296
+ "paths": {
297
+ "en-us": {
298
+ "path": "stringsQ_en-us.js"
299
+ },
300
+ "fr-fr": "stringsQ_fr-fr.js"
301
+ },
302
+ "shouldNotPreload": false
303
+ },
304
+ "stringsR": {
305
+ "type": "localizedPath",
306
+ "defaultPath": "stringsR_default.js",
307
+ "paths": {
308
+ "en-us": {
309
+ "path": "stringsR_en-us.js",
310
+ "integrity": "sha384-oqVuAfXRKap7fdgcCY5uykM6+R9GqQ8K/uxy9rx7HNQlGYl1kPzQho1wx4JwY8wC"
311
+ },
312
+ "fr-fr": "stringsR_fr-fr.js"
313
+ },
314
+ "shouldNotPreload": false
315
+ },
316
+ "nonAmdA": {
317
+ "type": "path",
318
+ "path": "nonAmdA.js",
319
+ "globalName": "nonAmdA"
320
+ },
321
+ "nonAmdB": {
322
+ "type": "path",
323
+ "path": "nonAmdB.js",
324
+ "globalName": "nonAmdB",
325
+ "globalDependencies": ["nonAmdB"]
326
+ }
327
+ }
328
+ },
329
+ "title": {
330
+ "default": "Prefab App",
331
+ "en-us": "ABC123",
332
+ "fr-fr": "123ABC"
333
+ },
334
+ "description": {
335
+ "default": "This is a prefab app."
336
+ },
337
+ "isConfigured": true,
338
+ "appInstallationTypes": ["NewSite", "ExistingSite"],
339
+ "actions": {
340
+ "key1": {
341
+ "type": "onInstall",
342
+ "actions": [
343
+ {
344
+ "verb": "applyTheme",
345
+ "themeName": "Contoso"
346
+ }
347
+ ]
348
+ },
349
+ "key2": {
350
+ "type": "onDemand",
351
+ "actions": [
352
+ {
353
+ "verb": "applyTheme",
354
+ "themeName": "Contoso"
355
+ }
356
+ ]
357
+ }
358
+ },
359
+ "siteSettingsLinks": [
360
+ {
361
+ "viewId": "routeId",
362
+ "text": { "default": "text" }
363
+ }
364
+ ],
365
+ "toolboxEntries": [
366
+ {
367
+ "viewId": "routeId1",
368
+ "title": { "default": "title1" },
369
+ "description": { "default": "description1" },
370
+ "officeFabricIconFontName": "icon1"
371
+ },
372
+ {
373
+ "viewId": "routeId2",
374
+ "title": { "default": "title2" },
375
+ "description": { "default": "description2" },
376
+ "iconImageUrl": "https://cdn.net/icon2.png"
377
+ }
378
+ ]
379
+ }
@@ -1,4 +1,13 @@
1
1
  "use strict";
2
+ Object.defineProperty(exports, "__esModule", {
3
+ value: true
4
+ });
5
+ Object.defineProperty(exports, "default", {
6
+ enumerable: true,
7
+ get: function() {
8
+ return _default;
9
+ }
10
+ });
2
11
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
3
12
  const webpartManifest = {
4
13
  manifestVersion: 2,
@@ -9,7 +18,9 @@ const webpartManifest = {
9
18
  safeWithCustomScriptDisabled: true,
10
19
  disabledOnClassicSharepoint: true,
11
20
  loaderConfig: {
12
- internalModuleBaseUrls: ['https://cdn.net/'],
21
+ internalModuleBaseUrls: [
22
+ 'https://cdn.net/'
23
+ ],
13
24
  entryModuleId: 'main.bundle',
14
25
  scriptResources: {
15
26
  frameworkA: {
@@ -324,19 +335,26 @@ const webpartManifest = {
324
335
  type: 'path',
325
336
  path: 'nonAmdB.js',
326
337
  globalName: 'nonAmdB',
327
- globalDependencies: ['nonAmdB']
338
+ globalDependencies: [
339
+ 'nonAmdB'
340
+ ]
328
341
  }
329
342
  }
330
343
  },
331
344
  preconfiguredEntries: [
332
345
  {
333
- title: { default: 'asdf' },
334
- description: { default: 'asdf jkl' },
346
+ title: {
347
+ default: 'asdf'
348
+ },
349
+ description: {
350
+ default: 'asdf jkl'
351
+ },
335
352
  officeFabricIconFontName: 'chart',
336
353
  properties: {},
337
354
  groupId: '75e22ed5-fa14-4829-850a-c890608aca2d' // Communication and Collaboration
338
355
  }
339
356
  ]
340
357
  };
341
- module.exports = webpartManifest;
342
- //# sourceMappingURL=webpart_1.manifest.js.map
358
+ const _default = webpartManifest;
359
+
360
+ //#sourceMappingUrl=./webpart_1.manifest.js.map
@@ -1,4 +1,13 @@
1
1
  "use strict";
2
+ Object.defineProperty(exports, "__esModule", {
3
+ value: true
4
+ });
5
+ Object.defineProperty(exports, "default", {
6
+ enumerable: true,
7
+ get: function() {
8
+ return _default;
9
+ }
10
+ });
2
11
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
3
12
  const webpartManifest = {
4
13
  manifestVersion: 2,
@@ -8,7 +17,9 @@ const webpartManifest = {
8
17
  version: '0.0.1',
9
18
  requiresCustomScript: false,
10
19
  loaderConfig: {
11
- internalModuleBaseUrls: ['https://cdn.net/'],
20
+ internalModuleBaseUrls: [
21
+ 'https://cdn.net/'
22
+ ],
12
23
  entryModuleId: 'main.bundle',
13
24
  scriptResources: {
14
25
  frameworkA: {
@@ -323,41 +334,65 @@ const webpartManifest = {
323
334
  type: 'path',
324
335
  path: 'nonAmdB.js',
325
336
  globalName: 'nonAmdB',
326
- globalDependencies: ['nonAmdB']
337
+ globalDependencies: [
338
+ 'nonAmdB'
339
+ ]
327
340
  }
328
341
  }
329
342
  },
330
343
  preconfiguredEntries: [
331
344
  {
332
- title: { default: 'asdf' },
333
- description: { default: 'asdf jkl' },
345
+ title: {
346
+ default: 'asdf'
347
+ },
348
+ description: {
349
+ default: 'asdf jkl'
350
+ },
334
351
  iconImageUrl: 'https://contoso.com/chart.png',
335
352
  properties: {},
336
353
  groupId: '1bc7927e-4a5e-4520-b540-71305c79c20a' // Planning and Process
337
354
  },
338
355
  {
339
- title: { default: 'asdf', 'en-us': 'foobar' },
340
- description: { default: 'asdf jkl', 'en-us': 'asdf' },
356
+ title: {
357
+ default: 'asdf',
358
+ 'en-us': 'foobar'
359
+ },
360
+ description: {
361
+ default: 'asdf jkl',
362
+ 'en-us': 'asdf'
363
+ },
341
364
  iconImageUrl: 'https://contoso.com/chart.png',
342
365
  properties: {
343
366
  a: 'b',
344
367
  c: 'd'
345
368
  },
346
- group: { default: 'asdf' },
369
+ group: {
370
+ default: 'asdf'
371
+ },
347
372
  groupId: '0314dcd9-9acb-4ab2-886e-f8881ffb5192' // Customized Group
348
373
  },
349
374
  {
350
- title: { default: 'asdf', 'en-us': 'foobar' },
351
- description: { default: 'asdf jkl', 'en-us': 'asdf' },
375
+ title: {
376
+ default: 'asdf',
377
+ 'en-us': 'foobar'
378
+ },
379
+ description: {
380
+ default: 'asdf jkl',
381
+ 'en-us': 'asdf'
382
+ },
352
383
  iconImageUrl: 'https://contoso.com/chart.png',
353
384
  properties: {
354
385
  a: 'b',
355
386
  c: 'd'
356
387
  },
357
- group: { default: 'asdf', 'en-us': 'asdfasdf' },
388
+ group: {
389
+ default: 'asdf',
390
+ 'en-us': 'asdfasdf'
391
+ },
358
392
  groupId: '1db70b09-46dc-4fa1-9c97-dcce28dad5d9' // Customized Group
359
393
  }
360
394
  ]
361
395
  };
362
- module.exports = webpartManifest;
363
- //# sourceMappingURL=webpart_2.manifest.js.map
396
+ const _default = webpartManifest;
397
+
398
+ //#sourceMappingUrl=./webpart_2.manifest.js.map
@@ -98,6 +98,14 @@
98
98
  "type": "string",
99
99
  "enum": ["Dashboard"]
100
100
  }
101
+ },
102
+ "personalization": {
103
+ "description": "The scope of the personalization on how an AdaptiveCardExtension can be personalized by an end user.",
104
+ "type": "array",
105
+ "items": {
106
+ "type": "string",
107
+ "enum": ["Disallow", "Allow"]
108
+ }
101
109
  }
102
110
  },
103
111
  "additionalProperties": false
@@ -46,8 +46,8 @@
46
46
  "componentType": {
47
47
  "type": "string",
48
48
  "title": "Component Type",
49
- "description": "Type of client side component (\"Application\", \"Extension\", \"Library\", \"WebPart\", or \"AdaptiveCardExtension\"). Components with the \"Application\" type are defined by the \"IClientSideApplicationManifest\" interface; components with the \"WebPart\" type are defined by the \"IClientSideWebPartManifest\" interface; and so forth.",
50
- "enum": ["Application", "WebPart", "Library", "Extension", "AdaptiveCardExtension"]
49
+ "description": "Type of client side component (\"Application\", \"Prefab\", \"Extension\", \"Library\", \"WebPart\", or \"AdaptiveCardExtension\"). Components with the \"Application\" type are defined by the \"IClientSideApplicationManifest\" interface; components with the \"WebPart\" type are defined by the \"IClientSideWebPartManifest\" interface; and so forth.",
50
+ "enum": ["Application", "WebPart", "Library", "Extension", "AdaptiveCardExtension", "Prefab"]
51
51
  },
52
52
 
53
53
  "loadLegacyFabricCss": {
@@ -123,6 +123,9 @@
123
123
  },
124
124
  {
125
125
  "$ref": "client-side-assembly-manifest.schema.json"
126
+ },
127
+ {
128
+ "$ref": "prefab-app-manifest.schema.json"
126
129
  }
127
130
  ]
128
131
  }
@@ -143,6 +143,29 @@
143
143
  "type": "boolean",
144
144
  "title": "Allow to iframe pages from the same SharePoint tenant (domain)",
145
145
  "description": "If set to \"true\", this web part can have iframed pages from the same tenant (domain). The flag is only applicable to web parts that are hosted as Teams applications."
146
+ },
147
+ "flexibleLayoutSizing": {
148
+ "type": "object",
149
+ "title": "Flexible Layout Sizing Data",
150
+ "description": "Defines the default column width, row height, and dynamic resize support for the webpart when in a flexible layout.",
151
+ "properties": {
152
+ "supportsDynamicResizing": {
153
+ "type": "boolean",
154
+ "title": "Supports Dynamic Resizing",
155
+ "description": "If set to \"true\", this web part can resize to any width between minimum and total number of columns. Otherwise, it follows slot sizing logic."
156
+ },
157
+ "defaultColumnWidth": {
158
+ "type": "number",
159
+ "title": "Default Column Width",
160
+ "description": "The default width for the web part measured in number of flexible layout columns"
161
+ },
162
+ "defaultRowHeight": {
163
+ "type": "number",
164
+ "title": "Default Row Height",
165
+ "description": "The default height for the web part measured in number of flexible layout rows."
166
+ }
167
+ },
168
+ "additionalProperties": false
146
169
  }
147
170
  },
148
171
  "additionalProperties": false