@microsoft/sp-module-interfaces 1.21.0-beta.0 → 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 +15 -3
- package/dist/index-internal-public.d.ts +47 -2
- package/dist/index-internal.d.ts +15 -3
- package/lib-commonjs/index.js +31 -29
- package/lib-commonjs/manifestHelpers.js +22 -19
- package/lib-commonjs/manifestSchemaValidator.js +70 -84
- 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 +5 -2
- 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 +27 -7
- package/lib-commonjs/manifestSchemas/examples/prefab_2.manifest.js +61 -9
- package/lib-commonjs/manifestSchemas/examples/prefabapp.manifest.json +37 -3
- 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/prefab-app-manifest.schema.json +107 -3
- package/{lib-commonjs → lib-dts}/manifestSchemaValidator.d.ts +1 -1
- package/{lib-commonjs → lib-dts}/manifestSchemas/IClientSideWebPartManifest.d.ts +1 -3
- 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-commonjs → lib-dts}/manifestSchemas/examples/prefab_1.manifest.d.ts +1 -1
- package/{lib-commonjs → lib-dts}/manifestSchemas/examples/prefab_2.manifest.d.ts +1 -1
- 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 +27 -7
- 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/IPrefabAppManifest.d.ts +0 -76
- package/lib-commonjs/manifestSchemas/IPrefabAppManifest.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/prefab_1.manifest.d.ts.map +0 -1
- package/lib-commonjs/manifestSchemas/examples/prefab_2.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}/index.d.ts +0 -0
- /package/{lib-commonjs → lib-dts}/manifestHelpers.d.ts +0 -0
- /package/{lib-commonjs → lib-dts}/manifestSchemas/IAdaptiveCardExtensionManifest.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/IClientSideComponentManifest.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,138 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "client-side-application-manifest.schema.json",
|
|
3
|
+
"title": "Client-side application manifest",
|
|
4
|
+
"description": "A client-side application is the architectural component that manages the appearance and behavior of an entire web page.",
|
|
5
|
+
|
|
6
|
+
"type": "object",
|
|
7
|
+
"allOf": [
|
|
8
|
+
{
|
|
9
|
+
"type": "object",
|
|
10
|
+
|
|
11
|
+
"properties": {
|
|
12
|
+
"$schema": { "type": "string" },
|
|
13
|
+
|
|
14
|
+
"manifestVersion": { "$ref": "any-value.schema.json" },
|
|
15
|
+
"id": { "$ref": "any-value.schema.json" },
|
|
16
|
+
"alias": { "$ref": "any-value.schema.json" },
|
|
17
|
+
"version": { "$ref": "any-value.schema.json" },
|
|
18
|
+
"loaderConfig": { "$ref": "any-value.schema.json" },
|
|
19
|
+
"componentType": { "$ref": "any-value.schema.json" },
|
|
20
|
+
"preloadOptions": { "$ref": "any-value.schema.json" },
|
|
21
|
+
"title": { "$ref": "any-value.schema.json" },
|
|
22
|
+
"description": { "$ref": "any-value.schema.json" },
|
|
23
|
+
"preloadComponents": { "$ref": "any-value.schema.json" },
|
|
24
|
+
"assemblyId": { "$ref": "any-value.schema.json" },
|
|
25
|
+
"safeWithCustomScriptDisabled": { "$ref": "any-value.schema.json" },
|
|
26
|
+
"requiresCustomScript": { "$ref": "any-value.schema.json" },
|
|
27
|
+
"hasSuiteNav": { "$ref": "any-value.schema.json" },
|
|
28
|
+
"experimentalData": {
|
|
29
|
+
"type": "object",
|
|
30
|
+
"title": "Experimental property bag",
|
|
31
|
+
"description": "Only use for properties not ready for production."
|
|
32
|
+
}
|
|
33
|
+
},
|
|
34
|
+
"additionalProperties": false
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
"$ref": "client-side-component-manifest.schema.json#/definitions/clientSideComponentManifest"
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
"type": "object",
|
|
41
|
+
"required": ["preloadOptions", "componentType", "title", "description"],
|
|
42
|
+
"properties": {
|
|
43
|
+
"componentType": {
|
|
44
|
+
"type": "string",
|
|
45
|
+
"enum": ["Application"]
|
|
46
|
+
},
|
|
47
|
+
|
|
48
|
+
"preloadOptions": {
|
|
49
|
+
"title": "Preload Options",
|
|
50
|
+
"description": "Represents flags to preload information in host aspx page.",
|
|
51
|
+
"type": "object",
|
|
52
|
+
"properties": {
|
|
53
|
+
"shouldPreloadWeb": {
|
|
54
|
+
"title": "Should Preload Web",
|
|
55
|
+
"description": "A value indicating whether or not to preload the web object when loading the application page. If not present, defaults to false.",
|
|
56
|
+
"type": "boolean"
|
|
57
|
+
},
|
|
58
|
+
|
|
59
|
+
"shouldPreloadUser": {
|
|
60
|
+
"title": "Should Preload User",
|
|
61
|
+
"description": "A value indicating whether or not to preload the user object when loading the application page. If not present, defaults to false.",
|
|
62
|
+
"type": "boolean"
|
|
63
|
+
},
|
|
64
|
+
|
|
65
|
+
"shouldPreloadList": {
|
|
66
|
+
"title": "Should Preload List",
|
|
67
|
+
"description": "A value indicating whether or not to preload the list object when loading the application page. If not present, defaults to false.",
|
|
68
|
+
"type": "boolean"
|
|
69
|
+
},
|
|
70
|
+
|
|
71
|
+
"shouldPreloadItem": {
|
|
72
|
+
"title": "Should Preload List Item",
|
|
73
|
+
"description": "A value indicating whether or not to preload the list item object when loading the application page. If not present, defaults to false.",
|
|
74
|
+
"type": "boolean"
|
|
75
|
+
},
|
|
76
|
+
|
|
77
|
+
"shouldPreloadQuickLaunch": {
|
|
78
|
+
"title": "Should Preload Quick Launch",
|
|
79
|
+
"description": "A value indicating whether or not to preload the quick launch navigation menu items when loading the application page. If not present, defaults to false.",
|
|
80
|
+
"type": "boolean"
|
|
81
|
+
},
|
|
82
|
+
|
|
83
|
+
"preloadListItemQueryOption": {
|
|
84
|
+
"title": "Preload List Item Query Options",
|
|
85
|
+
"description": "This specifies an optional OData query expression with the syntax that would be used in the URL query parameter for a REST API call that fetches a SharePoint list item.",
|
|
86
|
+
"type": "string"
|
|
87
|
+
},
|
|
88
|
+
|
|
89
|
+
"preloadListItemQueryOptionOverride": {
|
|
90
|
+
"title": "Preload List Item Query Options (flighted)",
|
|
91
|
+
"description": "This specifies an optional OData query expression with the syntax that would be used in the URL query parameter for a REST API call that fetches a SharePoint list item.",
|
|
92
|
+
"type": "string"
|
|
93
|
+
},
|
|
94
|
+
|
|
95
|
+
"preloadListItemProperties": {
|
|
96
|
+
"title": "Preload List Item Properties",
|
|
97
|
+
"description": "This specifies what to fetch from a SharePoint list item Properties property.",
|
|
98
|
+
"type": "array",
|
|
99
|
+
"uniqueItems": true,
|
|
100
|
+
"minItems": 0,
|
|
101
|
+
"items": {
|
|
102
|
+
"type": "string",
|
|
103
|
+
"minLength": 0
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
},
|
|
107
|
+
|
|
108
|
+
"additionalProperties": false
|
|
109
|
+
},
|
|
110
|
+
|
|
111
|
+
"title": {
|
|
112
|
+
"title": "Title",
|
|
113
|
+
"description": "Title of the application as a dictionary of locale keys to title values. This value will be displayed to the user in the (page creation) interface. A dictionary must contain a \"default\" key.",
|
|
114
|
+
"$ref": "localized-string.schema.json"
|
|
115
|
+
},
|
|
116
|
+
|
|
117
|
+
"description": {
|
|
118
|
+
"title": "Description",
|
|
119
|
+
"description": "Description of the application represented as a dictionary of locale keys to description values. This value will be displayed to the user in the (page creation) interface. A dictionary must contain a \"default\" key.",
|
|
120
|
+
"$ref": "localized-string.schema.json"
|
|
121
|
+
},
|
|
122
|
+
|
|
123
|
+
"assemblyId": {
|
|
124
|
+
"title": "Assembly id",
|
|
125
|
+
"description": "Id of the preferred assembly to use to load the application. If no assembly id is provided SPFx will be loaded with the default assembly.",
|
|
126
|
+
"$ref": "guid.schema.json"
|
|
127
|
+
},
|
|
128
|
+
"hasSuiteNav": {
|
|
129
|
+
"title": "Has suite nav",
|
|
130
|
+
"description": "True if the application has a suite nav.",
|
|
131
|
+
"type": "boolean"
|
|
132
|
+
}
|
|
133
|
+
},
|
|
134
|
+
|
|
135
|
+
"additionalProperties": true
|
|
136
|
+
}
|
|
137
|
+
]
|
|
138
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "client-side-assembly-manifest.schema.json",
|
|
3
|
+
"title": "Client-side assembly manifest",
|
|
4
|
+
"description": "A client-side assembly is a standalone-executable bundle containing a component, the loader, and all of their dependencies.",
|
|
5
|
+
|
|
6
|
+
"type": "object",
|
|
7
|
+
"allOf": [
|
|
8
|
+
{
|
|
9
|
+
"type": "object",
|
|
10
|
+
"properties": {
|
|
11
|
+
"$schema": { "type": "string" },
|
|
12
|
+
|
|
13
|
+
"manifestVersion": { "$ref": "any-value.schema.json" },
|
|
14
|
+
"id": { "$ref": "any-value.schema.json" },
|
|
15
|
+
"alias": { "$ref": "any-value.schema.json" },
|
|
16
|
+
"version": { "$ref": "any-value.schema.json" },
|
|
17
|
+
"loaderConfig": { "$ref": "any-value.schema.json" },
|
|
18
|
+
"componentType": { "$ref": "any-value.schema.json" },
|
|
19
|
+
"rootComponentId": { "$ref": "any-value.schema.json" }
|
|
20
|
+
},
|
|
21
|
+
"additionalProperties": false
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"$ref": "client-side-component-manifest.schema.json#/definitions/clientSideComponentManifest"
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"type": "object",
|
|
28
|
+
"required": ["componentType", "rootComponentId"],
|
|
29
|
+
"properties": {
|
|
30
|
+
"componentType": {
|
|
31
|
+
"type": "string",
|
|
32
|
+
"enum": ["Library"]
|
|
33
|
+
},
|
|
34
|
+
|
|
35
|
+
"rootComponentId": {
|
|
36
|
+
"$ref": "guid.schema.json",
|
|
37
|
+
"title": "ID",
|
|
38
|
+
"description": "The ID of the component from which the assembly is built."
|
|
39
|
+
}
|
|
40
|
+
},
|
|
41
|
+
|
|
42
|
+
"additionalProperties": true
|
|
43
|
+
}
|
|
44
|
+
]
|
|
45
|
+
}
|
package/lib-esm/manifestSchemas/jsonSchemas/client-side-component-loader-configuration.schema.json
ADDED
|
@@ -0,0 +1,273 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "client-side-component-loader-configuration.schema.json",
|
|
3
|
+
"title": "Client-side component manifest",
|
|
4
|
+
"description": "All client side components built on the SharePoint framework need a valid component manifest. This interface represents properties that are required by all types of client side components like Applications and Web Parts. Component specific manifests will extend this interface to add properties required by that component type.",
|
|
5
|
+
|
|
6
|
+
"definitions": {
|
|
7
|
+
"moduleConfiguration": {
|
|
8
|
+
"id": "moduleConfiguration",
|
|
9
|
+
"type": "object",
|
|
10
|
+
"title": "Module Configuration",
|
|
11
|
+
"description": "This is the base interface for a script module's definition.",
|
|
12
|
+
|
|
13
|
+
"required": ["type"],
|
|
14
|
+
"properties": {
|
|
15
|
+
"type": {
|
|
16
|
+
"type": "string",
|
|
17
|
+
"enum": ["component", "path", "localizedPath"]
|
|
18
|
+
},
|
|
19
|
+
|
|
20
|
+
"shouldNotPreload": {
|
|
21
|
+
"type": "boolean",
|
|
22
|
+
"title": "Should Not Preload",
|
|
23
|
+
"description": "If set to \"true\", this module should not be preloaded when loading the component."
|
|
24
|
+
}
|
|
25
|
+
},
|
|
26
|
+
|
|
27
|
+
"additionalProperties": true
|
|
28
|
+
},
|
|
29
|
+
|
|
30
|
+
"path": {
|
|
31
|
+
"oneOf": [
|
|
32
|
+
{
|
|
33
|
+
"type": "object",
|
|
34
|
+
"additionalProperties": false,
|
|
35
|
+
"required": ["path"],
|
|
36
|
+
"properties": {
|
|
37
|
+
"path": {
|
|
38
|
+
"type": "string",
|
|
39
|
+
"title": "Path",
|
|
40
|
+
"description": "The path to the resource."
|
|
41
|
+
},
|
|
42
|
+
"integrity": {
|
|
43
|
+
"type": "string",
|
|
44
|
+
"title": "Integrity",
|
|
45
|
+
"description": "The subresource integrity hash of the resource referenced in \"path\"."
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
"type": "string"
|
|
51
|
+
}
|
|
52
|
+
]
|
|
53
|
+
}
|
|
54
|
+
},
|
|
55
|
+
|
|
56
|
+
"oneOf": [
|
|
57
|
+
{
|
|
58
|
+
"type": "object",
|
|
59
|
+
"required": ["internalModuleBaseUrls"],
|
|
60
|
+
"properties": {
|
|
61
|
+
"internalModuleBaseUrls": {
|
|
62
|
+
"type": "array",
|
|
63
|
+
"title": "Internal Module Base URLs",
|
|
64
|
+
"description": "This is an array of fully-qualified paths to be prepended to each of the script resource paths with the \"internal\" or \"localized\" type. If one fails to load, the loader will attempt to load from the next until there are no base paths remaining. All \"internal\" and \"localized\" script resources that do not have fully-qualified URLs as their \"path\" field values must be hosted under each of the paths listed in this property.",
|
|
65
|
+
"minItems": 1,
|
|
66
|
+
"items": {
|
|
67
|
+
"type": "string",
|
|
68
|
+
"minLength": 10
|
|
69
|
+
}
|
|
70
|
+
},
|
|
71
|
+
|
|
72
|
+
"entryModuleId": {
|
|
73
|
+
"type": "string",
|
|
74
|
+
"title": "Entry Module ID",
|
|
75
|
+
"description": "This is the ID of one of the entries in the \"scriptResources\" dictionary. The loader will download and evaluate the script resource referenced in this field, resolve all dependencies against the keys in the \"scriptResources\", and return the exported object to the loader's calling function. The entry referenced in the \"scriptResources\" dictionary must be of the \"internal\" or the \"localized\" type.",
|
|
76
|
+
"minLength": 1,
|
|
77
|
+
"maxLength": 100
|
|
78
|
+
},
|
|
79
|
+
|
|
80
|
+
"exportName": {
|
|
81
|
+
"type": "string",
|
|
82
|
+
"title": "Export Name",
|
|
83
|
+
"description": "This value points to a top-level field from the entryModuleId module's export. If this parameter is set, the field referenced in the entryModuleId module's export is returned by the module loader when this manifest is loaded, instead of the top-level export.",
|
|
84
|
+
"minLength": 1,
|
|
85
|
+
"maxLength": 100
|
|
86
|
+
},
|
|
87
|
+
|
|
88
|
+
"scriptResources": {
|
|
89
|
+
"type": "object",
|
|
90
|
+
"title": "Script Resources",
|
|
91
|
+
"description": "This is a dictionary of named script resources. \"internal\" and \"localized\" modules may reference each other and \"framework\" modules are expected to be provided by the framework runtime. The resource named in the \"entryModuleId\" must contain the component's exported object.",
|
|
92
|
+
"minProperties": 1,
|
|
93
|
+
"patternProperties": {
|
|
94
|
+
".{1,}": {
|
|
95
|
+
"oneOf": [
|
|
96
|
+
{
|
|
97
|
+
"title": "Framework Module Configuration",
|
|
98
|
+
"description": "This is the interface for a script module with the \"framework\" type. Modules of this type will be provided by the framework runtime. The key in the \"scriptResources\" dictionary must be the name of a standard framework library.",
|
|
99
|
+
"type": "object",
|
|
100
|
+
"allOf": [
|
|
101
|
+
{
|
|
102
|
+
"type": "object",
|
|
103
|
+
"properties": {
|
|
104
|
+
"type": { "$ref": "any-value.schema.json" },
|
|
105
|
+
"shouldNotPreload": { "$ref": "any-value.schema.json" },
|
|
106
|
+
"version": { "$ref": "any-value.schema.json" },
|
|
107
|
+
"id": { "$ref": "any-value.schema.json" },
|
|
108
|
+
"failoverPath": { "$ref": "any-value.schema.json" }
|
|
109
|
+
},
|
|
110
|
+
"additionalProperties": false
|
|
111
|
+
},
|
|
112
|
+
{
|
|
113
|
+
"$ref": "#/definitions/moduleConfiguration"
|
|
114
|
+
},
|
|
115
|
+
{
|
|
116
|
+
"type": "object",
|
|
117
|
+
"required": ["type", "version", "id"],
|
|
118
|
+
"properties": {
|
|
119
|
+
"type": {
|
|
120
|
+
"type": "string",
|
|
121
|
+
"enum": ["component"]
|
|
122
|
+
},
|
|
123
|
+
|
|
124
|
+
"version": {
|
|
125
|
+
"title": "Version",
|
|
126
|
+
"description": "The version of the framework-supplied component to be loaded. For framework runtime component such as \"@microsoft/sp-client-base,\" it is recommended the version of the framework component the component was developed against be specified.",
|
|
127
|
+
"oneOf": [
|
|
128
|
+
{
|
|
129
|
+
"$ref": "semver.schema.json"
|
|
130
|
+
},
|
|
131
|
+
{
|
|
132
|
+
"type": "string",
|
|
133
|
+
"enum": ["latest"]
|
|
134
|
+
}
|
|
135
|
+
]
|
|
136
|
+
},
|
|
137
|
+
|
|
138
|
+
"id": {
|
|
139
|
+
"title": "ID",
|
|
140
|
+
"description": "The ID of the framework-supplied component to be loaded.",
|
|
141
|
+
"$ref": "guid.schema.json"
|
|
142
|
+
},
|
|
143
|
+
|
|
144
|
+
"failoverPath": {
|
|
145
|
+
"title": "Failover Path",
|
|
146
|
+
"description": "A path to the framework-supplied module in case the framework fails to load the requested version. This must be either a fully-qualified URL, or a path under the paths specified in the \"internalModuleBaseUrls\" field. If this field is not specified and the version is not available in the framework runtime, the closest matching version of the module will be provided instead.",
|
|
147
|
+
"$ref": "#/definitions/path"
|
|
148
|
+
}
|
|
149
|
+
},
|
|
150
|
+
"additionalProperties": true
|
|
151
|
+
}
|
|
152
|
+
]
|
|
153
|
+
},
|
|
154
|
+
|
|
155
|
+
{
|
|
156
|
+
"title": "Internal Module Configuration",
|
|
157
|
+
"description": "This is the interface for a script module with the \"internal\" type. Modules of this type must be provided by the component developer.",
|
|
158
|
+
"type": "object",
|
|
159
|
+
"allOf": [
|
|
160
|
+
{
|
|
161
|
+
"type": "object",
|
|
162
|
+
"properties": {
|
|
163
|
+
"type": { "$ref": "any-value.schema.json" },
|
|
164
|
+
"shouldNotPreload": { "$ref": "any-value.schema.json" },
|
|
165
|
+
"path": { "$ref": "any-value.schema.json" },
|
|
166
|
+
"globalName": { "$ref": "any-value.schema.json" },
|
|
167
|
+
"globalDependencies": { "$ref": "any-value.schema.json" }
|
|
168
|
+
},
|
|
169
|
+
"additionalProperties": false
|
|
170
|
+
},
|
|
171
|
+
{
|
|
172
|
+
"$ref": "#/definitions/moduleConfiguration"
|
|
173
|
+
},
|
|
174
|
+
{
|
|
175
|
+
"type": "object",
|
|
176
|
+
"required": ["type", "path"],
|
|
177
|
+
"properties": {
|
|
178
|
+
"type": {
|
|
179
|
+
"type": "string",
|
|
180
|
+
"enum": ["path"]
|
|
181
|
+
},
|
|
182
|
+
|
|
183
|
+
"path": {
|
|
184
|
+
"title": "Path",
|
|
185
|
+
"description": "A path to this module's javascript resource either as a fully-qualified URL or as a path under the paths provided in the \"internalModuleBaseUrls\" field.",
|
|
186
|
+
"$ref": "#/definitions/path"
|
|
187
|
+
},
|
|
188
|
+
|
|
189
|
+
"globalName": {
|
|
190
|
+
"title": "Global Name",
|
|
191
|
+
"description": "In order to load scripts that don't follow the AMD/module-pattern where \"define\" or \"require\" is called and dependencies are explicitly listed and exports are explicitly returned, the module loader needs to know which global variable must be examined. If this property is specified, this module is considered non-AMD and the module loader will not expect \"define\" or \"require\" to be called. Instead, it will wait for the script to finish loading and examine the global variable specified in this field.",
|
|
192
|
+
"type": "string",
|
|
193
|
+
"minLength": 1
|
|
194
|
+
},
|
|
195
|
+
|
|
196
|
+
"globalDependencies": {
|
|
197
|
+
"title": "Global Dependencies",
|
|
198
|
+
"description": "For non-AMD/module-pattern scripts that have dependencies (for example, jQuery plugins), the module loader will ensure that those dependencies are already loaded. Entries in the array specified in this field must refer to other non-AMD modules in this component. This field is not required to have a value for non-AMD modules. If any values are specified that do not refer to other modules in the same component manifest that this module is specified, the module loader will throw an exception and the component will fail to load.",
|
|
199
|
+
"type": "array",
|
|
200
|
+
"minItems": 1,
|
|
201
|
+
"items": {
|
|
202
|
+
"type": "string",
|
|
203
|
+
"minLength": 1
|
|
204
|
+
}
|
|
205
|
+
}
|
|
206
|
+
},
|
|
207
|
+
"additionalProperties": true
|
|
208
|
+
}
|
|
209
|
+
]
|
|
210
|
+
},
|
|
211
|
+
|
|
212
|
+
{
|
|
213
|
+
"title": "Localized Internal Module Configuration",
|
|
214
|
+
"description": "This is the interface for a script module with the \"localized\" type. Modules of this type must be provided by the component developer. These script resources are similar to those of the \"internal\" type, but they may be present at a number of different paths, to be selected by the user's locale. Paths in this module type are loaded exactly the same way as \"internal\" modules are.",
|
|
215
|
+
"type": "object",
|
|
216
|
+
"allOf": [
|
|
217
|
+
{
|
|
218
|
+
"type": "object",
|
|
219
|
+
"properties": {
|
|
220
|
+
"type": { "$ref": "any-value.schema.json" },
|
|
221
|
+
"shouldNotPreload": { "$ref": "any-value.schema.json" },
|
|
222
|
+
"defaultPath": { "$ref": "any-value.schema.json" },
|
|
223
|
+
"paths": { "$ref": "any-value.schema.json" }
|
|
224
|
+
},
|
|
225
|
+
"additionalProperties": false
|
|
226
|
+
},
|
|
227
|
+
{
|
|
228
|
+
"$ref": "#/definitions/moduleConfiguration"
|
|
229
|
+
},
|
|
230
|
+
{
|
|
231
|
+
"type": "object",
|
|
232
|
+
"required": ["type", "defaultPath"],
|
|
233
|
+
"properties": {
|
|
234
|
+
"type": {
|
|
235
|
+
"type": "string",
|
|
236
|
+
"enum": ["localizedPath"]
|
|
237
|
+
},
|
|
238
|
+
|
|
239
|
+
"defaultPath": {
|
|
240
|
+
"title": "Default Path",
|
|
241
|
+
"description": "A path to this module's default locale javascript resource either as a fully-qualified URL or as a path under the paths provided in the \"internalModuleBaseUrls\" field. If the user's locale does not resolve to one of the paths specified in the \"paths\" field, the path in this field is used. Paths in this module type are treated exactly the same way paths in modules of the \"internal\" type are treated.",
|
|
242
|
+
"$ref": "#/definitions/path"
|
|
243
|
+
},
|
|
244
|
+
|
|
245
|
+
"paths": {
|
|
246
|
+
"title": "Paths",
|
|
247
|
+
"description": "This is a dictionary of locale keys (in the \"ll-cc\" format) to paths to this module's locale javascript resource either as a fully-qualified URL or as a path under the paths provided in the \"internalModuleBaseUrls\" field. The loader will attempt to resolve the user's locale to one of the paths provided by this field, and will load the script resource under that path. If the user's locale does not resolve to one of the paths specified in this field, the path in \"defaultPath\" field is used.",
|
|
248
|
+
"type": "object",
|
|
249
|
+
"patternProperties": {
|
|
250
|
+
".+": {
|
|
251
|
+
"$ref": "#/definitions/path"
|
|
252
|
+
}
|
|
253
|
+
}
|
|
254
|
+
}
|
|
255
|
+
},
|
|
256
|
+
"additionalProperties": true
|
|
257
|
+
}
|
|
258
|
+
]
|
|
259
|
+
}
|
|
260
|
+
]
|
|
261
|
+
}
|
|
262
|
+
},
|
|
263
|
+
"additionalProperties": false
|
|
264
|
+
}
|
|
265
|
+
},
|
|
266
|
+
|
|
267
|
+
"additionalProperties": false
|
|
268
|
+
},
|
|
269
|
+
{
|
|
270
|
+
"type": "null"
|
|
271
|
+
}
|
|
272
|
+
]
|
|
273
|
+
}
|
|
@@ -0,0 +1,131 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "client-side-component-manifest.schema.json",
|
|
3
|
+
"title": "Client-side component manifest",
|
|
4
|
+
"description": "All client side components built on the SharePoint framework need a valid component manifest. This interface represents properties that are required by all types of client side components like Applications and Web Parts. Component specific manifests will extend this interface to add properties required by that component type.",
|
|
5
|
+
"definitions": {
|
|
6
|
+
"clientSideComponentManifest": {
|
|
7
|
+
"type": "object",
|
|
8
|
+
"allOf": [
|
|
9
|
+
{
|
|
10
|
+
"type": "object",
|
|
11
|
+
"required": ["componentType", "alias", "version"],
|
|
12
|
+
|
|
13
|
+
"not": {
|
|
14
|
+
"description": "If both properties are missing, this succeeds since it BOTH schemas are NOT matched. If only one property exists, this succeeds since BOTH schemas are NOT matched. If both properties are specified, this fails since BOTH schemas ARE matched",
|
|
15
|
+
"type": "object",
|
|
16
|
+
"allOf": [
|
|
17
|
+
{
|
|
18
|
+
"type": "object",
|
|
19
|
+
"additionalProperties": true,
|
|
20
|
+
"required": ["requiresCustomScript"],
|
|
21
|
+
"properties": {
|
|
22
|
+
"requiresCustomScript": { "type": "boolean" }
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"type": "object",
|
|
27
|
+
"additionalProperties": true,
|
|
28
|
+
"required": ["safeWithCustomScriptDisabled"],
|
|
29
|
+
"properties": {
|
|
30
|
+
"safeWithCustomScriptDisabled": { "type": "boolean" }
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
]
|
|
34
|
+
},
|
|
35
|
+
|
|
36
|
+
"properties": {
|
|
37
|
+
"alias": {
|
|
38
|
+
"type": "string",
|
|
39
|
+
"title": "Alias",
|
|
40
|
+
"description": "A short name usually given by developer. It does not need to be localized and is expected to stay the same through the lifetime of the component.",
|
|
41
|
+
"maxLength": 40,
|
|
42
|
+
"pattern": "^[a-zA-Z0-9-]*$",
|
|
43
|
+
"minLength": 5
|
|
44
|
+
},
|
|
45
|
+
|
|
46
|
+
"componentType": {
|
|
47
|
+
"type": "string",
|
|
48
|
+
"title": "Component Type",
|
|
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
|
+
},
|
|
52
|
+
|
|
53
|
+
"loadLegacyFabricCss": {
|
|
54
|
+
"type": "boolean",
|
|
55
|
+
"title": "Load Legacy Fabric CSS",
|
|
56
|
+
"description": "Indicates whether to use the legacy Fabric CSS load sequence. Components after 1.1 can leave this false, unless there are visual regressions after updating your SPFx version."
|
|
57
|
+
},
|
|
58
|
+
|
|
59
|
+
"properties": {
|
|
60
|
+
"type": "object",
|
|
61
|
+
"title": "Properties",
|
|
62
|
+
"description": "Property bag for the component manifest."
|
|
63
|
+
},
|
|
64
|
+
|
|
65
|
+
"version": {
|
|
66
|
+
"title": "Version",
|
|
67
|
+
"description": "Client side component version. The value of this field is expected to be controlled by the developer of the client side component. The purpose of this field is to help client side component developers upgrade their client side components in a managed way. This helps the consumers of the client side component make decisions about when and how to upgrade the client side component. As the developer evolves the code for their client side component, they can decide to bump the MAJOR, MINOR or PATCH version of the component. All incompatible API changes should result in a MAJOR version bump. Backwards compatible functionality changes should result in a MINOR version bump, and backwards compatible bug fixes should result in a PATCH version bump. Please see http://semver.org for more details on how to manage the version of your components.",
|
|
68
|
+
"oneOf": [
|
|
69
|
+
{
|
|
70
|
+
"$ref": "semver.schema.json"
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
"type": "string",
|
|
74
|
+
"enum": ["*"]
|
|
75
|
+
}
|
|
76
|
+
]
|
|
77
|
+
},
|
|
78
|
+
|
|
79
|
+
"preloadComponents": {
|
|
80
|
+
"title": "Preload Components",
|
|
81
|
+
"description": "A list of component manifests that must be preloaded alongside this component. These may include external resources that are needed during initial render, or components that should be loaded only on demand.",
|
|
82
|
+
"type": "array",
|
|
83
|
+
"uniqueItems": true,
|
|
84
|
+
"minItems": 0,
|
|
85
|
+
"items": {
|
|
86
|
+
"type": "string",
|
|
87
|
+
"minLength": 10
|
|
88
|
+
}
|
|
89
|
+
},
|
|
90
|
+
|
|
91
|
+
"loaderConfig": {
|
|
92
|
+
"$ref": "client-side-component-loader-configuration.schema.json"
|
|
93
|
+
}
|
|
94
|
+
},
|
|
95
|
+
|
|
96
|
+
"additionalProperties": true
|
|
97
|
+
},
|
|
98
|
+
{
|
|
99
|
+
"$ref": "client-side-manifest-base.schema.json"
|
|
100
|
+
}
|
|
101
|
+
]
|
|
102
|
+
}
|
|
103
|
+
},
|
|
104
|
+
|
|
105
|
+
"oneOf": [
|
|
106
|
+
{
|
|
107
|
+
"$ref": "adaptive-card-extension-manifest.schema.json"
|
|
108
|
+
},
|
|
109
|
+
{
|
|
110
|
+
"$ref": "client-side-application-manifest.schema.json"
|
|
111
|
+
},
|
|
112
|
+
{
|
|
113
|
+
"$ref": "client-side-extension-manifest.schema.json"
|
|
114
|
+
},
|
|
115
|
+
{
|
|
116
|
+
"$ref": "client-side-library-manifest.schema.json"
|
|
117
|
+
},
|
|
118
|
+
{
|
|
119
|
+
"$ref": "client-side-web-part-manifest.schema.json"
|
|
120
|
+
},
|
|
121
|
+
{
|
|
122
|
+
"$ref": "command-set-extension-manifest.schema.json"
|
|
123
|
+
},
|
|
124
|
+
{
|
|
125
|
+
"$ref": "client-side-assembly-manifest.schema.json"
|
|
126
|
+
},
|
|
127
|
+
{
|
|
128
|
+
"$ref": "prefab-app-manifest.schema.json"
|
|
129
|
+
}
|
|
130
|
+
]
|
|
131
|
+
}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "client-side-extension-manifest.schema.json",
|
|
3
|
+
"title": "Client-side extension manifest",
|
|
4
|
+
"description": "A client-side extension is a plug-in component that customizes or augments the functionality of a client-side application.",
|
|
5
|
+
|
|
6
|
+
"definitions": {
|
|
7
|
+
"clientSideExtensionManifest": {
|
|
8
|
+
"type": "object",
|
|
9
|
+
"required": ["componentType", "extensionType"],
|
|
10
|
+
"properties": {
|
|
11
|
+
"componentType": {
|
|
12
|
+
"type": "string",
|
|
13
|
+
"enum": ["Extension"]
|
|
14
|
+
},
|
|
15
|
+
"extensionType": {
|
|
16
|
+
"title": "Client-side Extension Type",
|
|
17
|
+
"description": "Specifies the type of client-side extension. Some types have their own JSON schemas supporting additional fields.",
|
|
18
|
+
"type": "string",
|
|
19
|
+
"enum": [
|
|
20
|
+
"Unknown",
|
|
21
|
+
"ApplicationCustomizer",
|
|
22
|
+
"FieldCustomizer",
|
|
23
|
+
"ListViewCommandSet",
|
|
24
|
+
"SearchQueryModifier",
|
|
25
|
+
"FormCustomizer"
|
|
26
|
+
]
|
|
27
|
+
}
|
|
28
|
+
},
|
|
29
|
+
"additionalProperties": true
|
|
30
|
+
}
|
|
31
|
+
},
|
|
32
|
+
|
|
33
|
+
"type": "object",
|
|
34
|
+
"allOf": [
|
|
35
|
+
{
|
|
36
|
+
"type": "object",
|
|
37
|
+
"properties": {
|
|
38
|
+
"$schema": { "type": "string" },
|
|
39
|
+
|
|
40
|
+
"manifestVersion": { "$ref": "any-value.schema.json" },
|
|
41
|
+
"id": { "$ref": "any-value.schema.json" },
|
|
42
|
+
"alias": { "$ref": "any-value.schema.json" },
|
|
43
|
+
"version": { "$ref": "any-value.schema.json" },
|
|
44
|
+
"loaderConfig": { "$ref": "any-value.schema.json" },
|
|
45
|
+
"componentType": { "$ref": "any-value.schema.json" },
|
|
46
|
+
"extensionType": { "$ref": "any-value.schema.json" },
|
|
47
|
+
"preloadComponents": { "$ref": "any-value.schema.json" },
|
|
48
|
+
"safeWithCustomScriptDisabled": { "$ref": "any-value.schema.json" },
|
|
49
|
+
"requiresCustomScript": { "$ref": "any-value.schema.json" },
|
|
50
|
+
"loadLegacyFabricCss": { "$ref": "any-value.schema.json" }
|
|
51
|
+
},
|
|
52
|
+
"additionalProperties": false
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
"$ref": "client-side-component-manifest.schema.json#/definitions/clientSideComponentManifest"
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
"$ref": "#/definitions/clientSideExtensionManifest"
|
|
59
|
+
}
|
|
60
|
+
]
|
|
61
|
+
}
|