@forge/manifest 0.0.0-experimental-64caa5a → 0.0.0-experimental-7c72fec

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.
Files changed (30) hide show
  1. package/CHANGELOG.md +99 -6
  2. package/out/index.d.ts +1 -1
  3. package/out/index.d.ts.map +1 -1
  4. package/out/mapping/product-event-to-scope-mapping.json +8 -8
  5. package/out/processor/full-validation-processor.d.ts.map +1 -1
  6. package/out/processor/full-validation-processor.js +3 -0
  7. package/out/schema/basic-manifest-schema.json +9 -0
  8. package/out/schema/basic-manifest.d.ts +4 -0
  9. package/out/schema/manifest-schema.json +814 -919
  10. package/out/schema/manifest.d.ts +941 -911
  11. package/out/scopes/deprecated-shipyard-scopes.json +24 -0
  12. package/out/scopes/shipyard-scopes.json +47 -69
  13. package/out/text/errors.d.ts +2 -0
  14. package/out/text/errors.d.ts.map +1 -1
  15. package/out/text/errors.js +4 -2
  16. package/out/types/module-types.d.ts +8 -0
  17. package/out/types/module-types.d.ts.map +1 -1
  18. package/out/types/module-types.js +8 -0
  19. package/out/validators/connect-authentication-validator.d.ts +7 -0
  20. package/out/validators/connect-authentication-validator.d.ts.map +1 -0
  21. package/out/validators/connect-authentication-validator.js +27 -0
  22. package/out/validators/deprecated-permissions-validator.d.ts +7 -0
  23. package/out/validators/deprecated-permissions-validator.d.ts.map +1 -0
  24. package/out/validators/deprecated-permissions-validator.js +31 -0
  25. package/out/validators/index.d.ts +1 -0
  26. package/out/validators/index.d.ts.map +1 -1
  27. package/out/validators/index.js +1 -0
  28. package/out/validators/permissions-validator.d.ts.map +1 -1
  29. package/out/validators/permissions-validator.js +14 -8
  30. 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
  }
@@ -456,6 +465,9 @@
456
465
  "maxLength": 255,
457
466
  "pattern": "^[a-zA-Z0-9-_]+$"
458
467
  },
468
+ "displayConditions": {
469
+ "type": "object"
470
+ },
459
471
  "key": {
460
472
  "$ref": "#/definitions/ModuleKeySchema"
461
473
  }
@@ -510,6 +522,9 @@
510
522
  "large"
511
523
  ]
512
524
  },
525
+ "displayConditions": {
526
+ "type": "object"
527
+ },
513
528
  "key": {
514
529
  "$ref": "#/definitions/ModuleKeySchema"
515
530
  }
@@ -542,6 +557,9 @@
542
557
  "maxLength": 255,
543
558
  "pattern": "^[a-zA-Z0-9-_]+$"
544
559
  },
560
+ "displayConditions": {
561
+ "type": "object"
562
+ },
545
563
  "key": {
546
564
  "$ref": "#/definitions/ModuleKeySchema"
547
565
  }
@@ -597,6 +615,9 @@
597
615
  "xlarge"
598
616
  ]
599
617
  },
618
+ "displayConditions": {
619
+ "type": "object"
620
+ },
600
621
  "key": {
601
622
  "$ref": "#/definitions/ModuleKeySchema"
602
623
  }
@@ -783,6 +804,9 @@
783
804
  "maxLength": 255,
784
805
  "pattern": "^[a-zA-Z0-9-_]+$"
785
806
  },
807
+ "displayConditions": {
808
+ "type": "object"
809
+ },
786
810
  "key": {
787
811
  "$ref": "#/definitions/ModuleKeySchema"
788
812
  }
@@ -838,6 +862,9 @@
838
862
  "xlarge"
839
863
  ]
840
864
  },
865
+ "displayConditions": {
866
+ "type": "object"
867
+ },
841
868
  "key": {
842
869
  "$ref": "#/definitions/ModuleKeySchema"
843
870
  }
@@ -881,6 +908,9 @@
881
908
  "maxLength": 255,
882
909
  "pattern": "^[a-zA-Z0-9-_]+$"
883
910
  },
911
+ "displayConditions": {
912
+ "type": "object"
913
+ },
884
914
  "key": {
885
915
  "$ref": "#/definitions/ModuleKeySchema"
886
916
  }
@@ -937,6 +967,9 @@
937
967
  "minLength": 1,
938
968
  "maxLength": 255
939
969
  },
970
+ "displayConditions": {
971
+ "type": "object"
972
+ },
940
973
  "key": {
941
974
  "$ref": "#/definitions/ModuleKeySchema"
942
975
  }
@@ -970,6 +1003,9 @@
970
1003
  "maxLength": 255,
971
1004
  "pattern": "^[a-zA-Z0-9-_]+$"
972
1005
  },
1006
+ "displayConditions": {
1007
+ "type": "object"
1008
+ },
973
1009
  "key": {
974
1010
  "$ref": "#/definitions/ModuleKeySchema"
975
1011
  }
@@ -1014,6 +1050,9 @@
1014
1050
  "minLength": 1,
1015
1051
  "maxLength": 255
1016
1052
  },
1053
+ "displayConditions": {
1054
+ "type": "object"
1055
+ },
1017
1056
  "key": {
1018
1057
  "$ref": "#/definitions/ModuleKeySchema"
1019
1058
  }
@@ -1046,6 +1085,9 @@
1046
1085
  "maxLength": 255,
1047
1086
  "pattern": "^[a-zA-Z0-9-_]+$"
1048
1087
  },
1088
+ "displayConditions": {
1089
+ "type": "object"
1090
+ },
1049
1091
  "key": {
1050
1092
  "$ref": "#/definitions/ModuleKeySchema"
1051
1093
  }
@@ -1090,6 +1132,9 @@
1090
1132
  "minLength": 1,
1091
1133
  "maxLength": 255
1092
1134
  },
1135
+ "displayConditions": {
1136
+ "type": "object"
1137
+ },
1093
1138
  "key": {
1094
1139
  "$ref": "#/definitions/ModuleKeySchema"
1095
1140
  }
@@ -1134,6 +1179,9 @@
1134
1179
  "maxLength": 255,
1135
1180
  "pattern": "^[a-zA-Z0-9-_]+$"
1136
1181
  },
1182
+ "displayConditions": {
1183
+ "type": "object"
1184
+ },
1137
1185
  "key": {
1138
1186
  "$ref": "#/definitions/ModuleKeySchema"
1139
1187
  }
@@ -1191,6 +1239,9 @@
1191
1239
  "minLength": 1,
1192
1240
  "maxLength": 255
1193
1241
  },
1242
+ "displayConditions": {
1243
+ "type": "object"
1244
+ },
1194
1245
  "key": {
1195
1246
  "$ref": "#/definitions/ModuleKeySchema"
1196
1247
  }
@@ -2473,6 +2524,76 @@
2473
2524
  ],
2474
2525
  "type": "string"
2475
2526
  },
2527
+ "pages": {
2528
+ "type": "array",
2529
+ "items": {
2530
+ "type": "object",
2531
+ "properties": {
2532
+ "title": {
2533
+ "type": "string",
2534
+ "minLength": 1,
2535
+ "maxLength": 255
2536
+ },
2537
+ "route": {
2538
+ "minLength": 1,
2539
+ "maxLength": 255,
2540
+ "type": "string"
2541
+ },
2542
+ "icon": {
2543
+ "type": "string",
2544
+ "minLength": 1,
2545
+ "maxLength": 255
2546
+ }
2547
+ },
2548
+ "required": [
2549
+ "route",
2550
+ "title"
2551
+ ]
2552
+ }
2553
+ },
2554
+ "sections": {
2555
+ "type": "array",
2556
+ "items": {
2557
+ "type": "object",
2558
+ "properties": {
2559
+ "header": {
2560
+ "minLength": 1,
2561
+ "maxLength": 255,
2562
+ "type": "string"
2563
+ },
2564
+ "pages": {
2565
+ "type": "array",
2566
+ "items": {
2567
+ "type": "object",
2568
+ "properties": {
2569
+ "title": {
2570
+ "type": "string",
2571
+ "minLength": 1,
2572
+ "maxLength": 255
2573
+ },
2574
+ "route": {
2575
+ "minLength": 1,
2576
+ "maxLength": 255,
2577
+ "type": "string"
2578
+ },
2579
+ "icon": {
2580
+ "type": "string",
2581
+ "minLength": 1,
2582
+ "maxLength": 255
2583
+ }
2584
+ },
2585
+ "required": [
2586
+ "route",
2587
+ "title"
2588
+ ]
2589
+ }
2590
+ }
2591
+ },
2592
+ "required": [
2593
+ "pages"
2594
+ ]
2595
+ }
2596
+ },
2476
2597
  "key": {
2477
2598
  "$ref": "#/definitions/ModuleKeySchema"
2478
2599
  }
@@ -2529,19 +2650,6 @@
2529
2650
  ],
2530
2651
  "type": "string"
2531
2652
  },
