@commercetools-frontend/application-config 22.23.2 → 22.24.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/custom-application.schema.json +33 -33
- package/custom-view.schema.json +1 -1
- package/dist/commercetools-frontend-application-config.cjs.dev.js +34 -34
- package/dist/commercetools-frontend-application-config.cjs.prod.js +34 -34
- package/dist/commercetools-frontend-application-config.esm.js +34 -34
- package/package.json +5 -5
- package/tsconfig-mc-app.json +0 -2
package/README.md
CHANGED
|
@@ -4,4 +4,4 @@
|
|
|
4
4
|
<a href="https://www.npmjs.com/package/@commercetools-frontend/application-config"><img src="https://badgen.net/npm/v/@commercetools-frontend/application-config" alt="Latest release (latest dist-tag)" /></a> <a href="https://www.npmjs.com/package/@commercetools-frontend/application-config"><img src="https://badgen.net/npm/v/@commercetools-frontend/application-config/next" alt="Latest release (next dist-tag)" /></a> <a href="https://bundlephobia.com/result?p=@commercetools-frontend/application-config"><img src="https://badgen.net/bundlephobia/minzip/@commercetools-frontend/application-config" alt="Minified + GZipped size" /></a> <a href="https://github.com/commercetools/merchant-center-application-kit/blob/main/LICENSE"><img src="https://badgen.net/github/license/commercetools/merchant-center-application-kit" alt="GitHub license" /></a>
|
|
5
5
|
</p>
|
|
6
6
|
|
|
7
|
-
Check out the [
|
|
7
|
+
Check out the documentation for [configuring a Custom Application](https://docs.commercetools.com/merchant-center-customizations/api-reference/custom-application-config) and for [configuring a Custom View](https://docs.commercetools.com/merchant-center-customizations/api-reference/custom-view-config).
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "http://json-schema.org/draft-07/schema",
|
|
3
|
-
"$id": "https://docs.commercetools.com/custom-
|
|
3
|
+
"$id": "https://docs.commercetools.com/merchant-center-customizations/custom-application.schema.json",
|
|
4
4
|
"title": "JSON schema for Custom Application configuration files",
|
|
5
5
|
"type": "object",
|
|
6
6
|
"definitions": {
|
|
@@ -14,31 +14,31 @@
|
|
|
14
14
|
},
|
|
15
15
|
"properties": {
|
|
16
16
|
"name": {
|
|
17
|
-
"description": "See https://docs.commercetools.com/
|
|
17
|
+
"description": "See https://docs.commercetools.com/merchant-center-customizations/api-reference/custom-application-config#name",
|
|
18
18
|
"type": "string"
|
|
19
19
|
},
|
|
20
20
|
"description": {
|
|
21
|
-
"description": "See https://docs.commercetools.com/
|
|
21
|
+
"description": "See https://docs.commercetools.com/merchant-center-customizations/api-reference/custom-application-config#description",
|
|
22
22
|
"type": "string"
|
|
23
23
|
},
|
|
24
24
|
"entryPointUriPath": {
|
|
25
|
-
"description": "See https://docs.commercetools.com/
|
|
25
|
+
"description": "See https://docs.commercetools.com/merchant-center-customizations/api-reference/custom-application-config#entrypointuripath",
|
|
26
26
|
"type": "string"
|
|
27
27
|
},
|
|
28
28
|
"cloudIdentifier": {
|
|
29
|
-
"description": "See https://docs.commercetools.com/
|
|
29
|
+
"description": "See https://docs.commercetools.com/merchant-center-customizations/api-reference/custom-application-config#cloudidentifier",
|
|
30
30
|
"type": "string"
|
|
31
31
|
},
|
|
32
32
|
"mcApiUrl": {
|
|
33
|
-
"description": "See https://docs.commercetools.com/
|
|
33
|
+
"description": "See https://docs.commercetools.com/merchant-center-customizations/api-reference/custom-application-config#mcapiurl",
|
|
34
34
|
"type": "string"
|
|
35
35
|
},
|
|
36
36
|
"oAuthScopes": {
|
|
37
|
-
"description": "See https://docs.commercetools.com/
|
|
37
|
+
"description": "See https://docs.commercetools.com/merchant-center-customizations/api-reference/custom-application-config#oauthscopes",
|
|
38
38
|
"type": "object",
|
|
39
39
|
"properties": {
|
|
40
40
|
"view": {
|
|
41
|
-
"description": "See https://docs.commercetools.com/
|
|
41
|
+
"description": "See https://docs.commercetools.com/merchant-center-customizations/api-reference/custom-application-config#oauthscopesview",
|
|
42
42
|
"type": "array",
|
|
43
43
|
"default": [],
|
|
44
44
|
"items": {
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
"uniqueItems": true
|
|
49
49
|
},
|
|
50
50
|
"manage": {
|
|
51
|
-
"description": "See https://docs.commercetools.com/
|
|
51
|
+
"description": "See https://docs.commercetools.com/merchant-center-customizations/api-reference/custom-application-config#oauthscopesmanage",
|
|
52
52
|
"type": "array",
|
|
53
53
|
"default": [],
|
|
54
54
|
"items": {
|
|
@@ -62,7 +62,7 @@
|
|
|
62
62
|
"required": ["view", "manage"]
|
|
63
63
|
},
|
|
64
64
|
"additionalOAuthScopes": {
|
|
65
|
-
"description": "See https://docs.commercetools.com/
|
|
65
|
+
"description": "See https://docs.commercetools.com/merchant-center-customizations/api-reference/custom-application-config#additionaloauthscopes",
|
|
66
66
|
"type": "array",
|
|
67
67
|
"default": [],
|
|
68
68
|
"uniqueItems": true,
|
|
@@ -70,11 +70,11 @@
|
|
|
70
70
|
"type": "object",
|
|
71
71
|
"properties": {
|
|
72
72
|
"name": {
|
|
73
|
-
"description": "See https://docs.commercetools.com/
|
|
73
|
+
"description": "See https://docs.commercetools.com/merchant-center-customizations/api-reference/custom-application-config#additionaloauthscopesname",
|
|
74
74
|
"type": "string"
|
|
75
75
|
},
|
|
76
76
|
"view": {
|
|
77
|
-
"description": "See https://docs.commercetools.com/
|
|
77
|
+
"description": "See https://docs.commercetools.com/merchant-center-customizations/api-reference/custom-application-config#additionaloauthscopesview",
|
|
78
78
|
"type": "array",
|
|
79
79
|
"default": [],
|
|
80
80
|
"items": {
|
|
@@ -84,7 +84,7 @@
|
|
|
84
84
|
"uniqueItems": true
|
|
85
85
|
},
|
|
86
86
|
"manage": {
|
|
87
|
-
"description": "See https://docs.commercetools.com/
|
|
87
|
+
"description": "See https://docs.commercetools.com/merchant-center-customizations/api-reference/custom-application-config#additionaloauthscopesmanage",
|
|
88
88
|
"type": "array",
|
|
89
89
|
"default": [],
|
|
90
90
|
"items": {
|
|
@@ -99,14 +99,14 @@
|
|
|
99
99
|
}
|
|
100
100
|
},
|
|
101
101
|
"env": {
|
|
102
|
-
"description": "See https://docs.commercetools.com/
|
|
102
|
+
"description": "See https://docs.commercetools.com/merchant-center-customizations/api-reference/custom-application-config#env",
|
|
103
103
|
"type": "object",
|
|
104
104
|
"properties": {
|
|
105
105
|
"development": {
|
|
106
106
|
"type": "object",
|
|
107
107
|
"properties": {
|
|
108
108
|
"initialProjectKey": {
|
|
109
|
-
"description": "See https://docs.commercetools.com/
|
|
109
|
+
"description": "See https://docs.commercetools.com/merchant-center-customizations/api-reference/custom-application-config#envdevelopmentinitialprojectkey",
|
|
110
110
|
"type": "string"
|
|
111
111
|
},
|
|
112
112
|
"teamId": {
|
|
@@ -120,15 +120,15 @@
|
|
|
120
120
|
"type": "object",
|
|
121
121
|
"properties": {
|
|
122
122
|
"applicationId": {
|
|
123
|
-
"description": "See https://docs.commercetools.com/
|
|
123
|
+
"description": "See https://docs.commercetools.com/merchant-center-customizations/api-reference/custom-application-config#envproductionapplicationid",
|
|
124
124
|
"type": "string"
|
|
125
125
|
},
|
|
126
126
|
"url": {
|
|
127
|
-
"description": "See https://docs.commercetools.com/
|
|
127
|
+
"description": "See https://docs.commercetools.com/merchant-center-customizations/api-reference/custom-application-config#envproductionurl",
|
|
128
128
|
"type": "string"
|
|
129
129
|
},
|
|
130
130
|
"cdnUrl": {
|
|
131
|
-
"description": "See https://docs.commercetools.com/
|
|
131
|
+
"description": "See https://docs.commercetools.com/merchant-center-customizations/api-reference/custom-application-config#envproductioncdnurl",
|
|
132
132
|
"type": "string"
|
|
133
133
|
}
|
|
134
134
|
},
|
|
@@ -140,15 +140,15 @@
|
|
|
140
140
|
"required": ["development", "production"]
|
|
141
141
|
},
|
|
142
142
|
"additionalEnv": {
|
|
143
|
-
"description": "See https://docs.commercetools.com/
|
|
143
|
+
"description": "See https://docs.commercetools.com/merchant-center-customizations/api-reference/custom-application-config#additionalenv",
|
|
144
144
|
"type": "object"
|
|
145
145
|
},
|
|
146
146
|
"headers": {
|
|
147
|
-
"description": "See https://docs.commercetools.com/
|
|
147
|
+
"description": "See https://docs.commercetools.com/merchant-center-customizations/api-reference/custom-application-config#headers",
|
|
148
148
|
"type": "object",
|
|
149
149
|
"properties": {
|
|
150
150
|
"csp": {
|
|
151
|
-
"description": "See https://docs.commercetools.com/
|
|
151
|
+
"description": "See https://docs.commercetools.com/merchant-center-customizations/api-reference/custom-application-config#headerscsp",
|
|
152
152
|
"type": "object",
|
|
153
153
|
"properties": {
|
|
154
154
|
"connect-src": {
|
|
@@ -174,11 +174,11 @@
|
|
|
174
174
|
"required": ["connect-src"]
|
|
175
175
|
},
|
|
176
176
|
"permissionsPolicies": {
|
|
177
|
-
"description": "See https://docs.commercetools.com/
|
|
177
|
+
"description": "See https://docs.commercetools.com/merchant-center-customizations/api-reference/custom-application-config#headerspermissionspolicies",
|
|
178
178
|
"type": "object"
|
|
179
179
|
},
|
|
180
180
|
"strictTransportSecurity": {
|
|
181
|
-
"description": "See https://docs.commercetools.com/
|
|
181
|
+
"description": "See https://docs.commercetools.com/merchant-center-customizations/api-reference/custom-application-config#headersstricttransportsecurity",
|
|
182
182
|
"type": "array",
|
|
183
183
|
"items": {
|
|
184
184
|
"enum": ["includeSubDomains", "preload"]
|
|
@@ -189,19 +189,19 @@
|
|
|
189
189
|
"additionalProperties": false
|
|
190
190
|
},
|
|
191
191
|
"icon": {
|
|
192
|
-
"description": "See https://docs.commercetools.com/
|
|
192
|
+
"description": "See https://docs.commercetools.com/merchant-center-customizations/api-reference/custom-application-config#icon",
|
|
193
193
|
"type": "string"
|
|
194
194
|
},
|
|
195
195
|
"mainMenuLink": {
|
|
196
|
-
"description": "See https://docs.commercetools.com/
|
|
196
|
+
"description": "See https://docs.commercetools.com/merchant-center-customizations/api-reference/custom-application-config#mainmenulink",
|
|
197
197
|
"type": "object",
|
|
198
198
|
"properties": {
|
|
199
199
|
"defaultLabel": {
|
|
200
|
-
"description": "See https://docs.commercetools.com/
|
|
200
|
+
"description": "See https://docs.commercetools.com/merchant-center-customizations/api-reference/custom-application-config#mainmenulinkdefaultlabel",
|
|
201
201
|
"type": "string"
|
|
202
202
|
},
|
|
203
203
|
"labelAllLocales": {
|
|
204
|
-
"description": "See https://docs.commercetools.com/
|
|
204
|
+
"description": "See https://docs.commercetools.com/merchant-center-customizations/api-reference/custom-application-config#mainmenulinklabelalllocales",
|
|
205
205
|
"type": "array",
|
|
206
206
|
"default": [],
|
|
207
207
|
"items": {
|
|
@@ -220,7 +220,7 @@
|
|
|
220
220
|
}
|
|
221
221
|
},
|
|
222
222
|
"permissions": {
|
|
223
|
-
"description": "See https://docs.commercetools.com/
|
|
223
|
+
"description": "See https://docs.commercetools.com/merchant-center-customizations/api-reference/custom-application-config#mainmenulinkpermissions",
|
|
224
224
|
"type": "array",
|
|
225
225
|
"default": [],
|
|
226
226
|
"items": {
|
|
@@ -232,22 +232,22 @@
|
|
|
232
232
|
"required": ["defaultLabel", "labelAllLocales", "permissions"]
|
|
233
233
|
},
|
|
234
234
|
"submenuLinks": {
|
|
235
|
-
"description": "See https://docs.commercetools.com/
|
|
235
|
+
"description": "See https://docs.commercetools.com/merchant-center-customizations/api-reference/custom-application-config#submenulinks",
|
|
236
236
|
"default": [],
|
|
237
237
|
"type": "array",
|
|
238
238
|
"items": {
|
|
239
239
|
"type": "object",
|
|
240
240
|
"properties": {
|
|
241
241
|
"uriPath": {
|
|
242
|
-
"description": "See https://docs.commercetools.com/
|
|
242
|
+
"description": "See https://docs.commercetools.com/merchant-center-customizations/api-reference/custom-application-config#submenulinksuripath",
|
|
243
243
|
"type": "string"
|
|
244
244
|
},
|
|
245
245
|
"defaultLabel": {
|
|
246
|
-
"description": "See https://docs.commercetools.com/
|
|
246
|
+
"description": "See https://docs.commercetools.com/merchant-center-customizations/api-reference/custom-application-config#submenulinksdefaultlabel",
|
|
247
247
|
"type": "string"
|
|
248
248
|
},
|
|
249
249
|
"labelAllLocales": {
|
|
250
|
-
"description": "See https://docs.commercetools.com/
|
|
250
|
+
"description": "See https://docs.commercetools.com/merchant-center-customizations/api-reference/custom-application-config#submenulinkslabelalllocales",
|
|
251
251
|
"type": "array",
|
|
252
252
|
"default": [],
|
|
253
253
|
"items": {
|
|
@@ -266,7 +266,7 @@
|
|
|
266
266
|
}
|
|
267
267
|
},
|
|
268
268
|
"permissions": {
|
|
269
|
-
"description": "See https://docs.commercetools.com/
|
|
269
|
+
"description": "See https://docs.commercetools.com/merchant-center-customizations/api-reference/custom-application-config#submenulinkspermissions",
|
|
270
270
|
"type": "array",
|
|
271
271
|
"default": [],
|
|
272
272
|
"items": {
|
package/custom-view.schema.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "http://json-schema.org/draft-07/schema",
|
|
3
|
-
"$id": "https://docs.commercetools.com/
|
|
3
|
+
"$id": "https://docs.commercetools.com/merchant-center-customizations/custom-view.schema.json",
|
|
4
4
|
"title": "JSON schema for Custom View configuration files",
|
|
5
5
|
"type": "object",
|
|
6
6
|
"definitions": {
|
|
@@ -265,7 +265,7 @@ const substituteVariablePlaceholders = (config, loadingOptions) => JSON.parse(_J
|
|
|
265
265
|
|
|
266
266
|
var customApplicationSchemaJson = {
|
|
267
267
|
$schema: "http://json-schema.org/draft-07/schema",
|
|
268
|
-
$id: "https://docs.commercetools.com/custom-
|
|
268
|
+
$id: "https://docs.commercetools.com/merchant-center-customizations/custom-application.schema.json",
|
|
269
269
|
title: "JSON schema for Custom Application configuration files",
|
|
270
270
|
type: "object",
|
|
271
271
|
definitions: {
|
|
@@ -279,31 +279,31 @@ var customApplicationSchemaJson = {
|
|
|
279
279
|
},
|
|
280
280
|
properties: {
|
|
281
281
|
name: {
|
|
282
|
-
description: "See https://docs.commercetools.com/
|
|
282
|
+
description: "See https://docs.commercetools.com/merchant-center-customizations/api-reference/custom-application-config#name",
|
|
283
283
|
type: "string"
|
|
284
284
|
},
|
|
285
285
|
description: {
|
|
286
|
-
description: "See https://docs.commercetools.com/
|
|
286
|
+
description: "See https://docs.commercetools.com/merchant-center-customizations/api-reference/custom-application-config#description",
|
|
287
287
|
type: "string"
|
|
288
288
|
},
|
|
289
289
|
entryPointUriPath: {
|
|
290
|
-
description: "See https://docs.commercetools.com/
|
|
290
|
+
description: "See https://docs.commercetools.com/merchant-center-customizations/api-reference/custom-application-config#entrypointuripath",
|
|
291
291
|
type: "string"
|
|
292
292
|
},
|
|
293
293
|
cloudIdentifier: {
|
|
294
|
-
description: "See https://docs.commercetools.com/
|
|
294
|
+
description: "See https://docs.commercetools.com/merchant-center-customizations/api-reference/custom-application-config#cloudidentifier",
|
|
295
295
|
type: "string"
|
|
296
296
|
},
|
|
297
297
|
mcApiUrl: {
|
|
298
|
-
description: "See https://docs.commercetools.com/
|
|
298
|
+
description: "See https://docs.commercetools.com/merchant-center-customizations/api-reference/custom-application-config#mcapiurl",
|
|
299
299
|
type: "string"
|
|
300
300
|
},
|
|
301
301
|
oAuthScopes: {
|
|
302
|
-
description: "See https://docs.commercetools.com/
|
|
302
|
+
description: "See https://docs.commercetools.com/merchant-center-customizations/api-reference/custom-application-config#oauthscopes",
|
|
303
303
|
type: "object",
|
|
304
304
|
properties: {
|
|
305
305
|
view: {
|
|
306
|
-
description: "See https://docs.commercetools.com/
|
|
306
|
+
description: "See https://docs.commercetools.com/merchant-center-customizations/api-reference/custom-application-config#oauthscopesview",
|
|
307
307
|
type: "array",
|
|
308
308
|
"default": [
|
|
309
309
|
],
|
|
@@ -314,7 +314,7 @@ var customApplicationSchemaJson = {
|
|
|
314
314
|
uniqueItems: true
|
|
315
315
|
},
|
|
316
316
|
manage: {
|
|
317
|
-
description: "See https://docs.commercetools.com/
|
|
317
|
+
description: "See https://docs.commercetools.com/merchant-center-customizations/api-reference/custom-application-config#oauthscopesmanage",
|
|
318
318
|
type: "array",
|
|
319
319
|
"default": [
|
|
320
320
|
],
|
|
@@ -332,7 +332,7 @@ var customApplicationSchemaJson = {
|
|
|
332
332
|
]
|
|
333
333
|
},
|
|
334
334
|
additionalOAuthScopes: {
|
|
335
|
-
description: "See https://docs.commercetools.com/
|
|
335
|
+
description: "See https://docs.commercetools.com/merchant-center-customizations/api-reference/custom-application-config#additionaloauthscopes",
|
|
336
336
|
type: "array",
|
|
337
337
|
"default": [
|
|
338
338
|
],
|
|
@@ -341,11 +341,11 @@ var customApplicationSchemaJson = {
|
|
|
341
341
|
type: "object",
|
|
342
342
|
properties: {
|
|
343
343
|
name: {
|
|
344
|
-
description: "See https://docs.commercetools.com/
|
|
344
|
+
description: "See https://docs.commercetools.com/merchant-center-customizations/api-reference/custom-application-config#additionaloauthscopesname",
|
|
345
345
|
type: "string"
|
|
346
346
|
},
|
|
347
347
|
view: {
|
|
348
|
-
description: "See https://docs.commercetools.com/
|
|
348
|
+
description: "See https://docs.commercetools.com/merchant-center-customizations/api-reference/custom-application-config#additionaloauthscopesview",
|
|
349
349
|
type: "array",
|
|
350
350
|
"default": [
|
|
351
351
|
],
|
|
@@ -356,7 +356,7 @@ var customApplicationSchemaJson = {
|
|
|
356
356
|
uniqueItems: true
|
|
357
357
|
},
|
|
358
358
|
manage: {
|
|
359
|
-
description: "See https://docs.commercetools.com/
|
|
359
|
+
description: "See https://docs.commercetools.com/merchant-center-customizations/api-reference/custom-application-config#additionaloauthscopesmanage",
|
|
360
360
|
type: "array",
|
|
361
361
|
"default": [
|
|
362
362
|
],
|
|
@@ -376,14 +376,14 @@ var customApplicationSchemaJson = {
|
|
|
376
376
|
}
|
|
377
377
|
},
|
|
378
378
|
env: {
|
|
379
|
-
description: "See https://docs.commercetools.com/
|
|
379
|
+
description: "See https://docs.commercetools.com/merchant-center-customizations/api-reference/custom-application-config#env",
|
|
380
380
|
type: "object",
|
|
381
381
|
properties: {
|
|
382
382
|
development: {
|
|
383
383
|
type: "object",
|
|
384
384
|
properties: {
|
|
385
385
|
initialProjectKey: {
|
|
386
|
-
description: "See https://docs.commercetools.com/
|
|
386
|
+
description: "See https://docs.commercetools.com/merchant-center-customizations/api-reference/custom-application-config#envdevelopmentinitialprojectkey",
|
|
387
387
|
type: "string"
|
|
388
388
|
},
|
|
389
389
|
teamId: {
|
|
@@ -399,15 +399,15 @@ var customApplicationSchemaJson = {
|
|
|
399
399
|
type: "object",
|
|
400
400
|
properties: {
|
|
401
401
|
applicationId: {
|
|
402
|
-
description: "See https://docs.commercetools.com/
|
|
402
|
+
description: "See https://docs.commercetools.com/merchant-center-customizations/api-reference/custom-application-config#envproductionapplicationid",
|
|
403
403
|
type: "string"
|
|
404
404
|
},
|
|
405
405
|
url: {
|
|
406
|
-
description: "See https://docs.commercetools.com/
|
|
406
|
+
description: "See https://docs.commercetools.com/merchant-center-customizations/api-reference/custom-application-config#envproductionurl",
|
|
407
407
|
type: "string"
|
|
408
408
|
},
|
|
409
409
|
cdnUrl: {
|
|
410
|
-
description: "See https://docs.commercetools.com/
|
|
410
|
+
description: "See https://docs.commercetools.com/merchant-center-customizations/api-reference/custom-application-config#envproductioncdnurl",
|
|
411
411
|
type: "string"
|
|
412
412
|
}
|
|
413
413
|
},
|
|
@@ -425,15 +425,15 @@ var customApplicationSchemaJson = {
|
|
|
425
425
|
]
|
|
426
426
|
},
|
|
427
427
|
additionalEnv: {
|
|
428
|
-
description: "See https://docs.commercetools.com/
|
|
428
|
+
description: "See https://docs.commercetools.com/merchant-center-customizations/api-reference/custom-application-config#additionalenv",
|
|
429
429
|
type: "object"
|
|
430
430
|
},
|
|
431
431
|
headers: {
|
|
432
|
-
description: "See https://docs.commercetools.com/
|
|
432
|
+
description: "See https://docs.commercetools.com/merchant-center-customizations/api-reference/custom-application-config#headers",
|
|
433
433
|
type: "object",
|
|
434
434
|
properties: {
|
|
435
435
|
csp: {
|
|
436
|
-
description: "See https://docs.commercetools.com/
|
|
436
|
+
description: "See https://docs.commercetools.com/merchant-center-customizations/api-reference/custom-application-config#headerscsp",
|
|
437
437
|
type: "object",
|
|
438
438
|
properties: {
|
|
439
439
|
"connect-src": {
|
|
@@ -461,11 +461,11 @@ var customApplicationSchemaJson = {
|
|
|
461
461
|
]
|
|
462
462
|
},
|
|
463
463
|
permissionsPolicies: {
|
|
464
|
-
description: "See https://docs.commercetools.com/
|
|
464
|
+
description: "See https://docs.commercetools.com/merchant-center-customizations/api-reference/custom-application-config#headerspermissionspolicies",
|
|
465
465
|
type: "object"
|
|
466
466
|
},
|
|
467
467
|
strictTransportSecurity: {
|
|
468
|
-
description: "See https://docs.commercetools.com/
|
|
468
|
+
description: "See https://docs.commercetools.com/merchant-center-customizations/api-reference/custom-application-config#headersstricttransportsecurity",
|
|
469
469
|
type: "array",
|
|
470
470
|
items: {
|
|
471
471
|
"enum": [
|
|
@@ -479,19 +479,19 @@ var customApplicationSchemaJson = {
|
|
|
479
479
|
additionalProperties: false
|
|
480
480
|
},
|
|
481
481
|
icon: {
|
|
482
|
-
description: "See https://docs.commercetools.com/
|
|
482
|
+
description: "See https://docs.commercetools.com/merchant-center-customizations/api-reference/custom-application-config#icon",
|
|
483
483
|
type: "string"
|
|
484
484
|
},
|
|
485
485
|
mainMenuLink: {
|
|
486
|
-
description: "See https://docs.commercetools.com/
|
|
486
|
+
description: "See https://docs.commercetools.com/merchant-center-customizations/api-reference/custom-application-config#mainmenulink",
|
|
487
487
|
type: "object",
|
|
488
488
|
properties: {
|
|
489
489
|
defaultLabel: {
|
|
490
|
-
description: "See https://docs.commercetools.com/
|
|
490
|
+
description: "See https://docs.commercetools.com/merchant-center-customizations/api-reference/custom-application-config#mainmenulinkdefaultlabel",
|
|
491
491
|
type: "string"
|
|
492
492
|
},
|
|
493
493
|
labelAllLocales: {
|
|
494
|
-
description: "See https://docs.commercetools.com/
|
|
494
|
+
description: "See https://docs.commercetools.com/merchant-center-customizations/api-reference/custom-application-config#mainmenulinklabelalllocales",
|
|
495
495
|
type: "array",
|
|
496
496
|
"default": [
|
|
497
497
|
],
|
|
@@ -521,7 +521,7 @@ var customApplicationSchemaJson = {
|
|
|
521
521
|
}
|
|
522
522
|
},
|
|
523
523
|
permissions: {
|
|
524
|
-
description: "See https://docs.commercetools.com/
|
|
524
|
+
description: "See https://docs.commercetools.com/merchant-center-customizations/api-reference/custom-application-config#mainmenulinkpermissions",
|
|
525
525
|
type: "array",
|
|
526
526
|
"default": [
|
|
527
527
|
],
|
|
@@ -538,7 +538,7 @@ var customApplicationSchemaJson = {
|
|
|
538
538
|
]
|
|
539
539
|
},
|
|
540
540
|
submenuLinks: {
|
|
541
|
-
description: "See https://docs.commercetools.com/
|
|
541
|
+
description: "See https://docs.commercetools.com/merchant-center-customizations/api-reference/custom-application-config#submenulinks",
|
|
542
542
|
"default": [
|
|
543
543
|
],
|
|
544
544
|
type: "array",
|
|
@@ -546,15 +546,15 @@ var customApplicationSchemaJson = {
|
|
|
546
546
|
type: "object",
|
|
547
547
|
properties: {
|
|
548
548
|
uriPath: {
|
|
549
|
-
description: "See https://docs.commercetools.com/
|
|
549
|
+
description: "See https://docs.commercetools.com/merchant-center-customizations/api-reference/custom-application-config#submenulinksuripath",
|
|
550
550
|
type: "string"
|
|
551
551
|
},
|
|
552
552
|
defaultLabel: {
|
|
553
|
-
description: "See https://docs.commercetools.com/
|
|
553
|
+
description: "See https://docs.commercetools.com/merchant-center-customizations/api-reference/custom-application-config#submenulinksdefaultlabel",
|
|
554
554
|
type: "string"
|
|
555
555
|
},
|
|
556
556
|
labelAllLocales: {
|
|
557
|
-
description: "See https://docs.commercetools.com/
|
|
557
|
+
description: "See https://docs.commercetools.com/merchant-center-customizations/api-reference/custom-application-config#submenulinkslabelalllocales",
|
|
558
558
|
type: "array",
|
|
559
559
|
"default": [
|
|
560
560
|
],
|
|
@@ -584,7 +584,7 @@ var customApplicationSchemaJson = {
|
|
|
584
584
|
}
|
|
585
585
|
},
|
|
586
586
|
permissions: {
|
|
587
|
-
description: "See https://docs.commercetools.com/
|
|
587
|
+
description: "See https://docs.commercetools.com/merchant-center-customizations/api-reference/custom-application-config#submenulinkspermissions",
|
|
588
588
|
type: "array",
|
|
589
589
|
"default": [
|
|
590
590
|
],
|
|
@@ -618,7 +618,7 @@ var customApplicationSchemaJson = {
|
|
|
618
618
|
|
|
619
619
|
var customViewSchemaJson = {
|
|
620
620
|
$schema: "http://json-schema.org/draft-07/schema",
|
|
621
|
-
$id: "https://docs.commercetools.com/
|
|
621
|
+
$id: "https://docs.commercetools.com/merchant-center-customizations/custom-view.schema.json",
|
|
622
622
|
title: "JSON schema for Custom View configuration files",
|
|
623
623
|
type: "object",
|
|
624
624
|
definitions: {
|
|
@@ -265,7 +265,7 @@ const substituteVariablePlaceholders = (config, loadingOptions) => JSON.parse(_J
|
|
|
265
265
|
|
|
266
266
|
var customApplicationSchemaJson = {
|
|
267
267
|
$schema: "http://json-schema.org/draft-07/schema",
|
|
268
|
-
$id: "https://docs.commercetools.com/custom-
|
|
268
|
+
$id: "https://docs.commercetools.com/merchant-center-customizations/custom-application.schema.json",
|
|
269
269
|
title: "JSON schema for Custom Application configuration files",
|
|
270
270
|
type: "object",
|
|
271
271
|
definitions: {
|
|
@@ -279,31 +279,31 @@ var customApplicationSchemaJson = {
|
|
|
279
279
|
},
|
|
280
280
|
properties: {
|
|
281
281
|
name: {
|
|
282
|
-
description: "See https://docs.commercetools.com/
|
|
282
|
+
description: "See https://docs.commercetools.com/merchant-center-customizations/api-reference/custom-application-config#name",
|
|
283
283
|
type: "string"
|
|
284
284
|
},
|
|
285
285
|
description: {
|
|
286
|
-
description: "See https://docs.commercetools.com/
|
|
286
|
+
description: "See https://docs.commercetools.com/merchant-center-customizations/api-reference/custom-application-config#description",
|
|
287
287
|
type: "string"
|
|
288
288
|
},
|
|
289
289
|
entryPointUriPath: {
|
|
290
|
-
description: "See https://docs.commercetools.com/
|
|
290
|
+
description: "See https://docs.commercetools.com/merchant-center-customizations/api-reference/custom-application-config#entrypointuripath",
|
|
291
291
|
type: "string"
|
|
292
292
|
},
|
|
293
293
|
cloudIdentifier: {
|
|
294
|
-
description: "See https://docs.commercetools.com/
|
|
294
|
+
description: "See https://docs.commercetools.com/merchant-center-customizations/api-reference/custom-application-config#cloudidentifier",
|
|
295
295
|
type: "string"
|
|
296
296
|
},
|
|
297
297
|
mcApiUrl: {
|
|
298
|
-
description: "See https://docs.commercetools.com/
|
|
298
|
+
description: "See https://docs.commercetools.com/merchant-center-customizations/api-reference/custom-application-config#mcapiurl",
|
|
299
299
|
type: "string"
|
|
300
300
|
},
|
|
301
301
|
oAuthScopes: {
|
|
302
|
-
description: "See https://docs.commercetools.com/
|
|
302
|
+
description: "See https://docs.commercetools.com/merchant-center-customizations/api-reference/custom-application-config#oauthscopes",
|
|
303
303
|
type: "object",
|
|
304
304
|
properties: {
|
|
305
305
|
view: {
|
|
306
|
-
description: "See https://docs.commercetools.com/
|
|
306
|
+
description: "See https://docs.commercetools.com/merchant-center-customizations/api-reference/custom-application-config#oauthscopesview",
|
|
307
307
|
type: "array",
|
|
308
308
|
"default": [
|
|
309
309
|
],
|
|
@@ -314,7 +314,7 @@ var customApplicationSchemaJson = {
|
|
|
314
314
|
uniqueItems: true
|
|
315
315
|
},
|
|
316
316
|
manage: {
|
|
317
|
-
description: "See https://docs.commercetools.com/
|
|
317
|
+
description: "See https://docs.commercetools.com/merchant-center-customizations/api-reference/custom-application-config#oauthscopesmanage",
|
|
318
318
|
type: "array",
|
|
319
319
|
"default": [
|
|
320
320
|
],
|
|
@@ -332,7 +332,7 @@ var customApplicationSchemaJson = {
|
|
|
332
332
|
]
|
|
333
333
|
},
|
|
334
334
|
additionalOAuthScopes: {
|
|
335
|
-
description: "See https://docs.commercetools.com/
|
|
335
|
+
description: "See https://docs.commercetools.com/merchant-center-customizations/api-reference/custom-application-config#additionaloauthscopes",
|
|
336
336
|
type: "array",
|
|
337
337
|
"default": [
|
|
338
338
|
],
|
|
@@ -341,11 +341,11 @@ var customApplicationSchemaJson = {
|
|
|
341
341
|
type: "object",
|
|
342
342
|
properties: {
|
|
343
343
|
name: {
|
|
344
|
-
description: "See https://docs.commercetools.com/
|
|
344
|
+
description: "See https://docs.commercetools.com/merchant-center-customizations/api-reference/custom-application-config#additionaloauthscopesname",
|
|
345
345
|
type: "string"
|
|
346
346
|
},
|
|
347
347
|
view: {
|
|
348
|
-
description: "See https://docs.commercetools.com/
|
|
348
|
+
description: "See https://docs.commercetools.com/merchant-center-customizations/api-reference/custom-application-config#additionaloauthscopesview",
|
|
349
349
|
type: "array",
|
|
350
350
|
"default": [
|
|
351
351
|
],
|
|
@@ -356,7 +356,7 @@ var customApplicationSchemaJson = {
|
|
|
356
356
|
uniqueItems: true
|
|
357
357
|
},
|
|
358
358
|
manage: {
|
|
359
|
-
description: "See https://docs.commercetools.com/
|
|
359
|
+
description: "See https://docs.commercetools.com/merchant-center-customizations/api-reference/custom-application-config#additionaloauthscopesmanage",
|
|
360
360
|
type: "array",
|
|
361
361
|
"default": [
|
|
362
362
|
],
|
|
@@ -376,14 +376,14 @@ var customApplicationSchemaJson = {
|
|
|
376
376
|
}
|
|
377
377
|
},
|
|
378
378
|
env: {
|
|
379
|
-
description: "See https://docs.commercetools.com/
|
|
379
|
+
description: "See https://docs.commercetools.com/merchant-center-customizations/api-reference/custom-application-config#env",
|
|
380
380
|
type: "object",
|
|
381
381
|
properties: {
|
|
382
382
|
development: {
|
|
383
383
|
type: "object",
|
|
384
384
|
properties: {
|
|
385
385
|
initialProjectKey: {
|
|
386
|
-
description: "See https://docs.commercetools.com/
|
|
386
|
+
description: "See https://docs.commercetools.com/merchant-center-customizations/api-reference/custom-application-config#envdevelopmentinitialprojectkey",
|
|
387
387
|
type: "string"
|
|
388
388
|
},
|
|
389
389
|
teamId: {
|
|
@@ -399,15 +399,15 @@ var customApplicationSchemaJson = {
|
|
|
399
399
|
type: "object",
|
|
400
400
|
properties: {
|
|
401
401
|
applicationId: {
|
|
402
|
-
description: "See https://docs.commercetools.com/
|
|
402
|
+
description: "See https://docs.commercetools.com/merchant-center-customizations/api-reference/custom-application-config#envproductionapplicationid",
|
|
403
403
|
type: "string"
|
|
404
404
|
},
|
|
405
405
|
url: {
|
|
406
|
-
description: "See https://docs.commercetools.com/
|
|
406
|
+
description: "See https://docs.commercetools.com/merchant-center-customizations/api-reference/custom-application-config#envproductionurl",
|
|
407
407
|
type: "string"
|
|
408
408
|
},
|
|
409
409
|
cdnUrl: {
|
|
410
|
-
description: "See https://docs.commercetools.com/
|
|
410
|
+
description: "See https://docs.commercetools.com/merchant-center-customizations/api-reference/custom-application-config#envproductioncdnurl",
|
|
411
411
|
type: "string"
|
|
412
412
|
}
|
|
413
413
|
},
|
|
@@ -425,15 +425,15 @@ var customApplicationSchemaJson = {
|
|
|
425
425
|
]
|
|
426
426
|
},
|
|
427
427
|
additionalEnv: {
|
|
428
|
-
description: "See https://docs.commercetools.com/
|
|
428
|
+
description: "See https://docs.commercetools.com/merchant-center-customizations/api-reference/custom-application-config#additionalenv",
|
|
429
429
|
type: "object"
|
|
430
430
|
},
|
|
431
431
|
headers: {
|
|
432
|
-
description: "See https://docs.commercetools.com/
|
|
432
|
+
description: "See https://docs.commercetools.com/merchant-center-customizations/api-reference/custom-application-config#headers",
|
|
433
433
|
type: "object",
|
|
434
434
|
properties: {
|
|
435
435
|
csp: {
|
|
436
|
-
description: "See https://docs.commercetools.com/
|
|
436
|
+
description: "See https://docs.commercetools.com/merchant-center-customizations/api-reference/custom-application-config#headerscsp",
|
|
437
437
|
type: "object",
|
|
438
438
|
properties: {
|
|
439
439
|
"connect-src": {
|
|
@@ -461,11 +461,11 @@ var customApplicationSchemaJson = {
|
|
|
461
461
|
]
|
|
462
462
|
},
|
|
463
463
|
permissionsPolicies: {
|
|
464
|
-
description: "See https://docs.commercetools.com/
|
|
464
|
+
description: "See https://docs.commercetools.com/merchant-center-customizations/api-reference/custom-application-config#headerspermissionspolicies",
|
|
465
465
|
type: "object"
|
|
466
466
|
},
|
|
467
467
|
strictTransportSecurity: {
|
|
468
|
-
description: "See https://docs.commercetools.com/
|
|
468
|
+
description: "See https://docs.commercetools.com/merchant-center-customizations/api-reference/custom-application-config#headersstricttransportsecurity",
|
|
469
469
|
type: "array",
|
|
470
470
|
items: {
|
|
471
471
|
"enum": [
|
|
@@ -479,19 +479,19 @@ var customApplicationSchemaJson = {
|
|
|
479
479
|
additionalProperties: false
|
|
480
480
|
},
|
|
481
481
|
icon: {
|
|
482
|
-
description: "See https://docs.commercetools.com/
|
|
482
|
+
description: "See https://docs.commercetools.com/merchant-center-customizations/api-reference/custom-application-config#icon",
|
|
483
483
|
type: "string"
|
|
484
484
|
},
|
|
485
485
|
mainMenuLink: {
|
|
486
|
-
description: "See https://docs.commercetools.com/
|
|
486
|
+
description: "See https://docs.commercetools.com/merchant-center-customizations/api-reference/custom-application-config#mainmenulink",
|
|
487
487
|
type: "object",
|
|
488
488
|
properties: {
|
|
489
489
|
defaultLabel: {
|
|
490
|
-
description: "See https://docs.commercetools.com/
|
|
490
|
+
description: "See https://docs.commercetools.com/merchant-center-customizations/api-reference/custom-application-config#mainmenulinkdefaultlabel",
|
|
491
491
|
type: "string"
|
|
492
492
|
},
|
|
493
493
|
labelAllLocales: {
|
|
494
|
-
description: "See https://docs.commercetools.com/
|
|
494
|
+
description: "See https://docs.commercetools.com/merchant-center-customizations/api-reference/custom-application-config#mainmenulinklabelalllocales",
|
|
495
495
|
type: "array",
|
|
496
496
|
"default": [
|
|
497
497
|
],
|
|
@@ -521,7 +521,7 @@ var customApplicationSchemaJson = {
|
|
|
521
521
|
}
|
|
522
522
|
},
|
|
523
523
|
permissions: {
|
|
524
|
-
description: "See https://docs.commercetools.com/
|
|
524
|
+
description: "See https://docs.commercetools.com/merchant-center-customizations/api-reference/custom-application-config#mainmenulinkpermissions",
|
|
525
525
|
type: "array",
|
|
526
526
|
"default": [
|
|
527
527
|
],
|
|
@@ -538,7 +538,7 @@ var customApplicationSchemaJson = {
|
|
|
538
538
|
]
|
|
539
539
|
},
|
|
540
540
|
submenuLinks: {
|
|
541
|
-
description: "See https://docs.commercetools.com/
|
|
541
|
+
description: "See https://docs.commercetools.com/merchant-center-customizations/api-reference/custom-application-config#submenulinks",
|
|
542
542
|
"default": [
|
|
543
543
|
],
|
|
544
544
|
type: "array",
|
|
@@ -546,15 +546,15 @@ var customApplicationSchemaJson = {
|
|
|
546
546
|
type: "object",
|
|
547
547
|
properties: {
|
|
548
548
|
uriPath: {
|
|
549
|
-
description: "See https://docs.commercetools.com/
|
|
549
|
+
description: "See https://docs.commercetools.com/merchant-center-customizations/api-reference/custom-application-config#submenulinksuripath",
|
|
550
550
|
type: "string"
|
|
551
551
|
},
|
|
552
552
|
defaultLabel: {
|
|
553
|
-
description: "See https://docs.commercetools.com/
|
|
553
|
+
description: "See https://docs.commercetools.com/merchant-center-customizations/api-reference/custom-application-config#submenulinksdefaultlabel",
|
|
554
554
|
type: "string"
|
|
555
555
|
},
|
|
556
556
|
labelAllLocales: {
|
|
557
|
-
description: "See https://docs.commercetools.com/
|
|
557
|
+
description: "See https://docs.commercetools.com/merchant-center-customizations/api-reference/custom-application-config#submenulinkslabelalllocales",
|
|
558
558
|
type: "array",
|
|
559
559
|
"default": [
|
|
560
560
|
],
|
|
@@ -584,7 +584,7 @@ var customApplicationSchemaJson = {
|
|
|
584
584
|
}
|
|
585
585
|
},
|
|
586
586
|
permissions: {
|
|
587
|
-
description: "See https://docs.commercetools.com/
|
|
587
|
+
description: "See https://docs.commercetools.com/merchant-center-customizations/api-reference/custom-application-config#submenulinkspermissions",
|
|
588
588
|
type: "array",
|
|
589
589
|
"default": [
|
|
590
590
|
],
|
|
@@ -618,7 +618,7 @@ var customApplicationSchemaJson = {
|
|
|
618
618
|
|
|
619
619
|
var customViewSchemaJson = {
|
|
620
620
|
$schema: "http://json-schema.org/draft-07/schema",
|
|
621
|
-
$id: "https://docs.commercetools.com/
|
|
621
|
+
$id: "https://docs.commercetools.com/merchant-center-customizations/custom-view.schema.json",
|
|
622
622
|
title: "JSON schema for Custom View configuration files",
|
|
623
623
|
type: "object",
|
|
624
624
|
definitions: {
|
|
@@ -233,7 +233,7 @@ const substituteVariablePlaceholders = (config, loadingOptions) => JSON.parse(_J
|
|
|
233
233
|
|
|
234
234
|
var customApplicationSchemaJson = {
|
|
235
235
|
$schema: "http://json-schema.org/draft-07/schema",
|
|
236
|
-
$id: "https://docs.commercetools.com/custom-
|
|
236
|
+
$id: "https://docs.commercetools.com/merchant-center-customizations/custom-application.schema.json",
|
|
237
237
|
title: "JSON schema for Custom Application configuration files",
|
|
238
238
|
type: "object",
|
|
239
239
|
definitions: {
|
|
@@ -247,31 +247,31 @@ var customApplicationSchemaJson = {
|
|
|
247
247
|
},
|
|
248
248
|
properties: {
|
|
249
249
|
name: {
|
|
250
|
-
description: "See https://docs.commercetools.com/
|
|
250
|
+
description: "See https://docs.commercetools.com/merchant-center-customizations/api-reference/custom-application-config#name",
|
|
251
251
|
type: "string"
|
|
252
252
|
},
|
|
253
253
|
description: {
|
|
254
|
-
description: "See https://docs.commercetools.com/
|
|
254
|
+
description: "See https://docs.commercetools.com/merchant-center-customizations/api-reference/custom-application-config#description",
|
|
255
255
|
type: "string"
|
|
256
256
|
},
|
|
257
257
|
entryPointUriPath: {
|
|
258
|
-
description: "See https://docs.commercetools.com/
|
|
258
|
+
description: "See https://docs.commercetools.com/merchant-center-customizations/api-reference/custom-application-config#entrypointuripath",
|
|
259
259
|
type: "string"
|
|
260
260
|
},
|
|
261
261
|
cloudIdentifier: {
|
|
262
|
-
description: "See https://docs.commercetools.com/
|
|
262
|
+
description: "See https://docs.commercetools.com/merchant-center-customizations/api-reference/custom-application-config#cloudidentifier",
|
|
263
263
|
type: "string"
|
|
264
264
|
},
|
|
265
265
|
mcApiUrl: {
|
|
266
|
-
description: "See https://docs.commercetools.com/
|
|
266
|
+
description: "See https://docs.commercetools.com/merchant-center-customizations/api-reference/custom-application-config#mcapiurl",
|
|
267
267
|
type: "string"
|
|
268
268
|
},
|
|
269
269
|
oAuthScopes: {
|
|
270
|
-
description: "See https://docs.commercetools.com/
|
|
270
|
+
description: "See https://docs.commercetools.com/merchant-center-customizations/api-reference/custom-application-config#oauthscopes",
|
|
271
271
|
type: "object",
|
|
272
272
|
properties: {
|
|
273
273
|
view: {
|
|
274
|
-
description: "See https://docs.commercetools.com/
|
|
274
|
+
description: "See https://docs.commercetools.com/merchant-center-customizations/api-reference/custom-application-config#oauthscopesview",
|
|
275
275
|
type: "array",
|
|
276
276
|
"default": [
|
|
277
277
|
],
|
|
@@ -282,7 +282,7 @@ var customApplicationSchemaJson = {
|
|
|
282
282
|
uniqueItems: true
|
|
283
283
|
},
|
|
284
284
|
manage: {
|
|
285
|
-
description: "See https://docs.commercetools.com/
|
|
285
|
+
description: "See https://docs.commercetools.com/merchant-center-customizations/api-reference/custom-application-config#oauthscopesmanage",
|
|
286
286
|
type: "array",
|
|
287
287
|
"default": [
|
|
288
288
|
],
|
|
@@ -300,7 +300,7 @@ var customApplicationSchemaJson = {
|
|
|
300
300
|
]
|
|
301
301
|
},
|
|
302
302
|
additionalOAuthScopes: {
|
|
303
|
-
description: "See https://docs.commercetools.com/
|
|
303
|
+
description: "See https://docs.commercetools.com/merchant-center-customizations/api-reference/custom-application-config#additionaloauthscopes",
|
|
304
304
|
type: "array",
|
|
305
305
|
"default": [
|
|
306
306
|
],
|
|
@@ -309,11 +309,11 @@ var customApplicationSchemaJson = {
|
|
|
309
309
|
type: "object",
|
|
310
310
|
properties: {
|
|
311
311
|
name: {
|
|
312
|
-
description: "See https://docs.commercetools.com/
|
|
312
|
+
description: "See https://docs.commercetools.com/merchant-center-customizations/api-reference/custom-application-config#additionaloauthscopesname",
|
|
313
313
|
type: "string"
|
|
314
314
|
},
|
|
315
315
|
view: {
|
|
316
|
-
description: "See https://docs.commercetools.com/
|
|
316
|
+
description: "See https://docs.commercetools.com/merchant-center-customizations/api-reference/custom-application-config#additionaloauthscopesview",
|
|
317
317
|
type: "array",
|
|
318
318
|
"default": [
|
|
319
319
|
],
|
|
@@ -324,7 +324,7 @@ var customApplicationSchemaJson = {
|
|
|
324
324
|
uniqueItems: true
|
|
325
325
|
},
|
|
326
326
|
manage: {
|
|
327
|
-
description: "See https://docs.commercetools.com/
|
|
327
|
+
description: "See https://docs.commercetools.com/merchant-center-customizations/api-reference/custom-application-config#additionaloauthscopesmanage",
|
|
328
328
|
type: "array",
|
|
329
329
|
"default": [
|
|
330
330
|
],
|
|
@@ -344,14 +344,14 @@ var customApplicationSchemaJson = {
|
|
|
344
344
|
}
|
|
345
345
|
},
|
|
346
346
|
env: {
|
|
347
|
-
description: "See https://docs.commercetools.com/
|
|
347
|
+
description: "See https://docs.commercetools.com/merchant-center-customizations/api-reference/custom-application-config#env",
|
|
348
348
|
type: "object",
|
|
349
349
|
properties: {
|
|
350
350
|
development: {
|
|
351
351
|
type: "object",
|
|
352
352
|
properties: {
|
|
353
353
|
initialProjectKey: {
|
|
354
|
-
description: "See https://docs.commercetools.com/
|
|
354
|
+
description: "See https://docs.commercetools.com/merchant-center-customizations/api-reference/custom-application-config#envdevelopmentinitialprojectkey",
|
|
355
355
|
type: "string"
|
|
356
356
|
},
|
|
357
357
|
teamId: {
|
|
@@ -367,15 +367,15 @@ var customApplicationSchemaJson = {
|
|
|
367
367
|
type: "object",
|
|
368
368
|
properties: {
|
|
369
369
|
applicationId: {
|
|
370
|
-
description: "See https://docs.commercetools.com/
|
|
370
|
+
description: "See https://docs.commercetools.com/merchant-center-customizations/api-reference/custom-application-config#envproductionapplicationid",
|
|
371
371
|
type: "string"
|
|
372
372
|
},
|
|
373
373
|
url: {
|
|
374
|
-
description: "See https://docs.commercetools.com/
|
|
374
|
+
description: "See https://docs.commercetools.com/merchant-center-customizations/api-reference/custom-application-config#envproductionurl",
|
|
375
375
|
type: "string"
|
|
376
376
|
},
|
|
377
377
|
cdnUrl: {
|
|
378
|
-
description: "See https://docs.commercetools.com/
|
|
378
|
+
description: "See https://docs.commercetools.com/merchant-center-customizations/api-reference/custom-application-config#envproductioncdnurl",
|
|
379
379
|
type: "string"
|
|
380
380
|
}
|
|
381
381
|
},
|
|
@@ -393,15 +393,15 @@ var customApplicationSchemaJson = {
|
|
|
393
393
|
]
|
|
394
394
|
},
|
|
395
395
|
additionalEnv: {
|
|
396
|
-
description: "See https://docs.commercetools.com/
|
|
396
|
+
description: "See https://docs.commercetools.com/merchant-center-customizations/api-reference/custom-application-config#additionalenv",
|
|
397
397
|
type: "object"
|
|
398
398
|
},
|
|
399
399
|
headers: {
|
|
400
|
-
description: "See https://docs.commercetools.com/
|
|
400
|
+
description: "See https://docs.commercetools.com/merchant-center-customizations/api-reference/custom-application-config#headers",
|
|
401
401
|
type: "object",
|
|
402
402
|
properties: {
|
|
403
403
|
csp: {
|
|
404
|
-
description: "See https://docs.commercetools.com/
|
|
404
|
+
description: "See https://docs.commercetools.com/merchant-center-customizations/api-reference/custom-application-config#headerscsp",
|
|
405
405
|
type: "object",
|
|
406
406
|
properties: {
|
|
407
407
|
"connect-src": {
|
|
@@ -429,11 +429,11 @@ var customApplicationSchemaJson = {
|
|
|
429
429
|
]
|
|
430
430
|
},
|
|
431
431
|
permissionsPolicies: {
|
|
432
|
-
description: "See https://docs.commercetools.com/
|
|
432
|
+
description: "See https://docs.commercetools.com/merchant-center-customizations/api-reference/custom-application-config#headerspermissionspolicies",
|
|
433
433
|
type: "object"
|
|
434
434
|
},
|
|
435
435
|
strictTransportSecurity: {
|
|
436
|
-
description: "See https://docs.commercetools.com/
|
|
436
|
+
description: "See https://docs.commercetools.com/merchant-center-customizations/api-reference/custom-application-config#headersstricttransportsecurity",
|
|
437
437
|
type: "array",
|
|
438
438
|
items: {
|
|
439
439
|
"enum": [
|
|
@@ -447,19 +447,19 @@ var customApplicationSchemaJson = {
|
|
|
447
447
|
additionalProperties: false
|
|
448
448
|
},
|
|
449
449
|
icon: {
|
|
450
|
-
description: "See https://docs.commercetools.com/
|
|
450
|
+
description: "See https://docs.commercetools.com/merchant-center-customizations/api-reference/custom-application-config#icon",
|
|
451
451
|
type: "string"
|
|
452
452
|
},
|
|
453
453
|
mainMenuLink: {
|
|
454
|
-
description: "See https://docs.commercetools.com/
|
|
454
|
+
description: "See https://docs.commercetools.com/merchant-center-customizations/api-reference/custom-application-config#mainmenulink",
|
|
455
455
|
type: "object",
|
|
456
456
|
properties: {
|
|
457
457
|
defaultLabel: {
|
|
458
|
-
description: "See https://docs.commercetools.com/
|
|
458
|
+
description: "See https://docs.commercetools.com/merchant-center-customizations/api-reference/custom-application-config#mainmenulinkdefaultlabel",
|
|
459
459
|
type: "string"
|
|
460
460
|
},
|
|
461
461
|
labelAllLocales: {
|
|
462
|
-
description: "See https://docs.commercetools.com/
|
|
462
|
+
description: "See https://docs.commercetools.com/merchant-center-customizations/api-reference/custom-application-config#mainmenulinklabelalllocales",
|
|
463
463
|
type: "array",
|
|
464
464
|
"default": [
|
|
465
465
|
],
|
|
@@ -489,7 +489,7 @@ var customApplicationSchemaJson = {
|
|
|
489
489
|
}
|
|
490
490
|
},
|
|
491
491
|
permissions: {
|
|
492
|
-
description: "See https://docs.commercetools.com/
|
|
492
|
+
description: "See https://docs.commercetools.com/merchant-center-customizations/api-reference/custom-application-config#mainmenulinkpermissions",
|
|
493
493
|
type: "array",
|
|
494
494
|
"default": [
|
|
495
495
|
],
|
|
@@ -506,7 +506,7 @@ var customApplicationSchemaJson = {
|
|
|
506
506
|
]
|
|
507
507
|
},
|
|
508
508
|
submenuLinks: {
|
|
509
|
-
description: "See https://docs.commercetools.com/
|
|
509
|
+
description: "See https://docs.commercetools.com/merchant-center-customizations/api-reference/custom-application-config#submenulinks",
|
|
510
510
|
"default": [
|
|
511
511
|
],
|
|
512
512
|
type: "array",
|
|
@@ -514,15 +514,15 @@ var customApplicationSchemaJson = {
|
|
|
514
514
|
type: "object",
|
|
515
515
|
properties: {
|
|
516
516
|
uriPath: {
|
|
517
|
-
description: "See https://docs.commercetools.com/
|
|
517
|
+
description: "See https://docs.commercetools.com/merchant-center-customizations/api-reference/custom-application-config#submenulinksuripath",
|
|
518
518
|
type: "string"
|
|
519
519
|
},
|
|
520
520
|
defaultLabel: {
|
|
521
|
-
description: "See https://docs.commercetools.com/
|
|
521
|
+
description: "See https://docs.commercetools.com/merchant-center-customizations/api-reference/custom-application-config#submenulinksdefaultlabel",
|
|
522
522
|
type: "string"
|
|
523
523
|
},
|
|
524
524
|
labelAllLocales: {
|
|
525
|
-
description: "See https://docs.commercetools.com/
|
|
525
|
+
description: "See https://docs.commercetools.com/merchant-center-customizations/api-reference/custom-application-config#submenulinkslabelalllocales",
|
|
526
526
|
type: "array",
|
|
527
527
|
"default": [
|
|
528
528
|
],
|
|
@@ -552,7 +552,7 @@ var customApplicationSchemaJson = {
|
|
|
552
552
|
}
|
|
553
553
|
},
|
|
554
554
|
permissions: {
|
|
555
|
-
description: "See https://docs.commercetools.com/
|
|
555
|
+
description: "See https://docs.commercetools.com/merchant-center-customizations/api-reference/custom-application-config#submenulinkspermissions",
|
|
556
556
|
type: "array",
|
|
557
557
|
"default": [
|
|
558
558
|
],
|
|
@@ -586,7 +586,7 @@ var customApplicationSchemaJson = {
|
|
|
586
586
|
|
|
587
587
|
var customViewSchemaJson = {
|
|
588
588
|
$schema: "http://json-schema.org/draft-07/schema",
|
|
589
|
-
$id: "https://docs.commercetools.com/
|
|
589
|
+
$id: "https://docs.commercetools.com/merchant-center-customizations/custom-view.schema.json",
|
|
590
590
|
title: "JSON schema for Custom View configuration files",
|
|
591
591
|
type: "object",
|
|
592
592
|
definitions: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@commercetools-frontend/application-config",
|
|
3
|
-
"version": "22.
|
|
3
|
+
"version": "22.24.0",
|
|
4
4
|
"description": "Configuration utilities for building Custom Applications",
|
|
5
5
|
"bugs": "https://github.com/commercetools/merchant-center-application-kit/issues",
|
|
6
6
|
"repository": {
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
"url": "https://github.com/commercetools/merchant-center-application-kit.git",
|
|
9
9
|
"directory": "packages/application-config"
|
|
10
10
|
},
|
|
11
|
-
"homepage": "https://docs.commercetools.com/
|
|
11
|
+
"homepage": "https://docs.commercetools.com/merchant-center-customizations/api-reference/custom-application-config",
|
|
12
12
|
"keywords": [
|
|
13
13
|
"javascript",
|
|
14
14
|
"frontend",
|
|
@@ -45,8 +45,8 @@
|
|
|
45
45
|
"@babel/register": "^7.22.15",
|
|
46
46
|
"@babel/runtime": "^7.22.15",
|
|
47
47
|
"@babel/runtime-corejs3": "^7.22.15",
|
|
48
|
-
"@commercetools-frontend/babel-preset-mc-app": "22.
|
|
49
|
-
"@commercetools-frontend/constants": "22.
|
|
48
|
+
"@commercetools-frontend/babel-preset-mc-app": "22.24.0",
|
|
49
|
+
"@commercetools-frontend/constants": "22.24.0",
|
|
50
50
|
"@types/dompurify": "^2.4.0",
|
|
51
51
|
"@types/lodash": "^4.14.198",
|
|
52
52
|
"@types/react": "^17.0.56",
|
|
@@ -62,7 +62,7 @@
|
|
|
62
62
|
"@types/jsdom": "^21.1.2",
|
|
63
63
|
"json-schema-to-typescript": "13.1.2",
|
|
64
64
|
"shelljs": "0.8.5",
|
|
65
|
-
"@commercetools-frontend/assets": "22.
|
|
65
|
+
"@commercetools-frontend/assets": "22.24.0"
|
|
66
66
|
},
|
|
67
67
|
"engines": {
|
|
68
68
|
"node": "16.x || >=18.0.0"
|