@forge/manifest 9.4.0-next.1 → 9.4.0-next.2-experimental-786d4ac

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,22 @@
1
1
  # @forge/manifest
2
2
 
3
+ ## 9.4.0-next.2-experimental-786d4ac
4
+
5
+ ### Minor Changes
6
+
7
+ - 35165ba: Allow additionalConsentParameters in authorization url
8
+
9
+ ### Patch Changes
10
+
11
+ - fe7e7e9: fix forge lint returns missing scopes if no missing beta scopes
12
+ - b25d06e: Update manifest definitions
13
+
14
+ ## 9.4.0-next.2
15
+
16
+ ### Patch Changes
17
+
18
+ - b25d06e: Update manifest definitions
19
+
3
20
  ## 9.4.0-next.1
4
21
 
5
22
  ### Patch Changes
@@ -644,8 +644,7 @@
644
644
  "additionalProperties": false,
645
645
  "properties": {
646
646
  "queue": {
647
- "$ref": "#/definitions/ConsumerQueue",
648
- "title": "queue"
647
+ "$ref": "#/definitions/ConsumerQueue"
649
648
  },
650
649
  "resolver": {
651
650
  "oneOf": [
@@ -687,9 +686,7 @@
687
686
  ]
688
687
  },
689
688
  "crossVersion": {
690
- "title": "crossVersion",
691
- "description": "Enables consumption of events originating from previous app versions.",
692
- "type": "boolean"
689
+ "$ref": "#/definitions/crossVersion"
693
690
  },
694
691
  "key": {
695
692
  "$ref": "#/definitions/ModuleKeySchema"
@@ -714,7 +711,10 @@
714
711
  },
715
712
  "endpoint": {
716
713
  "$ref": "#/definitions/ExtensionKey",
717
- "description": "The key of the endpoint that should be invoked by this consumer event."
714
+ "description": "The key of the endpoint that should be invoked when consuming events."
715
+ },
716
+ "crossVersion": {
717
+ "$ref": "#/definitions/crossVersion"
718
718
  },
719
719
  "key": {
720
720
  "$ref": "#/definitions/ModuleKeySchema"
@@ -730,6 +730,34 @@
730
730
  "unlicensedAccess"
731
731
  ]
732
732
  }
733
+ },
734
+ {
735
+ "additionalProperties": false,
736
+ "properties": {
737
+ "queue": {
738
+ "$ref": "#/definitions/ConsumerQueue"
739
+ },
740
+ "function": {
741
+ "$ref": "#/definitions/ExtensionKey",
742
+ "description": "The key of the function that should be invoked when consuming events."
743
+ },
744
+ "crossVersion": {
745
+ "$ref": "#/definitions/crossVersion"
746
+ },
747
+ "key": {
748
+ "$ref": "#/definitions/ModuleKeySchema"
749
+ }
750
+ },
751
+ "required": [
752
+ "queue",
753
+ "function",
754
+ "key"
755
+ ],
756
+ "not": {
757
+ "required": [
758
+ "unlicensedAccess"
759
+ ]
760
+ }
733
761
  }
734
762
  ]
735
763
  },