2532
- "key": {
2533
- "$ref": "#/definitions/ModuleKeySchema"
2534
- }
2535
- },
2536
- "required": [
2537
- "resource",
2538
- "title",
2539
- "key"
2540
- ]
2541
- },
2542
- {
2543
- "type": "object",
2544
- "properties": {
2545
2653
  "pages": {
2546
2654
  "type": "array",
2547
2655
  "items": {
@@ -2569,63 +2677,6 @@
2569
2677
  ]
2570
2678
  }
2571
2679
  },
2572
- "resource": {
2573
- "type": "string",
2574
- "minLength": 1,
2575
- "maxLength": 23,
2576
- "pattern": "^[a-zA-Z0-9_\\-]+$"
2577
- },
2578
- "resourceUploadId": {
2579
- "type": "string",
2580
- "minLength": 1,
2581
- "maxLength": 255
2582
- },
2583
- "resolver": {
2584
- "additionalProperties": false,
2585
- "type": "object",
2586
- "properties": {
2587
- "function": {
2588
- "type": "string",
2589
- "minLength": 1,
2590
- "maxLength": 255,
2591
- "pattern": "^[a-zA-Z0-9-_]+$"
2592
- }
2593
- },
2594
- "required": [
2595
- "function"
2596
- ]
2597
- },
2598
- "title": {
2599
- "type": "string",
2600
- "minLength": 1,
2601
- "maxLength": 255
2602
- },
2603
- "icon": {
2604
- "type": "string",
2605
- "minLength": 1,
2606
- "maxLength": 255
2607
- },
2608
- "layout": {
2609
- "enum": [
2610
- "basic",
2611
- "native"
2612
- ],
2613
- "type": "string"
2614
- },
2615
- "key": {
2616
- "$ref": "#/definitions/ModuleKeySchema"
2617
- }
2618
- },
2619
- "required": [
2620
- "pages",
2621
- "resource",
2622
- "title",
2623
- "key"
2624
- ]
2625
- },
2626
- {
2627
- "type": "object",
2628
- "properties": {
2629
2680
  "sections": {
2630
2681
  "type": "array",
2631
2682
  "items": {
@@ -2669,56 +2720,12 @@
2669
2720
  ]
2670
2721
  }
2671
2722
  },
2672
- "resource": {
2673
- "type": "string",
2674
- "minLength": 1,
2675
- "maxLength": 23,
2676
- "pattern": "^[a-zA-Z0-9_\\-]+$"
2677
- },
2678
- "resourceUploadId": {
2679
- "type": "string",
2680
- "minLength": 1,
2681
- "maxLength": 255
2682
- },
2683
- "resolver": {
2684
- "additionalProperties": false,
2685
- "type": "object",
2686
- "properties": {
2687
- "function": {
2688
- "type": "string",
2689
- "minLength": 1,
2690
- "maxLength": 255,
2691
- "pattern": "^[a-zA-Z0-9-_]+$"
2692
- }
2693
- },
2694
- "required": [
2695
- "function"
2696
- ]
2697
- },
2698
- "title": {
2699
- "type": "string",
2700
- "minLength": 1,
2701
- "maxLength": 255
2702
- },
2703
- "icon": {
2704
- "type": "string",
2705
- "minLength": 1,
2706
- "maxLength": 255
2707
- },
2708
- "layout": {
2709
- "enum": [
2710
- "basic",
2711
- "native"
2712
- ],
2713
- "type": "string"
2714
- },
2715
2723
  "key": {
2716
2724
  "$ref": "#/definitions/ModuleKeySchema"
2717
2725
  }
2718
2726
  },
2719
2727
  "required": [
2720
2728
  "resource",
2721
- "sections",
2722
2729
  "title",
2723
2730
  "key"
2724
2731
  ]
@@ -2757,75 +2764,6 @@
2757
2764
  ],
2758
2765
  "type": "string"
2759
2766
  },
2760
- "key": {
2761
- "$ref": "#/definitions/ModuleKeySchema"
2762
- }
2763
- },
2764
- "required": [
2765
- "function",
2766
- "title",
2767
- "key"
2768
- ]
2769
- },
2770
- {
2771
- "type": "object",
2772
- "properties": {
2773
- "resource": {
2774
- "type": "string",
2775
- "minLength": 1,
2776
- "maxLength": 23,
2777
- "pattern": "^[a-zA-Z0-9_\\-]+$"
2778
- },
2779
- "resourceUploadId": {
2780
- "type": "string",
2781
- "minLength": 1,
2782
- "maxLength": 255
2783
- },
2784
- "resolver": {
2785
- "additionalProperties": false,
2786
- "type": "object",
2787
- "properties": {
2788
- "function": {
2789
- "type": "string",
2790
- "minLength": 1,
2791
- "maxLength": 255,
2792
- "pattern": "^[a-zA-Z0-9-_]+$"
2793
- }
2794
- },
2795
- "required": [
2796
- "function"
2797
- ]
2798
- },
2799
- "title": {
2800
- "type": "string",
2801
- "minLength": 1,
2802
- "maxLength": 255
2803
- },
2804
- "icon": {
2805
- "type": "string",
2806
- "minLength": 1,
2807
- "maxLength": 255
2808
- },
2809
- "layout": {
2810
- "enum": [
2811
- "basic",
2812
- "native"
2813
- ],
2814
- "type": "string"
2815
- },
2816
- "key": {
2817
- "$ref": "#/definitions/ModuleKeySchema"
2818
- }
2819
- },
2820
- "required": [
2821
- "resource",
2822
- "title",
2823
- "key"
2824
- ]
2825
- },
2826
- {
2827
- "type": "object",
2828
- "properties": {
2829
2767
  "pages": {
2830
2768
  "type": "array",
2831
2769
  "items": {
@@ -2853,63 +2791,6 @@
2853
2791
  ]
2854
2792
  }
2855
2793
  },
2856
- "resource": {
2857
- "type": "string",
2858
- "minLength": 1,
2859
- "maxLength": 23,
2860
- "pattern": "^[a-zA-Z0-9_\\-]+$"
2861
- },
2862
- "resourceUploadId": {
2863
- "type": "string",
2864
- "minLength": 1,
2865
- "maxLength": 255
2866
- },
2867
- "resolver": {
2868
- "additionalProperties": false,
2869
- "type": "object",
2870
- "properties": {
2871
- "function": {
2872
- "type": "string",
2873
- "minLength": 1,
2874
- "maxLength": 255,
2875
- "pattern": "^[a-zA-Z0-9-_]+$"
2876
- }
2877
- },
2878
- "required": [
2879
- "function"
2880
- ]
2881
- },
2882
- "title": {
2883
- "type": "string",
2884
- "minLength": 1,
2885
- "maxLength": 255
2886
- },
2887
- "icon": {
2888
- "type": "string",
2889
- "minLength": 1,
2890
- "maxLength": 255
2891
- },
2892
- "layout": {
2893
- "enum": [
2894
- "basic",
2895
- "native"
2896
- ],
2897
- "type": "string"
2898
- },
2899
- "key": {
2900
- "$ref": "#/definitions/ModuleKeySchema"
2901
- }
2902
- },
2903
- "required": [
2904
- "pages",
2905
- "resource",
2906
- "title",
2907
- "key"
2908
- ]
2909
- },
2910
- {
2911
- "type": "object",
2912
- "properties": {
2913
2794
  "sections": {
2914
2795
  "type": "array",
2915
2796
  "items": {
@@ -2953,6 +2834,19 @@
2953
2834
  ]
2954
2835
  }
2955
2836
  },
2837
+ "key": {
2838
+ "$ref": "#/definitions/ModuleKeySchema"
2839
+ }
2840
+ },
2841
+ "required": [
2842
+ "function",
2843
+ "title",
2844
+ "key"
2845
+ ]
2846
+ },
2847
+ {
2848
+ "type": "object",
2849
+ "properties": {
2956
2850
  "resource": {
2957
2851
  "type": "string",
2958
2852
  "minLength": 1,
@@ -2996,13 +2890,82 @@
2996
2890
  ],
2997
2891
  "type": "string"
2998
2892
  },
2893
+ "pages": {
2894
+ "type": "array",
2895
+ "items": {
2896
+ "type": "object",
2897
+ "properties": {
2898
+ "title": {
2899
+ "type": "string",
2900
+ "minLength": 1,
2901
+ "maxLength": 255
2902
+ },
2903
+ "route": {
2904
+ "minLength": 1,
2905
+ "maxLength": 255,
2906
+ "type": "string"
2907
+ },
2908
+ "icon": {
2909
+ "type": "string",
2910
+ "minLength": 1,
2911
+ "maxLength": 255
2912
+ }
2913
+ },
2914
+ "required": [
2915
+ "route",
2916
+ "title"
2917
+ ]
2918
+ }
2919
+ },
2920
+ "sections": {
2921
+ "type": "array",
2922
+ "items": {
2923
+ "type": "object",
2924
+ "properties": {
2925
+ "header": {
2926
+ "minLength": 1,
2927
+ "maxLength": 255,
2928
+ "type": "string"
2929
+ },
2930
+ "pages": {
2931
+ "type": "array",
2932
+ "items": {
2933
+ "type": "object",
2934
+ "properties": {
2935
+ "title": {
2936
+ "type": "string",
2937
+ "minLength": 1,
2938
+ "maxLength": 255
2939
+ },
2940
+ "route": {
2941
+ "minLength": 1,
2942
+ "maxLength": 255,
2943
+ "type": "string"
2944
+ },
2945
+ "icon": {
2946
+ "type": "string",
2947
+ "minLength": 1,
2948
+ "maxLength": 255
2949
+ }
2950
+ },
2951
+ "required": [
2952
+ "route",
2953
+ "title"
2954
+ ]
2955
+ }
2956
+ }
2957
+ },
2958
+ "required": [
2959
+ "pages"
2960
+ ]
2961
+ }
2962
+ },
2999
2963
  "key": {
3000
2964
  "$ref": "#/definitions/ModuleKeySchema"
3001
2965
  }
3002
2966
  },
3003
2967
  "required": [
3004
2968
  "resource",
3005
- "sections",
3006
2969
  "title",
3007
2970
  "key"
3008
2971
  ]
@@ -3041,6 +3004,76 @@
3041
3004
  ],
3042
3005
  "type": "string"
3043
3006
  },
