@forge/manifest 2.6.0-next.12 → 2.6.0-next.16
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/CHANGELOG.md +27 -0
- package/out/mapping/product-event-to-scope-mapping.json +8 -8
- package/out/processor/full-validation-processor.d.ts.map +1 -1
- package/out/processor/full-validation-processor.js +1 -0
- package/out/schema/basic-manifest-schema.json +9 -0
- package/out/schema/basic-manifest.d.ts +4 -0
- package/out/schema/manifest-schema.json +1182 -435
- package/out/schema/manifest.d.ts +582 -254
- package/out/text/errors.d.ts +1 -0
- package/out/text/errors.d.ts.map +1 -1
- package/out/text/errors.js +2 -1
- package/out/validators/connect-authentication-validator.d.ts +7 -0
- package/out/validators/connect-authentication-validator.d.ts.map +1 -0
- package/out/validators/connect-authentication-validator.js +27 -0
- package/out/validators/index.d.ts +1 -0
- package/out/validators/index.d.ts.map +1 -1
- package/out/validators/index.js +1 -0
- package/package.json +1 -1
|
@@ -69,6 +69,15 @@
|
|
|
69
69
|
"description": "A key for the remote, which other modules can refer to. Must be unique within the manifest and have a maximum of 23 characters.",
|
|
70
70
|
"pattern": "^[a-zA-Z0-9_-]+$",
|
|
71
71
|
"maxLength": 23
|
|
72
|
+
},
|
|
73
|
+
"authentication": {
|
|
74
|
+
"description": "The type of authentication used to communicate with tenant APIs",
|
|
75
|
+
"type": "string",
|
|
76
|
+
"default": "jwt",
|
|
77
|
+
"enum": [
|
|
78
|
+
"jwt",
|
|
79
|
+
"oauth2"
|
|
80
|
+
]
|
|
72
81
|
}
|
|
73
82
|
}
|
|
74
83
|
}
|
|
@@ -2449,12 +2458,13 @@
|
|
|
2449
2458
|
"oneOf": [
|
|
2450
2459
|
{
|
|
2451
2460
|
"type": "object",
|
|
2452
|
-
"required": [
|
|
2453
|
-
"title",
|
|
2454
|
-
"function",
|
|
2455
|
-
"key"
|
|
2456
|
-
],
|
|
2457
2461
|
"properties": {
|
|
2462
|
+
"function": {
|
|
2463
|
+
"type": "string",
|
|
2464
|
+
"minLength": 1,
|
|
2465
|
+
"maxLength": 255,
|
|
2466
|
+
"pattern": "^[a-zA-Z0-9-_]+$"
|
|
2467
|
+
},
|
|
2458
2468
|
"title": {
|
|
2459
2469
|
"type": "string",
|
|
2460
2470
|
"minLength": 1,
|
|
@@ -2466,52 +2476,36 @@
|
|
|
2466
2476
|
"maxLength": 255
|
|
2467
2477
|
},
|
|
2468
2478
|
"layout": {
|
|
2469
|
-
"type": "string",
|
|
2470
|
-
"minLength": 1,
|
|
2471
|
-
"maxLength": 255,
|
|
2472
2479
|
"enum": [
|
|
2473
|
-
"
|
|
2474
|
-
"
|
|
2475
|
-
]
|
|
2476
|
-
|
|
2477
|
-
"function": {
|
|
2478
|
-
"type": "string",
|
|
2479
|
-
"minLength": 1,
|
|
2480
|
-
"maxLength": 255,
|
|
2481
|
-
"pattern": "^[a-zA-Z0-9-_]+$"
|
|
2480
|
+
"basic",
|
|
2481
|
+
"native"
|
|
2482
|
+
],
|
|
2483
|
+
"type": "string"
|
|
2482
2484
|
},
|
|
2483
2485
|
"key": {
|
|
2484
2486
|
"$ref": "#/definitions/ModuleKeySchema"
|
|
2485
2487
|
}
|
|
2486
|
-
}
|
|
2487
|
-
},
|
|
2488
|
-
{
|
|
2489
|
-
"type": "object",
|
|
2488
|
+
},
|
|
2490
2489
|
"required": [
|
|
2490
|
+
"function",
|
|
2491
2491
|
"title",
|
|
2492
|
-
"resource",
|
|
2493
2492
|
"key"
|
|
2494
|
-
]
|
|
2493
|
+
]
|
|
2494
|
+
},
|
|
2495
|
+
{
|
|
2496
|
+
"type": "object",
|
|
2495
2497
|
"properties": {
|
|
2496
|
-
"
|
|
2498
|
+
"resource": {
|
|
2497
2499
|
"type": "string",
|
|
2498
2500
|
"minLength": 1,
|
|
2499
|
-
"maxLength":
|
|
2501
|
+
"maxLength": 23,
|
|
2502
|
+
"pattern": "^[a-zA-Z0-9_\\-]+$"
|
|
2500
2503
|
},
|
|
2501
|
-
"
|
|
2504
|
+
"resourceUploadId": {
|
|
2502
2505
|
"type": "string",
|
|
2503
2506
|
"minLength": 1,
|
|
2504
2507
|
"maxLength": 255
|
|
2505
2508
|
},
|
|
2506
|
-
"layout": {
|
|
2507
|
-
"type": "string",
|
|
2508
|
-
"minLength": 1,
|
|
2509
|
-
"maxLength": 255,
|
|
2510
|
-
"enum": [
|
|
2511
|
-
"native",
|
|
2512
|
-
"basic"
|
|
2513
|
-
]
|
|
2514
|
-
},
|
|
2515
2509
|
"resolver": {
|
|
2516
2510
|
"additionalProperties": false,
|
|
2517
2511
|
"type": "object",
|
|
@@ -2527,38 +2521,6 @@
|
|
|
2527
2521
|
"function"
|
|
2528
2522
|
]
|
|
2529
2523
|
},
|
|
2530
|
-
"resource": {
|
|
2531
|
-
"type": "string",
|
|
2532
|
-
"minLength": 1,
|
|
2533
|
-
"maxLength": 23,
|
|
2534
|
-
"pattern": "^[a-zA-Z0-9_\\-]+$"
|
|
2535
|
-
},
|
|
2536
|
-
"resourceUploadId": {
|
|
2537
|
-
"type": "string",
|
|
2538
|
-
"minLength": 1,
|
|
2539
|
-
"maxLength": 255
|
|
2540
|
-
},
|
|
2541
|
-
"key": {
|
|
2542
|
-
"$ref": "#/definitions/ModuleKeySchema"
|
|
2543
|
-
}
|
|
2544
|
-
}
|
|
2545
|
-
}
|
|
2546
|
-
]
|
|
2547
|
-
},
|
|
2548
|
-
"minItems": 1
|
|
2549
|
-
},
|
|
2550
|
-
"jira:projectPage": {
|
|
2551
|
-
"type": "array",
|
|
2552
|
-
"items": {
|
|
2553
|
-
"oneOf": [
|
|
2554
|
-
{
|
|
2555
|
-
"type": "object",
|
|
2556
|
-
"required": [
|
|
2557
|
-
"title",
|
|
2558
|
-
"function",
|
|
2559
|
-
"key"
|
|
2560
|
-
],
|
|
2561
|
-
"properties": {
|
|
2562
2524
|
"title": {
|
|
2563
2525
|
"type": "string",
|
|
2564
2526
|
"minLength": 1,
|
|
@@ -2570,51 +2532,62 @@
|
|
|
2570
2532
|
"maxLength": 255
|
|
2571
2533
|
},
|
|
2572
2534
|
"layout": {
|
|
2573
|
-
"type": "string",
|
|
2574
|
-
"minLength": 1,
|
|
2575
|
-
"maxLength": 255,
|
|
2576
2535
|
"enum": [
|
|
2577
|
-
"
|
|
2578
|
-
"
|
|
2579
|
-
]
|
|
2580
|
-
|
|
2581
|
-
"function": {
|
|
2582
|
-
"type": "string",
|
|
2583
|
-
"minLength": 1,
|
|
2584
|
-
"maxLength": 255,
|
|
2585
|
-
"pattern": "^[a-zA-Z0-9-_]+$"
|
|
2536
|
+
"basic",
|
|
2537
|
+
"native"
|
|
2538
|
+
],
|
|
2539
|
+
"type": "string"
|
|
2586
2540
|
},
|
|
2587
2541
|
"key": {
|
|
2588
2542
|
"$ref": "#/definitions/ModuleKeySchema"
|
|
2589
2543
|
}
|
|
2590
|
-
}
|
|
2591
|
-
},
|
|
2592
|
-
{
|
|
2593
|
-
"type": "object",
|
|
2544
|
+
},
|
|
2594
2545
|
"required": [
|
|
2595
|
-
"title",
|
|
2596
2546
|
"resource",
|
|
2547
|
+
"title",
|
|
2597
2548
|
"key"
|
|
2598
|
-
]
|
|
2549
|
+
]
|
|
2550
|
+
},
|
|
2551
|
+
{
|
|
2552
|
+
"type": "object",
|
|
2599
2553
|
"properties": {
|
|
2600
|
-
"
|
|
2601
|
-
"type": "
|
|
2602
|
-
"
|
|
2603
|
-
|
|
2554
|
+
"pages": {
|
|
2555
|
+
"type": "array",
|
|
2556
|
+
"items": {
|
|
2557
|
+
"type": "object",
|
|
2558
|
+
"properties": {
|
|
2559
|
+
"title": {
|
|
2560
|
+
"type": "string",
|
|
2561
|
+
"minLength": 1,
|
|
2562
|
+
"maxLength": 255
|
|
2563
|
+
},
|
|
2564
|
+
"route": {
|
|
2565
|
+
"minLength": 1,
|
|
2566
|
+
"maxLength": 255,
|
|
2567
|
+
"type": "string"
|
|
2568
|
+
},
|
|
2569
|
+
"icon": {
|
|
2570
|
+
"type": "string",
|
|
2571
|
+
"minLength": 1,
|
|
2572
|
+
"maxLength": 255
|
|
2573
|
+
}
|
|
2574
|
+
},
|
|
2575
|
+
"required": [
|
|
2576
|
+
"route",
|
|
2577
|
+
"title"
|
|
2578
|
+
]
|
|
2579
|
+
}
|
|
2604
2580
|
},
|
|
2605
|
-
"
|
|
2581
|
+
"resource": {
|
|
2606
2582
|
"type": "string",
|
|
2607
2583
|
"minLength": 1,
|
|
2608
|
-
"maxLength":
|
|
2584
|
+
"maxLength": 23,
|
|
2585
|
+
"pattern": "^[a-zA-Z0-9_\\-]+$"
|
|
2609
2586
|
},
|
|
2610
|
-
"
|
|
2587
|
+
"resourceUploadId": {
|
|
2611
2588
|
"type": "string",
|
|
2612
2589
|
"minLength": 1,
|
|
2613
|
-
"maxLength": 255
|
|
2614
|
-
"enum": [
|
|
2615
|
-
"native",
|
|
2616
|
-
"basic"
|
|
2617
|
-
]
|
|
2590
|
+
"maxLength": 255
|
|
2618
2591
|
},
|
|
2619
2592
|
"resolver": {
|
|
2620
2593
|
"additionalProperties": false,
|
|
@@ -2631,44 +2604,11 @@
|
|
|
2631
2604
|
"function"
|
|
2632
2605
|
]
|
|
2633
2606
|
},
|
|
2634
|
-
"
|
|
2635
|
-
"type": "string",
|
|
2636
|
-
"minLength": 1,
|
|
2637
|
-
"maxLength": 23,
|
|
2638
|
-
"pattern": "^[a-zA-Z0-9_\\-]+$"
|
|
2639
|
-
},
|
|
2640
|
-
"resourceUploadId": {
|
|
2607
|
+
"title": {
|
|
2641
2608
|
"type": "string",
|
|
2642
2609
|
"minLength": 1,
|
|
2643
2610
|
"maxLength": 255
|
|
2644
2611
|
},
|
|
2645
|
-
"key": {
|
|
2646
|
-
"$ref": "#/definitions/ModuleKeySchema"
|
|
2647
|
-
}
|
|
2648
|
-
}
|
|
2649
|
-
}
|
|
2650
|
-
]
|
|
2651
|
-
},
|
|
2652
|
-
"minItems": 1
|
|
2653
|
-
},
|
|
2654
|
-
"jira:globalPage": {
|
|
2655
|
-
"type": "array",
|
|
2656
|
-
"items": {
|
|
2657
|
-
"oneOf": [
|
|
2658
|
-
{
|
|
2659
|
-
"type": "object",
|
|
2660
|
-
"properties": {
|
|
2661
|
-
"function": {
|
|
2662
|
-
"type": "string",
|
|
2663
|
-
"minLength": 1,
|
|
2664
|
-
"maxLength": 255,
|
|
2665
|
-
"pattern": "^[a-zA-Z0-9-_]+$"
|
|
2666
|
-
},
|
|
2667
|
-
"title": {
|
|
2668
|
-
"minLength": 1,
|
|
2669
|
-
"maxLength": 255,
|
|
2670
|
-
"type": "string"
|
|
2671
|
-
},
|
|
2672
2612
|
"icon": {
|
|
2673
2613
|
"type": "string",
|
|
2674
2614
|
"minLength": 1,
|
|
@@ -2686,7 +2626,8 @@
|
|
|
2686
2626
|
}
|
|
2687
2627
|
},
|
|
2688
2628
|
"required": [
|
|
2689
|
-
"
|
|
2629
|
+
"pages",
|
|
2630
|
+
"resource",
|
|
2690
2631
|
"title",
|
|
2691
2632
|
"key"
|
|
2692
2633
|
]
|
|
@@ -2694,12 +2635,60 @@
|
|
|
2694
2635
|
{
|
|
2695
2636
|
"type": "object",
|
|
2696
2637
|
"properties": {
|
|
2638
|
+
"sections": {
|
|
2639
|
+
"type": "array",
|
|
2640
|
+
"items": {
|
|
2641
|
+
"type": "object",
|
|
2642
|
+
"properties": {
|
|
2643
|
+
"header": {
|
|
2644
|
+
"minLength": 1,
|
|
2645
|
+
"maxLength": 255,
|
|
2646
|
+
"type": "string"
|
|
2647
|
+
},
|
|
2648
|
+
"pages": {
|
|
2649
|
+
"type": "array",
|
|
2650
|
+
"items": {
|
|
2651
|
+
"type": "object",
|
|
2652
|
+
"properties": {
|
|
2653
|
+
"title": {
|
|
2654
|
+
"type": "string",
|
|
2655
|
+
"minLength": 1,
|
|
2656
|
+
"maxLength": 255
|
|
2657
|
+
},
|
|
2658
|
+
"route": {
|
|
2659
|
+
"minLength": 1,
|
|
2660
|
+
"maxLength": 255,
|
|
2661
|
+
"type": "string"
|
|
2662
|
+
},
|
|
2663
|
+
"icon": {
|
|
2664
|
+
"type": "string",
|
|
2665
|
+
"minLength": 1,
|
|
2666
|
+
"maxLength": 255
|
|
2667
|
+
}
|
|
2668
|
+
},
|
|
2669
|
+
"required": [
|
|
2670
|
+
"route",
|
|
2671
|
+
"title"
|
|
2672
|
+
]
|
|
2673
|
+
}
|
|
2674
|
+
}
|
|
2675
|
+
},
|
|
2676
|
+
"required": [
|
|
2677
|
+
"pages"
|
|
2678
|
+
]
|
|
2679
|
+
}
|
|
2680
|
+
},
|
|
2697
2681
|
"resource": {
|
|
2698
2682
|
"type": "string",
|
|
2699
2683
|
"minLength": 1,
|
|
2700
2684
|
"maxLength": 23,
|
|
2701
2685
|
"pattern": "^[a-zA-Z0-9_\\-]+$"
|
|
2702
2686
|
},
|
|
2687
|
+
"resourceUploadId": {
|
|
2688
|
+
"type": "string",
|
|
2689
|
+
"minLength": 1,
|
|
2690
|
+
"maxLength": 255
|
|
2691
|
+
},
|
|
2703
2692
|
"resolver": {
|
|
2704
2693
|
"additionalProperties": false,
|
|
2705
2694
|
"type": "object",
|
|
@@ -2716,9 +2705,9 @@
|
|
|
2716
2705
|
]
|
|
2717
2706
|
},
|
|
2718
2707
|
"title": {
|
|
2708
|
+
"type": "string",
|
|
2719
2709
|
"minLength": 1,
|
|
2720
|
-
"maxLength": 255
|
|
2721
|
-
"type": "string"
|
|
2710
|
+
"maxLength": 255
|
|
2722
2711
|
},
|
|
2723
2712
|
"icon": {
|
|
2724
2713
|
"type": "string",
|
|
@@ -2738,6 +2727,7 @@
|
|
|
2738
2727
|
},
|
|
2739
2728
|
"required": [
|
|
2740
2729
|
"resource",
|
|
2730
|
+
"sections",
|
|
2741
2731
|
"title",
|
|
2742
2732
|
"key"
|
|
2743
2733
|
]
|
|
@@ -2746,7 +2736,7 @@
|
|
|
2746
2736
|
},
|
|
2747
2737
|
"minItems": 1
|
|
2748
2738
|
},
|
|
2749
|
-
"jira:
|
|
2739
|
+
"jira:projectPage": {
|
|
2750
2740
|
"type": "array",
|
|
2751
2741
|
"items": {
|
|
2752
2742
|
"oneOf": [
|
|
@@ -2760,9 +2750,9 @@
|
|
|
2760
2750
|
"pattern": "^[a-zA-Z0-9-_]+$"
|
|
2761
2751
|
},
|
|
2762
2752
|
"title": {
|
|
2753
|
+
"type": "string",
|
|
2763
2754
|
"minLength": 1,
|
|
2764
|
-
"maxLength": 255
|
|
2765
|
-
"type": "string"
|
|
2755
|
+
"maxLength": 255
|
|
2766
2756
|
},
|
|
2767
2757
|
"icon": {
|
|
2768
2758
|
"type": "string",
|
|
@@ -2795,6 +2785,11 @@
|
|
|
2795
2785
|
"maxLength": 23,
|
|
2796
2786
|
"pattern": "^[a-zA-Z0-9_\\-]+$"
|
|
2797
2787
|
},
|
|
2788
|
+
"resourceUploadId": {
|
|
2789
|
+
"type": "string",
|
|
2790
|
+
"minLength": 1,
|
|
2791
|
+
"maxLength": 255
|
|
2792
|
+
},
|
|
2798
2793
|
"resolver": {
|
|
2799
2794
|
"additionalProperties": false,
|
|
2800
2795
|
"type": "object",
|
|
@@ -2811,9 +2806,9 @@
|
|
|
2811
2806
|
]
|
|
2812
2807
|
},
|
|
2813
2808
|
"title": {
|
|
2809
|
+
"type": "string",
|
|
2814
2810
|
"minLength": 1,
|
|
2815
|
-
"maxLength": 255
|
|
2816
|
-
"type": "string"
|
|
2811
|
+
"maxLength": 255
|
|
2817
2812
|
},
|
|
2818
2813
|
"icon": {
|
|
2819
2814
|
"type": "string",
|
|
@@ -2836,24 +2831,776 @@
|
|
|
2836
2831
|
"title",
|
|
2837
2832
|
"key"
|
|
2838
2833
|
]
|
|
2839
|
-
}
|
|
2840
|
-
]
|
|
2841
|
-
},
|
|
2842
|
-
"minItems": 1
|
|
2843
|
-
},
|
|
2844
|
-
"compass:adminPage": {
|
|
2845
|
-
"type": "array",
|
|
2846
|
-
"items": {
|
|
2847
|
-
"oneOf": [
|
|
2834
|
+
},
|
|
2848
2835
|
{
|
|
2849
2836
|
"type": "object",
|
|
2850
|
-
"required": [
|
|
2851
|
-
"title",
|
|
2852
|
-
"function",
|
|
2853
|
-
"key"
|
|
2854
|
-
],
|
|
2855
2837
|
"properties": {
|
|
2856
|
-
"
|
|
2838
|
+
"pages": {
|
|
2839
|
+
"type": "array",
|
|
2840
|
+
"items": {
|
|
2841
|
+
"type": "object",
|
|
2842
|
+
"properties": {
|
|
2843
|
+
"title": {
|
|
2844
|
+
"type": "string",
|
|
2845
|
+
"minLength": 1,
|
|
2846
|
+
"maxLength": 255
|
|
2847
|
+
},
|
|
2848
|
+
"route": {
|
|
2849
|
+
"minLength": 1,
|
|
2850
|
+
"maxLength": 255,
|
|
2851
|
+
"type": "string"
|
|
2852
|
+
},
|
|
2853
|
+
"icon": {
|
|
2854
|
+
"type": "string",
|
|
2855
|
+
"minLength": 1,
|
|
2856
|
+
"maxLength": 255
|
|
2857
|
+
}
|
|
2858
|
+
},
|
|
2859
|
+
"required": [
|
|
2860
|
+
"route",
|
|
2861
|
+
"title"
|
|
2862
|
+
]
|
|
2863
|
+
}
|
|
2864
|
+
},
|
|
2865
|
+
"resource": {
|
|
2866
|
+
"type": "string",
|
|
2867
|
+
"minLength": 1,
|
|
2868
|
+
"maxLength": 23,
|
|
2869
|
+
"pattern": "^[a-zA-Z0-9_\\-]+$"
|
|
2870
|
+
},
|
|
2871
|
+
"resourceUploadId": {
|
|
2872
|
+
"type": "string",
|
|
2873
|
+
"minLength": 1,
|
|
2874
|
+
"maxLength": 255
|
|
2875
|
+
},
|
|
2876
|
+
"resolver": {
|
|
2877
|
+
"additionalProperties": false,
|
|
2878
|
+
"type": "object",
|
|
2879
|
+
"properties": {
|
|
2880
|
+
"function": {
|
|
2881
|
+
"type": "string",
|
|
2882
|
+
"minLength": 1,
|
|
2883
|
+
"maxLength": 255,
|
|
2884
|
+
"pattern": "^[a-zA-Z0-9-_]+$"
|
|
2885
|
+
}
|
|
2886
|
+
},
|
|
2887
|
+
"required": [
|
|
2888
|
+
"function"
|
|
2889
|
+
]
|
|
2890
|
+
},
|
|
2891
|
+
"title": {
|
|
2892
|
+
"type": "string",
|
|
2893
|
+
"minLength": 1,
|
|
2894
|
+
"maxLength": 255
|
|
2895
|
+
},
|
|
2896
|
+
"icon": {
|
|
2897
|
+
"type": "string",
|
|
2898
|
+
"minLength": 1,
|
|
2899
|
+
"maxLength": 255
|
|
2900
|
+
},
|
|
2901
|
+
"layout": {
|
|
2902
|
+
"enum": [
|
|
2903
|
+
"basic",
|
|
2904
|
+
"native"
|
|
2905
|
+
],
|
|
2906
|
+
"type": "string"
|
|
2907
|
+
},
|
|
2908
|
+
"key": {
|
|
2909
|
+
"$ref": "#/definitions/ModuleKeySchema"
|
|
2910
|
+
}
|
|
2911
|
+
},
|
|
2912
|
+
"required": [
|
|
2913
|
+
"pages",
|
|
2914
|
+
"resource",
|
|
2915
|
+
"title",
|
|
2916
|
+
"key"
|
|
2917
|
+
]
|
|
2918
|
+
},
|
|
2919
|
+
{
|
|
2920
|
+
"type": "object",
|
|
2921
|
+
"properties": {
|
|
2922
|
+
"sections": {
|
|
2923
|
+
"type": "array",
|
|
2924
|
+
"items": {
|
|
2925
|
+
"type": "object",
|
|
2926
|
+
"properties": {
|
|
2927
|
+
"header": {
|
|
2928
|
+
"minLength": 1,
|
|
2929
|
+
"maxLength": 255,
|
|
2930
|
+
"type": "string"
|
|
2931
|
+
},
|
|
2932
|
+
"pages": {
|
|
2933
|
+
"type": "array",
|
|
2934
|
+
"items": {
|
|
2935
|
+
"type": "object",
|
|
2936
|
+
"properties": {
|
|
2937
|
+
"title": {
|
|
2938
|
+
"type": "string",
|
|
2939
|
+
"minLength": 1,
|
|
2940
|
+
"maxLength": 255
|
|
2941
|
+
},
|
|
2942
|
+
"route": {
|
|
2943
|
+
"minLength": 1,
|
|
2944
|
+
"maxLength": 255,
|
|
2945
|
+
"type": "string"
|
|
2946
|
+
},
|
|
2947
|
+
"icon": {
|
|
2948
|
+
"type": "string",
|
|
2949
|
+
"minLength": 1,
|
|
2950
|
+
"maxLength": 255
|
|
2951
|
+
}
|
|
2952
|
+
},
|
|
2953
|
+
"required": [
|
|
2954
|
+
"route",
|
|
2955
|
+
"title"
|
|
2956
|
+
]
|
|
2957
|
+
}
|
|
2958
|
+
}
|
|
2959
|
+
},
|
|
2960
|
+
"required": [
|
|
2961
|
+
"pages"
|
|
2962
|
+
]
|
|
2963
|
+
}
|
|
2964
|
+
},
|
|
2965
|
+
"resource": {
|
|
2966
|
+
"type": "string",
|
|
2967
|
+
"minLength": 1,
|
|
2968
|
+
"maxLength": 23,
|
|
2969
|
+
"pattern": "^[a-zA-Z0-9_\\-]+$"
|
|
2970
|
+
},
|
|
2971
|
+
"resourceUploadId": {
|
|
2972
|
+
"type": "string",
|
|
2973
|
+
"minLength": 1,
|
|
2974
|
+
"maxLength": 255
|
|
2975
|
+
},
|
|
2976
|
+
"resolver": {
|
|
2977
|
+
"additionalProperties": false,
|
|
2978
|
+
"type": "object",
|
|
2979
|
+
"properties": {
|
|
2980
|
+
"function": {
|
|
2981
|
+
"type": "string",
|
|
2982
|
+
"minLength": 1,
|
|
2983
|
+
"maxLength": 255,
|
|
2984
|
+
"pattern": "^[a-zA-Z0-9-_]+$"
|
|
2985
|
+
}
|
|
2986
|
+
},
|
|
2987
|
+
"required": [
|
|
2988
|
+
"function"
|
|
2989
|
+
]
|
|
2990
|
+
},
|
|
2991
|
+
"title": {
|
|
2992
|
+
"type": "string",
|
|
2993
|
+
"minLength": 1,
|
|
2994
|
+
"maxLength": 255
|
|
2995
|
+
},
|
|
2996
|
+
"icon": {
|
|
2997
|
+
"type": "string",
|
|
2998
|
+
"minLength": 1,
|
|
2999
|
+
"maxLength": 255
|
|
3000
|
+
},
|
|
3001
|
+
"layout": {
|
|
3002
|
+
"enum": [
|
|
3003
|
+
"basic",
|
|
3004
|
+
"native"
|
|
3005
|
+
],
|
|
3006
|
+
"type": "string"
|
|
3007
|
+
},
|
|
3008
|
+
"key": {
|
|
3009
|
+
"$ref": "#/definitions/ModuleKeySchema"
|
|
3010
|
+
}
|
|
3011
|
+
},
|
|
3012
|
+
"required": [
|
|
3013
|
+
"resource",
|
|
3014
|
+
"sections",
|
|
3015
|
+
"title",
|
|
3016
|
+
"key"
|
|
3017
|
+
]
|
|
3018
|
+
}
|
|
3019
|
+
]
|
|
3020
|
+
},
|
|
3021
|
+
"minItems": 1
|
|
3022
|
+
},
|
|
3023
|
+
"jira:globalPage": {
|
|
3024
|
+
"type": "array",
|
|
3025
|
+
"items": {
|
|
3026
|
+
"oneOf": [
|
|
3027
|
+
{
|
|
3028
|
+
"type": "object",
|
|
3029
|
+
"properties": {
|
|
3030
|
+
"function": {
|
|
3031
|
+
"type": "string",
|
|
3032
|
+
"minLength": 1,
|
|
3033
|
+
"maxLength": 255,
|
|
3034
|
+
"pattern": "^[a-zA-Z0-9-_]+$"
|
|
3035
|
+
},
|
|
3036
|
+
"title": {
|
|
3037
|
+
"type": "string",
|
|
3038
|
+
"minLength": 1,
|
|
3039
|
+
"maxLength": 255
|
|
3040
|
+
},
|
|
3041
|
+
"icon": {
|
|
3042
|
+
"type": "string",
|
|
3043
|
+
"minLength": 1,
|
|
3044
|
+
"maxLength": 255
|
|
3045
|
+
},
|
|
3046
|
+
"layout": {
|
|
3047
|
+
"enum": [
|
|
3048
|
+
"basic",
|
|
3049
|
+
"native"
|
|
3050
|
+
],
|
|
3051
|
+
"type": "string"
|
|
3052
|
+
},
|
|
3053
|
+
"key": {
|
|
3054
|
+
"$ref": "#/definitions/ModuleKeySchema"
|
|
3055
|
+
}
|
|
3056
|
+
},
|
|
3057
|
+
"required": [
|
|
3058
|
+
"function",
|
|
3059
|
+
"title",
|
|
3060
|
+
"key"
|
|
3061
|
+
]
|
|
3062
|
+
},
|
|
3063
|
+
{
|
|
3064
|
+
"type": "object",
|
|
3065
|
+
"properties": {
|
|
3066
|
+
"resource": {
|
|
3067
|
+
"type": "string",
|
|
3068
|
+
"minLength": 1,
|
|
3069
|
+
"maxLength": 23,
|
|
3070
|
+
"pattern": "^[a-zA-Z0-9_\\-]+$"
|
|
3071
|
+
},
|
|
3072
|
+
"resourceUploadId": {
|
|
3073
|
+
"type": "string",
|
|
3074
|
+
"minLength": 1,
|
|
3075
|
+
"maxLength": 255
|
|
3076
|
+
},
|
|
3077
|
+
"resolver": {
|
|
3078
|
+
"additionalProperties": false,
|
|
3079
|
+
"type": "object",
|
|
3080
|
+
"properties": {
|
|
3081
|
+
"function": {
|
|
3082
|
+
"type": "string",
|
|
3083
|
+
"minLength": 1,
|
|
3084
|
+
"maxLength": 255,
|
|
3085
|
+
"pattern": "^[a-zA-Z0-9-_]+$"
|
|
3086
|
+
}
|
|
3087
|
+
},
|
|
3088
|
+
"required": [
|
|
3089
|
+
"function"
|
|
3090
|
+
]
|
|
3091
|
+
},
|
|
3092
|
+
"title": {
|
|
3093
|
+
"type": "string",
|
|
3094
|
+
"minLength": 1,
|
|
3095
|
+
"maxLength": 255
|
|
3096
|
+
},
|
|
3097
|
+
"icon": {
|
|
3098
|
+
"type": "string",
|
|
3099
|
+
"minLength": 1,
|
|
3100
|
+
"maxLength": 255
|
|
3101
|
+
},
|
|
3102
|
+
"layout": {
|
|
3103
|
+
"enum": [
|
|
3104
|
+
"basic",
|
|
3105
|
+
"native"
|
|
3106
|
+
],
|
|
3107
|
+
"type": "string"
|
|
3108
|
+
},
|
|
3109
|
+
"key": {
|
|
3110
|
+
"$ref": "#/definitions/ModuleKeySchema"
|
|
3111
|
+
}
|
|
3112
|
+
},
|
|
3113
|
+
"required": [
|
|
3114
|
+
"resource",
|
|
3115
|
+
"title",
|
|
3116
|
+
"key"
|
|
3117
|
+
]
|
|
3118
|
+
},
|
|
3119
|
+
{
|
|
3120
|
+
"type": "object",
|
|
3121
|
+
"properties": {
|
|
3122
|
+
"pages": {
|
|
3123
|
+
"type": "array",
|
|
3124
|
+
"items": {
|
|
3125
|
+
"type": "object",
|
|
3126
|
+
"properties": {
|
|
3127
|
+
"title": {
|
|
3128
|
+
"type": "string",
|
|
3129
|
+
"minLength": 1,
|
|
3130
|
+
"maxLength": 255
|
|
3131
|
+
},
|
|
3132
|
+
"route": {
|
|
3133
|
+
"minLength": 1,
|
|
3134
|
+
"maxLength": 255,
|
|
3135
|
+
"type": "string"
|
|
3136
|
+
},
|
|
3137
|
+
"icon": {
|
|
3138
|
+
"type": "string",
|
|
3139
|
+
"minLength": 1,
|
|
3140
|
+
"maxLength": 255
|
|
3141
|
+
}
|
|
3142
|
+
},
|
|
3143
|
+
"required": [
|
|
3144
|
+
"route",
|
|
3145
|
+
"title"
|
|
3146
|
+
]
|
|
3147
|
+
}
|
|
3148
|
+
},
|
|
3149
|
+
"resource": {
|
|
3150
|
+
"type": "string",
|
|
3151
|
+
"minLength": 1,
|
|
3152
|
+
"maxLength": 23,
|
|
3153
|
+
"pattern": "^[a-zA-Z0-9_\\-]+$"
|
|
3154
|
+
},
|
|
3155
|
+
"resourceUploadId": {
|
|
3156
|
+
"type": "string",
|
|
3157
|
+
"minLength": 1,
|
|
3158
|
+
"maxLength": 255
|
|
3159
|
+
},
|
|
3160
|
+
"resolver": {
|
|
3161
|
+
"additionalProperties": false,
|
|
3162
|
+
"type": "object",
|
|
3163
|
+
"properties": {
|
|
3164
|
+
"function": {
|
|
3165
|
+
"type": "string",
|
|
3166
|
+
"minLength": 1,
|
|
3167
|
+
"maxLength": 255,
|
|
3168
|
+
"pattern": "^[a-zA-Z0-9-_]+$"
|
|
3169
|
+
}
|
|
3170
|
+
},
|
|
3171
|
+
"required": [
|
|
3172
|
+
"function"
|
|
3173
|
+
]
|
|
3174
|
+
},
|
|
3175
|
+
"title": {
|
|
3176
|
+
"type": "string",
|
|
3177
|
+
"minLength": 1,
|
|
3178
|
+
"maxLength": 255
|
|
3179
|
+
},
|
|
3180
|
+
"icon": {
|
|
3181
|
+
"type": "string",
|
|
3182
|
+
"minLength": 1,
|
|
3183
|
+
"maxLength": 255
|
|
3184
|
+
},
|
|
3185
|
+
"layout": {
|
|
3186
|
+
"enum": [
|
|
3187
|
+
"basic",
|
|
3188
|
+
"native"
|
|
3189
|
+
],
|
|
3190
|
+
"type": "string"
|
|
3191
|
+
},
|
|
3192
|
+
"key": {
|
|
3193
|
+
"$ref": "#/definitions/ModuleKeySchema"
|
|
3194
|
+
}
|
|
3195
|
+
},
|
|
3196
|
+
"required": [
|
|
3197
|
+
"pages",
|
|
3198
|
+
"resource",
|
|
3199
|
+
"title",
|
|
3200
|
+
"key"
|
|
3201
|
+
]
|
|
3202
|
+
},
|
|
3203
|
+
{
|
|
3204
|
+
"type": "object",
|
|
3205
|
+
"properties": {
|
|
3206
|
+
"sections": {
|
|
3207
|
+
"type": "array",
|
|
3208
|
+
"items": {
|
|
3209
|
+
"type": "object",
|
|
3210
|
+
"properties": {
|
|
3211
|
+
"header": {
|
|
3212
|
+
"minLength": 1,
|
|
3213
|
+
"maxLength": 255,
|
|
3214
|
+
"type": "string"
|
|
3215
|
+
},
|
|
3216
|
+
"pages": {
|
|
3217
|
+
"type": "array",
|
|
3218
|
+
"items": {
|
|
3219
|
+
"type": "object",
|
|
3220
|
+
"properties": {
|
|
3221
|
+
"title": {
|
|
3222
|
+
"type": "string",
|
|
3223
|
+
"minLength": 1,
|
|
3224
|
+
"maxLength": 255
|
|
3225
|
+
},
|
|
3226
|
+
"route": {
|
|
3227
|
+
"minLength": 1,
|
|
3228
|
+
"maxLength": 255,
|
|
3229
|
+
"type": "string"
|
|
3230
|
+
},
|
|
3231
|
+
"icon": {
|
|
3232
|
+
"type": "string",
|
|
3233
|
+
"minLength": 1,
|
|
3234
|
+
"maxLength": 255
|
|
3235
|
+
}
|
|
3236
|
+
},
|
|
3237
|
+
"required": [
|
|
3238
|
+
"route",
|
|
3239
|
+
"title"
|
|
3240
|
+
]
|
|
3241
|
+
}
|
|
3242
|
+
}
|
|
3243
|
+
},
|
|
3244
|
+
"required": [
|
|
3245
|
+
"pages"
|
|
3246
|
+
]
|
|
3247
|
+
}
|
|
3248
|
+
},
|
|
3249
|
+
"resource": {
|
|
3250
|
+
"type": "string",
|
|
3251
|
+
"minLength": 1,
|
|
3252
|
+
"maxLength": 23,
|
|
3253
|
+
"pattern": "^[a-zA-Z0-9_\\-]+$"
|
|
3254
|
+
},
|
|
3255
|
+
"resourceUploadId": {
|
|
3256
|
+
"type": "string",
|
|
3257
|
+
"minLength": 1,
|
|
3258
|
+
"maxLength": 255
|
|
3259
|
+
},
|
|
3260
|
+
"resolver": {
|
|
3261
|
+
"additionalProperties": false,
|
|
3262
|
+
"type": "object",
|
|
3263
|
+
"properties": {
|
|
3264
|
+
"function": {
|
|
3265
|
+
"type": "string",
|
|
3266
|
+
"minLength": 1,
|
|
3267
|
+
"maxLength": 255,
|
|
3268
|
+
"pattern": "^[a-zA-Z0-9-_]+$"
|
|
3269
|
+
}
|
|
3270
|
+
},
|
|
3271
|
+
"required": [
|
|
3272
|
+
"function"
|
|
3273
|
+
]
|
|
3274
|
+
},
|
|
3275
|
+
"title": {
|
|
3276
|
+
"type": "string",
|
|
3277
|
+
"minLength": 1,
|
|
3278
|
+
"maxLength": 255
|
|
3279
|
+
},
|
|
3280
|
+
"icon": {
|
|
3281
|
+
"type": "string",
|
|
3282
|
+
"minLength": 1,
|
|
3283
|
+
"maxLength": 255
|
|
3284
|
+
},
|
|
3285
|
+
"layout": {
|
|
3286
|
+
"enum": [
|
|
3287
|
+
"basic",
|
|
3288
|
+
"native"
|
|
3289
|
+
],
|
|
3290
|
+
"type": "string"
|
|
3291
|
+
},
|
|
3292
|
+
"key": {
|
|
3293
|
+
"$ref": "#/definitions/ModuleKeySchema"
|
|
3294
|
+
}
|
|
3295
|
+
},
|
|
3296
|
+
"required": [
|
|
3297
|
+
"resource",
|
|
3298
|
+
"sections",
|
|
3299
|
+
"title",
|
|
3300
|
+
"key"
|
|
3301
|
+
]
|
|
3302
|
+
}
|
|
3303
|
+
]
|
|
3304
|
+
},
|
|
3305
|
+
"minItems": 1
|
|
3306
|
+
},
|
|
3307
|
+
"jira:projectSettingsPage": {
|
|
3308
|
+
"type": "array",
|
|
3309
|
+
"items": {
|
|
3310
|
+
"oneOf": [
|
|
3311
|
+
{
|
|
3312
|
+
"type": "object",
|
|
3313
|
+
"properties": {
|
|
3314
|
+
"function": {
|
|
3315
|
+
"type": "string",
|
|
3316
|
+
"minLength": 1,
|
|
3317
|
+
"maxLength": 255,
|
|
3318
|
+
"pattern": "^[a-zA-Z0-9-_]+$"
|
|
3319
|
+
},
|
|
3320
|
+
"title": {
|
|
3321
|
+
"type": "string",
|
|
3322
|
+
"minLength": 1,
|
|
3323
|
+
"maxLength": 255
|
|
3324
|
+
},
|
|
3325
|
+
"icon": {
|
|
3326
|
+
"type": "string",
|
|
3327
|
+
"minLength": 1,
|
|
3328
|
+
"maxLength": 255
|
|
3329
|
+
},
|
|
3330
|
+
"layout": {
|
|
3331
|
+
"enum": [
|
|
3332
|
+
"basic",
|
|
3333
|
+
"native"
|
|
3334
|
+
],
|
|
3335
|
+
"type": "string"
|
|
3336
|
+
},
|
|
3337
|
+
"key": {
|
|
3338
|
+
"$ref": "#/definitions/ModuleKeySchema"
|
|
3339
|
+
}
|
|
3340
|
+
},
|
|
3341
|
+
"required": [
|
|
3342
|
+
"function",
|
|
3343
|
+
"title",
|
|
3344
|
+
"key"
|
|
3345
|
+
]
|
|
3346
|
+
},
|
|
3347
|
+
{
|
|
3348
|
+
"type": "object",
|
|
3349
|
+
"properties": {
|
|
3350
|
+
"resource": {
|
|
3351
|
+
"type": "string",
|
|
3352
|
+
"minLength": 1,
|
|
3353
|
+
"maxLength": 23,
|
|
3354
|
+
"pattern": "^[a-zA-Z0-9_\\-]+$"
|
|
3355
|
+
},
|
|
3356
|
+
"resourceUploadId": {
|
|
3357
|
+
"type": "string",
|
|
3358
|
+
"minLength": 1,
|
|
3359
|
+
"maxLength": 255
|
|
3360
|
+
},
|
|
3361
|
+
"resolver": {
|
|
3362
|
+
"additionalProperties": false,
|
|
3363
|
+
"type": "object",
|
|
3364
|
+
"properties": {
|
|
3365
|
+
"function": {
|
|
3366
|
+
"type": "string",
|
|
3367
|
+
"minLength": 1,
|
|
3368
|
+
"maxLength": 255,
|
|
3369
|
+
"pattern": "^[a-zA-Z0-9-_]+$"
|
|
3370
|
+
}
|
|
3371
|
+
},
|
|
3372
|
+
"required": [
|
|
3373
|
+
"function"
|
|
3374
|
+
]
|
|
3375
|
+
},
|
|
3376
|
+
"title": {
|
|
3377
|
+
"type": "string",
|
|
3378
|
+
"minLength": 1,
|
|
3379
|
+
"maxLength": 255
|
|
3380
|
+
},
|
|
3381
|
+
"icon": {
|
|
3382
|
+
"type": "string",
|
|
3383
|
+
"minLength": 1,
|
|
3384
|
+
"maxLength": 255
|
|
3385
|
+
},
|
|
3386
|
+
"layout": {
|
|
3387
|
+
"enum": [
|
|
3388
|
+
"basic",
|
|
3389
|
+
"native"
|
|
3390
|
+
],
|
|
3391
|
+
"type": "string"
|
|
3392
|
+
},
|
|
3393
|
+
"key": {
|
|
3394
|
+
"$ref": "#/definitions/ModuleKeySchema"
|
|
3395
|
+
}
|
|
3396
|
+
},
|
|
3397
|
+
"required": [
|
|
3398
|
+
"resource",
|
|
3399
|
+
"title",
|
|
3400
|
+
"key"
|
|
3401
|
+
]
|
|
3402
|
+
},
|
|
3403
|
+
{
|
|
3404
|
+
"type": "object",
|
|
3405
|
+
"properties": {
|
|
3406
|
+
"pages": {
|
|
3407
|
+
"type": "array",
|
|
3408
|
+
"items": {
|
|
3409
|
+
"type": "object",
|
|
3410
|
+
"properties": {
|
|
3411
|
+
"title": {
|
|
3412
|
+
"type": "string",
|
|
3413
|
+
"minLength": 1,
|
|
3414
|
+
"maxLength": 255
|
|
3415
|
+
},
|
|
3416
|
+
"route": {
|
|
3417
|
+
"minLength": 1,
|
|
3418
|
+
"maxLength": 255,
|
|
3419
|
+
"type": "string"
|
|
3420
|
+
},
|
|
3421
|
+
"icon": {
|
|
3422
|
+
"type": "string",
|
|
3423
|
+
"minLength": 1,
|
|
3424
|
+
"maxLength": 255
|
|
3425
|
+
}
|
|
3426
|
+
},
|
|
3427
|
+
"required": [
|
|
3428
|
+
"route",
|
|
3429
|
+
"title"
|
|
3430
|
+
]
|
|
3431
|
+
}
|
|
3432
|
+
},
|
|
3433
|
+
"resource": {
|
|
3434
|
+
"type": "string",
|
|
3435
|
+
"minLength": 1,
|
|
3436
|
+
"maxLength": 23,
|
|
3437
|
+
"pattern": "^[a-zA-Z0-9_\\-]+$"
|
|
3438
|
+
},
|
|
3439
|
+
"resourceUploadId": {
|
|
3440
|
+
"type": "string",
|
|
3441
|
+
"minLength": 1,
|
|
3442
|
+
"maxLength": 255
|
|
3443
|
+
},
|
|
3444
|
+
"resolver": {
|
|
3445
|
+
"additionalProperties": false,
|
|
3446
|
+
"type": "object",
|
|
3447
|
+
"properties": {
|
|
3448
|
+
"function": {
|
|
3449
|
+
"type": "string",
|
|
3450
|
+
"minLength": 1,
|
|
3451
|
+
"maxLength": 255,
|
|
3452
|
+
"pattern": "^[a-zA-Z0-9-_]+$"
|
|
3453
|
+
}
|
|
3454
|
+
},
|
|
3455
|
+
"required": [
|
|
3456
|
+
"function"
|
|
3457
|
+
]
|
|
3458
|
+
},
|
|
3459
|
+
"title": {
|
|
3460
|
+
"type": "string",
|
|
3461
|
+
"minLength": 1,
|
|
3462
|
+
"maxLength": 255
|
|
3463
|
+
},
|
|
3464
|
+
"icon": {
|
|
3465
|
+
"type": "string",
|
|
3466
|
+
"minLength": 1,
|
|
3467
|
+
"maxLength": 255
|
|
3468
|
+
},
|
|
3469
|
+
"layout": {
|
|
3470
|
+
"enum": [
|
|
3471
|
+
"basic",
|
|
3472
|
+
"native"
|
|
3473
|
+
],
|
|
3474
|
+
"type": "string"
|
|
3475
|
+
},
|
|
3476
|
+
"key": {
|
|
3477
|
+
"$ref": "#/definitions/ModuleKeySchema"
|
|
3478
|
+
}
|
|
3479
|
+
},
|
|
3480
|
+
"required": [
|
|
3481
|
+
"pages",
|
|
3482
|
+
"resource",
|
|
3483
|
+
"title",
|
|
3484
|
+
"key"
|
|
3485
|
+
]
|
|
3486
|
+
},
|
|
3487
|
+
{
|
|
3488
|
+
"type": "object",
|
|
3489
|
+
"properties": {
|
|
3490
|
+
"sections": {
|
|
3491
|
+
"type": "array",
|
|
3492
|
+
"items": {
|
|
3493
|
+
"type": "object",
|
|
3494
|
+
"properties": {
|
|
3495
|
+
"header": {
|
|
3496
|
+
"minLength": 1,
|
|
3497
|
+
"maxLength": 255,
|
|
3498
|
+
"type": "string"
|
|
3499
|
+
},
|
|
3500
|
+
"pages": {
|
|
3501
|
+
"type": "array",
|
|
3502
|
+
"items": {
|
|
3503
|
+
"type": "object",
|
|
3504
|
+
"properties": {
|
|
3505
|
+
"title": {
|
|
3506
|
+
"type": "string",
|
|
3507
|
+
"minLength": 1,
|
|
3508
|
+
"maxLength": 255
|
|
3509
|
+
},
|
|
3510
|
+
"route": {
|
|
3511
|
+
"minLength": 1,
|
|
3512
|
+
"maxLength": 255,
|
|
3513
|
+
"type": "string"
|
|
3514
|
+
},
|
|
3515
|
+
"icon": {
|
|
3516
|
+
"type": "string",
|
|
3517
|
+
"minLength": 1,
|
|
3518
|
+
"maxLength": 255
|
|
3519
|
+
}
|
|
3520
|
+
},
|
|
3521
|
+
"required": [
|
|
3522
|
+
"route",
|
|
3523
|
+
"title"
|
|
3524
|
+
]
|
|
3525
|
+
}
|
|
3526
|
+
}
|
|
3527
|
+
},
|
|
3528
|
+
"required": [
|
|
3529
|
+
"pages"
|
|
3530
|
+
]
|
|
3531
|
+
}
|
|
3532
|
+
},
|
|
3533
|
+
"resource": {
|
|
3534
|
+
"type": "string",
|
|
3535
|
+
"minLength": 1,
|
|
3536
|
+
"maxLength": 23,
|
|
3537
|
+
"pattern": "^[a-zA-Z0-9_\\-]+$"
|
|
3538
|
+
},
|
|
3539
|
+
"resourceUploadId": {
|
|
3540
|
+
"type": "string",
|
|
3541
|
+
"minLength": 1,
|
|
3542
|
+
"maxLength": 255
|
|
3543
|
+
},
|
|
3544
|
+
"resolver": {
|
|
3545
|
+
"additionalProperties": false,
|
|
3546
|
+
"type": "object",
|
|
3547
|
+
"properties": {
|
|
3548
|
+
"function": {
|
|
3549
|
+
"type": "string",
|
|
3550
|
+
"minLength": 1,
|
|
3551
|
+
"maxLength": 255,
|
|
3552
|
+
"pattern": "^[a-zA-Z0-9-_]+$"
|
|
3553
|
+
}
|
|
3554
|
+
},
|
|
3555
|
+
"required": [
|
|
3556
|
+
"function"
|
|
3557
|
+
]
|
|
3558
|
+
},
|
|
3559
|
+
"title": {
|
|
3560
|
+
"type": "string",
|
|
3561
|
+
"minLength": 1,
|
|
3562
|
+
"maxLength": 255
|
|
3563
|
+
},
|
|
3564
|
+
"icon": {
|
|
3565
|
+
"type": "string",
|
|
3566
|
+
"minLength": 1,
|
|
3567
|
+
"maxLength": 255
|
|
3568
|
+
},
|
|
3569
|
+
"layout": {
|
|
3570
|
+
"enum": [
|
|
3571
|
+
"basic",
|
|
3572
|
+
"native"
|
|
3573
|
+
],
|
|
3574
|
+
"type": "string"
|
|
3575
|
+
},
|
|
3576
|
+
"key": {
|
|
3577
|
+
"$ref": "#/definitions/ModuleKeySchema"
|
|
3578
|
+
}
|
|
3579
|
+
},
|
|
3580
|
+
"required": [
|
|
3581
|
+
"resource",
|
|
3582
|
+
"sections",
|
|
3583
|
+
"title",
|
|
3584
|
+
"key"
|
|
3585
|
+
]
|
|
3586
|
+
}
|
|
3587
|
+
]
|
|
3588
|
+
},
|
|
3589
|
+
"minItems": 1
|
|
3590
|
+
},
|
|
3591
|
+
"compass:adminPage": {
|
|
3592
|
+
"type": "array",
|
|
3593
|
+
"items": {
|
|
3594
|
+
"oneOf": [
|
|
3595
|
+
{
|
|
3596
|
+
"type": "object",
|
|
3597
|
+
"required": [
|
|
3598
|
+
"title",
|
|
3599
|
+
"function",
|
|
3600
|
+
"key"
|
|
3601
|
+
],
|
|
3602
|
+
"properties": {
|
|
3603
|
+
"title": {
|
|
2857
3604
|
"type": "string",
|
|
2858
3605
|
"minLength": 1,
|
|
2859
3606
|
"maxLength": 255
|
|
@@ -5523,10 +6270,10 @@
|
|
|
5523
6270
|
"type": "object",
|
|
5524
6271
|
"anyOf": [
|
|
5525
6272
|
{
|
|
5526
|
-
"$ref": "#/definitions/
|
|
6273
|
+
"$ref": "#/definitions/singleCondition"
|
|
5527
6274
|
},
|
|
5528
6275
|
{
|
|
5529
|
-
"$ref": "#/definitions/
|
|
6276
|
+
"$ref": "#/definitions/compositeCondition"
|
|
5530
6277
|
}
|
|
5531
6278
|
]
|
|
5532
6279
|
},
|
|
@@ -5713,10 +6460,10 @@
|
|
|
5713
6460
|
"type": "object",
|
|
5714
6461
|
"anyOf": [
|
|
5715
6462
|
{
|
|
5716
|
-
"$ref": "#/definitions/
|
|
6463
|
+
"$ref": "#/definitions/singleCondition"
|
|
5717
6464
|
},
|
|
5718
6465
|
{
|
|
5719
|
-
"$ref": "#/definitions/
|
|
6466
|
+
"$ref": "#/definitions/compositeCondition"
|
|
5720
6467
|
}
|
|
5721
6468
|
]
|
|
5722
6469
|
},
|
|
@@ -5771,10 +6518,10 @@
|
|
|
5771
6518
|
"type": "object",
|
|
5772
6519
|
"anyOf": [
|
|
5773
6520
|
{
|
|
5774
|
-
"$ref": "#/definitions/
|
|
6521
|
+
"$ref": "#/definitions/compositeCondition"
|
|
5775
6522
|
},
|
|
5776
6523
|
{
|
|
5777
|
-
"$ref": "#/definitions/
|
|
6524
|
+
"$ref": "#/definitions/singleCondition"
|
|
5778
6525
|
}
|
|
5779
6526
|
]
|
|
5780
6527
|
},
|
|
@@ -5829,10 +6576,10 @@
|
|
|
5829
6576
|
"type": "object",
|
|
5830
6577
|
"anyOf": [
|
|
5831
6578
|
{
|
|
5832
|
-
"$ref": "#/definitions/
|
|
6579
|
+
"$ref": "#/definitions/singleCondition"
|
|
5833
6580
|
},
|
|
5834
6581
|
{
|
|
5835
|
-
"$ref": "#/definitions/
|
|
6582
|
+
"$ref": "#/definitions/compositeCondition"
|
|
5836
6583
|
}
|
|
5837
6584
|
]
|
|
5838
6585
|
},
|
|
@@ -5902,6 +6649,53 @@
|
|
|
5902
6649
|
"type": "object",
|
|
5903
6650
|
"fieldDescription": "\n\n<p>An object containing options which vary based on the type of web item target you are implementing.</p>\n\n <p>Currently-allowed options are:</p>\n <ul>\n <li><a href=\"../inline-dialog-options/\">Inline Dialog Options</a> when type is \"inlinedialog\", and</li>\n <li><a href=\"../dialog-options/\">Dialog Options</a> when type is \"dialog\"</li>\n <li><a href=\"../dialog-module-options/\">Dialog Module Options</a> when type is \"dialogmodule\"</li>\n </ul>\n\n",
|
|
5904
6651
|
"anyOf": [
|
|
6652
|
+
{
|
|
6653
|
+
"properties": {
|
|
6654
|
+
"offsetX": {
|
|
6655
|
+
"maxLength": 10,
|
|
6656
|
+
"type": "string",
|
|
6657
|
+
"fieldDescription": "\n\nSets an offset distance of the inline-dialog from the trigger element along the x-axis in pixels\n\n"
|
|
6658
|
+
},
|
|
6659
|
+
"offsetY": {
|
|
6660
|
+
"maxLength": 10,
|
|
6661
|
+
"type": "string",
|
|
6662
|
+
"fieldDescription": "\n\nSets an offset distance of the inline-dialog from the trigger element along the y-axis in pixels\n\n"
|
|
6663
|
+
},
|
|
6664
|
+
"width": {
|
|
6665
|
+
"maxLength": 10,
|
|
6666
|
+
"type": "string",
|
|
6667
|
+
"fieldDescription": "\n\nSets how wide the dialog is in pixels.\n\n"
|
|
6668
|
+
},
|
|
6669
|
+
"onTop": {
|
|
6670
|
+
"type": "boolean",
|
|
6671
|
+
"fieldDescription": "\n\nDetermines if the dialog should be shown above the trigger or not. If this option is true but there is insufficient room above the trigger the inline-dialog will be flipped to display below it\n\n"
|
|
6672
|
+
},
|
|
6673
|
+
"showDelay": {
|
|
6674
|
+
"type": "integer",
|
|
6675
|
+
"fieldDescription": "\n\nDetermines how long in milliseconds after a show trigger is fired (such as a trigger click) until the dialog is shown\n\n"
|
|
6676
|
+
},
|
|
6677
|
+
"closeOthers": {
|
|
6678
|
+
"type": "boolean",
|
|
6679
|
+
"fieldDescription": "\n\nDetermines if all other dialogs on the screen are closed when this one is opened\n\n"
|
|
6680
|
+
},
|
|
6681
|
+
"persistent": {
|
|
6682
|
+
"type": "boolean",
|
|
6683
|
+
"fieldDescription": "\n\nThis option, ignores the 'closeOthers' option\n\n"
|
|
6684
|
+
},
|
|
6685
|
+
"onHover": {
|
|
6686
|
+
"type": "boolean",
|
|
6687
|
+
"fieldDescription": "\n\nDetermines whether the inline-Dialog will show on a mouseOver or mouseClick of the trigger\n\n"
|
|
6688
|
+
},
|
|
6689
|
+
"isRelativeToMouse": {
|
|
6690
|
+
"type": "boolean",
|
|
6691
|
+
"fieldDescription": "\n\nDetermines if the dialog should be shown relative to where the mouse is at the time of the event trigger (normally a click) if set to false the dialog will show aligned to the left of the trigger with the arrow showing at the center\n\n"
|
|
6692
|
+
}
|
|
6693
|
+
},
|
|
6694
|
+
"shortClassName": "inlineDialogOptions",
|
|
6695
|
+
"type": "object",
|
|
6696
|
+
"title": "Inline Dialog Options",
|
|
6697
|
+
"description": "\n\nOptions for an inline dialog target\n\n <h3>Example</h3>\n\n\n\n\n\n {\n \"target\": {\n \"type\": \"inlinedialog\",\n \"options\": {\n \"onHover\": true,\n \"offsetX\": \"30px\",\n \"offsetY\": \"20px\"\n }\n }\n }\n\n\n"
|
|
6698
|
+
},
|
|
5905
6699
|
{
|
|
5906
6700
|
"properties": {
|
|
5907
6701
|
"key": {
|
|
@@ -5962,53 +6756,6 @@
|
|
|
5962
6756
|
"type": "object",
|
|
5963
6757
|
"title": "Dialog Options",
|
|
5964
6758
|
"description": "\n\nOptions for a modal dialog <a href=\"../web-item-target/\">web item target</a> or <a href=\"../dialog/\">common module</a>.\n\n <p>\n These options are a subset of those available via the <a href=\"../../jsapi/dialog/\">JavaScript API</a>.\n </p>\n\n <h2>Web Item Example</h2>\n\n\n\n\n\n {\n \"target\": {\n \"type\": \"dialog\",\n \"options\": {\n \"height\": \"100px\",\n \"width\": \"200px\"\n }\n }\n }\n\n\n\n\n <h2>Dialog Example</h2>\n\n\n\n\n\n {\n \"modules\": {\n \"dialogs\": [\n {\n \"url\": \"/my-dialog-content\",\n \"options\": {\n \"size\": \"fullscreen\",\n \"header\": {\n \"value\": \"Example Dialog\"\n }\n },\n \"key\": \"dialog-module-key\"\n }\n ]\n }\n }\n\n\n"
|
|
5965
|
-
},
|
|
5966
|
-
{
|
|
5967
|
-
"properties": {
|
|
5968
|
-
"offsetX": {
|
|
5969
|
-
"maxLength": 10,
|
|
5970
|
-
"type": "string",
|
|
5971
|
-
"fieldDescription": "\n\nSets an offset distance of the inline-dialog from the trigger element along the x-axis in pixels\n\n"
|
|
5972
|
-
},
|
|
5973
|
-
"offsetY": {
|
|
5974
|
-
"maxLength": 10,
|
|
5975
|
-
"type": "string",
|
|
5976
|
-
"fieldDescription": "\n\nSets an offset distance of the inline-dialog from the trigger element along the y-axis in pixels\n\n"
|
|
5977
|
-
},
|
|
5978
|
-
"width": {
|
|
5979
|
-
"maxLength": 10,
|
|
5980
|
-
"type": "string",
|
|
5981
|
-
"fieldDescription": "\n\nSets how wide the dialog is in pixels.\n\n"
|
|
5982
|
-
},
|
|
5983
|
-
"onTop": {
|
|
5984
|
-
"type": "boolean",
|
|
5985
|
-
"fieldDescription": "\n\nDetermines if the dialog should be shown above the trigger or not. If this option is true but there is insufficient room above the trigger the inline-dialog will be flipped to display below it\n\n"
|
|
5986
|
-
},
|
|
5987
|
-
"showDelay": {
|
|
5988
|
-
"type": "integer",
|
|
5989
|
-
"fieldDescription": "\n\nDetermines how long in milliseconds after a show trigger is fired (such as a trigger click) until the dialog is shown\n\n"
|
|
5990
|
-
},
|
|
5991
|
-
"closeOthers": {
|
|
5992
|
-
"type": "boolean",
|
|
5993
|
-
"fieldDescription": "\n\nDetermines if all other dialogs on the screen are closed when this one is opened\n\n"
|
|
5994
|
-
},
|
|
5995
|
-
"persistent": {
|
|
5996
|
-
"type": "boolean",
|
|
5997
|
-
"fieldDescription": "\n\nThis option, ignores the 'closeOthers' option\n\n"
|
|
5998
|
-
},
|
|
5999
|
-
"onHover": {
|
|
6000
|
-
"type": "boolean",
|
|
6001
|
-
"fieldDescription": "\n\nDetermines whether the inline-Dialog will show on a mouseOver or mouseClick of the trigger\n\n"
|
|
6002
|
-
},
|
|
6003
|
-
"isRelativeToMouse": {
|
|
6004
|
-
"type": "boolean",
|
|
6005
|
-
"fieldDescription": "\n\nDetermines if the dialog should be shown relative to where the mouse is at the time of the event trigger (normally a click) if set to false the dialog will show aligned to the left of the trigger with the arrow showing at the center\n\n"
|
|
6006
|
-
}
|
|
6007
|
-
},
|
|
6008
|
-
"shortClassName": "inlineDialogOptions",
|
|
6009
|
-
"type": "object",
|
|
6010
|
-
"title": "Inline Dialog Options",
|
|
6011
|
-
"description": "\n\nOptions for an inline dialog target\n\n <h3>Example</h3>\n\n\n\n\n\n {\n \"target\": {\n \"type\": \"inlinedialog\",\n \"options\": {\n \"onHover\": true,\n \"offsetX\": \"30px\",\n \"offsetY\": \"20px\"\n }\n }\n }\n\n\n"
|
|
6012
6759
|
}
|
|
6013
6760
|
]
|
|
6014
6761
|
},
|
|
@@ -6065,6 +6812,33 @@
|
|
|
6065
6812
|
"items": {
|
|
6066
6813
|
"type": "object",
|
|
6067
6814
|
"anyOf": [
|
|
6815
|
+
{
|
|
6816
|
+
"properties": {
|
|
6817
|
+
"condition": {
|
|
6818
|
+
"maxLength": 100,
|
|
6819
|
+
"type": "string",
|
|
6820
|
+
"fieldDescription": "\n\nA string indicating the name of the condition\n\n"
|
|
6821
|
+
},
|
|
6822
|
+
"invert": {
|
|
6823
|
+
"type": "boolean",
|
|
6824
|
+
"fieldDescription": "\n\nA flag indicating whether to invert the boolean result of the condition.\n\n",
|
|
6825
|
+
"defaultValue": "false"
|
|
6826
|
+
},
|
|
6827
|
+
"params": {
|
|
6828
|
+
"additionalProperties": true,
|
|
6829
|
+
"type": "object",
|
|
6830
|
+
"fieldTitle": "Object",
|
|
6831
|
+
"fieldDescription": "\n\nThis object represents a map of key/value pairs, where each property name and value corresponds to the parameter name and value respectively.\n\n <p><b>Example</b></p>\n\n\n\n\n\n {\n \"params\": {\n \"someOtherProperty\": \"someValue\",\n \"myCustomProperty\": \"myValue\"\n }\n }\n\n\n"
|
|
6832
|
+
}
|
|
6833
|
+
},
|
|
6834
|
+
"required": [
|
|
6835
|
+
"condition"
|
|
6836
|
+
],
|
|
6837
|
+
"shortClassName": "singleConditionBean",
|
|
6838
|
+
"type": "object",
|
|
6839
|
+
"title": "Single Condition",
|
|
6840
|
+
"description": "\n\nSingle Conditions are either provided by the host application. See the complete documentation of\n [Conditions](../../conditions/) for more information.\n\n To invert a condition, add the attribute ``invert=\"true\"`` to the condition element.\n This is useful where you want to show the section if a certain condition is not satisfied.\n\n <h3>Example</h3>\n\n\n\n\n\n {\n \"condition\": \"user_is_logged_in\",\n \"invert\": false\n }\n\n\n"
|
|
6841
|
+
},
|
|
6068
6842
|
{
|
|
6069
6843
|
"properties": {
|
|
6070
6844
|
"conditions": {
|
|
@@ -6072,10 +6846,10 @@
|
|
|
6072
6846
|
"type": "object",
|
|
6073
6847
|
"anyOf": [
|
|
6074
6848
|
{
|
|
6075
|
-
"$ref": "
|
|
6849
|
+
"$ref": "#/definitions/singleCondition"
|
|
6076
6850
|
},
|
|
6077
6851
|
{
|
|
6078
|
-
"$ref": "
|
|
6852
|
+
"$ref": "#"
|
|
6079
6853
|
}
|
|
6080
6854
|
]
|
|
6081
6855
|
},
|
|
@@ -6097,33 +6871,6 @@
|
|
|
6097
6871
|
"type": "object",
|
|
6098
6872
|
"title": "Composite Condition",
|
|
6099
6873
|
"description": "\n\nComposite Conditions are composed of a collection of [Single Condition](../single-condition/) / Composite Conditions\n and a type attribute.\n\n <h3>Example</h3>\n\n\n\n\n\n {\n \"conditions\": [\n {\n \"or\": [\n {\n \"condition\": \"can_attach_file_to_issue\",\n \"invert\": false\n },\n {\n \"condition\": \"is_issue_assigned_to_current_user\",\n \"invert\": false\n }\n ]\n },\n {\n \"condition\": \"user_is_logged_in\",\n \"invert\": false\n }\n ]\n }\n\n\n"
|
|
6100
|
-
},
|
|
6101
|
-
{
|
|
6102
|
-
"properties": {
|
|
6103
|
-
"condition": {
|
|
6104
|
-
"maxLength": 100,
|
|
6105
|
-
"type": "string",
|
|
6106
|
-
"fieldDescription": "\n\nA string indicating the name of the condition\n\n"
|
|
6107
|
-
},
|
|
6108
|
-
"invert": {
|
|
6109
|
-
"type": "boolean",
|
|
6110
|
-
"fieldDescription": "\n\nA flag indicating whether to invert the boolean result of the condition.\n\n",
|
|
6111
|
-
"defaultValue": "false"
|
|
6112
|
-
},
|
|
6113
|
-
"params": {
|
|
6114
|
-
"additionalProperties": true,
|
|
6115
|
-
"type": "object",
|
|
6116
|
-
"fieldTitle": "Object",
|
|
6117
|
-
"fieldDescription": "\n\nThis object represents a map of key/value pairs, where each property name and value corresponds to the parameter name and value respectively.\n\n <p><b>Example</b></p>\n\n\n\n\n\n {\n \"params\": {\n \"someOtherProperty\": \"someValue\",\n \"myCustomProperty\": \"myValue\"\n }\n }\n\n\n"
|
|
6118
|
-
}
|
|
6119
|
-
},
|
|
6120
|
-
"required": [
|
|
6121
|
-
"condition"
|
|
6122
|
-
],
|
|
6123
|
-
"shortClassName": "singleConditionBean",
|
|
6124
|
-
"type": "object",
|
|
6125
|
-
"title": "Single Condition",
|
|
6126
|
-
"description": "\n\nSingle Conditions are either provided by the host application. See the complete documentation of\n [Conditions](../../conditions/) for more information.\n\n To invert a condition, add the attribute ``invert=\"true\"`` to the condition element.\n This is useful where you want to show the section if a certain condition is not satisfied.\n\n <h3>Example</h3>\n\n\n\n\n\n {\n \"condition\": \"user_is_logged_in\",\n \"invert\": false\n }\n\n\n"
|
|
6127
6874
|
}
|
|
6128
6875
|
]
|
|
6129
6876
|
},
|
|
@@ -6177,10 +6924,10 @@
|
|
|
6177
6924
|
"type": "object",
|
|
6178
6925
|
"anyOf": [
|
|
6179
6926
|
{
|
|
6180
|
-
"$ref": "#/definitions/
|
|
6927
|
+
"$ref": "#/definitions/singleCondition"
|
|
6181
6928
|
},
|
|
6182
6929
|
{
|
|
6183
|
-
"$ref": "#/definitions/
|
|
6930
|
+
"$ref": "#/definitions/compositeCondition"
|
|
6184
6931
|
}
|
|
6185
6932
|
]
|
|
6186
6933
|
},
|
|
@@ -6328,33 +7075,6 @@
|
|
|
6328
7075
|
"items": {
|
|
6329
7076
|
"type": "object",
|
|
6330
7077
|
"anyOf": [
|
|
6331
|
-
{
|
|
6332
|
-
"properties": {
|
|
6333
|
-
"condition": {
|
|
6334
|
-
"maxLength": 100,
|
|
6335
|
-
"type": "string",
|
|
6336
|
-
"fieldDescription": "\n\nA string indicating the name of the condition\n\n"
|
|
6337
|
-
},
|
|
6338
|
-
"invert": {
|
|
6339
|
-
"type": "boolean",
|
|
6340
|
-
"fieldDescription": "\n\nA flag indicating whether to invert the boolean result of the condition.\n\n",
|
|
6341
|
-
"defaultValue": "false"
|
|
6342
|
-
},
|
|
6343
|
-
"params": {
|
|
6344
|
-
"additionalProperties": true,
|
|
6345
|
-
"type": "object",
|
|
6346
|
-
"fieldTitle": "Object",
|
|
6347
|
-
"fieldDescription": "\n\nThis object represents a map of key/value pairs, where each property name and value corresponds to the parameter name and value respectively.\n\n <p><b>Example</b></p>\n\n\n\n\n\n {\n \"params\": {\n \"someOtherProperty\": \"someValue\",\n \"myCustomProperty\": \"myValue\"\n }\n }\n\n\n"
|
|
6348
|
-
}
|
|
6349
|
-
},
|
|
6350
|
-
"required": [
|
|
6351
|
-
"condition"
|
|
6352
|
-
],
|
|
6353
|
-
"shortClassName": "singleConditionBean",
|
|
6354
|
-
"type": "object",
|
|
6355
|
-
"title": "Single Condition",
|
|
6356
|
-
"description": "\n\nSingle Conditions are either provided by the host application. See the complete documentation of\n [Conditions](../../conditions/) for more information.\n\n To invert a condition, add the attribute ``invert=\"true\"`` to the condition element.\n This is useful where you want to show the section if a certain condition is not satisfied.\n\n <h3>Example</h3>\n\n\n\n\n\n {\n \"condition\": \"user_is_logged_in\",\n \"invert\": false\n }\n\n\n"
|
|
6357
|
-
},
|
|
6358
7078
|
{
|
|
6359
7079
|
"properties": {
|
|
6360
7080
|
"conditions": {
|
|
@@ -6387,6 +7107,33 @@
|
|
|
6387
7107
|
"type": "object",
|
|
6388
7108
|
"title": "Composite Condition",
|
|
6389
7109
|
"description": "\n\nComposite Conditions are composed of a collection of [Single Condition](../single-condition/) / Composite Conditions\n and a type attribute.\n\n <h3>Example</h3>\n\n\n\n\n\n {\n \"conditions\": [\n {\n \"or\": [\n {\n \"condition\": \"can_attach_file_to_issue\",\n \"invert\": false\n },\n {\n \"condition\": \"is_issue_assigned_to_current_user\",\n \"invert\": false\n }\n ]\n },\n {\n \"condition\": \"user_is_logged_in\",\n \"invert\": false\n }\n ]\n }\n\n\n"
|
|
7110
|
+
},
|
|
7111
|
+
{
|
|
7112
|
+
"properties": {
|
|
7113
|
+
"condition": {
|
|
7114
|
+
"maxLength": 100,
|
|
7115
|
+
"type": "string",
|
|
7116
|
+
"fieldDescription": "\n\nA string indicating the name of the condition\n\n"
|
|
7117
|
+
},
|
|
7118
|
+
"invert": {
|
|
7119
|
+
"type": "boolean",
|
|
7120
|
+
"fieldDescription": "\n\nA flag indicating whether to invert the boolean result of the condition.\n\n",
|
|
7121
|
+
"defaultValue": "false"
|
|
7122
|
+
},
|
|
7123
|
+
"params": {
|
|
7124
|
+
"additionalProperties": true,
|
|
7125
|
+
"type": "object",
|
|
7126
|
+
"fieldTitle": "Object",
|
|
7127
|
+
"fieldDescription": "\n\nThis object represents a map of key/value pairs, where each property name and value corresponds to the parameter name and value respectively.\n\n <p><b>Example</b></p>\n\n\n\n\n\n {\n \"params\": {\n \"someOtherProperty\": \"someValue\",\n \"myCustomProperty\": \"myValue\"\n }\n }\n\n\n"
|
|
7128
|
+
}
|
|
7129
|
+
},
|
|
7130
|
+
"required": [
|
|
7131
|
+
"condition"
|
|
7132
|
+
],
|
|
7133
|
+
"shortClassName": "singleConditionBean",
|
|
7134
|
+
"type": "object",
|
|
7135
|
+
"title": "Single Condition",
|
|
7136
|
+
"description": "\n\nSingle Conditions are either provided by the host application. See the complete documentation of\n [Conditions](../../conditions/) for more information.\n\n To invert a condition, add the attribute ``invert=\"true\"`` to the condition element.\n This is useful where you want to show the section if a certain condition is not satisfied.\n\n <h3>Example</h3>\n\n\n\n\n\n {\n \"condition\": \"user_is_logged_in\",\n \"invert\": false\n }\n\n\n"
|
|
6390
7137
|
}
|
|
6391
7138
|
]
|
|
6392
7139
|
},
|
|
@@ -6662,35 +7409,35 @@
|
|
|
6662
7409
|
"anyOf": [
|
|
6663
7410
|
{
|
|
6664
7411
|
"properties": {
|
|
6665
|
-
"
|
|
6666
|
-
"
|
|
6667
|
-
"
|
|
7412
|
+
"macroParameter": {
|
|
7413
|
+
"maxLength": 100,
|
|
7414
|
+
"type": "string",
|
|
7415
|
+
"fieldDescription": "\n\nThe Macro Parameter identifier used to store the text\n\n"
|
|
6668
7416
|
},
|
|
6669
7417
|
"type": {
|
|
6670
7418
|
"enum": [
|
|
6671
|
-
"
|
|
6672
|
-
"
|
|
7419
|
+
"text",
|
|
7420
|
+
"TEXT"
|
|
6673
7421
|
],
|
|
6674
7422
|
"type": "string",
|
|
6675
|
-
"fieldDescription": "\n\nThe type field must be set to '
|
|
7423
|
+
"fieldDescription": "\n\nThe type field must be set to 'text'\n\n"
|
|
6676
7424
|
},
|
|
6677
7425
|
"key": {
|
|
6678
7426
|
"pattern": "^[a-zA-Z0-9-]+$",
|
|
6679
7427
|
"maxLength": 100,
|
|
6680
7428
|
"type": "string",
|
|
6681
|
-
"fieldDescription": "\n\nA key to identify the
|
|
7429
|
+
"fieldDescription": "\n\nA key to identify this module.\n\n This key must be unique relative to the add on, with the exception of Confluence macros: Their keys need to be\n globally unique.\n\n Keys must only contain alphanumeric characters and dashes.\n\n The key is used to generate the url to your add-on's module. The url is generated as a combination of your add-on\n key and module key. For example, an add-on which looks like:\n\n {\n \"key\": \"my-addon\",\n \"modules\": {\n \"configurePage\": {\n \"key\": \"configure-me\",\n }\n }\n }\n\n Will have a configuration page module with a URL of `/plugins/servlet/ac/my-addon/configure-me`.\n\n"
|
|
6682
7430
|
}
|
|
6683
7431
|
},
|
|
6684
7432
|
"required": [
|
|
6685
|
-
"
|
|
7433
|
+
"macroParameter",
|
|
6686
7434
|
"type",
|
|
6687
7435
|
"key"
|
|
6688
7436
|
],
|
|
6689
|
-
"
|
|
6690
|
-
"shortClassName": "buttonControlBean",
|
|
7437
|
+
"shortClassName": "textControlBean",
|
|
6691
7438
|
"type": "object",
|
|
6692
|
-
"title": "
|
|
6693
|
-
"description": "\n\nDefines a
|
|
7439
|
+
"title": "TextControl",
|
|
7440
|
+
"description": "\n\nDefines a text field which may appear in control extension points such as the property panel\n\n <p><b>Example</b></p>\n\n\n\n\n\n {\n \"type\": \"button\",\n \"label\": {\n \"value\": \"My Custom Control 0\"\n },\n \"key\": \"my-custom-control-0\"\n }\n\n\n"
|
|
6694
7441
|
},
|
|
6695
7442
|
{
|
|
6696
7443
|
"properties": {
|
|
@@ -6748,38 +7495,6 @@
|
|
|
6748
7495
|
"title": "ControlGroup",
|
|
6749
7496
|
"description": "\n\nDefines a ControlGroup which may appear in control extension points such as the property panel\n\n <p><b>Example</b></p>\n\n\n\n\n\n [\n {\n \"type\": \"group\",\n \"controls\": [\n {\n \"type\": \"button\",\n \"label\": {\n \"value\": \"My Custom Control 0\"\n },\n \"key\": \"my-custom-control-0\"\n },\n {\n \"type\": \"button\",\n \"label\": {\n \"value\": \"My Custom Control 1\"\n },\n \"key\": \"my-custom-control-1\"\n }\n ]\n }\n ]\n\n\n"
|
|
6750
7497
|
},
|
|
6751
|
-
{
|
|
6752
|
-
"properties": {
|
|
6753
|
-
"macroParameter": {
|
|
6754
|
-
"maxLength": 100,
|
|
6755
|
-
"type": "string",
|
|
6756
|
-
"fieldDescription": "\n\nThe Macro Parameter identifier used to store the text\n\n"
|
|
6757
|
-
},
|
|
6758
|
-
"type": {
|
|
6759
|
-
"enum": [
|
|
6760
|
-
"text",
|
|
6761
|
-
"TEXT"
|
|
6762
|
-
],
|
|
6763
|
-
"type": "string",
|
|
6764
|
-
"fieldDescription": "\n\nThe type field must be set to 'text'\n\n"
|
|
6765
|
-
},
|
|
6766
|
-
"key": {
|
|
6767
|
-
"pattern": "^[a-zA-Z0-9-]+$",
|
|
6768
|
-
"maxLength": 100,
|
|
6769
|
-
"type": "string",
|
|
6770
|
-
"fieldDescription": "\n\nA key to identify this module.\n\n This key must be unique relative to the add on, with the exception of Confluence macros: Their keys need to be\n globally unique.\n\n Keys must only contain alphanumeric characters and dashes.\n\n The key is used to generate the url to your add-on's module. The url is generated as a combination of your add-on\n key and module key. For example, an add-on which looks like:\n\n {\n \"key\": \"my-addon\",\n \"modules\": {\n \"configurePage\": {\n \"key\": \"configure-me\",\n }\n }\n }\n\n Will have a configuration page module with a URL of `/plugins/servlet/ac/my-addon/configure-me`.\n\n"
|
|
6771
|
-
}
|
|
6772
|
-
},
|
|
6773
|
-
"required": [
|
|
6774
|
-
"macroParameter",
|
|
6775
|
-
"type",
|
|
6776
|
-
"key"
|
|
6777
|
-
],
|
|
6778
|
-
"shortClassName": "textControlBean",
|
|
6779
|
-
"type": "object",
|
|
6780
|
-
"title": "TextControl",
|
|
6781
|
-
"description": "\n\nDefines a text field which may appear in control extension points such as the property panel\n\n <p><b>Example</b></p>\n\n\n\n\n\n {\n \"type\": \"button\",\n \"label\": {\n \"value\": \"My Custom Control 0\"\n },\n \"key\": \"my-custom-control-0\"\n }\n\n\n"
|
|
6782
|
-
},
|
|
6783
7498
|
{
|
|
6784
7499
|
"properties": {
|
|
6785
7500
|
"controls": {
|
|
@@ -6836,18 +7551,50 @@
|
|
|
6836
7551
|
"TOGGLEGROUP"
|
|
6837
7552
|
],
|
|
6838
7553
|
"type": "string",
|
|
6839
|
-
"fieldDescription": "\n\nThe type field must be set to 'togglegroup'\n\n"
|
|
7554
|
+
"fieldDescription": "\n\nThe type field must be set to 'togglegroup'\n\n"
|
|
7555
|
+
}
|
|
7556
|
+
},
|
|
7557
|
+
"required": [
|
|
7558
|
+
"controls",
|
|
7559
|
+
"macroParameter",
|
|
7560
|
+
"type"
|
|
7561
|
+
],
|
|
7562
|
+
"shortClassName": "macroToggleGroupBean",
|
|
7563
|
+
"type": "object",
|
|
7564
|
+
"title": "ToggleGroup",
|
|
7565
|
+
"description": "\n\nDefines a ToggleGroup which may appear in control extension points such as the property panel\n\n <p><b>Example</b></p>\n\n\n\n\n\n [\n {\n \"type\": \"togglegroup\",\n \"macroParameter\": \"toggleGroupMacroParameter\",\n \"controls\": [\n {\n \"type\": \"togglebutton\",\n \"macroParameterValue\": \"macroParameterValue 0\",\n \"label\": {\n \"value\": \"My Custom Control 0\"\n },\n \"key\": \"my-custom-toggle-button-0\"\n },\n {\n \"type\": \"togglebutton\",\n \"macroParameterValue\": \"macroParameterValue 1\",\n \"label\": {\n \"value\": \"My Custom Control 1\"\n },\n \"key\": \"my-custom-toggle-button-1\"\n }\n ]\n }\n ]\n\n\n"
|
|
7566
|
+
},
|
|
7567
|
+
{
|
|
7568
|
+
"properties": {
|
|
7569
|
+
"label": {
|
|
7570
|
+
"$ref": "#/definitions/i18nProperty",
|
|
7571
|
+
"fieldDescription": "\n\nText which will appear inside the button\n\n"
|
|
7572
|
+
},
|
|
7573
|
+
"type": {
|
|
7574
|
+
"enum": [
|
|
7575
|
+
"button",
|
|
7576
|
+
"BUTTON"
|
|
7577
|
+
],
|
|
7578
|
+
"type": "string",
|
|
7579
|
+
"fieldDescription": "\n\nThe type field must be set to 'button'\n\n"
|
|
7580
|
+
},
|
|
7581
|
+
"key": {
|
|
7582
|
+
"pattern": "^[a-zA-Z0-9-]+$",
|
|
7583
|
+
"maxLength": 100,
|
|
7584
|
+
"type": "string",
|
|
7585
|
+
"fieldDescription": "\n\nA key to identify the control. Keys must only contain alphanumeric characters and dashes, and must be unique\n\n"
|
|
6840
7586
|
}
|
|
6841
7587
|
},
|
|
6842
7588
|
"required": [
|
|
6843
|
-
"
|
|
6844
|
-
"
|
|
6845
|
-
"
|
|
7589
|
+
"label",
|
|
7590
|
+
"type",
|
|
7591
|
+
"key"
|
|
6846
7592
|
],
|
|
6847
|
-
"
|
|
7593
|
+
"additionalProperties": true,
|
|
7594
|
+
"shortClassName": "buttonControlBean",
|
|
6848
7595
|
"type": "object",
|
|
6849
|
-
"title": "
|
|
6850
|
-
"description": "\n\nDefines a
|
|
7596
|
+
"title": "ButtonControl",
|
|
7597
|
+
"description": "\n\nDefines a button which may appear in control extension points such as the property panel\n\n <p><b>Example</b></p>\n\n\n\n\n\n {\n \"type\": \"button\",\n \"label\": {\n \"value\": \"My Custom Control 0\"\n },\n \"key\": \"my-custom-control-0\"\n }\n\n\n"
|
|
6851
7598
|
}
|
|
6852
7599
|
]
|
|
6853
7600
|
},
|
|
@@ -7144,67 +7891,72 @@
|
|
|
7144
7891
|
"anyOf": [
|
|
7145
7892
|
{
|
|
7146
7893
|
"properties": {
|
|
7894
|
+
"controls": {
|
|
7895
|
+
"items": {
|
|
7896
|
+
"properties": {
|
|
7897
|
+
"macroParameterValue": {
|
|
7898
|
+
"maxLength": 10000,
|
|
7899
|
+
"type": "string",
|
|
7900
|
+
"fieldDescription": "\n\nThe value that will be assigned to a macro parameter when this toggle is clicked\n\n"
|
|
7901
|
+
},
|
|
7902
|
+
"label": {
|
|
7903
|
+
"$ref": "#/definitions/i18nProperty",
|
|
7904
|
+
"fieldDescription": "\n\nText which will appear inside the button\n\n"
|
|
7905
|
+
},
|
|
7906
|
+
"type": {
|
|
7907
|
+
"enum": [
|
|
7908
|
+
"togglebutton",
|
|
7909
|
+
"TOGGLEBUTTON"
|
|
7910
|
+
],
|
|
7911
|
+
"type": "string",
|
|
7912
|
+
"fieldDescription": "\n\nThe type field must be set to 'togglebutton'\n\n"
|
|
7913
|
+
},
|
|
7914
|
+
"key": {
|
|
7915
|
+
"pattern": "^[a-zA-Z0-9-]+$",
|
|
7916
|
+
"maxLength": 100,
|
|
7917
|
+
"type": "string",
|
|
7918
|
+
"fieldDescription": "\n\nA key to identify the control. Keys must only contain alphanumeric characters and dashes, and must be unique\n\n"
|
|
7919
|
+
}
|
|
7920
|
+
},
|
|
7921
|
+
"required": [
|
|
7922
|
+
"macroParameterValue",
|
|
7923
|
+
"label",
|
|
7924
|
+
"type",
|
|
7925
|
+
"key"
|
|
7926
|
+
],
|
|
7927
|
+
"additionalProperties": true,
|
|
7928
|
+
"shortClassName": "macroToggleButtonControlBean",
|
|
7929
|
+
"type": "object",
|
|
7930
|
+
"title": "ToggleButtonControl",
|
|
7931
|
+
"description": "\n\nDefines a toggle button which appears inside a ToggleGroup\n\n <p><b>Example</b></p>\n\n\n\n\n\n {\n \"type\": \"togglebutton\",\n \"macroParameterValue\": \"macroParameterValue 0\",\n \"label\": {\n \"value\": \"My Custom Control 0\"\n },\n \"key\": \"my-custom-toggle-button-0\"\n }\n\n\n"
|
|
7932
|
+
},
|
|
7933
|
+
"type": "array",
|
|
7934
|
+
"fieldDescription": "\n\nToggle buttons which will appear in the toggle group\n\n"
|
|
7935
|
+
},
|
|
7147
7936
|
"macroParameter": {
|
|
7937
|
+
"pattern": "[-_a-z0-9\\.]+",
|
|
7148
7938
|
"maxLength": 100,
|
|
7149
7939
|
"type": "string",
|
|
7150
|
-
"fieldDescription": "\n\nThe
|
|
7940
|
+
"fieldDescription": "\n\nThe macro parameter identifier used to store the toggle state.\n It must only contain lowercase alphanumeric characters, dashes, underscores, dots and must not contain any spaces.\n\n"
|
|
7151
7941
|
},
|
|
7152
7942
|
"type": {
|
|
7153
7943
|
"enum": [
|
|
7154
|
-
"
|
|
7155
|
-
"
|
|
7944
|
+
"togglegroup",
|
|
7945
|
+
"TOGGLEGROUP"
|
|
7156
7946
|
],
|
|
7157
7947
|
"type": "string",
|
|
7158
|
-
"fieldDescription": "\n\nThe type field must be set to '
|
|
7159
|
-
},
|
|
7160
|
-
"key": {
|
|
7161
|
-
"pattern": "^[a-zA-Z0-9-]+$",
|
|
7162
|
-
"maxLength": 100,
|
|
7163
|
-
"type": "string",
|
|
7164
|
-
"fieldDescription": "\n\nA key to identify this module.\n\n This key must be unique relative to the add on, with the exception of Confluence macros: Their keys need to be\n globally unique.\n\n Keys must only contain alphanumeric characters and dashes.\n\n The key is used to generate the url to your add-on's module. The url is generated as a combination of your add-on\n key and module key. For example, an add-on which looks like:\n\n {\n \"key\": \"my-addon\",\n \"modules\": {\n \"configurePage\": {\n \"key\": \"configure-me\",\n }\n }\n }\n\n Will have a configuration page module with a URL of `/plugins/servlet/ac/my-addon/configure-me`.\n\n"
|
|
7948
|
+
"fieldDescription": "\n\nThe type field must be set to 'togglegroup'\n\n"
|
|
7165
7949
|
}
|
|
7166
7950
|
},
|
|
7167
7951
|
"required": [
|
|
7952
|
+
"controls",
|
|
7168
7953
|
"macroParameter",
|
|
7169
|
-
"type"
|
|
7170
|
-
"key"
|
|
7171
|
-
],
|
|
7172
|
-
"shortClassName": "textControlBean",
|
|
7173
|
-
"type": "object",
|
|
7174
|
-
"title": "TextControl",
|
|
7175
|
-
"description": "\n\nDefines a text field which may appear in control extension points such as the property panel\n\n <p><b>Example</b></p>\n\n\n\n\n\n {\n \"type\": \"button\",\n \"label\": {\n \"value\": \"My Custom Control 0\"\n },\n \"key\": \"my-custom-control-0\"\n }\n\n\n"
|
|
7176
|
-
},
|
|
7177
|
-
{
|
|
7178
|
-
"properties": {
|
|
7179
|
-
"label": {
|
|
7180
|
-
"$ref": "#/definitions/i18nProperty",
|
|
7181
|
-
"fieldDescription": "\n\nText which will appear inside the button\n\n"
|
|
7182
|
-
},
|
|
7183
|
-
"type": {
|
|
7184
|
-
"enum": [
|
|
7185
|
-
"button",
|
|
7186
|
-
"BUTTON"
|
|
7187
|
-
],
|
|
7188
|
-
"type": "string",
|
|
7189
|
-
"fieldDescription": "\n\nThe type field must be set to 'button'\n\n"
|
|
7190
|
-
},
|
|
7191
|
-
"key": {
|
|
7192
|
-
"pattern": "^[a-zA-Z0-9-]+$",
|
|
7193
|
-
"maxLength": 100,
|
|
7194
|
-
"type": "string",
|
|
7195
|
-
"fieldDescription": "\n\nA key to identify the control. Keys must only contain alphanumeric characters and dashes, and must be unique\n\n"
|
|
7196
|
-
}
|
|
7197
|
-
},
|
|
7198
|
-
"required": [
|
|
7199
|
-
"label",
|
|
7200
|
-
"type",
|
|
7201
|
-
"key"
|
|
7954
|
+
"type"
|
|
7202
7955
|
],
|
|
7203
|
-
"
|
|
7204
|
-
"shortClassName": "buttonControlBean",
|
|
7956
|
+
"shortClassName": "macroToggleGroupBean",
|
|
7205
7957
|
"type": "object",
|
|
7206
|
-
"title": "
|
|
7207
|
-
"description": "\n\nDefines a
|
|
7958
|
+
"title": "ToggleGroup",
|
|
7959
|
+
"description": "\n\nDefines a ToggleGroup which may appear in control extension points such as the property panel\n\n <p><b>Example</b></p>\n\n\n\n\n\n [\n {\n \"type\": \"togglegroup\",\n \"macroParameter\": \"toggleGroupMacroParameter\",\n \"controls\": [\n {\n \"type\": \"togglebutton\",\n \"macroParameterValue\": \"macroParameterValue 0\",\n \"label\": {\n \"value\": \"My Custom Control 0\"\n },\n \"key\": \"my-custom-toggle-button-0\"\n },\n {\n \"type\": \"togglebutton\",\n \"macroParameterValue\": \"macroParameterValue 1\",\n \"label\": {\n \"value\": \"My Custom Control 1\"\n },\n \"key\": \"my-custom-toggle-button-1\"\n }\n ]\n }\n ]\n\n\n"
|
|
7208
7960
|
},
|
|
7209
7961
|
{
|
|
7210
7962
|
"properties": {
|
|
@@ -7264,72 +8016,67 @@
|
|
|
7264
8016
|
},
|
|
7265
8017
|
{
|
|
7266
8018
|
"properties": {
|
|
7267
|
-
"controls": {
|
|
7268
|
-
"items": {
|
|
7269
|
-
"properties": {
|
|
7270
|
-
"macroParameterValue": {
|
|
7271
|
-
"maxLength": 10000,
|
|
7272
|
-
"type": "string",
|
|
7273
|
-
"fieldDescription": "\n\nThe value that will be assigned to a macro parameter when this toggle is clicked\n\n"
|
|
7274
|
-
},
|
|
7275
|
-
"label": {
|
|
7276
|
-
"$ref": "#/definitions/i18nProperty",
|
|
7277
|
-
"fieldDescription": "\n\nText which will appear inside the button\n\n"
|
|
7278
|
-
},
|
|
7279
|
-
"type": {
|
|
7280
|
-
"enum": [
|
|
7281
|
-
"togglebutton",
|
|
7282
|
-
"TOGGLEBUTTON"
|
|
7283
|
-
],
|
|
7284
|
-
"type": "string",
|
|
7285
|
-
"fieldDescription": "\n\nThe type field must be set to 'togglebutton'\n\n"
|
|
7286
|
-
},
|
|
7287
|
-
"key": {
|
|
7288
|
-
"pattern": "^[a-zA-Z0-9-]+$",
|
|
7289
|
-
"maxLength": 100,
|
|
7290
|
-
"type": "string",
|
|
7291
|
-
"fieldDescription": "\n\nA key to identify the control. Keys must only contain alphanumeric characters and dashes, and must be unique\n\n"
|
|
7292
|
-
}
|
|
7293
|
-
},
|
|
7294
|
-
"required": [
|
|
7295
|
-
"macroParameterValue",
|
|
7296
|
-
"label",
|
|
7297
|
-
"type",
|
|
7298
|
-
"key"
|
|
7299
|
-
],
|
|
7300
|
-
"additionalProperties": true,
|
|
7301
|
-
"shortClassName": "macroToggleButtonControlBean",
|
|
7302
|
-
"type": "object",
|
|
7303
|
-
"title": "ToggleButtonControl",
|
|
7304
|
-
"description": "\n\nDefines a toggle button which appears inside a ToggleGroup\n\n <p><b>Example</b></p>\n\n\n\n\n\n {\n \"type\": \"togglebutton\",\n \"macroParameterValue\": \"macroParameterValue 0\",\n \"label\": {\n \"value\": \"My Custom Control 0\"\n },\n \"key\": \"my-custom-toggle-button-0\"\n }\n\n\n"
|
|
7305
|
-
},
|
|
7306
|
-
"type": "array",
|
|
7307
|
-
"fieldDescription": "\n\nToggle buttons which will appear in the toggle group\n\n"
|
|
7308
|
-
},
|
|
7309
8019
|
"macroParameter": {
|
|
7310
|
-
"pattern": "[-_a-z0-9\\.]+",
|
|
7311
8020
|
"maxLength": 100,
|
|
7312
8021
|
"type": "string",
|
|
7313
|
-
"fieldDescription": "\n\nThe
|
|
8022
|
+
"fieldDescription": "\n\nThe Macro Parameter identifier used to store the text\n\n"
|
|
7314
8023
|
},
|
|
7315
8024
|
"type": {
|
|
7316
8025
|
"enum": [
|
|
7317
|
-
"
|
|
7318
|
-
"
|
|
8026
|
+
"text",
|
|
8027
|
+
"TEXT"
|
|
7319
8028
|
],
|
|
7320
8029
|
"type": "string",
|
|
7321
|
-
"fieldDescription": "\n\nThe type field must be set to '
|
|
8030
|
+
"fieldDescription": "\n\nThe type field must be set to 'text'\n\n"
|
|
8031
|
+
},
|
|
8032
|
+
"key": {
|
|
8033
|
+
"pattern": "^[a-zA-Z0-9-]+$",
|
|
8034
|
+
"maxLength": 100,
|
|
8035
|
+
"type": "string",
|
|
8036
|
+
"fieldDescription": "\n\nA key to identify this module.\n\n This key must be unique relative to the add on, with the exception of Confluence macros: Their keys need to be\n globally unique.\n\n Keys must only contain alphanumeric characters and dashes.\n\n The key is used to generate the url to your add-on's module. The url is generated as a combination of your add-on\n key and module key. For example, an add-on which looks like:\n\n {\n \"key\": \"my-addon\",\n \"modules\": {\n \"configurePage\": {\n \"key\": \"configure-me\",\n }\n }\n }\n\n Will have a configuration page module with a URL of `/plugins/servlet/ac/my-addon/configure-me`.\n\n"
|
|
7322
8037
|
}
|
|
7323
8038
|
},
|
|
7324
8039
|
"required": [
|
|
7325
|
-
"controls",
|
|
7326
8040
|
"macroParameter",
|
|
7327
|
-
"type"
|
|
8041
|
+
"type",
|
|
8042
|
+
"key"
|
|
7328
8043
|
],
|
|
7329
|
-
"shortClassName": "
|
|
8044
|
+
"shortClassName": "textControlBean",
|
|
7330
8045
|
"type": "object",
|
|
7331
|
-
"title": "
|
|
7332
|
-
"description": "\n\nDefines a
|
|
8046
|
+
"title": "TextControl",
|
|
8047
|
+
"description": "\n\nDefines a text field which may appear in control extension points such as the property panel\n\n <p><b>Example</b></p>\n\n\n\n\n\n {\n \"type\": \"button\",\n \"label\": {\n \"value\": \"My Custom Control 0\"\n },\n \"key\": \"my-custom-control-0\"\n }\n\n\n"
|
|
8048
|
+
},
|
|
8049
|
+
{
|
|
8050
|
+
"properties": {
|
|
8051
|
+
"label": {
|
|
8052
|
+
"$ref": "#/definitions/i18nProperty",
|
|
8053
|
+
"fieldDescription": "\n\nText which will appear inside the button\n\n"
|
|
8054
|
+
},
|
|
8055
|
+
"type": {
|
|
8056
|
+
"enum": [
|
|
8057
|
+
"button",
|
|
8058
|
+
"BUTTON"
|
|
8059
|
+
],
|
|
8060
|
+
"type": "string",
|
|
8061
|
+
"fieldDescription": "\n\nThe type field must be set to 'button'\n\n"
|
|
8062
|
+
},
|
|
8063
|
+
"key": {
|
|
8064
|
+
"pattern": "^[a-zA-Z0-9-]+$",
|
|
8065
|
+
"maxLength": 100,
|
|
8066
|
+
"type": "string",
|
|
8067
|
+
"fieldDescription": "\n\nA key to identify the control. Keys must only contain alphanumeric characters and dashes, and must be unique\n\n"
|
|
8068
|
+
}
|
|
8069
|
+
},
|
|
8070
|
+
"required": [
|
|
8071
|
+
"label",
|
|
8072
|
+
"type",
|
|
8073
|
+
"key"
|
|
8074
|
+
],
|
|
8075
|
+
"additionalProperties": true,
|
|
8076
|
+
"shortClassName": "buttonControlBean",
|
|
8077
|
+
"type": "object",
|
|
8078
|
+
"title": "ButtonControl",
|
|
8079
|
+
"description": "\n\nDefines a button which may appear in control extension points such as the property panel\n\n <p><b>Example</b></p>\n\n\n\n\n\n {\n \"type\": \"button\",\n \"label\": {\n \"value\": \"My Custom Control 0\"\n },\n \"key\": \"my-custom-control-0\"\n }\n\n\n"
|
|
7333
8080
|
}
|
|
7334
8081
|
]
|
|
7335
8082
|
},
|
|
@@ -7532,10 +8279,10 @@
|
|
|
7532
8279
|
"type": "object",
|
|
7533
8280
|
"anyOf": [
|
|
7534
8281
|
{
|
|
7535
|
-
"$ref": "#/definitions/
|
|
8282
|
+
"$ref": "#/definitions/compositeCondition"
|
|
7536
8283
|
},
|
|
7537
8284
|
{
|
|
7538
|
-
"$ref": "#/definitions/
|
|
8285
|
+
"$ref": "#/definitions/singleCondition"
|
|
7539
8286
|
}
|
|
7540
8287
|
]
|
|
7541
8288
|
},
|
|
@@ -7565,22 +8312,6 @@
|
|
|
7565
8312
|
"type": "object",
|
|
7566
8313
|
"fieldDescription": "\n\n<p>An object containing options which vary based on the type of web item target you are implementing.</p>\n\n <p>Currently-allowed options are:</p>\n <ul>\n <li><a href=\"../inline-dialog-options/\">Inline Dialog Options</a> when type is \"inlinedialog\", and</li>\n <li><a href=\"../dialog-options/\">Dialog Options</a> when type is \"dialog\"</li>\n <li><a href=\"../dialog-module-options/\">Dialog Module Options</a> when type is \"dialogmodule\"</li>\n </ul>\n\n",
|
|
7567
8314
|
"anyOf": [
|
|
7568
|
-
{
|
|
7569
|
-
"properties": {
|
|
7570
|
-
"key": {
|
|
7571
|
-
"maxLength": 100,
|
|
7572
|
-
"type": "string",
|
|
7573
|
-
"fieldDescription": "\n\n<p>The key of a <a href=\"../dialog/\">Dialog</a> module declared in this Connect add-on.</p>\n\n <p>\n The dialog module will include the <a href=\"../dialog-options/\">Dialog Options</a>\n that would otherwise need to be specified directly in this options object.\n </p>\n\n"
|
|
7574
|
-
}
|
|
7575
|
-
},
|
|
7576
|
-
"required": [
|
|
7577
|
-
"key"
|
|
7578
|
-
],
|
|
7579
|
-
"shortClassName": "dialogModuleOptions",
|
|
7580
|
-
"type": "object",
|
|
7581
|
-
"title": "Dialog Module Options",
|
|
7582
|
-
"description": "\n\nOptions for a web-item targeting a common <a href=\"../dialog/\">dialog module</a>.\n\n <h3>Example</h3>\n\n\n\n\n\n {\n \"target\": {\n \"type\": \"dialogmodule\",\n \"options\": {\n \"key\": \"dialog-module-key\"\n }\n }\n }\n\n\n"
|
|
7583
|
-
},
|
|
7584
8315
|
{
|
|
7585
8316
|
"properties": {
|
|
7586
8317
|
"offsetX": {
|
|
@@ -7628,6 +8359,22 @@
|
|
|
7628
8359
|
"title": "Inline Dialog Options",
|
|
7629
8360
|
"description": "\n\nOptions for an inline dialog target\n\n <h3>Example</h3>\n\n\n\n\n\n {\n \"target\": {\n \"type\": \"inlinedialog\",\n \"options\": {\n \"onHover\": true,\n \"offsetX\": \"30px\",\n \"offsetY\": \"20px\"\n }\n }\n }\n\n\n"
|
|
7630
8361
|
},
|
|
8362
|
+
{
|
|
8363
|
+
"properties": {
|
|
8364
|
+
"key": {
|
|
8365
|
+
"maxLength": 100,
|
|
8366
|
+
"type": "string",
|
|
8367
|
+
"fieldDescription": "\n\n<p>The key of a <a href=\"../dialog/\">Dialog</a> module declared in this Connect add-on.</p>\n\n <p>\n The dialog module will include the <a href=\"../dialog-options/\">Dialog Options</a>\n that would otherwise need to be specified directly in this options object.\n </p>\n\n"
|
|
8368
|
+
}
|
|
8369
|
+
},
|
|
8370
|
+
"required": [
|
|
8371
|
+
"key"
|
|
8372
|
+
],
|
|
8373
|
+
"shortClassName": "dialogModuleOptions",
|
|
8374
|
+
"type": "object",
|
|
8375
|
+
"title": "Dialog Module Options",
|
|
8376
|
+
"description": "\n\nOptions for a web-item targeting a common <a href=\"../dialog/\">dialog module</a>.\n\n <h3>Example</h3>\n\n\n\n\n\n {\n \"target\": {\n \"type\": \"dialogmodule\",\n \"options\": {\n \"key\": \"dialog-module-key\"\n }\n }\n }\n\n\n"
|
|
8377
|
+
},
|
|
7631
8378
|
{
|
|
7632
8379
|
"properties": {
|
|
7633
8380
|
"size": {
|