@commercetools-frontend/application-config 22.37.0 → 22.38.1
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/custom-application.schema.json +33 -33
- package/custom-view.schema.json +28 -28
- package/dist/commercetools-frontend-application-config.cjs.dev.js +61 -61
- package/dist/commercetools-frontend-application-config.cjs.prod.js +61 -61
- package/dist/commercetools-frontend-application-config.esm.js +61 -61
- package/dist/declarations/src/schemas/generated/custom-application.schema.d.ts +32 -32
- package/dist/declarations/src/schemas/generated/custom-view.schema.d.ts +27 -27
- package/package.json +5 -5
|
@@ -275,31 +275,31 @@ var customApplicationSchemaJson = {
|
|
|
275
275
|
},
|
|
276
276
|
properties: {
|
|
277
277
|
name: {
|
|
278
|
-
description: "See https://docs.commercetools.com/merchant-center-customizations/
|
|
278
|
+
description: "See https://docs.commercetools.com/merchant-center-customizations/tooling-and-configuration/custom-application-config#name",
|
|
279
279
|
type: "string"
|
|
280
280
|
},
|
|
281
281
|
description: {
|
|
282
|
-
description: "See https://docs.commercetools.com/merchant-center-customizations/
|
|
282
|
+
description: "See https://docs.commercetools.com/merchant-center-customizations/tooling-and-configuration/custom-application-config#description",
|
|
283
283
|
type: "string"
|
|
284
284
|
},
|
|
285
285
|
entryPointUriPath: {
|
|
286
|
-
description: "See https://docs.commercetools.com/merchant-center-customizations/
|
|
286
|
+
description: "See https://docs.commercetools.com/merchant-center-customizations/tooling-and-configuration/custom-application-config#entrypointuripath",
|
|
287
287
|
type: "string"
|
|
288
288
|
},
|
|
289
289
|
cloudIdentifier: {
|
|
290
|
-
description: "See https://docs.commercetools.com/merchant-center-customizations/
|
|
290
|
+
description: "See https://docs.commercetools.com/merchant-center-customizations/tooling-and-configuration/custom-application-config#cloudidentifier",
|
|
291
291
|
type: "string"
|
|
292
292
|
},
|
|
293
293
|
mcApiUrl: {
|
|
294
|
-
description: "See https://docs.commercetools.com/merchant-center-customizations/
|
|
294
|
+
description: "See https://docs.commercetools.com/merchant-center-customizations/tooling-and-configuration/custom-application-config#mcapiurl",
|
|
295
295
|
type: "string"
|
|
296
296
|
},
|
|
297
297
|
oAuthScopes: {
|
|
298
|
-
description: "See https://docs.commercetools.com/merchant-center-customizations/
|
|
298
|
+
description: "See https://docs.commercetools.com/merchant-center-customizations/tooling-and-configuration/custom-application-config#oauthscopes",
|
|
299
299
|
type: "object",
|
|
300
300
|
properties: {
|
|
301
301
|
view: {
|
|
302
|
-
description: "See https://docs.commercetools.com/merchant-center-customizations/
|
|
302
|
+
description: "See https://docs.commercetools.com/merchant-center-customizations/tooling-and-configuration/custom-application-config#oauthscopesview",
|
|
303
303
|
type: "array",
|
|
304
304
|
"default": [
|
|
305
305
|
],
|
|
@@ -310,7 +310,7 @@ var customApplicationSchemaJson = {
|
|
|
310
310
|
uniqueItems: true
|
|
311
311
|
},
|
|
312
312
|
manage: {
|
|
313
|
-
description: "See https://docs.commercetools.com/merchant-center-customizations/
|
|
313
|
+
description: "See https://docs.commercetools.com/merchant-center-customizations/tooling-and-configuration/custom-application-config#oauthscopesmanage",
|
|
314
314
|
type: "array",
|
|
315
315
|
"default": [
|
|
316
316
|
],
|
|
@@ -328,7 +328,7 @@ var customApplicationSchemaJson = {
|
|
|
328
328
|
]
|
|
329
329
|
},
|
|
330
330
|
additionalOAuthScopes: {
|
|
331
|
-
description: "See https://docs.commercetools.com/merchant-center-customizations/
|
|
331
|
+
description: "See https://docs.commercetools.com/merchant-center-customizations/tooling-and-configuration/custom-application-config#additionaloauthscopes",
|
|
332
332
|
type: "array",
|
|
333
333
|
"default": [
|
|
334
334
|
],
|
|
@@ -337,11 +337,11 @@ var customApplicationSchemaJson = {
|
|
|
337
337
|
type: "object",
|
|
338
338
|
properties: {
|
|
339
339
|
name: {
|
|
340
|
-
description: "See https://docs.commercetools.com/merchant-center-customizations/
|
|
340
|
+
description: "See https://docs.commercetools.com/merchant-center-customizations/tooling-and-configuration/custom-application-config#additionaloauthscopesname",
|
|
341
341
|
type: "string"
|
|
342
342
|
},
|
|
343
343
|
view: {
|
|
344
|
-
description: "See https://docs.commercetools.com/merchant-center-customizations/
|
|
344
|
+
description: "See https://docs.commercetools.com/merchant-center-customizations/tooling-and-configuration/custom-application-config#additionaloauthscopesview",
|
|
345
345
|
type: "array",
|
|
346
346
|
"default": [
|
|
347
347
|
],
|
|
@@ -352,7 +352,7 @@ var customApplicationSchemaJson = {
|
|
|
352
352
|
uniqueItems: true
|
|
353
353
|
},
|
|
354
354
|
manage: {
|
|
355
|
-
description: "See https://docs.commercetools.com/merchant-center-customizations/
|
|
355
|
+
description: "See https://docs.commercetools.com/merchant-center-customizations/tooling-and-configuration/custom-application-config#additionaloauthscopesmanage",
|
|
356
356
|
type: "array",
|
|
357
357
|
"default": [
|
|
358
358
|
],
|
|
@@ -372,14 +372,14 @@ var customApplicationSchemaJson = {
|
|
|
372
372
|
}
|
|
373
373
|
},
|
|
374
374
|
env: {
|
|
375
|
-
description: "See https://docs.commercetools.com/merchant-center-customizations/
|
|
375
|
+
description: "See https://docs.commercetools.com/merchant-center-customizations/tooling-and-configuration/custom-application-config#env",
|
|
376
376
|
type: "object",
|
|
377
377
|
properties: {
|
|
378
378
|
development: {
|
|
379
379
|
type: "object",
|
|
380
380
|
properties: {
|
|
381
381
|
initialProjectKey: {
|
|
382
|
-
description: "See https://docs.commercetools.com/merchant-center-customizations/
|
|
382
|
+
description: "See https://docs.commercetools.com/merchant-center-customizations/tooling-and-configuration/custom-application-config#envdevelopmentinitialprojectkey",
|
|
383
383
|
type: "string"
|
|
384
384
|
},
|
|
385
385
|
teamId: {
|
|
@@ -395,15 +395,15 @@ var customApplicationSchemaJson = {
|
|
|
395
395
|
type: "object",
|
|
396
396
|
properties: {
|
|
397
397
|
applicationId: {
|
|
398
|
-
description: "See https://docs.commercetools.com/merchant-center-customizations/
|
|
398
|
+
description: "See https://docs.commercetools.com/merchant-center-customizations/tooling-and-configuration/custom-application-config#envproductionapplicationid",
|
|
399
399
|
type: "string"
|
|
400
400
|
},
|
|
401
401
|
url: {
|
|
402
|
-
description: "See https://docs.commercetools.com/merchant-center-customizations/
|
|
402
|
+
description: "See https://docs.commercetools.com/merchant-center-customizations/tooling-and-configuration/custom-application-config#envproductionurl",
|
|
403
403
|
type: "string"
|
|
404
404
|
},
|
|
405
405
|
cdnUrl: {
|
|
406
|
-
description: "See https://docs.commercetools.com/merchant-center-customizations/
|
|
406
|
+
description: "See https://docs.commercetools.com/merchant-center-customizations/tooling-and-configuration/custom-application-config#envproductioncdnurl",
|
|
407
407
|
type: "string"
|
|
408
408
|
}
|
|
409
409
|
},
|
|
@@ -421,15 +421,15 @@ var customApplicationSchemaJson = {
|
|
|
421
421
|
]
|
|
422
422
|
},
|
|
423
423
|
additionalEnv: {
|
|
424
|
-
description: "See https://docs.commercetools.com/merchant-center-customizations/
|
|
424
|
+
description: "See https://docs.commercetools.com/merchant-center-customizations/tooling-and-configuration/custom-application-config#additionalenv",
|
|
425
425
|
type: "object"
|
|
426
426
|
},
|
|
427
427
|
headers: {
|
|
428
|
-
description: "See https://docs.commercetools.com/merchant-center-customizations/
|
|
428
|
+
description: "See https://docs.commercetools.com/merchant-center-customizations/tooling-and-configuration/custom-application-config#headers",
|
|
429
429
|
type: "object",
|
|
430
430
|
properties: {
|
|
431
431
|
csp: {
|
|
432
|
-
description: "See https://docs.commercetools.com/merchant-center-customizations/
|
|
432
|
+
description: "See https://docs.commercetools.com/merchant-center-customizations/tooling-and-configuration/custom-application-config#headerscsp",
|
|
433
433
|
type: "object",
|
|
434
434
|
properties: {
|
|
435
435
|
"connect-src": {
|
|
@@ -457,11 +457,10 @@ var customApplicationSchemaJson = {
|
|
|
457
457
|
]
|
|
458
458
|
},
|
|
459
459
|
permissionsPolicies: {
|
|
460
|
-
description: "See https://docs.commercetools.com/merchant-center-customizations/
|
|
460
|
+
description: "See https://docs.commercetools.com/merchant-center-customizations/tooling-and-configuration/custom-application-config#headerspermissionspolicies",
|
|
461
461
|
type: "object"
|
|
462
462
|
},
|
|
463
463
|
strictTransportSecurity: {
|
|
464
|
-
description: "See https://docs.commercetools.com/merchant-center-customizations/api-reference/custom-application-config#headersstricttransportsecurity",
|
|
465
464
|
type: "array",
|
|
466
465
|
items: {
|
|
467
466
|
"enum": [
|
|
@@ -469,25 +468,26 @@ var customApplicationSchemaJson = {
|
|
|
469
468
|
"preload"
|
|
470
469
|
]
|
|
471
470
|
},
|
|
472
|
-
uniqueItems: true
|
|
471
|
+
uniqueItems: true,
|
|
472
|
+
deprecated: true
|
|
473
473
|
}
|
|
474
474
|
},
|
|
475
475
|
additionalProperties: false
|
|
476
476
|
},
|
|
477
477
|
icon: {
|
|
478
|
-
description: "See https://docs.commercetools.com/merchant-center-customizations/
|
|
478
|
+
description: "See https://docs.commercetools.com/merchant-center-customizations/tooling-and-configuration/custom-application-config#icon",
|
|
479
479
|
type: "string"
|
|
480
480
|
},
|
|
481
481
|
mainMenuLink: {
|
|
482
|
-
description: "See https://docs.commercetools.com/merchant-center-customizations/
|
|
482
|
+
description: "See https://docs.commercetools.com/merchant-center-customizations/tooling-and-configuration/custom-application-config#mainmenulink",
|
|
483
483
|
type: "object",
|
|
484
484
|
properties: {
|
|
485
485
|
defaultLabel: {
|
|
486
|
-
description: "See https://docs.commercetools.com/merchant-center-customizations/
|
|
486
|
+
description: "See https://docs.commercetools.com/merchant-center-customizations/tooling-and-configuration/custom-application-config#mainmenulinkdefaultlabel",
|
|
487
487
|
type: "string"
|
|
488
488
|
},
|
|
489
489
|
labelAllLocales: {
|
|
490
|
-
description: "See https://docs.commercetools.com/merchant-center-customizations/
|
|
490
|
+
description: "See https://docs.commercetools.com/merchant-center-customizations/tooling-and-configuration/custom-application-config#mainmenulinklabelalllocales",
|
|
491
491
|
type: "array",
|
|
492
492
|
"default": [
|
|
493
493
|
],
|
|
@@ -516,7 +516,7 @@ var customApplicationSchemaJson = {
|
|
|
516
516
|
}
|
|
517
517
|
},
|
|
518
518
|
permissions: {
|
|
519
|
-
description: "See https://docs.commercetools.com/merchant-center-customizations/
|
|
519
|
+
description: "See https://docs.commercetools.com/merchant-center-customizations/tooling-and-configuration/custom-application-config#mainmenulinkpermissions",
|
|
520
520
|
type: "array",
|
|
521
521
|
"default": [
|
|
522
522
|
],
|
|
@@ -533,7 +533,7 @@ var customApplicationSchemaJson = {
|
|
|
533
533
|
]
|
|
534
534
|
},
|
|
535
535
|
submenuLinks: {
|
|
536
|
-
description: "See https://docs.commercetools.com/merchant-center-customizations/
|
|
536
|
+
description: "See https://docs.commercetools.com/merchant-center-customizations/tooling-and-configuration/custom-application-config#submenulinks",
|
|
537
537
|
"default": [
|
|
538
538
|
],
|
|
539
539
|
type: "array",
|
|
@@ -541,15 +541,15 @@ var customApplicationSchemaJson = {
|
|
|
541
541
|
type: "object",
|
|
542
542
|
properties: {
|
|
543
543
|
uriPath: {
|
|
544
|
-
description: "See https://docs.commercetools.com/merchant-center-customizations/
|
|
544
|
+
description: "See https://docs.commercetools.com/merchant-center-customizations/tooling-and-configuration/custom-application-config#submenulinksuripath",
|
|
545
545
|
type: "string"
|
|
546
546
|
},
|
|
547
547
|
defaultLabel: {
|
|
548
|
-
description: "See https://docs.commercetools.com/merchant-center-customizations/
|
|
548
|
+
description: "See https://docs.commercetools.com/merchant-center-customizations/tooling-and-configuration/custom-application-config#submenulinksdefaultlabel",
|
|
549
549
|
type: "string"
|
|
550
550
|
},
|
|
551
551
|
labelAllLocales: {
|
|
552
|
-
description: "See https://docs.commercetools.com/merchant-center-customizations/
|
|
552
|
+
description: "See https://docs.commercetools.com/merchant-center-customizations/tooling-and-configuration/custom-application-config#submenulinkslabelalllocales",
|
|
553
553
|
type: "array",
|
|
554
554
|
"default": [
|
|
555
555
|
],
|
|
@@ -578,7 +578,7 @@ var customApplicationSchemaJson = {
|
|
|
578
578
|
}
|
|
579
579
|
},
|
|
580
580
|
permissions: {
|
|
581
|
-
description: "See https://docs.commercetools.com/merchant-center-customizations/
|
|
581
|
+
description: "See https://docs.commercetools.com/merchant-center-customizations/tooling-and-configuration/custom-application-config#submenulinkspermissions",
|
|
582
582
|
type: "array",
|
|
583
583
|
"default": [
|
|
584
584
|
],
|
|
@@ -626,27 +626,27 @@ var customViewSchemaJson = {
|
|
|
626
626
|
},
|
|
627
627
|
properties: {
|
|
628
628
|
name: {
|
|
629
|
-
description: "See https://docs.commercetools.com/
|
|
629
|
+
description: "See https://docs.commercetools.com/merchant-center-customizations/tooling-and-configuration/custom-view-config#name",
|
|
630
630
|
type: "string"
|
|
631
631
|
},
|
|
632
632
|
description: {
|
|
633
|
-
description: "See https://docs.commercetools.com/
|
|
633
|
+
description: "See https://docs.commercetools.com/merchant-center-customizations/tooling-and-configuration/custom-view-config#description",
|
|
634
634
|
type: "string"
|
|
635
635
|
},
|
|
636
636
|
cloudIdentifier: {
|
|
637
|
-
description: "See https://docs.commercetools.com/
|
|
637
|
+
description: "See https://docs.commercetools.com/merchant-center-customizations/tooling-and-configuration/custom-view-config#cloudidentifier",
|
|
638
638
|
type: "string"
|
|
639
639
|
},
|
|
640
640
|
mcApiUrl: {
|
|
641
|
-
description: "See https://docs.commercetools.com/
|
|
641
|
+
description: "See https://docs.commercetools.com/merchant-center-customizations/tooling-and-configuration/custom-view-config#mcapiurl",
|
|
642
642
|
type: "string"
|
|
643
643
|
},
|
|
644
644
|
oAuthScopes: {
|
|
645
|
-
description: "See https://docs.commercetools.com/
|
|
645
|
+
description: "See https://docs.commercetools.com/merchant-center-customizations/tooling-and-configuration/custom-view-config#oauthscopes",
|
|
646
646
|
type: "object",
|
|
647
647
|
properties: {
|
|
648
648
|
view: {
|
|
649
|
-
description: "See https://docs.commercetools.com/
|
|
649
|
+
description: "See https://docs.commercetools.com/merchant-center-customizations/tooling-and-configuration/custom-view-config#oauthscopesview",
|
|
650
650
|
type: "array",
|
|
651
651
|
"default": [
|
|
652
652
|
],
|
|
@@ -657,7 +657,7 @@ var customViewSchemaJson = {
|
|
|
657
657
|
uniqueItems: true
|
|
658
658
|
},
|
|
659
659
|
manage: {
|
|
660
|
-
description: "See https://docs.commercetools.com/
|
|
660
|
+
description: "See https://docs.commercetools.com/merchant-center-customizations/tooling-and-configuration/custom-view-config#oauthscopesmanage",
|
|
661
661
|
type: "array",
|
|
662
662
|
"default": [
|
|
663
663
|
],
|
|
@@ -675,7 +675,7 @@ var customViewSchemaJson = {
|
|
|
675
675
|
]
|
|
676
676
|
},
|
|
677
677
|
additionalOAuthScopes: {
|
|
678
|
-
description: "See https://docs.commercetools.com/
|
|
678
|
+
description: "See https://docs.commercetools.com/merchant-center-customizations/tooling-and-configuration/custom-view-config#additionaloauthscopes",
|
|
679
679
|
type: "array",
|
|
680
680
|
"default": [
|
|
681
681
|
],
|
|
@@ -684,11 +684,11 @@ var customViewSchemaJson = {
|
|
|
684
684
|
type: "object",
|
|
685
685
|
properties: {
|
|
686
686
|
name: {
|
|
687
|
-
description: "See https://docs.commercetools.com/
|
|
687
|
+
description: "See https://docs.commercetools.com/merchant-center-customizations/tooling-and-configuration/custom-view-config#additionaloauthscopesname",
|
|
688
688
|
type: "string"
|
|
689
689
|
},
|
|
690
690
|
view: {
|
|
691
|
-
description: "See https://docs.commercetools.com/
|
|
691
|
+
description: "See https://docs.commercetools.com/merchant-center-customizations/tooling-and-configuration/custom-view-config#additionaloauthscopesview",
|
|
692
692
|
type: "array",
|
|
693
693
|
"default": [
|
|
694
694
|
],
|
|
@@ -699,7 +699,7 @@ var customViewSchemaJson = {
|
|
|
699
699
|
uniqueItems: true
|
|
700
700
|
},
|
|
701
701
|
manage: {
|
|
702
|
-
description: "See https://docs.commercetools.com/
|
|
702
|
+
description: "See https://docs.commercetools.com/merchant-center-customizations/tooling-and-configuration/custom-view-config#additionaloauthscopesmanage",
|
|
703
703
|
type: "array",
|
|
704
704
|
"default": [
|
|
705
705
|
],
|
|
@@ -719,21 +719,21 @@ var customViewSchemaJson = {
|
|
|
719
719
|
}
|
|
720
720
|
},
|
|
721
721
|
env: {
|
|
722
|
-
description: "See https://docs.commercetools.com/
|
|
722
|
+
description: "See https://docs.commercetools.com/merchant-center-customizations/tooling-and-configuration/custom-view-config#env",
|
|
723
723
|
type: "object",
|
|
724
724
|
properties: {
|
|
725
725
|
development: {
|
|
726
726
|
type: "object",
|
|
727
727
|
properties: {
|
|
728
728
|
initialProjectKey: {
|
|
729
|
-
description: "See https://docs.commercetools.com/
|
|
729
|
+
description: "See https://docs.commercetools.com/merchant-center-customizations/tooling-and-configuration/custom-view-config#envdevelopmentinitialprojectkey",
|
|
730
730
|
type: "string"
|
|
731
731
|
},
|
|
732
732
|
teamId: {
|
|
733
733
|
type: "string"
|
|
734
734
|
},
|
|
735
735
|
hostUriPath: {
|
|
736
|
-
description: "See https://docs.commercetools.com/
|
|
736
|
+
description: "See https://docs.commercetools.com/merchant-center-customizations/tooling-and-configuration/custom-view-config#envdevelopmenthosturipath",
|
|
737
737
|
type: "string"
|
|
738
738
|
}
|
|
739
739
|
},
|
|
@@ -746,15 +746,15 @@ var customViewSchemaJson = {
|
|
|
746
746
|
type: "object",
|
|
747
747
|
properties: {
|
|
748
748
|
customViewId: {
|
|
749
|
-
description: "See https://docs.commercetools.com/
|
|
749
|
+
description: "See https://docs.commercetools.com/merchant-center-customizations/tooling-and-configuration/custom-view-config#envproductioncustomviewid",
|
|
750
750
|
type: "string"
|
|
751
751
|
},
|
|
752
752
|
url: {
|
|
753
|
-
description: "See https://docs.commercetools.com/
|
|
753
|
+
description: "See https://docs.commercetools.com/merchant-center-customizations/tooling-and-configuration/custom-view-config#envproductionurl",
|
|
754
754
|
type: "string"
|
|
755
755
|
},
|
|
756
756
|
cdnUrl: {
|
|
757
|
-
description: "See https://docs.commercetools.com/
|
|
757
|
+
description: "See https://docs.commercetools.com/merchant-center-customizations/tooling-and-configuration/custom-view-config#envproductioncdnurl",
|
|
758
758
|
type: "string"
|
|
759
759
|
}
|
|
760
760
|
},
|
|
@@ -772,15 +772,15 @@ var customViewSchemaJson = {
|
|
|
772
772
|
]
|
|
773
773
|
},
|
|
774
774
|
additionalEnv: {
|
|
775
|
-
description: "See https://docs.commercetools.com/
|
|
775
|
+
description: "See https://docs.commercetools.com/merchant-center-customizations/tooling-and-configuration/custom-view-config#additionalenv",
|
|
776
776
|
type: "object"
|
|
777
777
|
},
|
|
778
778
|
headers: {
|
|
779
|
-
description: "See https://docs.commercetools.com/
|
|
779
|
+
description: "See https://docs.commercetools.com/merchant-center-customizations/tooling-and-configuration/custom-view-config#headers",
|
|
780
780
|
type: "object",
|
|
781
781
|
properties: {
|
|
782
782
|
csp: {
|
|
783
|
-
description: "See https://docs.commercetools.com/
|
|
783
|
+
description: "See https://docs.commercetools.com/merchant-center-customizations/tooling-and-configuration/custom-view-config#headerscsp",
|
|
784
784
|
type: "object",
|
|
785
785
|
properties: {
|
|
786
786
|
"connect-src": {
|
|
@@ -808,11 +808,10 @@ var customViewSchemaJson = {
|
|
|
808
808
|
]
|
|
809
809
|
},
|
|
810
810
|
permissionsPolicies: {
|
|
811
|
-
description: "See https://docs.commercetools.com/
|
|
811
|
+
description: "See https://docs.commercetools.com/merchant-center-customizations/tooling-and-configuration/custom-view-config#headerspermissionspolicies",
|
|
812
812
|
type: "object"
|
|
813
813
|
},
|
|
814
814
|
strictTransportSecurity: {
|
|
815
|
-
description: "See https://docs.commercetools.com/TODO",
|
|
816
815
|
type: "array",
|
|
817
816
|
items: {
|
|
818
817
|
"enum": [
|
|
@@ -820,13 +819,14 @@ var customViewSchemaJson = {
|
|
|
820
819
|
"preload"
|
|
821
820
|
]
|
|
822
821
|
},
|
|
823
|
-
uniqueItems: true
|
|
822
|
+
uniqueItems: true,
|
|
823
|
+
deprecated: true
|
|
824
824
|
}
|
|
825
825
|
},
|
|
826
826
|
additionalProperties: false
|
|
827
827
|
},
|
|
828
828
|
labelAllLocales: {
|
|
829
|
-
description: "See https://docs.commercetools.com/
|
|
829
|
+
description: "See https://docs.commercetools.com/merchant-center-customizations/tooling-and-configuration/custom-view-config#labelalllocales",
|
|
830
830
|
type: "array",
|
|
831
831
|
"default": [
|
|
832
832
|
],
|
|
@@ -855,18 +855,18 @@ var customViewSchemaJson = {
|
|
|
855
855
|
}
|
|
856
856
|
},
|
|
857
857
|
type: {
|
|
858
|
-
description: "See https://docs.commercetools.com/
|
|
858
|
+
description: "See https://docs.commercetools.com/merchant-center-customizations/tooling-and-configuration/custom-view-config#type",
|
|
859
859
|
type: "string",
|
|
860
860
|
"enum": [
|
|
861
861
|
"CustomPanel"
|
|
862
862
|
]
|
|
863
863
|
},
|
|
864
864
|
typeSettings: {
|
|
865
|
-
description: "See https://docs.commercetools.com/
|
|
865
|
+
description: "See https://docs.commercetools.com/merchant-center-customizations/tooling-and-configuration/custom-view-config#typesettings",
|
|
866
866
|
type: "object",
|
|
867
867
|
properties: {
|
|
868
868
|
size: {
|
|
869
|
-
description: "See https://docs.commercetools.com/
|
|
869
|
+
description: "See https://docs.commercetools.com/merchant-center-customizations/tooling-and-configuration/custom-view-config#typesettingssize",
|
|
870
870
|
type: "string",
|
|
871
871
|
"enum": [
|
|
872
872
|
"SMALL",
|
|
@@ -876,7 +876,7 @@ var customViewSchemaJson = {
|
|
|
876
876
|
}
|
|
877
877
|
},
|
|
878
878
|
locators: {
|
|
879
|
-
description: "See https://docs.commercetools.com/
|
|
879
|
+
description: "See https://docs.commercetools.com/merchant-center-customizations/tooling-and-configuration/custom-view-config#locators",
|
|
880
880
|
type: "array",
|
|
881
881
|
"default": [
|
|
882
882
|
],
|
|
@@ -2,93 +2,93 @@
|
|
|
2
2
|
export type CspDirective = string[];
|
|
3
3
|
export interface JSONSchemaForCustomApplicationConfigurationFiles {
|
|
4
4
|
/**
|
|
5
|
-
* See https://docs.commercetools.com/merchant-center-customizations/
|
|
5
|
+
* See https://docs.commercetools.com/merchant-center-customizations/tooling-and-configuration/custom-application-config#name
|
|
6
6
|
*/
|
|
7
7
|
name: string;
|
|
8
8
|
/**
|
|
9
|
-
* See https://docs.commercetools.com/merchant-center-customizations/
|
|
9
|
+
* See https://docs.commercetools.com/merchant-center-customizations/tooling-and-configuration/custom-application-config#description
|
|
10
10
|
*/
|
|
11
11
|
description?: string;
|
|
12
12
|
/**
|
|
13
|
-
* See https://docs.commercetools.com/merchant-center-customizations/
|
|
13
|
+
* See https://docs.commercetools.com/merchant-center-customizations/tooling-and-configuration/custom-application-config#entrypointuripath
|
|
14
14
|
*/
|
|
15
15
|
entryPointUriPath: string;
|
|
16
16
|
/**
|
|
17
|
-
* See https://docs.commercetools.com/merchant-center-customizations/
|
|
17
|
+
* See https://docs.commercetools.com/merchant-center-customizations/tooling-and-configuration/custom-application-config#cloudidentifier
|
|
18
18
|
*/
|
|
19
19
|
cloudIdentifier: string;
|
|
20
20
|
/**
|
|
21
|
-
* See https://docs.commercetools.com/merchant-center-customizations/
|
|
21
|
+
* See https://docs.commercetools.com/merchant-center-customizations/tooling-and-configuration/custom-application-config#mcapiurl
|
|
22
22
|
*/
|
|
23
23
|
mcApiUrl?: string;
|
|
24
24
|
/**
|
|
25
|
-
* See https://docs.commercetools.com/merchant-center-customizations/
|
|
25
|
+
* See https://docs.commercetools.com/merchant-center-customizations/tooling-and-configuration/custom-application-config#oauthscopes
|
|
26
26
|
*/
|
|
27
27
|
oAuthScopes: {
|
|
28
28
|
/**
|
|
29
|
-
* See https://docs.commercetools.com/merchant-center-customizations/
|
|
29
|
+
* See https://docs.commercetools.com/merchant-center-customizations/tooling-and-configuration/custom-application-config#oauthscopesview
|
|
30
30
|
*/
|
|
31
31
|
view: string[];
|
|
32
32
|
/**
|
|
33
|
-
* See https://docs.commercetools.com/merchant-center-customizations/
|
|
33
|
+
* See https://docs.commercetools.com/merchant-center-customizations/tooling-and-configuration/custom-application-config#oauthscopesmanage
|
|
34
34
|
*/
|
|
35
35
|
manage: string[];
|
|
36
36
|
};
|
|
37
37
|
/**
|
|
38
|
-
* See https://docs.commercetools.com/merchant-center-customizations/
|
|
38
|
+
* See https://docs.commercetools.com/merchant-center-customizations/tooling-and-configuration/custom-application-config#additionaloauthscopes
|
|
39
39
|
*/
|
|
40
40
|
additionalOAuthScopes?: {
|
|
41
41
|
/**
|
|
42
|
-
* See https://docs.commercetools.com/merchant-center-customizations/
|
|
42
|
+
* See https://docs.commercetools.com/merchant-center-customizations/tooling-and-configuration/custom-application-config#additionaloauthscopesname
|
|
43
43
|
*/
|
|
44
44
|
name: string;
|
|
45
45
|
/**
|
|
46
|
-
* See https://docs.commercetools.com/merchant-center-customizations/
|
|
46
|
+
* See https://docs.commercetools.com/merchant-center-customizations/tooling-and-configuration/custom-application-config#additionaloauthscopesview
|
|
47
47
|
*/
|
|
48
48
|
view: string[];
|
|
49
49
|
/**
|
|
50
|
-
* See https://docs.commercetools.com/merchant-center-customizations/
|
|
50
|
+
* See https://docs.commercetools.com/merchant-center-customizations/tooling-and-configuration/custom-application-config#additionaloauthscopesmanage
|
|
51
51
|
*/
|
|
52
52
|
manage: string[];
|
|
53
53
|
}[];
|
|
54
54
|
/**
|
|
55
|
-
* See https://docs.commercetools.com/merchant-center-customizations/
|
|
55
|
+
* See https://docs.commercetools.com/merchant-center-customizations/tooling-and-configuration/custom-application-config#env
|
|
56
56
|
*/
|
|
57
57
|
env: {
|
|
58
58
|
development: {
|
|
59
59
|
/**
|
|
60
|
-
* See https://docs.commercetools.com/merchant-center-customizations/
|
|
60
|
+
* See https://docs.commercetools.com/merchant-center-customizations/tooling-and-configuration/custom-application-config#envdevelopmentinitialprojectkey
|
|
61
61
|
*/
|
|
62
62
|
initialProjectKey: string;
|
|
63
63
|
teamId?: string;
|
|
64
64
|
};
|
|
65
65
|
production: {
|
|
66
66
|
/**
|
|
67
|
-
* See https://docs.commercetools.com/merchant-center-customizations/
|
|
67
|
+
* See https://docs.commercetools.com/merchant-center-customizations/tooling-and-configuration/custom-application-config#envproductionapplicationid
|
|
68
68
|
*/
|
|
69
69
|
applicationId: string;
|
|
70
70
|
/**
|
|
71
|
-
* See https://docs.commercetools.com/merchant-center-customizations/
|
|
71
|
+
* See https://docs.commercetools.com/merchant-center-customizations/tooling-and-configuration/custom-application-config#envproductionurl
|
|
72
72
|
*/
|
|
73
73
|
url: string;
|
|
74
74
|
/**
|
|
75
|
-
* See https://docs.commercetools.com/merchant-center-customizations/
|
|
75
|
+
* See https://docs.commercetools.com/merchant-center-customizations/tooling-and-configuration/custom-application-config#envproductioncdnurl
|
|
76
76
|
*/
|
|
77
77
|
cdnUrl?: string;
|
|
78
78
|
};
|
|
79
79
|
};
|
|
80
80
|
/**
|
|
81
|
-
* See https://docs.commercetools.com/merchant-center-customizations/
|
|
81
|
+
* See https://docs.commercetools.com/merchant-center-customizations/tooling-and-configuration/custom-application-config#additionalenv
|
|
82
82
|
*/
|
|
83
83
|
additionalEnv?: {
|
|
84
84
|
[k: string]: unknown;
|
|
85
85
|
};
|
|
86
86
|
/**
|
|
87
|
-
* See https://docs.commercetools.com/merchant-center-customizations/
|
|
87
|
+
* See https://docs.commercetools.com/merchant-center-customizations/tooling-and-configuration/custom-application-config#headers
|
|
88
88
|
*/
|
|
89
89
|
headers?: {
|
|
90
90
|
/**
|
|
91
|
-
* See https://docs.commercetools.com/merchant-center-customizations/
|
|
91
|
+
* See https://docs.commercetools.com/merchant-center-customizations/tooling-and-configuration/custom-application-config#headerscsp
|
|
92
92
|
*/
|
|
93
93
|
csp?: {
|
|
94
94
|
'connect-src': CspDirective;
|
|
@@ -99,62 +99,62 @@ export interface JSONSchemaForCustomApplicationConfigurationFiles {
|
|
|
99
99
|
'frame-src'?: CspDirective;
|
|
100
100
|
};
|
|
101
101
|
/**
|
|
102
|
-
* See https://docs.commercetools.com/merchant-center-customizations/
|
|
102
|
+
* See https://docs.commercetools.com/merchant-center-customizations/tooling-and-configuration/custom-application-config#headerspermissionspolicies
|
|
103
103
|
*/
|
|
104
104
|
permissionsPolicies?: {
|
|
105
105
|
[k: string]: unknown;
|
|
106
106
|
};
|
|
107
107
|
/**
|
|
108
|
-
*
|
|
108
|
+
* @deprecated
|
|
109
109
|
*/
|
|
110
110
|
strictTransportSecurity?: ('includeSubDomains' | 'preload')[];
|
|
111
111
|
};
|
|
112
112
|
/**
|
|
113
|
-
* See https://docs.commercetools.com/merchant-center-customizations/
|
|
113
|
+
* See https://docs.commercetools.com/merchant-center-customizations/tooling-and-configuration/custom-application-config#icon
|
|
114
114
|
*/
|
|
115
115
|
icon: string;
|
|
116
116
|
/**
|
|
117
|
-
* See https://docs.commercetools.com/merchant-center-customizations/
|
|
117
|
+
* See https://docs.commercetools.com/merchant-center-customizations/tooling-and-configuration/custom-application-config#mainmenulink
|
|
118
118
|
*/
|
|
119
119
|
mainMenuLink: {
|
|
120
120
|
/**
|
|
121
|
-
* See https://docs.commercetools.com/merchant-center-customizations/
|
|
121
|
+
* See https://docs.commercetools.com/merchant-center-customizations/tooling-and-configuration/custom-application-config#mainmenulinkdefaultlabel
|
|
122
122
|
*/
|
|
123
123
|
defaultLabel: string;
|
|
124
124
|
/**
|
|
125
|
-
* See https://docs.commercetools.com/merchant-center-customizations/
|
|
125
|
+
* See https://docs.commercetools.com/merchant-center-customizations/tooling-and-configuration/custom-application-config#mainmenulinklabelalllocales
|
|
126
126
|
*/
|
|
127
127
|
labelAllLocales: {
|
|
128
128
|
locale: 'en' | 'de' | 'es' | 'fr-FR' | 'pt-BR';
|
|
129
129
|
value: string;
|
|
130
130
|
}[];
|
|
131
131
|
/**
|
|
132
|
-
* See https://docs.commercetools.com/merchant-center-customizations/
|
|
132
|
+
* See https://docs.commercetools.com/merchant-center-customizations/tooling-and-configuration/custom-application-config#mainmenulinkpermissions
|
|
133
133
|
*/
|
|
134
134
|
permissions: string[];
|
|
135
135
|
[k: string]: unknown;
|
|
136
136
|
};
|
|
137
137
|
/**
|
|
138
|
-
* See https://docs.commercetools.com/merchant-center-customizations/
|
|
138
|
+
* See https://docs.commercetools.com/merchant-center-customizations/tooling-and-configuration/custom-application-config#submenulinks
|
|
139
139
|
*/
|
|
140
140
|
submenuLinks: {
|
|
141
141
|
/**
|
|
142
|
-
* See https://docs.commercetools.com/merchant-center-customizations/
|
|
142
|
+
* See https://docs.commercetools.com/merchant-center-customizations/tooling-and-configuration/custom-application-config#submenulinksuripath
|
|
143
143
|
*/
|
|
144
144
|
uriPath: string;
|
|
145
145
|
/**
|
|
146
|
-
* See https://docs.commercetools.com/merchant-center-customizations/
|
|
146
|
+
* See https://docs.commercetools.com/merchant-center-customizations/tooling-and-configuration/custom-application-config#submenulinksdefaultlabel
|
|
147
147
|
*/
|
|
148
148
|
defaultLabel: string;
|
|
149
149
|
/**
|
|
150
|
-
* See https://docs.commercetools.com/merchant-center-customizations/
|
|
150
|
+
* See https://docs.commercetools.com/merchant-center-customizations/tooling-and-configuration/custom-application-config#submenulinkslabelalllocales
|
|
151
151
|
*/
|
|
152
152
|
labelAllLocales: {
|
|
153
153
|
locale: 'en' | 'de' | 'es' | 'fr-FR' | 'pt-BR';
|
|
154
154
|
value: string;
|
|
155
155
|
}[];
|
|
156
156
|
/**
|
|
157
|
-
* See https://docs.commercetools.com/merchant-center-customizations/
|
|
157
|
+
* See https://docs.commercetools.com/merchant-center-customizations/tooling-and-configuration/custom-application-config#submenulinkspermissions
|
|
158
158
|
*/
|
|
159
159
|
permissions: string[];
|
|
160
160
|
[k: string]: unknown;
|