3007
+ "pages": {
3008
+ "type": "array",
3009
+ "items": {
3010
+ "type": "object",
3011
+ "properties": {
3012
+ "title": {
3013
+ "type": "string",
3014
+ "minLength": 1,
3015
+ "maxLength": 255
3016
+ },
3017
+ "route": {
3018
+ "minLength": 1,
3019
+ "maxLength": 255,
3020
+ "type": "string"
3021
+ },
3022
+ "icon": {
3023
+ "type": "string",
3024
+ "minLength": 1,
3025
+ "maxLength": 255
3026
+ }
3027
+ },
3028
+ "required": [
3029
+ "route",
3030
+ "title"
3031
+ ]
3032
+ }
3033
+ },
3034
+ "sections": {
3035
+ "type": "array",
3036
+ "items": {
3037
+ "type": "object",
3038
+ "properties": {
3039
+ "header": {
3040
+ "minLength": 1,
3041
+ "maxLength": 255,
3042
+ "type": "string"
3043
+ },
3044
+ "pages": {
3045
+ "type": "array",
3046
+ "items": {
3047
+ "type": "object",
3048
+ "properties": {
3049
+ "title": {
3050
+ "type": "string",
3051
+ "minLength": 1,
3052
+ "maxLength": 255
3053
+ },
3054
+ "route": {
3055
+ "minLength": 1,
3056
+ "maxLength": 255,
3057
+ "type": "string"
3058
+ },
3059
+ "icon": {
3060
+ "type": "string",
3061
+ "minLength": 1,
3062
+ "maxLength": 255
3063
+ }
3064
+ },
3065
+ "required": [
3066
+ "route",
3067
+ "title"
3068
+ ]
3069
+ }
3070
+ }
3071
+ },
3072
+ "required": [
3073
+ "pages"
3074
+ ]
3075
+ }
3076
+ },
3044
3077
  "key": {
3045
3078
  "$ref": "#/definitions/ModuleKeySchema"
3046
3079
  }
@@ -3097,19 +3130,6 @@
3097
3130
  ],
3098
3131
  "type": "string"
3099
3132
  },
3100
- "key": {
3101
- "$ref": "#/definitions/ModuleKeySchema"
3102
- }
3103
- },
3104
- "required": [
3105
- "resource",
3106
- "title",
3107
- "key"
3108
- ]
3109
- },
3110
- {
3111
- "type": "object",
3112
- "properties": {
3113
3133
  "pages": {
3114
3134
  "type": "array",
3115
3135
  "items": {
@@ -3137,63 +3157,6 @@
3137
3157
  ]
3138
3158
  }
3139
3159
  },
3140
- "resource": {
3141
- "type": "string",
3142
- "minLength": 1,
3143
- "maxLength": 23,
3144
- "pattern": "^[a-zA-Z0-9_\\-]+$"
3145
- },
3146
- "resourceUploadId": {
3147
- "type": "string",
3148
- "minLength": 1,
3149
- "maxLength": 255
3150
- },
3151
- "resolver": {
3152
- "additionalProperties": false,
3153
- "type": "object",
3154
- "properties": {
3155
- "function": {
3156
- "type": "string",
3157
- "minLength": 1,
3158
- "maxLength": 255,
3159
- "pattern": "^[a-zA-Z0-9-_]+$"
3160
- }
3161
- },
3162
- "required": [
3163
- "function"
3164
- ]
3165
- },
3166
- "title": {
3167
- "type": "string",
3168
- "minLength": 1,
3169
- "maxLength": 255
3170
- },
3171
- "icon": {
3172
- "type": "string",
3173
- "minLength": 1,
3174
- "maxLength": 255
3175
- },
3176
- "layout": {
3177
- "enum": [
3178
- "basic",
3179
- "native"
3180
- ],
3181
- "type": "string"
3182
- },
3183
- "key": {
3184
- "$ref": "#/definitions/ModuleKeySchema"
3185
- }
3186
- },
3187
- "required": [
3188
- "pages",
3189
- "resource",
3190
- "title",
3191
- "key"
3192
- ]
3193
- },
3194
- {
3195
- "type": "object",
3196
- "properties": {
3197
3160
  "sections": {
3198
3161
  "type": "array",
3199
3162
  "items": {
@@ -3237,56 +3200,12 @@
3237
3200
  ]
3238
3201
  }
3239
3202
  },
3240
- "resource": {
3241
- "type": "string",
3242
- "minLength": 1,
3243
- "maxLength": 23,
3244
- "pattern": "^[a-zA-Z0-9_\\-]+$"
3245
- },
3246
- "resourceUploadId": {
3247
- "type": "string",
3248
- "minLength": 1,
3249
- "maxLength": 255
3250
- },
3251
- "resolver": {
3252
- "additionalProperties": false,
3253
- "type": "object",
3254
- "properties": {
3255
- "function": {
3256
- "type": "string",
3257
- "minLength": 1,
3258
- "maxLength": 255,
3259
- "pattern": "^[a-zA-Z0-9-_]+$"
3260
- }
3261
- },
3262
- "required": [
3263
- "function"
3264
- ]
3265
- },
3266
- "title": {
3267
- "type": "string",
3268
- "minLength": 1,
3269
- "maxLength": 255
3270
- },
3271
- "icon": {
3272
- "type": "string",
3273
- "minLength": 1,
3274
- "maxLength": 255
3275
- },
3276
- "layout": {
3277
- "enum": [
3278
- "basic",
3279
- "native"
3280
- ],
3281
- "type": "string"
3282
- },
3283
3203
  "key": {
3284
3204
  "$ref": "#/definitions/ModuleKeySchema"
3285
3205
  }
3286
3206
  },
3287
3207
  "required": [
3288
3208
  "resource",
3289
- "sections",
3290
3209
  "title",
3291
3210
  "key"
3292
3211
  ]
@@ -3325,6 +3244,76 @@
3325
3244
  ],
3326
3245
  "type": "string"
3327
3246
  },
3247
+ "pages": {
3248
+ "type": "array",
3249
+ "items": {
3250
+ "type": "object",
3251
+ "properties": {
3252
+ "title": {
3253
+ "type": "string",
3254
+ "minLength": 1,
3255
+ "maxLength": 255
3256
+ },
3257
+ "route": {
3258
+ "minLength": 1,
3259
+ "maxLength": 255,
3260
+ "type": "string"
3261
+ },
3262
+ "icon": {
3263
+ "type": "string",
3264
+ "minLength": 1,
3265
+ "maxLength": 255
3266
+ }
3267
+ },
3268
+ "required": [
3269
+ "route",
3270
+ "title"
3271
+ ]
3272
+ }
3273
+ },
3274
+ "sections": {
3275
+ "type": "array",
3276
+ "items": {
3277
+ "type": "object",
3278
+ "properties": {
3279
+ "header": {
3280
+ "minLength": 1,
3281
+ "maxLength": 255,
3282
+ "type": "string"
3283
+ },
3284
+ "pages": {
3285
+ "type": "array",
3286
+ "items": {
3287
+ "type": "object",
3288
+ "properties": {
3289
+ "title": {
3290
+ "type": "string",
3291
+ "minLength": 1,
3292
+ "maxLength": 255
3293
+ },
3294
+ "route": {
3295
+ "minLength": 1,
3296
+ "maxLength": 255,
3297
+ "type": "string"
3298
+ },
3299
+ "icon": {
3300
+ "type": "string",
3301
+ "minLength": 1,
3302
+ "maxLength": 255
3303
+ }
3304
+ },
3305
+ "required": [
3306
+ "route",
3307
+ "title"
3308
+ ]
3309
+ }
3310
+ }
3311
+ },
3312
+ "required": [
3313
+ "pages"
3314
+ ]
3315
+ }
3316
+ },
3328
3317
  "key": {
3329
3318
  "$ref": "#/definitions/ModuleKeySchema"
3330
3319
  }
@@ -3381,19 +3370,6 @@
3381
3370
  ],
3382
3371
  "type": "string"
3383
3372
  },
3384
- "key": {
3385
- "$ref": "#/definitions/ModuleKeySchema"
3386
- }
3387
- },
3388
- "required": [
3389
- "resource",
3390
- "title",
3391
- "key"
3392
- ]
3393
- },
3394
- {
3395
- "type": "object",
3396
- "properties": {
3397
3373
  "pages": {
3398
3374
  "type": "array",
3399
3375
  "items": {
@@ -3421,63 +3397,6 @@
3421
3397
  ]
3422
3398
  }
3423
3399
  },
3424
- "resource": {
3425
- "type": "string",
3426
- "minLength": 1,
3427
- "maxLength": 23,
3428
- "pattern": "^[a-zA-Z0-9_\\-]+$"
3429
- },
3430
- "resourceUploadId": {
3431
- "type": "string",
3432
- "minLength": 1,
3433
- "maxLength": 255
3434
- },
3435
- "resolver": {
3436
- "additionalProperties": false,
3437
- "type": "object",
3438
- "properties": {
3439
- "function": {
3440
- "type": "string",
3441
- "minLength": 1,
3442
- "maxLength": 255,
3443
- "pattern": "^[a-zA-Z0-9-_]+$"
3444
- }
3445
- },
3446
- "required": [
3447
- "function"
3448
- ]
3449
- },
3450
- "title": {
3451
- "type": "string",
3452
- "minLength": 1,
3453
- "maxLength": 255
3454
- },
3455
- "icon": {
3456
- "type": "string",
3457
- "minLength": 1,
3458
- "maxLength": 255
3459
- },
3460
- "layout": {
3461
- "enum": [
3462
- "basic",
3463
- "native"
3464
- ],
3465
- "type": "string"
3466
- },
3467
- "key": {
3468
- "$ref": "#/definitions/ModuleKeySchema"
3469
- }
3470
- },
3471
- "required": [
3472
- "pages",
3473
- "resource",
3474
- "title",
3475
- "key"
3476
- ]
3477
- },
3478
- {
3479
- "type": "object",
3480
- "properties": {
3481
3400
  "sections": {
3482
3401
  "type": "array",
3483
3402
  "items": {
@@ -3521,56 +3440,12 @@
3521
3440
  ]
3522
3441
  }
3523
3442
  },
3524
- "resource": {
3525
- "type": "string",
3526
- "minLength": 1,
3527
- "maxLength": 23,
3528
- "pattern": "^[a-zA-Z0-9_\\-]+$"
3529
- },
3530
- "resourceUploadId": {
3531
- "type": "string",
3532
- "minLength": 1,
3533
- "maxLength": 255
3534
- },
3535
- "resolver": {
3536
- "additionalProperties": false,
3537
- "type": "object",
3538
- "properties": {
3539
- "function": {
3540
- "type": "string",
3541
- "minLength": 1,
3542
- "maxLength": 255,
3543
- "pattern": "^[a-zA-Z0-9-_]+$"
3544
- }
3545
- },
3546
- "required": [
3547
- "function"
3548
- ]
3549
- },
3550
- "title": {
3551
- "type": "string",
3552
- "minLength": 1,
3553
- "maxLength": 255
3554
- },
3555
- "icon": {
3556
- "type": "string",
3557
- "minLength": 1,
3558
- "maxLength": 255
3559
- },
3560
- "layout": {
3561
- "enum": [
3562
- "basic",
3563
- "native"
3564
- ],
3565
- "type": "string"
3566
- },
3567
3443
  "key": {
3568
3444
  "$ref": "#/definitions/ModuleKeySchema"
3569
3445
  }
3570
3446
  },
