@forge/manifest 7.1.0 → 7.2.0-next.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # @forge/manifest
2
2
 
3
+ ## 7.2.0-next.1
4
+
5
+ ### Minor Changes
6
+
7
+ - d72f638: Add support for new live page events (page started and page snapshotted)
8
+
9
+ ## 7.2.0-next.0
10
+
11
+ ### Minor Changes
12
+
13
+ - 9eee9ac: external oauth2 scope name must have no space
14
+
3
15
  ## 7.1.0
4
16
 
5
17
  ### Minor Changes
@@ -488,6 +488,20 @@
488
488
  ]
489
489
  }
490
490
  },
491
+ {
492
+ "productEvent": "avi:confluence:started:page",
493
+ "oAuthScopes": {
494
+ "beta": [
495
+ "read:page:confluence",
496
+ "read:space:confluence",
497
+ "read:user:confluence",
498
+ "read:content.metadata:confluence"
499
+ ],
500
+ "current": [
501
+ "read:confluence-content.summary"
502
+ ]
503
+ }
504
+ },
491
505
  {
492
506
  "productEvent": "avi:confluence:viewed:page",
493
507
  "oAuthScopes": {
@@ -516,6 +530,20 @@
516
530
  ]
517
531
  }
518
532
  },
533
+ {
534
+ "productEvent": "avi:confluence:snapshotted:page",
535
+ "oAuthScopes": {
536
+ "beta": [
537
+ "read:page:confluence",
538
+ "read:space:confluence",
539
+ "read:user:confluence",
540
+ "read:content.metadata:confluence"
541
+ ],
542
+ "current": [
543
+ "read:confluence-content.summary"
544
+ ]
545
+ }
546
+ },
519
547
  {
520
548
  "productEvent": "avi:confluence:archived:page",
521
549
  "oAuthScopes": {
@@ -17723,6 +17723,10 @@
17723
17723
  }
17724
17724
  }
17725
17725
  },
17726
+ "OAuth2ScopeName": {
17727
+ "type": "string",
17728
+ "pattern": "^[^\\s]+$"
17729
+ },
17726
17730
  "AuthProviderPredefined": {
17727
17731
  "type": "object",
17728
17732
  "additionalProperties": false,
@@ -17765,7 +17769,7 @@
17765
17769
  "type": "array",
17766
17770
  "minItems": 0,
17767
17771
  "items": {
17768
- "type": "string"
17772
+ "$ref": "#/definitions/OAuth2ScopeName"
17769
17773
  }
17770
17774
  },
17771
17775
  "remotes": {
@@ -17813,7 +17817,7 @@
17813
17817
  "type": "array",
17814
17818
  "minItems": 0,
17815
17819
  "items": {
17816
- "type": "string"
17820
+ "$ref": "#/definitions/OAuth2ScopeName"
17817
17821
  }
17818
17822
  },
17819
17823
  "remotes": {
@@ -404,6 +404,7 @@ export type BearerMethodSchema =
404
404
  */
405
405
  parameter?: string;
406
406
  };
407
+ export type OAuth2ScopeName = string;
407
408
  /**
408
409
  * External authentication providers
409
410
  */
@@ -56691,7 +56692,7 @@ export interface AuthProviderCustom {
56691
56692
  type: 'oauth2';
56692
56693
  bearerMethod: BearerMethodSchema;
56693
56694
  clientId: string;
56694
- scopes?: string[];
56695
+ scopes?: OAuth2ScopeName[];
56695
56696
  remotes?: ModuleKeySchema[];
56696
56697
  actions: {
56697
56698
  authorization: AuthorizeActionDefinition;
@@ -56779,6 +56780,6 @@ export interface AuthProviderPredefined {
56779
56780
  integration: 'adobe' | 'azuredevops' | 'dropbox' | 'google' | 'miro';
56780
56781
  bearerMethod: BearerMethodSchema;
56781
56782
  clientId: string;
56782
- scopes?: string[];
56783
+ scopes?: OAuth2ScopeName[];
56783
56784
  remotes: ModuleKeySchema[];
56784
56785
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@forge/manifest",
3
- "version": "7.1.0",
3
+ "version": "7.2.0-next.1",
4
4
  "description": "Definitions and validations of the Forge manifest",
5
5
  "main": "out/index.js",
6
6
  "scripts": {