@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.
- package/dist/index-internal-beta.d.ts +59 -1
- package/dist/index-internal-public.d.ts +53 -1
- package/dist/index-internal.d.ts +760 -15
- package/lib-commonjs/index.js +31 -28
- package/lib-commonjs/manifestHelpers.js +22 -19
- package/lib-commonjs/manifestSchemaValidator.js +100 -63
- package/lib-commonjs/manifestSchemas/IAdaptiveCardExtensionManifest.js +5 -2
- package/lib-commonjs/manifestSchemas/IClientSideApplicationManifest.js +5 -2
- package/lib-commonjs/manifestSchemas/IClientSideAssemblyManifest.js +5 -2
- package/lib-commonjs/manifestSchemas/IClientSideComponentLoaderConfiguration.js +11 -3
- package/lib-commonjs/manifestSchemas/IClientSideComponentManifest.js +5 -2
- package/lib-commonjs/manifestSchemas/IClientSideExtensionManifest.js +5 -2
- package/lib-commonjs/manifestSchemas/IClientSideLibraryManifest.js +5 -2
- package/lib-commonjs/manifestSchemas/IClientSideManifestBase.js +10 -3
- package/lib-commonjs/manifestSchemas/IClientSideMultiVersionManifest.js +5 -2
- package/lib-commonjs/manifestSchemas/IClientSideWebPartManifest.js +62 -67
- package/lib-commonjs/manifestSchemas/ICommandSetExtensionManifest.js +5 -2
- package/lib-commonjs/manifestSchemas/IPrefabAppManifest.js +6 -0
- package/lib-commonjs/manifestSchemas/ManifestType.js +18 -13
- package/lib-commonjs/manifestSchemas/examples/application_1.manifest.js +24 -6
- package/lib-commonjs/manifestSchemas/examples/application_2.manifest.js +28 -7
- package/lib-commonjs/manifestSchemas/examples/application_3.manifest.js +22 -5
- package/lib-commonjs/manifestSchemas/examples/assembly_1.manifest.js +18 -4
- package/lib-commonjs/manifestSchemas/examples/commandSet_1.manifest.js +15 -3
- package/lib-commonjs/manifestSchemas/examples/extension_1.manifest.js +15 -3
- package/lib-commonjs/manifestSchemas/examples/extension_2.manifest.js +15 -3
- package/lib-commonjs/manifestSchemas/examples/extension_3.manifest.js +15 -3
- package/lib-commonjs/manifestSchemas/examples/extension_4.manifest.js +15 -3
- package/lib-commonjs/manifestSchemas/examples/library_1.manifest.js +18 -4
- package/lib-commonjs/manifestSchemas/examples/multi-version_1.manifest.js +24 -6
- package/lib-commonjs/manifestSchemas/examples/prefab_1.manifest.js +354 -0
- package/lib-commonjs/manifestSchemas/examples/prefab_2.manifest.js +391 -0
- package/lib-commonjs/manifestSchemas/examples/prefabapp.manifest.json +379 -0
- package/lib-commonjs/manifestSchemas/examples/webpart_1.manifest.js +24 -6
- package/lib-commonjs/manifestSchemas/examples/webpart_2.manifest.js +47 -12
- package/lib-commonjs/manifestSchemas/jsonSchemas/adaptive-card-extension-manifest.schema.json +8 -0
- package/lib-commonjs/manifestSchemas/jsonSchemas/client-side-component-manifest.schema.json +5 -2
- package/lib-commonjs/manifestSchemas/jsonSchemas/client-side-web-part-manifest.schema.json +23 -0
- package/lib-commonjs/manifestSchemas/jsonSchemas/prefab-app-manifest.schema.json +176 -0
- package/lib-commonjs/manifestSchemas/remote/draft-04.schema.json +137 -0
- package/lib-commonjs/manifestSchemas/remote/site-design-script-actions.schema.json +1158 -0
- package/{lib-commonjs → lib-dts}/index.d.ts +1 -0
- package/{lib-commonjs → lib-dts}/manifestSchemaValidator.d.ts +4 -1
- package/{lib-commonjs → lib-dts}/manifestSchemas/IAdaptiveCardExtensionManifest.d.ts +6 -0
- package/{lib-commonjs → lib-dts}/manifestSchemas/IClientSideComponentManifest.d.ts +1 -1
- package/{lib-commonjs → lib-dts}/manifestSchemas/IClientSideWebPartManifest.d.ts +33 -0
- package/lib-dts/manifestSchemas/IPrefabAppManifest.d.ts +255 -0
- package/{lib-commonjs → lib-dts}/manifestSchemas/examples/application_1.manifest.d.ts +1 -1
- package/{lib-commonjs → lib-dts}/manifestSchemas/examples/application_2.manifest.d.ts +1 -1
- package/{lib-commonjs → lib-dts}/manifestSchemas/examples/application_3.manifest.d.ts +1 -1
- package/{lib-commonjs → lib-dts}/manifestSchemas/examples/assembly_1.manifest.d.ts +1 -1
- package/{lib-commonjs → lib-dts}/manifestSchemas/examples/commandSet_1.manifest.d.ts +1 -1
- package/{lib-commonjs → lib-dts}/manifestSchemas/examples/extension_1.manifest.d.ts +1 -1
- package/{lib-commonjs → lib-dts}/manifestSchemas/examples/extension_2.manifest.d.ts +1 -1
- package/{lib-commonjs → lib-dts}/manifestSchemas/examples/extension_3.manifest.d.ts +1 -1
- package/{lib-commonjs → lib-dts}/manifestSchemas/examples/extension_4.manifest.d.ts +1 -1
- package/{lib-commonjs → lib-dts}/manifestSchemas/examples/library_1.manifest.d.ts +1 -1
- package/{lib-commonjs → lib-dts}/manifestSchemas/examples/multi-version_1.manifest.d.ts +1 -1
- package/lib-dts/manifestSchemas/examples/prefab_1.manifest.d.ts +4 -0
- package/lib-dts/manifestSchemas/examples/prefab_2.manifest.d.ts +4 -0
- package/{lib-commonjs → lib-dts}/manifestSchemas/examples/webpart_1.manifest.d.ts +1 -1
- package/{lib-commonjs → lib-dts}/manifestSchemas/examples/webpart_2.manifest.d.ts +1 -1
- package/{dist → lib-dts}/tsdoc-metadata.json +1 -1
- package/lib-esm/index.js +15 -0
- package/lib-esm/manifestHelpers.js +21 -0
- package/lib-esm/manifestSchemaValidator.js +135 -0
- package/lib-esm/manifestSchemas/IAdaptiveCardExtensionManifest.js +9 -0
- package/lib-esm/manifestSchemas/IClientSideApplicationManifest.js +5 -0
- package/lib-esm/manifestSchemas/IClientSideAssemblyManifest.js +7 -0
- package/lib-esm/manifestSchemas/IClientSideComponentLoaderConfiguration.js +17 -0
- package/lib-esm/manifestSchemas/IClientSideComponentManifest.js +27 -0
- package/lib-esm/manifestSchemas/IClientSideExtensionManifest.js +7 -0
- package/lib-esm/manifestSchemas/IClientSideLibraryManifest.js +7 -0
- package/lib-esm/manifestSchemas/IClientSideManifestBase.js +7 -0
- package/lib-esm/manifestSchemas/IClientSideMultiVersionManifest.js +25 -0
- package/lib-esm/manifestSchemas/IClientSideWebPartManifest.js +62 -0
- package/lib-esm/manifestSchemas/ICommandSetExtensionManifest.js +8 -0
- package/lib-esm/manifestSchemas/IPrefabAppManifest.js +7 -0
- package/lib-esm/manifestSchemas/ManifestType.js +15 -0
- package/lib-esm/manifestSchemas/examples/application.manifest.json +346 -0
- package/lib-esm/manifestSchemas/examples/application_1.manifest.js +344 -0
- package/lib-esm/manifestSchemas/examples/application_2.manifest.js +47 -0
- package/lib-esm/manifestSchemas/examples/application_3.manifest.js +42 -0
- package/lib-esm/manifestSchemas/examples/assembly.manifest.json +331 -0
- package/lib-esm/manifestSchemas/examples/assembly_1.manifest.js +336 -0
- package/lib-esm/manifestSchemas/examples/commandSet_1.manifest.js +42 -0
- package/lib-esm/manifestSchemas/examples/commandset.manifest.json +38 -0
- package/lib-esm/manifestSchemas/examples/extension.manifest.json +20 -0
- package/lib-esm/manifestSchemas/examples/extension_1.manifest.js +25 -0
- package/lib-esm/manifestSchemas/examples/extension_2.manifest.js +24 -0
- package/lib-esm/manifestSchemas/examples/extension_3.manifest.js +23 -0
- package/lib-esm/manifestSchemas/examples/extension_4.manifest.js +23 -0
- package/lib-esm/manifestSchemas/examples/library.manifest.json +330 -0
- package/lib-esm/manifestSchemas/examples/library_1.manifest.js +335 -0
- package/lib-esm/manifestSchemas/examples/multi-version_1.manifest.js +673 -0
- package/lib-esm/manifestSchemas/examples/multi-version_1.manifest.json +336 -0
- package/lib-esm/manifestSchemas/examples/prefab_1.manifest.js +344 -0
- package/lib-esm/manifestSchemas/examples/prefab_2.manifest.js +381 -0
- package/lib-esm/manifestSchemas/examples/prefabapp.manifest.json +379 -0
- package/lib-esm/manifestSchemas/examples/webpart.manifest.json +380 -0
- package/lib-esm/manifestSchemas/examples/webpart_1.manifest.js +350 -0
- package/lib-esm/manifestSchemas/examples/webpart_2.manifest.js +388 -0
- package/lib-esm/manifestSchemas/jsonSchemas/adaptive-card-extension-manifest.schema.json +230 -0
- package/lib-esm/manifestSchemas/jsonSchemas/any-value.schema.json +8 -0
- package/lib-esm/manifestSchemas/jsonSchemas/client-side-application-manifest.schema.json +138 -0
- package/lib-esm/manifestSchemas/jsonSchemas/client-side-assembly-manifest.schema.json +45 -0
- package/lib-esm/manifestSchemas/jsonSchemas/client-side-component-loader-configuration.schema.json +273 -0
- package/lib-esm/manifestSchemas/jsonSchemas/client-side-component-manifest.schema.json +131 -0
- package/lib-esm/manifestSchemas/jsonSchemas/client-side-extension-manifest.schema.json +61 -0
- package/lib-esm/manifestSchemas/jsonSchemas/client-side-library-manifest.schema.json +39 -0
- package/lib-esm/manifestSchemas/jsonSchemas/client-side-manifest-base.schema.json +25 -0
- package/lib-esm/manifestSchemas/jsonSchemas/client-side-multi-version-manifest.schema.json +118 -0
- package/lib-esm/manifestSchemas/jsonSchemas/client-side-web-part-manifest.schema.json +348 -0
- package/lib-esm/manifestSchemas/jsonSchemas/command-set-extension-manifest.schema.json +81 -0
- package/lib-esm/manifestSchemas/jsonSchemas/guid.schema.json +6 -0
- package/lib-esm/manifestSchemas/jsonSchemas/localized-string.schema.json +33 -0
- package/lib-esm/manifestSchemas/jsonSchemas/prefab-app-manifest.schema.json +176 -0
- package/lib-esm/manifestSchemas/jsonSchemas/semver.schema.json +8 -0
- package/lib-esm/manifestSchemas/remote/draft-04.schema.json +137 -0
- package/lib-esm/manifestSchemas/remote/site-design-script-actions.schema.json +1158 -0
- package/package.json +32 -11
- package/lib-commonjs/index.d.ts.map +0 -1
- package/lib-commonjs/manifestHelpers.d.ts.map +0 -1
- package/lib-commonjs/manifestSchemaValidator.d.ts.map +0 -1
- package/lib-commonjs/manifestSchemas/IAdaptiveCardExtensionManifest.d.ts.map +0 -1
- package/lib-commonjs/manifestSchemas/IClientSideApplicationManifest.d.ts.map +0 -1
- package/lib-commonjs/manifestSchemas/IClientSideAssemblyManifest.d.ts.map +0 -1
- package/lib-commonjs/manifestSchemas/IClientSideComponentLoaderConfiguration.d.ts.map +0 -1
- package/lib-commonjs/manifestSchemas/IClientSideComponentManifest.d.ts.map +0 -1
- package/lib-commonjs/manifestSchemas/IClientSideExtensionManifest.d.ts.map +0 -1
- package/lib-commonjs/manifestSchemas/IClientSideLibraryManifest.d.ts.map +0 -1
- package/lib-commonjs/manifestSchemas/IClientSideManifestBase.d.ts.map +0 -1
- package/lib-commonjs/manifestSchemas/IClientSideMultiVersionManifest.d.ts.map +0 -1
- package/lib-commonjs/manifestSchemas/IClientSideWebPartManifest.d.ts.map +0 -1
- package/lib-commonjs/manifestSchemas/ICommandSetExtensionManifest.d.ts.map +0 -1
- package/lib-commonjs/manifestSchemas/ManifestType.d.ts.map +0 -1
- package/lib-commonjs/manifestSchemas/examples/application_1.manifest.d.ts.map +0 -1
- package/lib-commonjs/manifestSchemas/examples/application_2.manifest.d.ts.map +0 -1
- package/lib-commonjs/manifestSchemas/examples/application_3.manifest.d.ts.map +0 -1
- package/lib-commonjs/manifestSchemas/examples/assembly_1.manifest.d.ts.map +0 -1
- package/lib-commonjs/manifestSchemas/examples/commandSet_1.manifest.d.ts.map +0 -1
- package/lib-commonjs/manifestSchemas/examples/extension_1.manifest.d.ts.map +0 -1
- package/lib-commonjs/manifestSchemas/examples/extension_2.manifest.d.ts.map +0 -1
- package/lib-commonjs/manifestSchemas/examples/extension_3.manifest.d.ts.map +0 -1
- package/lib-commonjs/manifestSchemas/examples/extension_4.manifest.d.ts.map +0 -1
- package/lib-commonjs/manifestSchemas/examples/library_1.manifest.d.ts.map +0 -1
- package/lib-commonjs/manifestSchemas/examples/multi-version_1.manifest.d.ts.map +0 -1
- package/lib-commonjs/manifestSchemas/examples/webpart_1.manifest.d.ts.map +0 -1
- package/lib-commonjs/manifestSchemas/examples/webpart_2.manifest.d.ts.map +0 -1
- /package/{lib-commonjs → lib-dts}/manifestHelpers.d.ts +0 -0
- /package/{lib-commonjs → lib-dts}/manifestSchemas/IClientSideApplicationManifest.d.ts +0 -0
- /package/{lib-commonjs → lib-dts}/manifestSchemas/IClientSideAssemblyManifest.d.ts +0 -0
- /package/{lib-commonjs → lib-dts}/manifestSchemas/IClientSideComponentLoaderConfiguration.d.ts +0 -0
- /package/{lib-commonjs → lib-dts}/manifestSchemas/IClientSideExtensionManifest.d.ts +0 -0
- /package/{lib-commonjs → lib-dts}/manifestSchemas/IClientSideLibraryManifest.d.ts +0 -0
- /package/{lib-commonjs → lib-dts}/manifestSchemas/IClientSideManifestBase.d.ts +0 -0
- /package/{lib-commonjs → lib-dts}/manifestSchemas/IClientSideMultiVersionManifest.d.ts +0 -0
- /package/{lib-commonjs → lib-dts}/manifestSchemas/ICommandSetExtensionManifest.d.ts +0 -0
- /package/{lib-commonjs → lib-dts}/manifestSchemas/ManifestType.d.ts +0 -0
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This interface describes how a client-side component is to be loaded and initialized by a SharePoint client
|
|
3
|
+
* framework. It contains all data for loading an entrypoint script and its dependency scripts.
|
|
4
|
+
*
|
|
5
|
+
* @beta
|
|
6
|
+
*/ /**
|
|
7
|
+
* This is the interface for a script module with the "localizedPath" type.
|
|
8
|
+
*
|
|
9
|
+
* @remarks
|
|
10
|
+
* Modules of this type must be provided by the component developer. These script resources are similar to those of
|
|
11
|
+
* the "path" type, but they may be present at a number of different paths, to be selected by the user's locale.
|
|
12
|
+
* Paths in this module type are loaded exactly the same way as "internal" modules are.
|
|
13
|
+
*
|
|
14
|
+
* @beta
|
|
15
|
+
*/ export { };
|
|
16
|
+
|
|
17
|
+
//#sourceMappingUrl=./IClientSideComponentLoaderConfiguration.js.map
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* All client-side components built on the SharePoint framework need a valid component manifest. This interface
|
|
3
|
+
* represents properties that are required by all types of client-side components like Applications and Web Parts.
|
|
4
|
+
* Component specific manifests will extend this interface to add properties required by that component type.
|
|
5
|
+
*
|
|
6
|
+
* @remarks
|
|
7
|
+
*
|
|
8
|
+
* The schema of this manifest is owned and versioned by Microsoft. Following rules should be followed while changing
|
|
9
|
+
* this schema. This set of rules can also be called the "manifest upgrade rules".
|
|
10
|
+
*
|
|
11
|
+
* - For minor changes, new properties can be added to this schema in a backwards-compatible way. i.e. the code
|
|
12
|
+
* that processes the manifest should be able to handle the absence of those new properties.
|
|
13
|
+
*
|
|
14
|
+
* - Try to model your changes as minor SemVer increments. Major version changes should be avoided because they
|
|
15
|
+
* impose a migration cost on developers.
|
|
16
|
+
*
|
|
17
|
+
* - The `'manifestVersion'` should be bumped for all small or big changes.
|
|
18
|
+
*
|
|
19
|
+
* @privateRemarks
|
|
20
|
+
*
|
|
21
|
+
* This schema should be at all times kept in sync with the server-side code file
|
|
22
|
+
* SPClientSideComponentManifest.cs.
|
|
23
|
+
*
|
|
24
|
+
* @public
|
|
25
|
+
*/ export { };
|
|
26
|
+
|
|
27
|
+
//#sourceMappingUrl=./IClientSideComponentManifest.js.map
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Multi-version manifests are defined by this interface.
|
|
3
|
+
*
|
|
4
|
+
* @remarks
|
|
5
|
+
*
|
|
6
|
+
* The schema of this manifest is owned and versioned by Microsoft. Following rules should be followed while changing
|
|
7
|
+
* this schema. This set of rules can also be called the "manifest upgrade rules".
|
|
8
|
+
*
|
|
9
|
+
* - For minor changes, new properties can be added to this schema in a backwards-compatible way. i.e. the code
|
|
10
|
+
* that processes the manifest should be able to handle the absence of those new properties.
|
|
11
|
+
*
|
|
12
|
+
* - Try to model your changes as minor SemVer increments. Major version changes should be avoided because they
|
|
13
|
+
* impose a migration cost on developers.
|
|
14
|
+
*
|
|
15
|
+
* - The 'manifestVersion' should be bumped for all small or big changes.
|
|
16
|
+
*
|
|
17
|
+
* @privateRemarks
|
|
18
|
+
*
|
|
19
|
+
* This schema should be at all times kept in sync with the server-side code file
|
|
20
|
+
* SPClientSideMultiVersionManifest.cs.
|
|
21
|
+
*
|
|
22
|
+
* @alpha
|
|
23
|
+
*/ export { };
|
|
24
|
+
|
|
25
|
+
//#sourceMappingUrl=./IClientSideMultiVersionManifest.js.map
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
export var PredefinedGroup;
|
|
2
|
+
(function(PredefinedGroup) {
|
|
3
|
+
/**
|
|
4
|
+
* Text, media and content.
|
|
5
|
+
*
|
|
6
|
+
* This group includes web parts that display text, multi-media, documents, information from the web, and other
|
|
7
|
+
* rich content.
|
|
8
|
+
*
|
|
9
|
+
* @beta
|
|
10
|
+
*/ PredefinedGroup["TextMediaAndContent"] = "cf066440-0614-43d6-98ae-0b31cf14c7c3";
|
|
11
|
+
/**
|
|
12
|
+
* Discovery.
|
|
13
|
+
*
|
|
14
|
+
* This group includes web parts that organize, group, and filter content to help users discover information.
|
|
15
|
+
*
|
|
16
|
+
* @beta
|
|
17
|
+
*/ PredefinedGroup["DocumentsListsAndLibraries"] = "1edbd9a8-0bfb-4aa2-9afd-14b8c45dd489";
|
|
18
|
+
/**
|
|
19
|
+
* Communication and collaboration.
|
|
20
|
+
*
|
|
21
|
+
* This group includes web parts that facilitate information sharing, team work, and social interactions.
|
|
22
|
+
*
|
|
23
|
+
* @beta
|
|
24
|
+
*/ PredefinedGroup["Feeds"] = "75e22ed5-fa14-4829-850a-c890608aca2d";
|
|
25
|
+
/**
|
|
26
|
+
* Planning and process.
|
|
27
|
+
*
|
|
28
|
+
* This group includes web parts that empower team productivity with the use of planning and process tools.
|
|
29
|
+
*
|
|
30
|
+
* @beta
|
|
31
|
+
*/ PredefinedGroup["NewsPeopleAndEvents"] = "1bc7927e-4a5e-4520-b540-71305c79c20a";
|
|
32
|
+
/**
|
|
33
|
+
* Business and intelligence.
|
|
34
|
+
*
|
|
35
|
+
* This group includes web parts for tracking and analyzing data, and for integrating business flow with pages.
|
|
36
|
+
*
|
|
37
|
+
* @beta
|
|
38
|
+
*/ PredefinedGroup["DataAnalysis"] = "4aca9e90-eff5-4fa1-bac7-728f5f157b66";
|
|
39
|
+
/**
|
|
40
|
+
* Regional information
|
|
41
|
+
*
|
|
42
|
+
* This group includes web parts that display information based on current region and geographical location
|
|
43
|
+
*
|
|
44
|
+
* @beta
|
|
45
|
+
*/ PredefinedGroup["RegionalInformation"] = "cfc8bda5-cb9b-49e3-8526-2ee6e52b256a";
|
|
46
|
+
/**
|
|
47
|
+
* Other.
|
|
48
|
+
*
|
|
49
|
+
* This group includes web parts not in other groups.
|
|
50
|
+
*
|
|
51
|
+
* @beta
|
|
52
|
+
*/ PredefinedGroup["Advanced"] = "5c03119e-3074-46fd-976b-c60198311f70";
|
|
53
|
+
/**
|
|
54
|
+
* Other.
|
|
55
|
+
*
|
|
56
|
+
* This group includes local web parts.
|
|
57
|
+
*
|
|
58
|
+
* @beta
|
|
59
|
+
*/ PredefinedGroup["Local"] = "8b7bf6f1-a56a-4aa3-8657-7eb6e7e6af61";
|
|
60
|
+
})(PredefinedGroup || (PredefinedGroup = {}));
|
|
61
|
+
|
|
62
|
+
//#sourceMappingUrl=./IClientSideWebPartManifest.js.map
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The type of the manifest.
|
|
3
|
+
*
|
|
4
|
+
* @alpha
|
|
5
|
+
*/ export var ManifestType;
|
|
6
|
+
(function(ManifestType) {
|
|
7
|
+
/**
|
|
8
|
+
* The component manifest type.
|
|
9
|
+
*/ ManifestType["component"] = "Component";
|
|
10
|
+
/**
|
|
11
|
+
* The container manifest type. This is used for manifests that contain other manifests, like multiversion manifests.
|
|
12
|
+
*/ ManifestType["container"] = "Container";
|
|
13
|
+
})(ManifestType || (ManifestType = {}));
|
|
14
|
+
|
|
15
|
+
//#sourceMappingUrl=./ManifestType.js.map
|
|
@@ -0,0 +1,346 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "./../jsonSchemas/client-side-component-manifest.schema.json",
|
|
3
|
+
|
|
4
|
+
"manifestVersion": 2,
|
|
5
|
+
"componentType": "Application",
|
|
6
|
+
"id": "00000000-0000-0000-0000-000000000000",
|
|
7
|
+
"alias": "Application",
|
|
8
|
+
"version": "*",
|
|
9
|
+
"loaderConfig": {
|
|
10
|
+
"internalModuleBaseUrls": ["https://cdn.net/"],
|
|
11
|
+
"entryModuleId": "main.bundle",
|
|
12
|
+
"scriptResources": {
|
|
13
|
+
"frameworkA": {
|
|
14
|
+
"type": "component",
|
|
15
|
+
"id": "00000000-0000-0000-0000-000000000000",
|
|
16
|
+
"version": "1.2.3"
|
|
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
|
+
"preloadOptions": {
|
|
330
|
+
"shouldPreloadWeb": true,
|
|
331
|
+
"shouldPreloadUser": true,
|
|
332
|
+
"shouldPreloadList": true,
|
|
333
|
+
"shouldPreloadItem": true,
|
|
334
|
+
"shouldPreloadQuickLaunch": true,
|
|
335
|
+
"preloadListItemQueryOption": "query"
|
|
336
|
+
},
|
|
337
|
+
"preloadComponents": ["framework1", "framework2"],
|
|
338
|
+
"title": {
|
|
339
|
+
"default": "Hello World",
|
|
340
|
+
"en-us": "ABC123",
|
|
341
|
+
"fr-fr": "123ABC"
|
|
342
|
+
},
|
|
343
|
+
"description": {
|
|
344
|
+
"default": "Hello, World!"
|
|
345
|
+
}
|
|
346
|
+
}
|