3571
3447
  "required": [
3572
3448
  "resource",
3573
- "sections",
3574
3449
  "title",
3575
3450
  "key"
3576
3451
  ]
@@ -3651,11 +3526,6 @@
3651
3526
  "maxLength": 23,
3652
3527
  "pattern": "^[a-zA-Z0-9_\\-]+$"
3653
3528
  },
3654
- "resourceUploadId": {
3655
- "type": "string",
3656
- "minLength": 1,
3657
- "maxLength": 255
3658
- },
3659
3529
  "key": {
3660
3530
  "$ref": "#/definitions/ModuleKeySchema"
3661
3531
  }
@@ -3743,11 +3613,6 @@
3743
3613
  "maxLength": 23,
3744
3614
  "pattern": "^[a-zA-Z0-9_\\-]+$"
3745
3615
  },
3746
- "resourceUploadId": {
3747
- "type": "string",
3748
- "minLength": 1,
3749
- "maxLength": 255
3750
- },
3751
3616
  "key": {
3752
3617
  "$ref": "#/definitions/ModuleKeySchema"
3753
3618
  }
@@ -3829,11 +3694,6 @@
3829
3694
  "maxLength": 23,
3830
3695
  "pattern": "^[a-zA-Z0-9_\\-]+$"
3831
3696
  },
3832
- "resourceUploadId": {
3833
- "type": "string",
3834
- "minLength": 1,
3835
- "maxLength": 255
3836
- },
3837
3697
  "key": {
3838
3698
  "$ref": "#/definitions/ModuleKeySchema"
3839
3699
  }
@@ -4315,6 +4175,53 @@
4315
4175
  "type": "object",
4316
4176
  "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",
4317
4177
  "anyOf": [
4178
+ {
4179
+ "properties": {
4180
+ "offsetX": {
4181
+ "maxLength": 10,
4182
+ "type": "string",
4183
+ "fieldDescription": "\n\nSets an offset distance of the inline-dialog from the trigger element along the x-axis in pixels\n\n"
4184
+ },
4185
+ "offsetY": {
4186
+ "maxLength": 10,
4187
+ "type": "string",
4188
+ "fieldDescription": "\n\nSets an offset distance of the inline-dialog from the trigger element along the y-axis in pixels\n\n"
4189
+ },
4190
+ "width": {
4191
+ "maxLength": 10,
4192
+ "type": "string",
4193
+ "fieldDescription": "\n\nSets how wide the dialog is in pixels.\n\n"
4194
+ },
4195
+ "onTop": {
4196
+ "type": "boolean",
4197
+ "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"
4198
+ },
4199
+ "showDelay": {
4200
+ "type": "integer",
4201
+ "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"
4202
+ },
4203
+ "closeOthers": {
4204
+ "type": "boolean",
4205
+ "fieldDescription": "\n\nDetermines if all other dialogs on the screen are closed when this one is opened\n\n"
4206
+ },
4207
+ "persistent": {
4208
+ "type": "boolean",
4209
+ "fieldDescription": "\n\nThis option, ignores the 'closeOthers' option\n\n"
4210
+ },
4211
+ "onHover": {
4212
+ "type": "boolean",
4213
+ "fieldDescription": "\n\nDetermines whether the inline-Dialog will show on a mouseOver or mouseClick of the trigger\n\n"
4214
+ },
4215
+ "isRelativeToMouse": {
4216
+ "type": "boolean",
4217
+ "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"
4218
+ }
4219
+ },
4220
+ "shortClassName": "inlineDialogOptions",
4221
+ "type": "object",
4222
+ "title": "Inline Dialog Options",
4223
+ "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"
4224
+ },
4318
4225
  {
4319
4226
  "properties": {
4320
4227
  "size": {
@@ -4375,53 +4282,6 @@
4375
4282
  "type": "object",
4376
4283
  "title": "Dialog Module Options",
4377
4284
  "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"
4378
- },
4379
- {
4380
- "properties": {
4381
- "offsetX": {
4382
- "maxLength": 10,
4383
- "type": "string",
4384
- "fieldDescription": "\n\nSets an offset distance of the inline-dialog from the trigger element along the x-axis in pixels\n\n"
4385
- },
4386
- "offsetY": {
4387
- "maxLength": 10,
4388
- "type": "string",
4389
- "fieldDescription": "\n\nSets an offset distance of the inline-dialog from the trigger element along the y-axis in pixels\n\n"
4390
- },
4391
- "width": {
4392
- "maxLength": 10,
4393
- "type": "string",
4394
- "fieldDescription": "\n\nSets how wide the dialog is in pixels.\n\n"
4395
- },
4396
- "onTop": {
4397
- "type": "boolean",
4398
- "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"
4399
- },
4400
- "showDelay": {
4401
- "type": "integer",
4402
- "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"
4403
- },
4404
- "closeOthers": {
4405
- "type": "boolean",
4406
- "fieldDescription": "\n\nDetermines if all other dialogs on the screen are closed when this one is opened\n\n"
4407
- },
4408
- "persistent": {
4409
- "type": "boolean",
4410
- "fieldDescription": "\n\nThis option, ignores the 'closeOthers' option\n\n"
4411
- },
4412
- "onHover": {
4413
- "type": "boolean",
4414
- "fieldDescription": "\n\nDetermines whether the inline-Dialog will show on a mouseOver or mouseClick of the trigger\n\n"
4415
- },
4416
- "isRelativeToMouse": {
4417
- "type": "boolean",
4418
- "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"
4419
- }
4420
- },
4421
- "shortClassName": "inlineDialogOptions",
4422
- "type": "object",
4423
- "title": "Inline Dialog Options",
4424
- "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"
4425
4285
  }
4426
4286
  ]
4427
4287
  },
@@ -4811,10 +4671,10 @@
4811
4671
  "type": "object",
4812
4672
  "anyOf": [
4813
4673
  {
4814
- "$ref": "#/definitions/singleCondition"
4674
+ "$ref": "#/definitions/compositeCondition"
4815
4675
  },
4816
4676
  {
4817
- "$ref": "#/definitions/compositeCondition"
4677
+ "$ref": "#/definitions/singleCondition"
4818
4678
  }
4819
4679
  ]
4820
4680
  },
@@ -4953,11 +4813,11 @@
4953
4813
  "items": {
4954
4814
  "type": "object",
4955
4815
  "anyOf": [
4956
- {
4957
- "$ref": "#/definitions/compositeCondition"
4958
- },
4959
4816
  {
4960
4817
  "$ref": "#/definitions/singleCondition"
4818
+ },
4819
+ {
4820
+ "$ref": "#/definitions/compositeCondition"
4961
4821
  }
4962
4822
  ]
4963
4823
  },
@@ -5000,10 +4860,10 @@
5000
4860
  "type": "object",
5001
4861
  "anyOf": [
5002
4862
  {
5003
- "$ref": "#/definitions/compositeCondition"
4863
+ "$ref": "#/definitions/singleCondition"
5004
4864
  },
5005
4865
  {
5006
- "$ref": "#/definitions/singleCondition"
4866
+ "$ref": "#/definitions/compositeCondition"
5007
4867
  }
5008
4868
  ]
5009
4869
  },
@@ -5047,10 +4907,10 @@
5047
4907
  "type": "object",
5048
4908
  "anyOf": [
5049
4909
  {
5050
- "$ref": "#/definitions/singleCondition"
4910
+ "$ref": "#/definitions/compositeCondition"
5051
4911
  },
5052
4912
  {
5053
- "$ref": "#/definitions/compositeCondition"
4913
+ "$ref": "#/definitions/singleCondition"
5054
4914
  }
5055
4915
  ]
5056
4916
  },
@@ -5280,10 +5140,10 @@
5280
5140
  "type": "object",
5281
5141
  "anyOf": [
5282
5142
  {
5283
- "$ref": "#/definitions/compositeCondition"
5143
+ "$ref": "#/definitions/singleCondition"
5284
5144
  },
5285
5145
  {
5286
- "$ref": "#/definitions/singleCondition"
5146
+ "$ref": "#/definitions/compositeCondition"
5287
5147
  }
5288
5148
  ]
5289
5149
  },
