@forge/manifest 11.1.1-next.0 → 11.1.1-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,11 @@
1
1
  # @forge/manifest
2
2
 
3
+ ## 11.1.1-next.1
4
+
5
+ ### Patch Changes
6
+
7
+ - 09bdcf1: Update manifest definitions
8
+
3
9
  ## 11.1.1-next.0
4
10
 
5
11
  ### Patch Changes
@@ -1518,6 +1518,10 @@
1518
1518
  },
1519
1519
  "maxProperties": 10
1520
1520
  },
1521
+ "outputContext": {
1522
+ "$ref": "#/definitions/OutputContext",
1523
+ "description": "Defines the shape of the output entity returned by this action"
1524
+ },
1521
1525
  "outputs": {
1522
1526
  "type": "object",
1523
1527
  "additionalProperties": {
@@ -1535,6 +1539,20 @@
1535
1539
  "actionVerb",
1536
1540
  "key"
1537
1541
  ],
1542
+ "allOf": [
1543
+ {
1544
+ "if": {
1545
+ "required": [
1546
+ "outputs"
1547
+ ]
1548
+ },
1549
+ "then": {
1550
+ "required": [
1551
+ "outputContext"
1552
+ ]
1553
+ }
1554
+ }
1555
+ ],
1538
1556
  "not": {
1539
1557
  "required": [
1540
1558
  "unlicensedAccess"
@@ -2048,6 +2066,9 @@
2048
2066
  "type": "string",
2049
2067
  "default": "block"
2050
2068
  },
2069
+ "hidden": {
2070
+ "type": "boolean"
2071
+ },
2051
2072
  "key": {
2052
2073
  "$ref": "#/definitions/ModuleKeySchema"
2053
2074
  }
@@ -2360,6 +2381,9 @@
2360
2381
  "emitsReadyEvent": {
2361
2382
  "type": "boolean"
2362
2383
  },
2384
+ "hidden": {
2385
+ "type": "boolean"
2386
+ },
2363
2387
  "key": {
2364
2388
  "$ref": "#/definitions/ModuleKeySchema"
2365
2389
  }
@@ -6588,6 +6612,25 @@
6588
6612
  "default": false,
6589
6613
  "type": "boolean"
6590
6614
  },
6615
+ "connectFieldProperty": {
6616
+ "type": "object",
6617
+ "properties": {
6618
+ "key": {
6619
+ "type": "string"
6620
+ },
6621
+ "path": {
6622
+ "type": "string"
6623
+ }
6624
+ },
6625
+ "required": [
6626
+ "key",
6627
+ "path"
6628
+ ]
6629
+ },
6630
+ "isUIModificationsEnabled": {
6631
+ "default": false,
6632
+ "type": "boolean"
6633
+ },
6591
6634
  "displayConditions": {
6592
6635
  "type": "object",
6593
6636
  "properties": {}
@@ -7030,6 +7073,25 @@
7030
7073
  "default": false,
7031
7074
  "type": "boolean"
7032
7075
  },
7076
+ "connectFieldProperty": {
7077
+ "type": "object",
7078
+ "properties": {
7079
+ "key": {
7080
+ "type": "string"
7081
+ },
7082
+ "path": {
7083
+ "type": "string"
7084
+ }
7085
+ },
7086
+ "required": [
7087
+ "key",
7088
+ "path"
7089
+ ]
7090
+ },
7091
+ "isUIModificationsEnabled": {
7092
+ "default": false,
7093
+ "type": "boolean"
7094
+ },
7033
7095
  "displayConditions": {
7034
7096
  "type": "object",
7035
7097
  "properties": {}
@@ -7427,6 +7489,25 @@
7427
7489
  "default": false,
7428
7490
  "type": "boolean"
7429
7491
  },
7492
+ "connectFieldProperty": {
7493
+ "type": "object",
7494
+ "properties": {
7495
+ "key": {
7496
+ "type": "string"
7497
+ },
7498
+ "path": {
7499
+ "type": "string"
7500
+ }
7501
+ },
7502
+ "required": [
7503
+ "key",
7504
+ "path"
7505
+ ]
7506
+ },
7507
+ "isUIModificationsEnabled": {
7508
+ "default": false,
7509
+ "type": "boolean"
7510
+ },
7430
7511
  "displayConditions": {
7431
7512
  "type": "object",
7432
7513
  "properties": {}
@@ -7973,6 +8054,10 @@
7973
8054
  "expression"
7974
8055
  ]
7975
8056
  },
