@forge/manifest 11.0.0-next.4 → 11.0.0-next.6

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 CHANGED
@@ -1,5 +1,17 @@
1
1
  # @forge/manifest
2
2
 
3
+ ## 11.0.0-next.6
4
+
5
+ ### Patch Changes
6
+
7
+ - d00ef59: Update manifest definitions
8
+
9
+ ## 11.0.0-next.5
10
+
11
+ ### Patch Changes
12
+
13
+ - f0a5a03: Update manifest definitions
14
+
3
15
  ## 11.0.0-next.4
4
16
 
5
17
  ### Patch Changes
@@ -679,6 +679,7 @@
679
679
  "path",
680
680
  "operation",
681
681
  "function",
682
+ "scopes",
682
683
  "key"
683
684
  ],
684
685
  "not": {
@@ -2470,6 +2471,48 @@
2470
2471
  "resource"
2471
2472
  ]
2472
2473
  },
2474
+ "ai-context": {
2475
+ "type": "object",
2476
+ "properties": {
2477
+ "data": {
2478
+ "anyOf": [
2479
+ {
2480
+ "additionalProperties": false,
2481
+ "type": "object",
2482
+ "properties": {
2483
+ "function": {
2484
+ "type": "string",
2485
+ "minLength": 1,
2486
+ "maxLength": 255,
2487
+ "pattern": "^[a-zA-Z0-9-_]+$"
2488
+ }
2489
+ },
2490
+ "required": [
2491
+ "function"
2492
+ ]
2493
+ },
2494
+ {
2495
+ "additionalProperties": false,
2496
+ "type": "object",
2497
+ "properties": {
2498
+ "endpoint": {
2499
+ "type": "string",
2500
+ "minLength": 1,
2501
+ "maxLength": 255,
2502
+ "pattern": "^[a-zA-Z0-9-_]+$"
2503
+ }
2504
+ },
2505
+ "required": [
2506
+ "endpoint"
2507
+ ]
2508
+ }
2509
+ ]
2510
+ }
2511
+ },
2512
+ "required": [
2513
+ "data"
2514
+ ]
2515
+ },
2473
2516
  "resolver": {
2474
2517
  "anyOf": [
2475
2518
  {
@@ -2529,6 +2572,75 @@
2529
2572
  },
2530
2573
  "minItems": 1
2531
2574
  },
2575
+ "dashboards:backgroundScript": {
2576
+ "type": "array",
2577
+ "items": {
2578
+ "type": "object",
2579
+ "properties": {
2580
+ "resource": {
2581
+ "type": "string",
2582
+ "minLength": 1,
2583
+ "maxLength": 23,
2584
+ "pattern": "^[a-zA-Z0-9_\\-]+$"
2585
+ },
2586
+ "resolver": {
2587
+ "anyOf": [
2588
+ {
2589
+ "additionalProperties": false,
2590
+ "type": "object",
2591
+ "properties": {
2592
+ "function": {
2593
+ "type": "string",
2594
+ "minLength": 1,
2595
+ "maxLength": 255,
2596
+ "pattern": "^[a-zA-Z0-9-_]+$"
2597
+ }
2598
+ },
2599
+ "required": [
2600
+ "function"
2601
+ ]
2602
+ },
2603
+ {
2604
+ "additionalProperties": false,
2605
+ "type": "object",
2606
+ "properties": {
2607
+ "endpoint": {
2608
+ "type": "string",
2609
+ "minLength": 1,
2610
+ "maxLength": 255,
2611
+ "pattern": "^[a-zA-Z0-9-_]+$"
2612
+ }
2613
+ },
2614
+ "required": [
2615
+ "endpoint"
2616
+ ]
2617
+ }
2618
+ ]
2619
+ },
2620
+ "render": {
2621
+ "default": "default",
2622
+ "enum": [
2623
+ "default",
2624
+ "native"
2625
+ ],
2626
+ "type": "string"
2627
+ },
2628
+ "key": {
2629
+ "$ref": "#/definitions/ModuleKeySchema"
2630
+ }
2631
+ },
2632
+ "required": [
2633
+ "resource",
2634
+ "key"
2635
+ ],
2636
+ "not": {
2637
+ "required": [
2638
+ "unlicensedAccess"
2639
+ ]
2640
+ }
2641
+ },
2642
+ "minItems": 1
2643
+ },
2532
2644
  "confluence:contextMenu": {
2533
2645
  "type": "array",
2534
2646
  "items": {
@@ -1100,7 +1100,7 @@ export interface Modules {
1100
1100
  /**
1101
1101
  * List of scopes required to access this API route
1102
1102
  */
1103
- scopes?:
1103
+ scopes:
1104
1104
  | [string]
1105
1105
  | [string, string]
1106
1106
  | [string, string, string]
@@ -1266,7 +1266,7 @@ export interface Modules {
1266
1266
  /**
1267
1267
  * List of scopes required to access this API route
1268
1268
  */
1269
- scopes?:
1269
+ scopes:
1270
1270
  | [string]
1271
1271
  | [string, string]
1272
1272
  | [string, string, string]
@@ -12675,6 +12675,16 @@ export interface Modules {
12675
12675
  render?: 'default' | 'native';
12676
12676
  [k: string]: unknown;
12677
12677
  };
12678
+ 'ai-context'?: {
12679
+ data:
12680
+ | {
12681
+ function: string;
12682
+ }
12683
+ | {
12684
+ endpoint: string;
12685
+ };
12686
+ [k: string]: unknown;
12687
+ };
12678
12688
  resolver?:
12679
12689
  | {
12680
12690
  function: string;
@@ -12696,6 +12706,16 @@ export interface Modules {
12696
12706
  render?: 'default' | 'native';
12697
12707
  [k: string]: unknown;
12698
12708
  };
12709
+ 'ai-context'?: {
12710
+ data:
12711
+ | {
12712
+ function: string;
12713
+ }
12714
+ | {
12715
+ endpoint: string;
12716
+ };
12717
+ [k: string]: unknown;
12718
+ };
12699
12719
  resolver?:
12700
12720
  | {
12701
12721
  function: string;
@@ -12708,6 +12728,34 @@ export interface Modules {
12708
12728
  [k: string]: unknown;
12709
12729
  }[]
12710
12730
  ];
12731
+ 'dashboards:backgroundScript'?: [
12732
+ {
12733
+ resource: string;
12734
+ resolver?:
12735
+ | {
12736
+ function: string;
12737
+ }
12738
+ | {
12739
+ endpoint: string;
12740
+ };
12741
+ render?: 'default' | 'native';
12742
+ key: ModuleKeySchema;
12743
+ [k: string]: unknown;
12744
+ },
12745
+ ...{
12746
+ resource: string;
12747
+ resolver?:
12748
+ | {
12749
+ function: string;
12750
+ }
12751
+ | {
12752
+ endpoint: string;
12753
+ };
12754
+ render?: 'default' | 'native';
12755
+ key: ModuleKeySchema;
12756
+ [k: string]: unknown;
12757
+ }[]
12758
+ ];
12711
12759
  'confluence:contextMenu'?: [
12712
12760
  (
12713
12761
  | {
@@ -219,6 +219,7 @@
219
219
  "read:forge-app:confluence",
220
220
  "read:forge-app:jira",
221
221
  "read:forge-proxy:support-api-gateway",
222
+ "read:graph:jira",
222
223
  "read:group:confluence",
223
224
  "read:group:jira",
224
225
  "read:hierarchical-content:confluence",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@forge/manifest",
3
- "version": "11.0.0-next.4",
3
+ "version": "11.0.0-next.6",
4
4
  "description": "Definitions and validations of the Forge manifest",
5
5
  "main": "out/index.js",
6
6
  "scripts": {