@@ -5370,33 +5230,6 @@
5370
5230
  "items": {
5371
5231
  "type": "object",
5372
5232
  "anyOf": [
5373
- {
5374
- "properties": {
5375
- "condition": {
5376
- "maxLength": 100,
5377
- "type": "string",
5378
- "fieldDescription": "\n\nA string indicating the name of the condition\n\n"
5379
- },
5380
- "invert": {
5381
- "type": "boolean",
5382
- "fieldDescription": "\n\nA flag indicating whether to invert the boolean result of the condition.\n\n",
5383
- "defaultValue": "false"
5384
- },
5385
- "params": {
5386
- "additionalProperties": true,
5387
- "type": "object",
5388
- "fieldTitle": "Object",
5389
- "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"
5390
- }
5391
- },
5392
- "required": [
5393
- "condition"
5394
- ],
5395
- "shortClassName": "singleConditionBean",
5396
- "type": "object",
5397
- "title": "Single Condition",
5398
- "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"
5399
- },
5400
5233
  {
5401
5234
  "properties": {
5402
5235
  "conditions": {
@@ -5410,10 +5243,10 @@
5410
5243
  "type": "object",
5411
5244
  "anyOf": [
5412
5245
  {
5413
- "$ref": "#/definitions/singleCondition"
5246
+ "$ref": "#"
5414
5247
  },
5415
5248
  {
5416
- "$ref": "#"
5249
+ "$ref": "#/definitions/singleCondition"
5417
5250
  }
5418
5251
  ]
5419
5252
  },
@@ -5459,6 +5292,33 @@
5459
5292
  "type": "object",
5460
5293
  "title": "Composite Condition",
5461
5294
  "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"
5295
+ },
5296
+ {
5297
+ "properties": {
5298
+ "condition": {
5299
+ "maxLength": 100,
5300
+ "type": "string",
5301
+ "fieldDescription": "\n\nA string indicating the name of the condition\n\n"
5302
+ },
5303
+ "invert": {
5304
+ "type": "boolean",
5305
+ "fieldDescription": "\n\nA flag indicating whether to invert the boolean result of the condition.\n\n",
5306
+ "defaultValue": "false"
5307
+ },
5308
+ "params": {
5309
+ "additionalProperties": true,
5310
+ "type": "object",
5311
+ "fieldTitle": "Object",
5312
+ "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"
5313
+ }
5314
+ },
5315
+ "required": [
5316
+ "condition"
5317
+ ],
5318
+ "shortClassName": "singleConditionBean",
5319
+ "type": "object",
5320
+ "title": "Single Condition",
5321
+ "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"
5462
5322
  }
5463
5323
  ]
5464
5324
  },
@@ -5685,33 +5545,6 @@
5685
5545
  "items": {
5686
5546
  "type": "object",
5687
5547
  "anyOf": [
5688
- {
5689
- "properties": {
5690
- "condition": {
5691
- "maxLength": 100,
5692
- "type": "string",
5693
- "fieldDescription": "\n\nA string indicating the name of the condition\n\n"
5694
- },
5695
- "invert": {
5696
- "type": "boolean",
5697
- "fieldDescription": "\n\nA flag indicating whether to invert the boolean result of the condition.\n\n",
5698
- "defaultValue": "false"
5699
- },
5700
- "params": {
5701
- "additionalProperties": true,
5702
- "type": "object",
5703
- "fieldTitle": "Object",
5704
- "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"
5705
- }
5706
- },
5707
- "required": [
5708
- "condition"
5709
- ],
5710
- "shortClassName": "singleConditionBean",
5711
- "type": "object",
5712
- "title": "Single Condition",
5713
- "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"
5714
- },
5715
5548
  {
5716
5549
  "properties": {
5717
5550
  "conditions": {
@@ -5725,10 +5558,10 @@
5725
5558
  "type": "object",
5726
5559
  "anyOf": [
5727
5560
  {
5728
- "$ref": "#/definitions/singleCondition"
5561
+ "$ref": "#"
5729
5562
  },
5730
5563
  {
5731
- "$ref": "#"
5564
+ "$ref": "#/definitions/singleCondition"
5732
5565
  }
5733
5566
  ]
5734
5567
  },
@@ -5774,6 +5607,33 @@
5774
5607
  "type": "object",
5775
5608
  "title": "Composite Condition",
5776
5609
  "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"
5610
+ },
5611
+ {
5612
+ "properties": {
5613
+ "condition": {
5614
+ "maxLength": 100,
5615
+ "type": "string",
5616
+ "fieldDescription": "\n\nA string indicating the name of the condition\n\n"
5617
+ },
5618
+ "invert": {
5619
+ "type": "boolean",
5620
+ "fieldDescription": "\n\nA flag indicating whether to invert the boolean result of the condition.\n\n",
5621
+ "defaultValue": "false"
5622
+ },
5623
+ "params": {
5624
+ "additionalProperties": true,
5625
+ "type": "object",
5626
+ "fieldTitle": "Object",
5627
+ "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"
5628
+ }
5629
+ },
5630
+ "required": [
5631
+ "condition"
5632
+ ],
5633
+ "shortClassName": "singleConditionBean",
5634
+ "type": "object",
5635
+ "title": "Single Condition",
5636
+ "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"
5777
5637
  }
5778
5638
  ]
5779
5639
  },
@@ -5939,10 +5799,10 @@
5939
5799
  "type": "object",
5940
5800
  "anyOf": [
5941
5801
  {
5942
- "$ref": "#/definitions/singleCondition"
5802
+ "$ref": "#/definitions/compositeCondition"
5943
5803
  },
5944
5804
  {
5945
- "$ref": "#/definitions/compositeCondition"
5805
+ "$ref": "#/definitions/singleCondition"
5946
5806
  }
5947
5807
  ]
5948
5808
  },
@@ -6261,10 +6121,10 @@
6261
6121
  "type": "object",
6262
6122
  "anyOf": [
6263
6123
  {
6264
- "$ref": "#/definitions/singleCondition"
6124
+ "$ref": "#/definitions/compositeCondition"
6265
6125
  },
6266
6126
  {
6267
- "$ref": "#/definitions/compositeCondition"
6127
+ "$ref": "#/definitions/singleCondition"
6268
6128
  }
6269
6129
  ]
6270
6130
  },
@@ -6332,10 +6192,10 @@
6332
6192
  "type": "object",
6333
6193
  "anyOf": [
6334
6194
  {
6335
- "$ref": "#/definitions/singleCondition"
6195
+ "$ref": "#/definitions/compositeCondition"
6336
6196
  },
6337
6197
  {
6338
- "$ref": "#/definitions/compositeCondition"
6198
+ "$ref": "#/definitions/singleCondition"
6339
6199
  }
6340
6200
  ]
6341
6201
  },
@@ -6387,10 +6247,10 @@
6387
6247
  "type": "object",
6388
6248
  "anyOf": [
6389
6249
  {
6390
- "$ref": "#/definitions/compositeCondition"
6250
+ "$ref": "#/definitions/singleCondition"
6391
6251
  },
6392
6252
  {
6393
- "$ref": "#/definitions/singleCondition"
6253
+ "$ref": "#/definitions/compositeCondition"
6394
6254
  }
6395
6255
  ]
6396
6256
  },
@@ -6509,10 +6369,10 @@
6509
6369
  "type": "object",
6510
6370
  "anyOf": [
6511
6371
  {
6512
- "$ref": "#/definitions/compositeCondition"
6372
+ "$ref": "#/definitions/singleCondition"
6513
6373
  },
6514
6374
  {
6515
- "$ref": "#/definitions/singleCondition"
6375
+ "$ref": "#/definitions/compositeCondition"
6516
6376
  }
6517
6377
  ]
6518
6378
  },
@@ -6640,6 +6500,51 @@
6640
6500
  "type": "object",
6641
6501
  "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",
6642
6502
  "anyOf": [
6503
+ {
6504
+ "properties": {
6505
+ "size": {
6506
+ "enum": [
6507
+ "small",
6508
+ "SMALL",
6509
+ "medium",
6510
+ "MEDIUM",
6511
+ "large",
6512
+ "LARGE",
6513
+ "x-large",
6514
+ "X-LARGE",
6515
+ "fullscreen",
6516
+ "FULLSCREEN",
6517
+ "maximum",
6518
+ "MAXIMUM"
6519
+ ],
6520
+ "type": "string",
6521
+ "fieldDescription": "\n\nSets the size of the dialog.\n\n <p>\n This option is used instead of the 'height' and 'width' options.\n </p>\n\n"
6522
+ },
6523
+ "chrome": {
6524
+ "type": "boolean",
6525
+ "fieldDescription": "\n\nWhether the dialog should contain the AUI header and buttons.\n\n",
6526
+ "defaultValue": "true"
6527
+ },
6528
+ "width": {
6529
+ "maxLength": 10,
6530
+ "type": "string",
6531
+ "fieldDescription": "\n\nSets how wide the dialog is in pixels.\n\n"
6532
+ },
6533
+ "header": {
6534
+ "$ref": "#/definitions/i18nProperty",
6535
+ "fieldDescription": "\n\nThe header text for the dialog, if chrome is enabled.\n\n"
6536
+ },
6537
+ "height": {
6538
+ "maxLength": 10,
6539
+ "type": "string",
6540
+ "fieldDescription": "\n\nSets how high the dialog is in pixels\n\n"
6541
+ }
6542
+ },
6543
+ "shortClassName": "dialogOptions",
6544
+ "type": "object",
6545
+ "title": "Dialog Options",
6546
+ "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"
6547
+ },
6643
6548
  {
6644
6549
  "properties": {
6645
6550
  "offsetX": {
@@ -6679,74 +6584,29 @@
6679
6584
  },
6680
6585
  "isRelativeToMouse": {
6681
6586
  "type": "boolean",
6682
- "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"
6683
- }
6684
- },
6685
- "shortClassName": "inlineDialogOptions",
6686
- "type": "object",
6687
- "title": "Inline Dialog Options",
6688
- "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"
6689
- },
6690
- {
6691
- "properties": {
6692
- "key": {
6693
- "maxLength": 100,
6694
- "type": "string",
6695
- "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"
6696
- }
6697
- },
6698
- "required": [
6699
- "key"
6700
- ],
6701
- "shortClassName": "dialogModuleOptions",
6702
- "type": "object",
6703
- "title": "Dialog Module Options",
6704
- "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"
6705
- },
6706
- {
6707
- "properties": {
6708
- "size": {
6709
- "enum": [
6710
- "small",
6711
- "SMALL",
6712
- "medium",
6713
- "MEDIUM",
6714
- "large",
6715
- "LARGE",
6716
- "x-large",
6717
- "X-LARGE",
6718
- "fullscreen",
6719
- "FULLSCREEN",
6720
- "maximum",
6721
- "MAXIMUM"
6722
- ],
6723
- "type": "string",
6724
- "fieldDescription": "\n\nSets the size of the dialog.\n\n <p>\n This option is used instead of the 'height' and 'width' options.\n </p>\n\n"
6725
- },
6726
- "chrome": {
6727
- "type": "boolean",
6728
- "fieldDescription": "\n\nWhether the dialog should contain the AUI header and buttons.\n\n",
6729
- "defaultValue": "true"
6730
- },
6731
- "width": {
6732
- "maxLength": 10,
6733
- "type": "string",
6734
- "fieldDescription": "\n\nSets how wide the dialog is in pixels.\n\n"
6735
- },
6736
- "header": {
6737
- "$ref": "#/definitions/i18nProperty",
6738
- "fieldDescription": "\n\nThe header text for the dialog, if chrome is enabled.\n\n"
6739
- },
6740
- "height": {
6741
- "maxLength": 10,
6587
+ "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"
6588
+ }
6589
+ },
6590
+ "shortClassName": "inlineDialogOptions",
6591
+ "type": "object",
6592
+ "title": "Inline Dialog Options",
6593
+ "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"
6594
+ },
6595
+ {
6596
+ "properties": {
6597
+ "key": {
6598
+ "maxLength": 100,
6742
6599
  "type": "string",
6743
- "fieldDescription": "\n\nSets how high the dialog is in pixels\n\n"
6600
+ "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"
6744
6601
  }
6745
6602
  },
6746
- "shortClassName": "dialogOptions",
6603
+ "required": [
6604
+ "key"
6605
+ ],
6606
+ "shortClassName": "dialogModuleOptions",
6747
6607
  "type": "object",
6748
- "title": "Dialog Options",
6749
- "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"
6608
+ "title": "Dialog Module Options",
6609
+ "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"
6750
6610
  }
6751
6611
  ]