@@ -743,10 +771,6 @@
743
771
  {
744
772
  "additionalProperties": false,
745
773
  "properties": {
746
- "foo": {
747
- "title": "foo",
748
- "type": "string"
749
- },
750
774
  "function": {
751
775
  "$ref": "#/definitions/ExtensionKey",
752
776
  "description": "The key of the function that should be invoked for this scheduledTrigger.",
@@ -782,10 +806,6 @@
782
806
  {
783
807
  "additionalProperties": false,
784
808
  "properties": {
785
- "foo": {
786
- "title": "foo",
787
- "type": "string"
788
- },
789
809
  "endpoint": {
790
810
  "$ref": "#/definitions/ExtensionKey",
791
811
  "title": "endpoint",
@@ -27960,7 +27980,14 @@
27960
27980
  "minLength": 1,
27961
27981
  "maxLength": 255,
27962
27982
  "pattern": "^[a-zA-Z0-9-_]+$",
27963
- "description": "The name of the queue that this consumer listens to."
27983
+ "description": "The name of the queue that this consumer listens to.",
27984
+ "title": "queue"
27985
+ },
27986
+ "crossVersion": {
27987
+ "title": "crossVersion",
27988
+ "description": "Enables consumption of events originating from previous app versions.",
27989
+ "type": "boolean",
27990
+ "default": false
27964
27991
  },
27965
27992
  "RuntimeLayer": {
27966
27993
  "type": "object",
@@ -174,28 +174,26 @@ export type ExtensionKey1 = string;
174
174
  * Enables consumption of events originating from previous app versions.
175
175
  */
176
176
  export type CrossVersion = boolean;
177
- /**
178
- * The name of the queue that this consumer listens to.
179
- */
180
- export type ConsumerQueue = string;
181
177
  /**
182
178
  * The key for an extension in CaaS. That means that this is a reference to another extension in your descriptor / manifest.
183
179
  */
184
180
  export type ExtensionKey2 = string;
185
- export type Foo = string;
186
181
  /**
187
182
  * The key for an extension in CaaS. That means that this is a reference to another extension in your descriptor / manifest.
188
183
  */
189
184
  export type ExtensionKey3 = string;
185
+ /**
186
+ * The key for an extension in CaaS. That means that this is a reference to another extension in your descriptor / manifest.
187
+ */
188
+ export type ExtensionKey4 = string;
190
189
  /**
191
190
  * The interval at which to trigger function invocation.
192
191
  */
193
192
  export type Interval = 'fiveMinute' | 'hour' | 'day' | 'week';
194
- export type Foo1 = string;
195
193
  /**
196
194
  * The key for an extension in CaaS. That means that this is a reference to another extension in your descriptor / manifest.
197
195
  */
198
- export type ExtensionKey4 = string;
196
+ export type ExtensionKey5 = string;
199
197
  /**
200
198
  * The interval at which to trigger function invocation.
201
199
  */
@@ -219,20 +217,20 @@ export type MemoryMB1 = number;
219
217
  /**
220
218
  * The key for an extension in CaaS. That means that this is a reference to another extension in your descriptor / manifest.
221
219
  */
222
- export type ExtensionKey5 = string;
220
+ export type ExtensionKey6 = string;
223
221
  /**
224
222
  * The key for an extension in CaaS. That means that this is a reference to another extension in your descriptor / manifest.
225
223
  */
226
- export type ExtensionKey6 = string;
224
+ export type ExtensionKey7 = string;
227
225
  export type CoreActionIOType = 'boolean' | 'integer' | 'number' | 'string';
228
226
  /**
229
227
  * The key for an extension in CaaS. That means that this is a reference to another extension in your descriptor / manifest.
230
228
  */
231
- export type ExtensionKey7 = string;
229
+ export type ExtensionKey8 = string;
232
230
  /**
233
231
  * The key for an extension in CaaS. That means that this is a reference to another extension in your descriptor / manifest.
234
232
  */
235
- export type ExtensionKey8 = string;
233
+ export type ExtensionKey9 = string;
236
234
  /**
237
235
  * Data residency migration hook path
238
236
  */
@@ -528,11 +526,11 @@ export type ActionExtensionKey1 = string;
528
526
  /**
529
527
  * The key for an extension in CaaS. That means that this is a reference to another extension in your descriptor / manifest.
530
528
  */
531
- export type ExtensionKey9 = string;
529
+ export type ExtensionKey10 = string;
532
530
  /**
533
531
  * The key for an extension in CaaS. That means that this is a reference to another extension in your descriptor / manifest.
534
532
  */
535
- export type ExtensionKey10 = string;
533
+ export type ExtensionKey11 = string;
536
534
  /**
537
535
  * The domains that this object provider should match.
538
536
  */
@@ -689,7 +687,7 @@ export type Patterns =
689
687
  /**
690
688
  * The key for an extension in CaaS. That means that this is a reference to another extension in your descriptor / manifest.
691
689
  */
692
- export type ExtensionKey11 = string;
690
+ export type ExtensionKey12 = string;
693
691
  export type Scopes =
694
692
  | string[]
695
693
  | {
@@ -1077,8 +1075,15 @@ export interface Modules {
1077
1075
  key: ModuleKeySchema;
1078
1076
  }
1079
1077
  | {
1080
- queue: ConsumerQueue;
1078
+ queue: Queue;
1081
1079
  endpoint: ExtensionKey2;
1080
+ crossVersion?: CrossVersion;
1081
+ key: ModuleKeySchema;
1082
+ }
1083
+ | {
1084
+ queue: Queue;
1085
+ function: ExtensionKey3;
1086
+ crossVersion?: CrossVersion;
1082
1087
  key: ModuleKeySchema;
1083
1088
  }
1084
1089
  ),
@@ -1100,8 +1105,15 @@ export interface Modules {
1100
1105
  key: ModuleKeySchema;
1101
1106
  }
1102
1107
  | {
1103
- queue: ConsumerQueue;
1108
+ queue: Queue;
1104
1109
  endpoint: ExtensionKey2;
1110
+ crossVersion?: CrossVersion;
1111
+ key: ModuleKeySchema;
1112
+ }
1113
+ | {
1114
+ queue: Queue;
1115
+ function: ExtensionKey3;
1116
+ crossVersion?: CrossVersion;
1105
1117
  key: ModuleKeySchema;
1106
1118
  }
1107
1119
  )[]
@@ -1109,28 +1121,24 @@ export interface Modules {
1109
1121
  scheduledTrigger?: [
1110
1122
  (
1111
1123
  | {
1112
- foo?: Foo;
1113
- function: ExtensionKey3;
1124
+ function: ExtensionKey4;
1114
1125
  interval: Interval;
1115
1126
  key: ModuleKeySchema;
1116
1127
  }
1117
1128
  | {
1118
- foo?: Foo1;
1119
- endpoint: ExtensionKey4;
1129
+ endpoint: ExtensionKey5;
1120
1130
  interval: Interval1;
1121
1131
  key: ModuleKeySchema;
1122
1132
  }
1123
1133
  ),
1124
1134
  ...(
1125
1135
  | {
1126
- foo?: Foo;
1127
- function: ExtensionKey3;
1136
+ function: ExtensionKey4;
1128
1137
  interval: Interval;
1129
1138
  key: ModuleKeySchema;
1130
1139
  }
1131
1140
  | {
1132
- foo?: Foo1;
1133
- endpoint: ExtensionKey4;
1141
+ endpoint: ExtensionKey5;
1134
1142
  interval: Interval1;
1135
1143
  key: ModuleKeySchema;
1136
1144
  }
@@ -1362,7 +1370,7 @@ export interface Modules {
1362
1370
  * swapped depending on what integrations a tenant might have.
1363
1371
  */
1364
1372
  actionType: string;
1365
- function: ExtensionKey5;
1373
+ function: ExtensionKey6;
1366
1374
  /**
1367
1375
  * The name of the action
1368
1376
  */
@@ -1390,7 +1398,7 @@ export interface Modules {
1390
1398
  * The description that the Rovo agent will use to decide when to invoke this action.
1391
1399
  */
1392
1400
  description: string;
1393
- function: ExtensionKey6;
1401
+ function: ExtensionKey7;
1394
1402
  /**
1395
1403
  * The name of the action
1396
1404
  */
@@ -1447,7 +1455,7 @@ export interface Modules {
1447
1455
  | {
1448
1456
  endpoint: string;
1449
1457
  };
1450
- endpoint: ExtensionKey7;
1458
+ endpoint: ExtensionKey8;
1451
1459
  /**
1452
1460
  * The operation that will be performed as a result of calling this action
1453
1461
  */
@@ -1484,7 +1492,7 @@ export interface Modules {
1484
1492
  * swapped depending on what integrations a tenant might have.
1485
1493
  */
1486
1494
  actionType: string;
1487
- endpoint: ExtensionKey8;
1495
+ endpoint: ExtensionKey9;
1488
1496
  /**
1489
1497
  * The name of the action
1490
1498
  */
@@ -1510,7 +1518,7 @@ export interface Modules {
1510
1518
  * swapped depending on what integrations a tenant might have.
1511
1519
  */
1512
1520
  actionType: string;
1513
- function: ExtensionKey5;
1521
+ function: ExtensionKey6;
1514
1522
  /**
1515
1523
  * The name of the action
1516
1524
  */
@@ -1538,7 +1546,7 @@ export interface Modules {
1538
1546
  * The description that the Rovo agent will use to decide when to invoke this action.
1539
1547
  */
1540
1548
  description: string;
1541
- function: ExtensionKey6;
1549
+ function: ExtensionKey7;
1542
1550
  /**
1543
1551
  * The name of the action
1544
1552
  */
@@ -1595,7 +1603,7 @@ export interface Modules {
1595
1603
  | {
1596
1604
  endpoint: string;
1597
1605
  };
1598
- endpoint: ExtensionKey7;
1606
+ endpoint: ExtensionKey8;
1599
1607
  /**
1600
1608
  * The operation that will be performed as a result of calling this action
1601
1609
  */
@@ -1632,7 +1640,7 @@ export interface Modules {
1632
1640
  * swapped depending on what integrations a tenant might have.
1633
1641
  */
1634
1642
  actionType: string;
1635
- endpoint: ExtensionKey8;
1643
+ endpoint: ExtensionKey9;
1636
1644
  /**
1637
1645
  * The name of the action
1638
1646
  */
@@ -12219,11 +12227,11 @@ export interface Modules {
12219
12227
  [k: string]: unknown;
12220
12228
  };
12221
12229
  checkPermission?: {
12222
- function: ExtensionKey9;
12230
+ function: ExtensionKey10;
12223
12231
  [k: string]: unknown;
12224
12232
  };
12225
12233
  getByUrl?: {
12226
- function: ExtensionKey10;
12234
+ function: ExtensionKey11;
12227
12235
  domains: Domains;
12228
12236
  subdomains?: Subdomain;
12229
12237
  patterns: Patterns;
@@ -12291,11 +12299,11 @@ export interface Modules {
12291
12299
  [k: string]: unknown;
12292
12300
  };
12293
12301
  checkPermission?: {
12294
- function: ExtensionKey9;
12302
+ function: ExtensionKey10;
12295
12303
  [k: string]: unknown;
12296
12304
  };
12297
12305
  getByUrl?: {
12298
- function: ExtensionKey10;
12306
+ function: ExtensionKey11;
12299
12307
  domains: Domains;
12300
12308
  subdomains?: Subdomain;
12301
12309
  patterns: Patterns;
@@ -12353,13 +12361,13 @@ export interface Modules {
12353
12361
  */
12354
12362
  schedule: [
12355
12363
  {
12356
- function: ExtensionKey11;
12364
+ function: ExtensionKey12;
12357
12365
  interval: 'hourly' | 'daily' | 'weekly' | 'monthly';
12358
12366
  type: 'FULLSCAN' | 'INCREMENTAL';
12359
12367
  [k: string]: unknown;
12360
12368
  },
12361
12369
  ...{
12362
- function: ExtensionKey11;
12370
+ function: ExtensionKey12;
12363
12371
  interval: 'hourly' | 'daily' | 'weekly' | 'monthly';
12364
12372
  type: 'FULLSCAN' | 'INCREMENTAL';
12365
12373
  [k: string]: unknown;
@@ -12376,13 +12384,13 @@ export interface Modules {
12376
12384
  */
12377
12385
  schedule: [
12378
12386
  {
12379
- function: ExtensionKey11;
12387
+ function: ExtensionKey12;
12380
12388
  interval: 'hourly' | 'daily' | 'weekly' | 'monthly';
12381
12389
  type: 'FULLSCAN' | 'INCREMENTAL';
12382
12390
  [k: string]: unknown;
12383
12391
  },
12384
12392
  ...{
12385
- function: ExtensionKey11;
12393
+ function: ExtensionKey12;
12386
12394
  interval: 'hourly' | 'daily' | 'weekly' | 'monthly';
12387
12395
  type: 'FULLSCAN' | 'INCREMENTAL';
12388
12396
  [k: string]: unknown;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@forge/manifest",
3
- "version": "9.4.0-next.1",
3
+ "version": "9.4.0-next.2-experimental-786d4ac",
4
4
  "description": "Definitions and validations of the Forge manifest",
5
5
  "main": "out/index.js",
6
6
  "scripts": {