8057
+ "isUIModificationsEnabled": {
8058
+ "default": false,
8059
+ "type": "boolean"
8060
+ },
7976
8061
  "displayConditions": {
7977
8062
  "type": "object",
7978
8063
  "properties": {}
@@ -8510,6 +8595,10 @@
8510
8595
  "expression"
8511
8596
  ]
8512
8597
  },
8598
+ "isUIModificationsEnabled": {
8599
+ "default": false,
8600
+ "type": "boolean"
8601
+ },
8513
8602
  "displayConditions": {
8514
8603
  "type": "object",
8515
8604
  "properties": {}
@@ -9002,6 +9091,10 @@
9002
9091
  "expression"
9003
9092
  ]
9004
9093
  },
9094
+ "isUIModificationsEnabled": {
9095
+ "default": false,
9096
+ "type": "boolean"
9097
+ },
9005
9098
  "displayConditions": {
9006
9099
  "type": "object",
9007
9100
  "properties": {}
@@ -30522,6 +30615,39 @@
30522
30615
  }
30523
30616
  }
30524
30617
  },
30618
+ "OutputContext": {
30619
+ "type": "object",
30620
+ "additionalProperties": false,
30621
+ "required": [
30622
+ "entityName",
30623
+ "outputType",
30624
+ "outputDomain"
30625
+ ],
30626
+ "properties": {
30627
+ "entityName": {
30628
+ "type": "string",
30629
+ "description": "The entity type that this action outputs",
30630
+ "minLength": 1,
30631
+ "maxLength": 12
30632
+ },
30633
+ "outputType": {
30634
+ "type": "string",
30635
+ "description": "The type of the output shape",
30636
+ "enum": [
30637
+ "OBJECT",
30638
+ "LIST"
30639
+ ]
30640
+ },
30641
+ "outputDomain": {
30642
+ "type": "string",
30643
+ "description": "The domain that this action output belongs to",
30644
+ "minLength": 1,
30645
+ "maxLength": 12,
30646
+ "pattern": "^[a-z-]+$"
30647
+ }
30648
+ },
30649
+ "title": "OutputContext"
30650
+ },
30525
30651
  "DisplayConditions": {
30526
30652
  "anyOf": [
30527
30653
  {
@@ -227,10 +227,6 @@ export type CoreActionIOType = 'boolean' | 'integer' | 'number' | 'string';
227
227
  * The key for an extension in CaaS. That means that this is a reference to another extension in your descriptor / manifest.
228
228
  */
229
229
  export type ExtensionKey9 = string;
230
- /**
231
- * The key for an extension in CaaS. That means that this is a reference to another extension in your descriptor / manifest.
232
- */
233
- export type ExtensionKey10 = string;
234
230
  /**
235
231
  * Data residency migration hook path
236
232
  */
@@ -683,7 +679,7 @@ export type Patterns =
683
679
  /**
684
680
  * The key for an extension in CaaS. That means that this is a reference to another extension in your descriptor / manifest.
685
681
  */
686
- export type ExtensionKey11 = string;
682
+ export type ExtensionKey10 = string;
687
683
  /**
688
684
  * A key referencing authentication provider. This will be utilised to authenticate end-users and match with external users.
689
685
  */
@@ -705,11 +701,11 @@ export type Instructions =
705
701
  /**
706
702
  * The key for an extension in CaaS. That means that this is a reference to another extension in your descriptor / manifest.
707
703
  */
708
- export type ExtensionKey12 = string;
704
+ export type ExtensionKey11 = string;
709
705
  /**
710
706
  * The key for an extension in CaaS. That means that this is a reference to another extension in your descriptor / manifest.
711
707
  */
712
- export type ExtensionKey13 = string;
708
+ export type ExtensionKey12 = string;
713
709
  /**
714
710
  * App permissions enforcement method
715
711
  */
@@ -1782,41 +1778,6 @@ export interface Modules {
1782
1778
  [k: string]: unknown;
1783
1779
  }
1784
1780
  | {
1785
- /**
1786
- * The description that the Rovo agent will use to decide when to invoke this action.
1787
- */
1788
- description: string;
1789
- function: ExtensionKey8;
1790
- /**
1791
- * The name of the action
1792
- */
1793
- name?: string;
1794
- /**
1795
- * The url for the icon image to be displayed in the UI
1796
- */
1797
- icon?: string;
1798
- config?: {
1799
- resource?: string;
1800
- render?: 'default' | 'native';
1801
- };
1802
- resolver?:
1803
- | {
1804
- function: string;
1805
- }
1806
- | {
1807
- endpoint: string;
1808
- };
1809
- /**
1810
- * The operation that will be performed as a result of calling this action
1811
- */
1812
- actionVerb: 'CREATE' | 'UPDATE' | 'DELETE' | 'TRIGGER' | 'GET';
1813
- inputs?: {
1814
- [k: string]: ActionInput;
1815
- };
1816
- outputs?: {
1817
- [k: string]: ActionOutput;
1818
- };
1819
- key: ModuleKeySchema;
1820
1781
  [k: string]: unknown;
1821
1782
  }
1822
1783
  | {
@@ -1843,7 +1804,7 @@ export interface Modules {
1843
1804
  | {
1844
1805
  endpoint: string;
1845
1806
  };
1846
- endpoint: ExtensionKey9;
1807
+ endpoint: ExtensionKey8;
1847
1808
  /**
1848
1809
  * The operation that will be performed as a result of calling this action
1849
1810
  */
@@ -1880,7 +1841,7 @@ export interface Modules {
1880
1841
  * swapped depending on what integrations a tenant might have.
1881
1842
  */
1882
1843
  actionType: string;
1883
- endpoint: ExtensionKey10;
1844
+ endpoint: ExtensionKey9;
1884
1845
  /**
1885
1846
  * The name of the action
1886
1847
  */
@@ -1930,41 +1891,6 @@ export interface Modules {
1930
1891
  [k: string]: unknown;
1931
1892
  }
1932
1893
  | {
1933
- /**
1934
- * The description that the Rovo agent will use to decide when to invoke this action.
1935
- */
1936
- description: string;
1937
- function: ExtensionKey8;
1938
- /**
1939
- * The name of the action
1940
- */
1941
- name?: string;
1942
- /**
1943
- * The url for the icon image to be displayed in the UI
1944
- */
1945
- icon?: string;
1946
- config?: {
1947
- resource?: string;
1948
- render?: 'default' | 'native';
1949
- };
1950
- resolver?:
1951
- | {
1952
- function: string;
1953
- }
1954
- | {
1955
- endpoint: string;
1956
- };
1957
- /**
1958
- * The operation that will be performed as a result of calling this action
1959
- */
1960
- actionVerb: 'CREATE' | 'UPDATE' | 'DELETE' | 'TRIGGER' | 'GET';
1961
- inputs?: {
1962
- [k: string]: ActionInput;
1963
- };
1964
- outputs?: {
1965
- [k: string]: ActionOutput;
1966
- };
1967
- key: ModuleKeySchema;
1968
1894
  [k: string]: unknown;
1969
1895
  }
1970
1896
  | {
@@ -1991,7 +1917,7 @@ export interface Modules {
1991
1917
  | {
1992
1918
  endpoint: string;
1993
1919
  };
1994
- endpoint: ExtensionKey9;
1920
+ endpoint: ExtensionKey8;
1995
1921
  /**
1996
1922
  * The operation that will be performed as a result of calling this action
1997
1923
  */
@@ -2028,7 +1954,7 @@ export interface Modules {
2028
1954
  * swapped depending on what integrations a tenant might have.
2029
1955
  */
2030
1956
  actionType: string;
2031
- endpoint: ExtensionKey10;
1957
+ endpoint: ExtensionKey9;
2032
1958
  /**
2033
1959
  * The name of the action
2034
1960
  */
@@ -12463,6 +12389,7 @@ export interface Modules {
12463
12389
  [k: string]: unknown;
12464
12390
  };
12465
12391
  layout?: 'inline' | 'block';
12392
+ hidden?: boolean;
12466
12393
  key: ModuleKeySchema;
12467
12394
  [k: string]: unknown;
12468
12395
  }
@@ -12532,6 +12459,7 @@ export interface Modules {
12532
12459
  render?: 'native' | 'default';
12533
12460
  layout?: 'inline' | 'block' | 'bodied';
12534
12461
  emitsReadyEvent?: boolean;
12462
+ hidden?: boolean;
12535
12463
  key: ModuleKeySchema;
12536
12464
  [k: string]: unknown;
12537
12465
  }
@@ -12574,6 +12502,7 @@ export interface Modules {
12574
12502
  [k: string]: unknown;
12575
12503
  };
12576
12504
  layout?: 'inline' | 'block';
12505
+ hidden?: boolean;
12577
12506
  key: ModuleKeySchema;
12578
12507
  [k: string]: unknown;
12579
12508
  }
@@ -12643,6 +12572,7 @@ export interface Modules {
12643
12572
  render?: 'native' | 'default';
12644
12573
  layout?: 'inline' | 'block' | 'bodied';
12645
12574
  emitsReadyEvent?: boolean;
12575
+ hidden?: boolean;
12646
12576
  key: ModuleKeySchema;
12647
12577
  [k: string]: unknown;
12648
12578
  }
@@ -14517,6 +14447,12 @@ export interface Modules {
14517
14447
  [k: string]: unknown;
14518
14448
  };
14519
14449
  migratedFromConnect?: boolean;
14450
+ connectFieldProperty?: {
14451
+ key: string;
14452
+ path: string;
14453
+ [k: string]: unknown;
14454
+ };
14455
+ isUIModificationsEnabled?: boolean;
14520
14456
  displayConditions?: {
14521
14457
  [k: string]: unknown;
14522
14458
  };
@@ -14629,6 +14565,12 @@ export interface Modules {
14629
14565
  [k: string]: unknown;
14630
14566
  };
14631
14567
  migratedFromConnect?: boolean;
14568
+ connectFieldProperty?: {
14569
+ key: string;
14570
+ path: string;
14571
+ [k: string]: unknown;
14572
+ };
14573
+ isUIModificationsEnabled?: boolean;
14632
14574
  displayConditions?: {
14633
14575
  [k: string]: unknown;
14634
14576
  };
@@ -14731,6 +14673,12 @@ export interface Modules {
14731
14673
  [k: string]: unknown;
14732
14674
  };
14733
14675
  migratedFromConnect?: boolean;
14676
+ connectFieldProperty?: {
14677
+ key: string;
14678
+ path: string;
14679
+ [k: string]: unknown;
14680
+ };
14681
+ isUIModificationsEnabled?: boolean;
14734
14682
  displayConditions?: {
14735
14683
  [k: string]: unknown;
14736
14684
  };
@@ -14842,6 +14790,12 @@ export interface Modules {
14842
14790
  [k: string]: unknown;
14843
14791
  };
14844
14792
  migratedFromConnect?: boolean;
14793
+ connectFieldProperty?: {
14794
+ key: string;
14795
+ path: string;
14796
+ [k: string]: unknown;
14797
+ };
14798
+ isUIModificationsEnabled?: boolean;
14845
14799
  displayConditions?: {
14846
14800
  [k: string]: unknown;
14847
14801
  };
@@ -14954,6 +14908,12 @@ export interface Modules {
14954
14908
  [k: string]: unknown;
14955
14909
  };
14956
14910
  migratedFromConnect?: boolean;
14911
+ connectFieldProperty?: {
14912
+ key: string;
14913
+ path: string;
14914
+ [k: string]: unknown;
14915
+ };
14916
+ isUIModificationsEnabled?: boolean;
14957
14917
  displayConditions?: {
14958
14918
  [k: string]: unknown;
14959
14919
  };
@@ -15056,6 +15016,12 @@ export interface Modules {
15056
15016
  [k: string]: unknown;
15057
15017
  };
15058
15018
  migratedFromConnect?: boolean;
15019
+ connectFieldProperty?: {
15020
+ key: string;
15021
+ path: string;
15022
+ [k: string]: unknown;
15023
+ };
15024
+ isUIModificationsEnabled?: boolean;
15059
15025
  displayConditions?: {
15060
15026
  [k: string]: unknown;
15061
15027
  };
@@ -15189,6 +15155,7 @@ export interface Modules {
15189
15155
  expression: string;
15190
15156
  [k: string]: unknown;
15191
15157
  };
15158
+ isUIModificationsEnabled?: boolean;
15192
15159
  displayConditions?: {
15193
15160
  [k: string]: unknown;
15194
15161
  };
@@ -15321,6 +15288,7 @@ export interface Modules {
15321
15288
  expression: string;
15322
15289
  [k: string]: unknown;
15323
15290
  };
15291
+ isUIModificationsEnabled?: boolean;
15324
15292
  displayConditions?: {
15325
15293
  [k: string]: unknown;
15326
15294
  };
@@ -15443,6 +15411,7 @@ export interface Modules {
15443
15411
  expression: string;
15444
15412
  [k: string]: unknown;
15445
15413
  };
15414
+ isUIModificationsEnabled?: boolean;
15446
15415
  displayConditions?: {
15447
15416
  [k: string]: unknown;
15448
15417
  };
@@ -15574,6 +15543,7 @@ export interface Modules {
15574
15543
  expression: string;
15575
15544
  [k: string]: unknown;
15576
15545
  };
15546
+ isUIModificationsEnabled?: boolean;
15577
15547
  displayConditions?: {
15578
15548
  [k: string]: unknown;
15579
15549
  };
@@ -15706,6 +15676,7 @@ export interface Modules {
15706
15676
  expression: string;
15707
15677
  [k: string]: unknown;
15708
15678
  };
15679
+ isUIModificationsEnabled?: boolean;
15709
15680
  displayConditions?: {
15710
15681
  [k: string]: unknown;
15711
15682
  };
@@ -15828,6 +15799,7 @@ export interface Modules {
15828
15799
  expression: string;
15829
15800
  [k: string]: unknown;
15830
15801
  };
15802
+ isUIModificationsEnabled?: boolean;
15831
15803
  displayConditions?: {
15832
15804
  [k: string]: unknown;
15833
15805
  };
@@ -24222,7 +24194,7 @@ export interface Modules {
24222
24194
  ];
24223
24195
  orchestration?: {
24224
24196
  taskRunner: {
24225
- function: ExtensionKey11;
24197
+ function: ExtensionKey10;
24226
24198
  };
24227
24199
  };
24228
24200
  auth?: {
@@ -24241,12 +24213,12 @@ export interface Modules {
24241
24213
  | [FormSection, FormSection, FormSection, FormSection, FormSection];
24242
24214
  instructions?: Instructions;
24243
24215
  validateConnection: {
24244
- function: ExtensionKey12;
24216
+ function: ExtensionKey11;
24245
24217
  [k: string]: unknown;
24246
24218
  };
24247
24219
  };
24248
24220
  onConnectionChange: {
24249
- function: ExtensionKey13;
24221
+ function: ExtensionKey12;
24250
24222
  [k: string]: unknown;
24251
24223
  };
24252
24224
  };
@@ -24329,7 +24301,7 @@ export interface Modules {
24329
24301
  ];
24330
24302
  orchestration?: {
24331
24303
  taskRunner: {
24332
- function: ExtensionKey11;
24304
+ function: ExtensionKey10;
24333
24305
  };
24334
24306
  };
24335
24307
  auth?: {
@@ -24348,12 +24320,12 @@ export interface Modules {
24348
24320
  | [FormSection, FormSection, FormSection, FormSection, FormSection];
24349
24321
  instructions?: Instructions;
24350
24322
  validateConnection: {
24351
- function: ExtensionKey12;
24323
+ function: ExtensionKey11;
24352
24324
  [k: string]: unknown;
24353
24325
  };
24354
24326
  };
24355
24327
  onConnectionChange: {
24356
- function: ExtensionKey13;
24328
+ function: ExtensionKey12;
24357
24329
  [k: string]: unknown;
24358
24330
  };
24359
24331
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@forge/manifest",
3
- "version": "11.1.1-next.0",
3
+ "version": "11.1.1-next.1",
4
4
  "description": "Definitions and validations of the Forge manifest",
5
5
  "main": "out/index.js",
6
6
  "scripts": {