6752
6612
  },
@@ -6803,33 +6663,6 @@
6803
6663
  "items": {
6804
6664
  "type": "object",
6805
6665
  "anyOf": [
6806
- {
6807
- "properties": {
6808
- "condition": {
6809
- "maxLength": 100,
6810
- "type": "string",
6811
- "fieldDescription": "\n\nA string indicating the name of the condition\n\n"
6812
- },
6813
- "invert": {
6814
- "type": "boolean",
6815
- "fieldDescription": "\n\nA flag indicating whether to invert the boolean result of the condition.\n\n",
6816
- "defaultValue": "false"
6817
- },
6818
- "params": {
6819
- "additionalProperties": true,
6820
- "type": "object",
6821
- "fieldTitle": "Object",
6822
- "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"
6823
- }
6824
- },
6825
- "required": [
6826
- "condition"
6827
- ],
6828
- "shortClassName": "singleConditionBean",
6829
- "type": "object",
6830
- "title": "Single Condition",
6831
- "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"
6832
- },
6833
6666
  {
6834
6667
  "properties": {
6835
6668
  "conditions": {
@@ -6862,6 +6695,33 @@
6862
6695
  "type": "object",
6863
6696
  "title": "Composite Condition",
6864
6697
  "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"
6698
+ },
6699
+ {
6700
+ "properties": {
6701
+ "condition": {
6702
+ "maxLength": 100,
6703
+ "type": "string",
6704
+ "fieldDescription": "\n\nA string indicating the name of the condition\n\n"
6705
+ },
6706
+ "invert": {
6707
+ "type": "boolean",
6708
+ "fieldDescription": "\n\nA flag indicating whether to invert the boolean result of the condition.\n\n",
6709
+ "defaultValue": "false"
6710
+ },
6711
+ "params": {
6712
+ "additionalProperties": true,
6713
+ "type": "object",
6714
+ "fieldTitle": "Object",
6715
+ "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"
6716
+ }
6717
+ },
6718
+ "required": [
6719
+ "condition"
6720
+ ],
6721
+ "shortClassName": "singleConditionBean",
6722
+ "type": "object",
6723
+ "title": "Single Condition",
6724
+ "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"
6865
6725
  }
6866
6726
  ]
6867
6727
  },
@@ -6915,10 +6775,10 @@
6915
6775
  "type": "object",
6916
6776
  "anyOf": [
6917
6777
  {
6918
- "$ref": "#/definitions/singleCondition"
6778
+ "$ref": "#/definitions/compositeCondition"
6919
6779
  },
6920
6780
  {
6921
- "$ref": "#/definitions/compositeCondition"
6781
+ "$ref": "#/definitions/singleCondition"
6922
6782
  }
6923
6783
  ]
6924
6784
  },
@@ -7066,6 +6926,33 @@
7066
6926
  "items": {
7067
6927
  "type": "object",
7068
6928
  "anyOf": [
6929
+ {
6930
+ "properties": {
6931
+ "condition": {
6932
+ "maxLength": 100,
6933
+ "type": "string",
6934
+ "fieldDescription": "\n\nA string indicating the name of the condition\n\n"
6935
+ },
6936
+ "invert": {
6937
+ "type": "boolean",
6938
+ "fieldDescription": "\n\nA flag indicating whether to invert the boolean result of the condition.\n\n",
6939
+ "defaultValue": "false"
6940
+ },
6941
+ "params": {
6942
+ "additionalProperties": true,
6943
+ "type": "object",
6944
+ "fieldTitle": "Object",
6945
+ "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"
6946
+ }
6947
+ },
6948
+ "required": [
6949
+ "condition"
6950
+ ],
6951
+ "shortClassName": "singleConditionBean",
6952
+ "type": "object",
6953
+ "title": "Single Condition",
6954
+ "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"
6955
+ },
7069
6956
  {
7070
6957
  "properties": {
7071
6958
  "conditions": {
@@ -7073,10 +6960,10 @@
7073
6960
  "type": "object",
7074
6961
  "anyOf": [
7075
6962
  {
7076
- "$ref": "#"
6963
+ "$ref": "#/definitions/singleCondition"
7077
6964
  },
7078
6965
  {
7079
- "$ref": "#/definitions/singleCondition"
6966
+ "$ref": "#"
7080
6967
  }
7081
6968
  ]
7082
6969
  },
@@ -7098,33 +6985,6 @@
7098
6985
  "type": "object",
7099
6986
  "title": "Composite Condition",
7100
6987
  "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"
7101
- },
7102
- {
7103
- "properties": {
7104
- "condition": {
7105
- "maxLength": 100,
7106
- "type": "string",
7107
- "fieldDescription": "\n\nA string indicating the name of the condition\n\n"
7108
- },
7109
- "invert": {
7110
- "type": "boolean",
7111
- "fieldDescription": "\n\nA flag indicating whether to invert the boolean result of the condition.\n\n",
7112
- "defaultValue": "false"
7113
- },
7114
- "params": {
7115
- "additionalProperties": true,
7116
- "type": "object",
7117
- "fieldTitle": "Object",
7118
- "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"
7119
- }
7120
- },
7121
- "required": [
7122
- "condition"
7123
- ],
7124
- "shortClassName": "singleConditionBean",
7125
- "type": "object",
7126
- "title": "Single Condition",
7127
- "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"
7128
6988
  }
7129
6989
  ]
7130
6990
  },
@@ -7400,52 +7260,57 @@
7400
7260
  "anyOf": [
7401
7261
  {
7402
7262
  "properties": {
7403
- "macroParameter": {
7404
- "maxLength": 100,
7405
- "type": "string",
7406
- "fieldDescription": "\n\nThe Macro Parameter identifier used to store the text\n\n"
7263
+ "label": {
7264
+ "$ref": "#/definitions/i18nProperty",
7265
+ "fieldDescription": "\n\nText which will appear inside the button\n\n"
7407
7266
  },
7408
7267
  "type": {
7409
7268
  "enum": [
7410
- "text",
7411
- "TEXT"
7269
+ "button",
7270
+ "BUTTON"
7412
7271
  ],
7413
7272
  "type": "string",
7414
- "fieldDescription": "\n\nThe type field must be set to 'text'\n\n"
7273
+ "fieldDescription": "\n\nThe type field must be set to 'button'\n\n"
7415
7274
  },
7416
7275
  "key": {
7417
7276
  "pattern": "^[a-zA-Z0-9-]+$",
7418
7277
  "maxLength": 100,
7419
7278
  "type": "string",
7420
- "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"
7279
+ "fieldDescription": "\n\nA key to identify the control. Keys must only contain alphanumeric characters and dashes, and must be unique\n\n"
7421
7280
  }
7422
7281
  },
7423
7282
  "required": [
7424
- "macroParameter",
7283
+ "label",
7425
7284
  "type",
7426
7285
  "key"
7427
7286
  ],
7428
- "shortClassName": "textControlBean",
7287
+ "additionalProperties": true,
7288
+ "shortClassName": "buttonControlBean",
7429
7289
  "type": "object",
7430
- "title": "TextControl",
7431
- "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"
7290
+ "title": "ButtonControl",
7291
+ "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"
7432
7292
  },
7433
7293
  {
7434
7294
  "properties": {
7435
7295
  "controls": {
7436
7296
  "items": {
7437
7297
  "properties": {
7298
+ "macroParameterValue": {
7299
+ "maxLength": 10000,
7300
+ "type": "string",
7301
+ "fieldDescription": "\n\nThe value that will be assigned to a macro parameter when this toggle is clicked\n\n"
7302
+ },
7438
7303
  "label": {
7439
7304
  "$ref": "#/definitions/i18nProperty",
7440
7305
  "fieldDescription": "\n\nText which will appear inside the button\n\n"
7441
7306
  },
7442
7307
  "type": {
7443
7308
  "enum": [
7444
- "button",
7445
- "BUTTON"
7309
+ "togglebutton",
7310
+ "TOGGLEBUTTON"
7446
7311
  ],
7447
7312
  "type": "string",
7448
- "fieldDescription": "\n\nThe type field must be set to 'button'\n\n"
7313
+ "fieldDescription": "\n\nThe type field must be set to 'togglebutton'\n\n"
7449
7314
  },
7450
7315
  "key": {
7451
7316
  "pattern": "^[a-zA-Z0-9-]+$",
@@ -7455,58 +7320,61 @@
7455
7320
  }
7456
7321
  },
7457
7322
  "required": [
7323
+ "macroParameterValue",
7458
7324
  "label",
7459
7325
  "type",
7460
7326
  "key"
7461
7327
  ],
7462
7328
  "additionalProperties": true,
7463
- "shortClassName": "buttonControlBean",
7329
+ "shortClassName": "macroToggleButtonControlBean",
7464
7330
  "type": "object",
7465
- "title": "ButtonControl",
7466
- "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"
7331
+ "title": "ToggleButtonControl",
7332
+ "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"
7467
7333
  },
7468
7334
  "type": "array",
7469
- "fieldDescription": "\n\nControls which will appear in the control group\n\n"
7335
+ "fieldDescription": "\n\nToggle buttons which will appear in the toggle group\n\n"
7336
+ },
7337
+ "macroParameter": {
7338
+ "pattern": "[-_a-z0-9\\.]+",
7339
+ "maxLength": 100,
7340
+ "type": "string",
7341
+ "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"
7470
7342
  },
7471
7343
  "type": {
7472
7344
  "enum": [
7473
- "group",
7474
- "GROUP"
7345
+ "togglegroup",
7346
+ "TOGGLEGROUP"
7475
7347
  ],
7476
7348
  "type": "string",
7477
- "fieldDescription": "\n\nThe type field must be set to 'group'\n\n"
7349
+ "fieldDescription": "\n\nThe type field must be set to 'togglegroup'\n\n"
7478
7350
  }
7479
7351
  },
7480
7352
  "required": [
7481
7353
  "controls",
7354
+ "macroParameter",
7482
7355
  "type"
7483
7356
  ],
7484
- "shortClassName": "controlGroupBean",
7357
+ "shortClassName": "macroToggleGroupBean",
7485
7358
  "type": "object",
7486
- "title": "ControlGroup",
7487
- "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"
7359
+ "title": "ToggleGroup",
7360
+ "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"
7488
7361
  },
7489
7362
  {
7490
7363
  "properties": {
7491
7364
  "controls": {
7492
7365
  "items": {
7493
7366
  "properties": {
7494
- "macroParameterValue": {
7495
- "maxLength": 10000,
7496
- "type": "string",
7497
- "fieldDescription": "\n\nThe value that will be assigned to a macro parameter when this toggle is clicked\n\n"
7498
- },
7499
7367
  "label": {
7500
7368
  "$ref": "#/definitions/i18nProperty",
7501
7369
  "fieldDescription": "\n\nText which will appear inside the button\n\n"
7502
7370
  },
7503
7371
  "type": {
7504
7372
  "enum": [
7505
- "togglebutton",
7506
- "TOGGLEBUTTON"
7373
+ "button",
7374
+ "BUTTON"
7507
7375
  ],
7508
7376
  "type": "string",
7509
- "fieldDescription": "\n\nThe type field must be set to 'togglebutton'\n\n"
7377
+ "fieldDescription": "\n\nThe type field must be set to 'button'\n\n"
7510
7378
  },
7511
7379
  "key": {
7512
7380
  "pattern": "^[a-zA-Z0-9-]+$",
@@ -7516,76 +7384,68 @@
7516
7384
  }
7517
7385
  },
7518
7386
  "required": [
7519
- "macroParameterValue",
7520
7387
  "label",
7521
7388
  "type",
7522
7389
  "key"
7523
7390
  ],
7524
7391
  "additionalProperties": true,
7525
- "shortClassName": "macroToggleButtonControlBean",
7392
+ "shortClassName": "buttonControlBean",
7526
7393
  "type": "object",
7527
- "title": "ToggleButtonControl",
7528
- "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"
7394
+ "title": "ButtonControl",
7395
+ "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"
7529
7396
  },
7530
7397
  "type": "array",
7531
- "fieldDescription": "\n\nToggle buttons which will appear in the toggle group\n\n"
7532
- },
7533
- "macroParameter": {
7534
- "pattern": "[-_a-z0-9\\.]+",
7535
- "maxLength": 100,
7536
- "type": "string",
7537
- "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"
7398
+ "fieldDescription": "\n\nControls which will appear in the control group\n\n"
7538
7399
  },
7539
7400
  "type": {
7540
7401
  "enum": [
7541
- "togglegroup",
7542
- "TOGGLEGROUP"
7402
+ "group",
7403
+ "GROUP"
7543
7404
  ],
7544
7405
  "type": "string",
7545
- "fieldDescription": "\n\nThe type field must be set to 'togglegroup'\n\n"
7406
+ "fieldDescription": "\n\nThe type field must be set to 'group'\n\n"
7546
7407
  }
7547
7408
  },
7548
7409
  "required": [
7549
7410
  "controls",
7550
- "macroParameter",
7551
7411
  "type"
7552
7412
  ],
7553
- "shortClassName": "macroToggleGroupBean",
7413
+ "shortClassName": "controlGroupBean",
7554
7414
  "type": "object",
7555
- "title": "ToggleGroup",
7556
- "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"
7415
+ "title": "ControlGroup",
7416
+ "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"
7557
7417
  },
7558
7418
  {
7559
7419
  "properties": {
7560
- "label": {
7561
- "$ref": "#/definitions/i18nProperty",
7562
- "fieldDescription": "\n\nText which will appear inside the button\n\n"
7420
+ "macroParameter": {
7421
+ "maxLength": 100,
7422
+ "type": "string",
7423
+ "fieldDescription": "\n\nThe Macro Parameter identifier used to store the text\n\n"
7563
7424
  },
7564
7425
  "type": {
7565
7426
  "enum": [
7566
- "button",
7567
- "BUTTON"
7427
+ "text",
7428
+ "TEXT"
7568
7429
  ],
7569
7430
  "type": "string",
7570
- "fieldDescription": "\n\nThe type field must be set to 'button'\n\n"
7431
+ "fieldDescription": "\n\nThe type field must be set to 'text'\n\n"
7571
7432
  },
7572
7433
  "key": {
7573
7434
  "pattern": "^[a-zA-Z0-9-]+$",
7574
7435
  "maxLength": 100,
7575
7436
  "type": "string",
7576
- "fieldDescription": "\n\nA key to identify the control. Keys must only contain alphanumeric characters and dashes, and must be unique\n\n"
7437
+ "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"
7577
7438
  }
7578
7439
  },
7579
7440
  "required": [
7580
- "label",
7441
+ "macroParameter",
7581
7442
  "type",
7582
7443
  "key"
7583
7444
  ],
7584
- "additionalProperties": true,
7585
- "shortClassName": "buttonControlBean",
7445
+ "shortClassName": "textControlBean",
7586
7446
  "type": "object",
7587
- "title": "ButtonControl",
7588
- "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"
7447
+ "title": "TextControl",
7448
+ "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"
7589
7449
  }
7590
7450
  ]
7591
7451
  },
@@ -7949,6 +7809,38 @@
7949
7809
  "title": "ToggleGroup",
7950
7810
  "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"
7951
7811
  },
7812
+ {
7813
+ "properties": {
7814
+ "macroParameter": {
7815
+ "maxLength": 100,
7816
+ "type": "string",
7817
+ "fieldDescription": "\n\nThe Macro Parameter identifier used to store the text\n\n"
7818
+ },
7819
+ "type": {
7820
+ "enum": [
7821
+ "text",
7822
+ "TEXT"
7823
+ ],
7824
+ "type": "string",
7825
+ "fieldDescription": "\n\nThe type field must be set to 'text'\n\n"
7826
+ },
7827
+ "key": {
7828
+ "pattern": "^[a-zA-Z0-9-]+$",
7829
+ "maxLength": 100,
7830
+ "type": "string",
7831
+ "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"
7832
+ }
7833
+ },
7834
+ "required": [
7835
+ "macroParameter",
7836
+ "type",
7837
+ "key"
7838
+ ],
7839
+ "shortClassName": "textControlBean",
7840
+ "type": "object",
7841
+ "title": "TextControl",
7842
+ "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"
7843
+ },
7952
7844
  {
7953
7845
  "properties": {
7954
7846
  "controls": {
@@ -8005,38 +7897,6 @@
8005
7897
  "title": "ControlGroup",
8006
7898
  "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"
8007
7899
  },
8008
- {
8009
- "properties": {
8010
- "macroParameter": {
8011
- "maxLength": 100,
8012
- "type": "string",
8013
- "fieldDescription": "\n\nThe Macro Parameter identifier used to store the text\n\n"
8014
- },
8015
- "type": {
8016
- "enum": [
8017
- "text",
8018
- "TEXT"
8019
- ],
8020
- "type": "string",
8021
- "fieldDescription": "\n\nThe type field must be set to 'text'\n\n"
8022
- },
8023
- "key": {
8024
- "pattern": "^[a-zA-Z0-9-]+$",
8025
- "maxLength": 100,
8026
- "type": "string",
8027
- "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"
8028
- }
8029
- },
8030
- "required": [
8031
- "macroParameter",
8032
- "type",
8033
- "key"
8034
- ],
8035
- "shortClassName": "textControlBean",
8036
- "type": "object",
8037
- "title": "TextControl",
8038
- "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"
8039
- },
8040
7900
  {
8041
7901
  "properties": {
8042
7902
  "label": {
@@ -8270,10 +8130,10 @@
8270
8130
  "type": "object",
8271
8131
  "anyOf": [
8272
8132
  {
8273
- "$ref": "#/definitions/compositeCondition"
8133
+ "$ref": "#/definitions/singleCondition"
8274
8134
  },
8275
8135
  {
8276
- "$ref": "#/definitions/singleCondition"
8136
+ "$ref": "#/definitions/compositeCondition"
8277
8137
  }
8278
8138
  ]
8279
8139
  },
@@ -8303,53 +8163,6 @@
8303
8163
  "type": "object",
8304
8164
  "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",
8305
8165
  "anyOf": [
8306
- {
8307
- "properties": {
8308
- "offsetX": {
8309
- "maxLength": 10,
8310
- "type": "string",
8311
- "fieldDescription": "\n\nSets an offset distance of the inline-dialog from the trigger element along the x-axis in pixels\n\n"
8312
- },
8313
- "offsetY": {
8314
- "maxLength": 10,
8315
- "type": "string",
8316
- "fieldDescription": "\n\nSets an offset distance of the inline-dialog from the trigger element along the y-axis in pixels\n\n"
8317
- },
8318
- "width": {
8319
- "maxLength": 10,
8320
- "type": "string",
8321
- "fieldDescription": "\n\nSets how wide the dialog is in pixels.\n\n"
8322
- },
8323
- "onTop": {
8324
- "type": "boolean",
8325
- "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"
8326
- },
8327
- "showDelay": {
8328
- "type": "integer",
8329
- "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"
8330
- },
8331
- "closeOthers": {
8332
- "type": "boolean",
8333
- "fieldDescription": "\n\nDetermines if all other dialogs on the screen are closed when this one is opened\n\n"
8334
- },
8335
- "persistent": {
8336
- "type": "boolean",
8337
- "fieldDescription": "\n\nThis option, ignores the 'closeOthers' option\n\n"
8338
- },
8339
- "onHover": {
8340
- "type": "boolean",
8341
- "fieldDescription": "\n\nDetermines whether the inline-Dialog will show on a mouseOver or mouseClick of the trigger\n\n"
8342
- },
8343
- "isRelativeToMouse": {
8344
- "type": "boolean",
8345
- "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"
8346
- }
8347
- },
8348
- "shortClassName": "inlineDialogOptions",
8349
- "type": "object",
8350
- "title": "Inline Dialog Options",
8351
- "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"
8352
- },
8353
8166
  {
8354
8167
  "properties": {
8355
8168
  "key": {
@@ -8410,6 +8223,53 @@
8410
8223
  "type": "object",
8411
8224
  "title": "Dialog Options",
8412
8225
  "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"
8226
+ },
8227
+ {
8228
+ "properties": {
8229
+ "offsetX": {
8230
+ "maxLength": 10,
8231
+ "type": "string",
8232
+ "fieldDescription": "\n\nSets an offset distance of the inline-dialog from the trigger element along the x-axis in pixels\n\n"
8233
+ },
8234
+ "offsetY": {
8235
+ "maxLength": 10,
8236
+ "type": "string",
8237
+ "fieldDescription": "\n\nSets an offset distance of the inline-dialog from the trigger element along the y-axis in pixels\n\n"
8238
+ },
8239
+ "width": {
8240
+ "maxLength": 10,
8241
+ "type": "string",
8242
+ "fieldDescription": "\n\nSets how wide the dialog is in pixels.\n\n"
8243
+ },
8244
+ "onTop": {
8245
+ "type": "boolean",
8246
+ "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"
8247
+ },
8248
+ "showDelay": {
8249
+ "type": "integer",
8250
+ "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"
8251
+ },
8252
+ "closeOthers": {
8253
+ "type": "boolean",
8254
+ "fieldDescription": "\n\nDetermines if all other dialogs on the screen are closed when this one is opened\n\n"
8255
+ },
8256
+ "persistent": {
8257
+ "type": "boolean",
8258
+ "fieldDescription": "\n\nThis option, ignores the 'closeOthers' option\n\n"
8259
+ },
8260
+ "onHover": {
8261
+ "type": "boolean",
8262
+ "fieldDescription": "\n\nDetermines whether the inline-Dialog will show on a mouseOver or mouseClick of the trigger\n\n"
8263
+ },
8264
+ "isRelativeToMouse": {
8265
+ "type": "boolean",
8266
+ "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"
8267
+ }
8268
+ },
8269
+ "shortClassName": "inlineDialogOptions",
8270
+ "type": "object",
8271
+ "title": "Inline Dialog Options",
8272
+ "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"
8413
8273
  }
8414
8274
  ]
8415
8275
  },
@@ -8551,6 +8411,45 @@
8551
8411
  "title": "ModuleSchema",
8552
8412
  "type": "object"
8553
8413
  },
8414
+ "BearerMethodSchema": {
8415
+ "oneOf": [
8416
+ {
8417
+ "type": "string",
8418
+ "enum": [
8419
+ "authorization-header",
8420
+ "form-encoded",
8421
+ "uri-query"
8422
+ ]
8423
+ },
8424
+ {
8425
+ "type": "object",
8426
+ "additionalProperties": false,
8427
+ "required": [
8428
+ "type"
8429
+ ],
8430
+ "properties": {
8431
+ "type": {
8432
+ "type": "string",
8433
+ "enum": [
8434
+ "authorization-header",
8435
+ "form-encoded",
8436
+ "uri-query"
8437
+ ]
8438
+ },
8439
+ "prefix": {
8440
+ "type": "string",
8441
+ "description": "Custom authorization header prefix",
8442
+ "maxLength": 1000
8443
+ },
8444
+ "parameter": {
8445
+ "type": "string",
8446
+ "description": "Custom Header name or Parameter name (depending on type)",
8447
+ "maxlength": 1000
8448
+ }
8449
+ }
8450
+ }
8451
+ ]
8452
+ },
8554
8453
  "ModuleKeySchema": {
8555
8454
  "type": "string",
8556
8455
  "title": "ModuleKeySchema",
@@ -8636,8 +8535,27 @@
8636
8535
  },
8637
8536
  "client": {
8638
8537
  "items": {
8639
- "type": "string",
8640
- "maxLength": 1000
8538
+ "oneOf": [
8539
+ {
8540
+ "type": "string",
8541
+ "maxLength": 1000
8542
+ },
8543
+ {
8544
+ "type": "object",
8545
+ "description": "References a Remote",
8546
+ "title": "remote",
8547
+ "properties": {
8548
+ "remote": {
8549
+ "type": "string",
8550
+ "maxLength": 1000
8551
+ }
8552
+ },
8553
+ "required": [
8554
+ "remote"
8555
+ ],
8556
+ "additionalProperties": false
8557
+ }
8558
+ ]
8641
8559
  },
8642
8560
  "title": "client",
8643
8561
  "type": "array",
@@ -8803,7 +8721,9 @@
8803
8721
  "key",
8804
8722
  "name",
8805
8723
  "integration",
8806
- "clientId"
8724
+ "bearerMethod",
8725
+ "clientId",
8726
+ "remotes"
8807
8727
  ],
8808
8728
  "properties": {
8809
8729
  "key": {
@@ -8822,7 +8742,11 @@
8822
8742
  "dropbox",
8823
8743
  "google",
8824
8744
  "miro"
8825
- ]
8745
+ ],
8746
+ "description": "Pre-defined integration name"
8747
+ },
8748
+ "bearerMethod": {
8749
+ "$ref": "#/definitions/BearerMethodSchema"
8826
8750
  },
8827
8751
  "clientId": {
8828
8752
  "type": "string",
@@ -8834,6 +8758,12 @@
8834
8758
  "items": {
8835
8759
  "type": "string"
8836
8760
  }
8761
+ },
8762
+ "remotes": {
8763
+ "type": "array",
8764
+ "items": {
8765
+ "$ref": "#/definitions/ModuleKeySchema"
8766
+ }
8837
8767
  }
8838
8768
  }
8839
8769
  },
@@ -8844,6 +8774,7 @@
8844
8774
  "key",
8845
8775
  "type",
8846
8776
  "name",
8777
+ "bearerMethod",
8847
8778
  "clientId",
8848
8779
  "actions"
8849
8780
  ],
@@ -8863,43 +8794,7 @@
8863
8794
  ]
8864
8795
  },
