@forge/manifest 7.7.0-next.11 → 7.7.0-next.12

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
+ ## 7.7.0-next.12
4
+
5
+ ### Patch Changes
6
+
7
+ - ce41b8c: Update manifest definitions
8
+
3
9
  ## 7.7.0-next.11
4
10
 
5
11
  ### Minor Changes
@@ -908,6 +908,13 @@
908
908
  },
909
909
  "maxProperties": 10
910
910
  },
911
+ "outputs": {
912
+ "type": "object",
913
+ "additionalProperties": {
914
+ "$ref": "#/definitions/ActionOutput"
915
+ },
916
+ "maxProperties": 10
917
+ },
911
918
  "key": {
912
919
  "$ref": "#/definitions/ModuleKeySchema"
913
920
  }
@@ -965,6 +972,13 @@
965
972
  },
966
973
  "maxProperties": 10
967
974
  },
975
+ "outputs": {
976
+ "type": "object",
977
+ "additionalProperties": {
978
+ "$ref": "#/definitions/ActionOutput"
979
+ },
980
+ "maxProperties": 10
981
+ },
968
982
  "key": {
969
983
  "$ref": "#/definitions/ModuleKeySchema"
970
984
  }
@@ -24228,7 +24242,7 @@
24228
24242
  "auth"
24229
24243
  ]
24230
24244
  },
24231
- "CoreActionInputsType": {
24245
+ "CoreActionIOType": {
24232
24246
  "type": "string",
24233
24247
  "enum": [
24234
24248
  "boolean",
@@ -24253,7 +24267,28 @@
24253
24267
  "description": "A description of what this particular input is intended for. Example: 'ID of the Issue that will be updated as a result of this action'\n"
24254
24268
  },
24255
24269
  "type": {
24256
- "$ref": "#/definitions/CoreActionInputsType"
24270
+ "$ref": "#/definitions/CoreActionIOType"
24271
+ }
24272
+ }
24273
+ },
24274
+ "ActionOutput": {
24275
+ "type": "object",
24276
+ "required": [
24277
+ "description",
24278
+ "nullable",
24279
+ "type"
24280
+ ],
24281
+ "properties": {
24282
+ "description": {
24283
+ "type": "string",
24284
+ "description": "A description of what this particular output represents. Example: 'ID of the Issue that was created as a result of this action'\n"
24285
+ },
24286
+ "nullable": {
24287
+ "type": "boolean",
24288
+ "description": "A flag to indicate whether the output can have a value of null."
24289
+ },
24290
+ "type": {
24291
+ "$ref": "#/definitions/CoreActionIOType"
24257
24292
  }
24258
24293
  }
24259
24294
  },
@@ -110,7 +110,7 @@ export type Function3 = string;
110
110
  * Name of the key of the function that will handle this action.
111
111
  */
112
112
  export type Function4 = string;
113
- export type CoreActionInputsType = 'boolean' | 'integer' | 'number' | 'string';
113
+ export type CoreActionIOType = 'boolean' | 'integer' | 'number' | 'string';
114
114
  /**
115
115
  * The key for an extension in CaaS. That means that this is a reference to another
116
116
  * extension in your descriptor / manifest.
@@ -1015,6 +1015,9 @@ export interface Modules {
1015
1015
  inputs?: {
1016
1016
  [k: string]: ActionInput;
1017
1017
  };
1018
+ outputs?: {
1019
+ [k: string]: ActionOutput;
1020
+ };
1018
1021
  key: ModuleKeySchema;
1019
1022
  }
1020
1023
  | {
@@ -1038,6 +1041,9 @@ export interface Modules {
1038
1041
  inputs?: {
1039
1042
  [k: string]: ActionInput;
1040
1043
  };
1044
+ outputs?: {
1045
+ [k: string]: ActionOutput;
1046
+ };
1041
1047
  key: ModuleKeySchema;
1042
1048
  }
1043
1049
  | {
@@ -1109,6 +1115,9 @@ export interface Modules {
1109
1115
  inputs?: {
1110
1116
  [k: string]: ActionInput;
1111
1117
  };
1118
+ outputs?: {
1119
+ [k: string]: ActionOutput;
1120
+ };
1112
1121
  key: ModuleKeySchema;
1113
1122
  }
1114
1123
  | {
@@ -1132,6 +1141,9 @@ export interface Modules {
1132
1141
  inputs?: {
1133
1142
  [k: string]: ActionInput;
1134
1143
  };
1144
+ outputs?: {
1145
+ [k: string]: ActionOutput;
1146
+ };
1135
1147
  key: ModuleKeySchema;
1136
1148
  }
1137
1149
  | {
@@ -10646,7 +10658,20 @@ export interface ActionInput {
10646
10658
  *
10647
10659
  */
10648
10660
  description: string;
10649
- type: CoreActionInputsType;
10661
+ type: CoreActionIOType;
10662
+ [k: string]: unknown;
10663
+ }
10664
+ export interface ActionOutput {
10665
+ /**
10666
+ * A description of what this particular output represents. Example: 'ID of the Issue that was created as a result of this action'
10667
+ *
10668
+ */
10669
+ description: string;
10670
+ /**
10671
+ * A flag to indicate whether the output can have a value of null.
10672
+ */
10673
+ nullable: boolean;
10674
+ type: CoreActionIOType;
10650
10675
  [k: string]: unknown;
10651
10676
  }
10652
10677
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@forge/manifest",
3
- "version": "7.7.0-next.11",
3
+ "version": "7.7.0-next.12",
4
4
  "description": "Definitions and validations of the Forge manifest",
5
5
  "main": "out/index.js",
6
6
  "scripts": {