8865
8796
  "bearerMethod": {
8866
- "oneOf": [
8867
- {
8868
- "type": "string",
8869
- "enum": [
8870
- "authorization-header",
8871
- "form-encoded",
8872
- "uri-query"
8873
- ]
8874
- },
8875
- {
8876
- "type": "object",
8877
- "additionalProperties": false,
8878
- "required": [
8879
- "type"
8880
- ],
8881
- "properties": {
8882
- "type": {
8883
- "type": "string",
8884
- "enum": [
8885
- "authorization-header",
8886
- "form-encoded",
8887
- "uri-query"
8888
- ]
8889
- },
8890
- "prefix": {
8891
- "type": "string",
8892
- "description": "Custom authorization header prefix",
8893
- "maxLength": 1000
8894
- },
8895
- "parameter": {
8896
- "type": "string",
8897
- "description": "Custom Header name or Parameter name (depending on type)",
8898
- "maxlength": 1000
8899
- }
8900
- }
8901
- }
8902
- ]
8797
+ "$ref": "#/definitions/BearerMethodSchema"
8903
8798
  },
8904
8799
  "clientId": {
8905
8800
  "type": "string",
@@ -9672,10 +9567,10 @@
9672
9567
  "type": "object",
9673
9568
  "anyOf": [
9674
9569
  {
9675
- "$ref": "#"
9570
+ "$ref": "#/definitions/singleCondition"
9676
9571
  },
9677
9572
  {
9678
- "$ref": "#/definitions/singleCondition"
9573
+ "$ref": "#"
9679
9574
  }
9680
9575
  ]
9681
9576
  },