@forge/manifest 9.0.0 → 9.1.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
+ ## 9.1.0-next.1
4
+
5
+ ### Patch Changes
6
+
7
+ - 0881ee9: Update module artifacts and types
8
+
9
+ ## 9.1.0-next.0
10
+
11
+ ### Minor Changes
12
+
13
+ - 680704b: Add new module type: automation:actionProvider
14
+
3
15
  ## 9.0.0
4
16
 
5
17
  ### Major Changes
@@ -578,98 +578,59 @@
578
578
  "items": {
579
579
  "$schema": "http://json-schema.org/draft-07/schema#",
580
580
  "additionalProperties": true,
581
- "properties": {
582
- "function": {
583
- "$ref": "#/definitions/ExtensionKey",
584
- "description": "The key of the function that should be invoked for this webtrigger.",
585
- "title": "function",
586
- "type": "string"
587
- },
588
- "response": {
589
- "description": "Response options for the webtrigger module.",
590
- "type": "object",
591
- "additionalProperties": false,
581
+ "oneOf": [
582
+ {
592
583
  "properties": {
593
- "type": {
594
- "description": "The type of response that the webtrigger will return. If set to 'static', the response will be the same for every invocation and will use one of the responses defined under 'outputs'. If set to 'dynamic', the response will be generated by the function that the webtrigger is invoking.",
595
- "type": "string",
596
- "enum": [
597
- "static",
598
- "dynamic"
599
- ]
584
+ "function": {
585
+ "$ref": "#/definitions/ExtensionKey",
586
+ "description": "The key of the function that should be invoked for this webtrigger.",
587
+ "title": "function",
588
+ "type": "string"
600
589
  },
601
- "outputs": {
602
- "description": "An array of defined responses that the webtrigger can return.",
603
- "type": "array",
604
- "maxItems": 20,
605
- "items": {
606
- "type": "object",
607
- "additionalProperties": false,
608
- "properties": {
609
- "key": {
610
- "type": "string",
611
- "maxLength": 255
612
- },
613
- "statusCode": {
614
- "type": "integer"
615
- },
616
- "body": {
617
- "type": "string",
618
- "maxLength": 1024
619
- },
620
- "contentType": {
621
- "type": "string",
622
- "maxLength": 255
623
- }
624
- },
625
- "required": [
626
- "key",
627
- "statusCode"
628
- ]
629
- }
590
+ "response": {
591
+ "$ref": "#/definitions/ResponseOptions",
592
+ "description": "Response options for the webtrigger module.",
593
+ "title": "response"
594
+ },
595
+ "key": {
596
+ "$ref": "#/definitions/ModuleKeySchema"
630
597
  }
631
598
  },
632
599
  "required": [
633
- "type"
600
+ "function",
601
+ "key"
634
602
  ],
635
- "allOf": [
636
- {
637
- "if": {
638
- "properties": {
639
- "type": {
640
- "const": "static"
641
- }
642
- }
643
- },
644
- "then": {
645
- "required": [
646
- "outputs"
647
- ]
648
- },
649
- "else": {
650
- "not": {
651
- "required": [
652
- "outputs"
653
- ]
654
- }
655
- }
656
- }
657
- ]
603
+ "not": {
604
+ "required": [
605
+ "unlicensedAccess"
606
+ ]
607
+ }
658
608
  },
659
- "key": {
660
- "$ref": "#/definitions/ModuleKeySchema"
609
+ {
610
+ "properties": {
611
+ "endpoint": {
612
+ "$ref": "#/definitions/ExtensionKey",
613
+ "description": "The key of the service that should be invoked for this webtrigger."
614
+ },
615
+ "response": {
616
+ "$ref": "#/definitions/ResponseOptions"
617
+ },
618
+ "key": {
619
+ "$ref": "#/definitions/ModuleKeySchema"
620
+ }
621
+ },
622
+ "required": [
623
+ "endpoint",
624
+ "key"
625
+ ],
626
+ "not": {
627
+ "required": [
628
+ "unlicensedAccess"
629
+ ]
630
+ }
661
631
  }
662
- },
663
- "required": [
664
- "function",
665
- "key"
666
632
  ],
667
- "type": "object",
668
- "not": {
669
- "required": [
670
- "unlicensedAccess"
671
- ]
672
- }
633
+ "type": "object"
673
634
  },
674
635
  "minItems": 1
675
636
  },
@@ -966,69 +927,67 @@
966
927
  "$schema": "http://json-schema.org/draft-07/schema#",
967
928
  "additionalProperties": true,
968
929
  "description": "A Forge Remote endpoint definition.",
969
- "properties": {
970
- "remote": {
971
- "description": "key for the remotes definition",
972
- "maxLength": 255,
973
- "minLength": 1,
974
- "pattern": "^[a-zA-Z0-9-_]+$",
975
- "type": "string"
976
- },
977
- "route": {
978
- "type": "object",
930
+ "oneOf": [
931
+ {
979
932
  "properties": {
980
- "path": {
981
- "type": "string",
982
- "description": "Path of the remote endpoint to invoke"
933
+ "remote": {
934
+ "description": "key for the remotes definition",
935
+ "maxLength": 255,
936
+ "minLength": 1,
937
+ "pattern": "^[a-zA-Z0-9-_]+$",
938
+ "type": "string"
939
+ },
940
+ "route": {
941
+ "$ref": "#/definitions/EndpointRoute"
942
+ },
943
+ "auth": {
944
+ "$ref": "#/definitions/EndpointAuth"
945
+ },
946
+ "key": {
947
+ "$ref": "#/definitions/ModuleKeySchema"
983
948
  }
984
949
  },
985
950
  "required": [
986
- "path"
987
- ]
951
+ "remote",
952
+ "key"
953
+ ],
954
+ "not": {
955
+ "required": [
956
+ "unlicensedAccess"
957
+ ]
958
+ }
988
959
  },
989
- "auth": {
990
- "type": "object",
960
+ {
991
961
  "properties": {
992
- "appUserToken": {
993
- "type": "object",
994
- "required": [
995
- "enabled"
996
- ],
997
- "properties": {
998
- "enabled": {
999
- "type": "boolean",
1000
- "description": "Enable sharing user token with the remote"
1001
- }
1002
- }
962
+ "service": {
963
+ "description": "key for the service definition",
964
+ "maxLength": 25,
965
+ "minLength": 1,
966
+ "pattern": "^[a-z]([a-z0-9-]{0,23}[a-z0-9])?$",
967
+ "type": "string"
1003
968
  },
1004
- "appSystemToken": {
1005
- "type": "object",
1006
- "required": [
1007
- "enabled"
1008
- ],
1009
- "properties": {
1010
- "enabled": {
1011
- "type": "boolean",
1012
- "description": "Enable sharing app token with the remote"
1013
- }
1014
- }
969
+ "route": {
970
+ "$ref": "#/definitions/EndpointRoute"
971
+ },
972
+ "auth": {
973
+ "$ref": "#/definitions/EndpointAuth"
974
+ },
975
+ "key": {
976
+ "$ref": "#/definitions/ModuleKeySchema"
1015
977
  }
978
+ },
979
+ "required": [
980
+ "service",
981
+ "key"
982
+ ],
983
+ "not": {
984
+ "required": [
985
+ "unlicensedAccess"
986
+ ]
1016
987
  }
1017
- },
1018
- "key": {
1019
- "$ref": "#/definitions/ModuleKeySchema"
1020
988
  }
1021
- },
1022
- "required": [
1023
- "remote",
1024
- "key"
1025
989
  ],
1026
- "type": "object",
1027
- "not": {
1028
- "required": [
1029
- "unlicensedAccess"
1030
- ]
1031
- }
990
+ "type": "object"
1032
991
  },
1033
992
  "minItems": 1
1034
993
  },
@@ -27396,6 +27355,76 @@
27396
27355
  ]
27397
27356
  }
27398
27357
  },
27358
+ "ResponseOptions": {
27359
+ "additionalProperties": false,
27360
+ "properties": {
27361
+ "type": {
27362
+ "description": "The type of response that the webtrigger will return. If set to 'static', the response will be the same for every invocation and will use one of the responses defined under 'outputs'. If set to 'dynamic', the response will be generated by the function that the webtrigger is invoking.",
27363
+ "type": "string",
27364
+ "enum": [
27365
+ "static",
27366
+ "dynamic"
27367
+ ]
27368
+ },
27369
+ "outputs": {
27370
+ "description": "An array of defined responses that the webtrigger can return.",
27371
+ "type": "array",
27372
+ "maxItems": 20,
27373
+ "items": {
27374
+ "type": "object",
27375
+ "additionalProperties": false,
27376
+ "properties": {
27377
+ "key": {
27378
+ "type": "string",
27379
+ "maxLength": 255
27380
+ },
27381
+ "statusCode": {
27382
+ "type": "integer"
27383
+ },
27384
+ "body": {
27385
+ "type": "string",
27386
+ "maxLength": 1024
27387
+ },
27388
+ "contentType": {
27389
+ "type": "string",
27390
+ "maxLength": 255
27391
+ }
27392
+ },
27393
+ "required": [
27394
+ "key",
27395
+ "statusCode"
27396
+ ]
27397
+ }
27398
+ }
27399
+ },
27400
+ "required": [
27401
+ "type"
27402
+ ],
27403
+ "allOf": [
27404
+ {
27405
+ "if": {
27406
+ "properties": {
27407
+ "type": {
27408
+ "const": "static"
27409
+ }
27410
+ }
27411
+ },
27412
+ "then": {
27413
+ "required": [
27414
+ "outputs"
27415
+ ]
27416
+ },
27417
+ "else": {
27418
+ "not": {
27419
+ "required": [
27420
+ "outputs"
27421
+ ]
27422
+ }
27423
+ }
27424
+ }
27425
+ ],
27426
+ "type": "object"
27427
+ },
27399
27428
  "RuntimeLayer": {
27400
27429
  "type": "object",
27401
27430
  "properties": {
@@ -27493,6 +27522,47 @@
27493
27522
  "auth"
27494
27523
  ]
27495
27524
  },
27525
+ "EndpointRoute": {
27526
+ "type": "object",
27527
+ "properties": {
27528
+ "path": {
27529
+ "type": "string",
27530
+ "description": "Path of the remote endpoint to invoke"
27531
+ }
27532
+ },
27533
+ "required": [
27534
+ "path"
27535
+ ]
27536
+ },
27537
+ "EndpointAuth": {
27538
+ "type": "object",
27539
+ "properties": {
27540
+ "appUserToken": {
27541
+ "type": "object",
27542
+ "required": [
27543
+ "enabled"
27544
+ ],
27545
+ "properties": {
27546
+ "enabled": {
27547
+ "type": "boolean",
27548
+ "description": "Enable sharing user token with the remote"
27549
+ }
27550
+ }
27551
+ },
27552
+ "appSystemToken": {
27553
+ "type": "object",
27554
+ "required": [
27555
+ "enabled"
27556
+ ],
27557
+ "properties": {
27558
+ "enabled": {
27559
+ "type": "boolean",
27560
+ "description": "Enable sharing app token with the remote"
27561
+ }
27562
+ }
27563
+ }
27564
+ }
27565
+ },
27496
27566
  "CoreActionIOType": {
27497
27567
  "type": "string",
27498
27568
  "enum": [
@@ -149,6 +149,19 @@ export type Filter2 =
149
149
  * The key of the function that should be invoked for this webtrigger.
150
150
  */
151
151
  export type Function1 = string;
152
+ /**
153
+ * Response options for the webtrigger module.
154
+ */
155
+ export type Response = {
156
+ [k: string]: unknown;
157
+ };
158
+ /**
159
+ * The key of the service that should be invoked for this webtrigger.
160
+ */
161
+ export type ExtensionKey = string;
162
+ export type ResponseOptions = {
163
+ [k: string]: unknown;
164
+ };
152
165
  export type Queue = string;
153
166
  export type Foo = string;
154
167
  /**
@@ -972,28 +985,34 @@ export interface Modules {
972
985
  )[]
973
986
  ];
974
987
  webtrigger?: [
975
- {
976
- function: Function1;
977
- /**
978
- * Response options for the webtrigger module.
979
- */
980
- response?: {
981
- [k: string]: unknown;
982
- };
983
- key: ModuleKeySchema;
984
- [k: string]: unknown;
985
- },
986
- ...{
987
- function: Function1;
988
- /**
989
- * Response options for the webtrigger module.
990
- */
991
- response?: {
992
- [k: string]: unknown;
993
- };
994
- key: ModuleKeySchema;
995
- [k: string]: unknown;
996
- }[]
988
+ (
989
+ | {
990
+ function: Function1;
991
+ response?: Response;
992
+ key: ModuleKeySchema;
993
+ [k: string]: unknown;
994
+ }
995
+ | {
996
+ endpoint: ExtensionKey;
997
+ response?: ResponseOptions;
998
+ key: ModuleKeySchema;
999
+ [k: string]: unknown;
1000
+ }
1001
+ ),
1002
+ ...(
1003
+ | {
1004
+ function: Function1;
1005
+ response?: Response;
1006
+ key: ModuleKeySchema;
1007
+ [k: string]: unknown;
1008
+ }
1009
+ | {
1010
+ endpoint: ExtensionKey;
1011
+ response?: ResponseOptions;
1012
+ key: ModuleKeySchema;
1013
+ [k: string]: unknown;
1014
+ }
1015
+ )[]
997
1016
  ];
998
1017
  consumer?: [
999
1018
  {
@@ -1124,70 +1143,50 @@ export interface Modules {
1124
1143
  )[]
1125
1144
  ];
1126
1145
  endpoint?: [
1127
- {
1128
- /**
1129
- * key for the remotes definition
1130
- */
1131
- remote: string;
1132
- route?: {
1133
- /**
1134
- * Path of the remote endpoint to invoke
1135
- */
1136
- path: string;
1137
- [k: string]: unknown;
1138
- };
1139
- auth?: {
1140
- appUserToken?: {
1146
+ (
1147
+ | {
1141
1148
  /**
1142
- * Enable sharing user token with the remote
1149
+ * key for the remotes definition
1143
1150
  */
1144
- enabled: boolean;
1151
+ remote: string;
1152
+ route?: EndpointRoute;
1153
+ auth?: EndpointAuth;
1154
+ key: ModuleKeySchema;
1145
1155
  [k: string]: unknown;
1146
- };
1147
- appSystemToken?: {
1156
+ }
1157
+ | {
1148
1158
  /**
1149
- * Enable sharing app token with the remote
1159
+ * key for the service definition
1150
1160
  */
1151
- enabled: boolean;
1161
+ service: string;
1162
+ route?: EndpointRoute;
1163
+ auth?: EndpointAuth;
1164
+ key: ModuleKeySchema;
1152
1165
  [k: string]: unknown;
1153
- };
1154
- [k: string]: unknown;
1155
- };
1156
- key: ModuleKeySchema;
1157
- [k: string]: unknown;
1158
- },
1159
- ...{
1160
- /**
1161
- * key for the remotes definition
1162
- */
1163
- remote: string;
1164
- route?: {
1165
- /**
1166
- * Path of the remote endpoint to invoke
1167
- */
1168
- path: string;
1169
- [k: string]: unknown;
1170
- };
1171
- auth?: {
1172
- appUserToken?: {
1166
+ }
1167
+ ),
1168
+ ...(
1169
+ | {
1173
1170
  /**
1174
- * Enable sharing user token with the remote
1171
+ * key for the remotes definition
1175
1172
  */
1176
- enabled: boolean;
1173
+ remote: string;
1174
+ route?: EndpointRoute;
1175
+ auth?: EndpointAuth;
1176
+ key: ModuleKeySchema;
1177
1177
  [k: string]: unknown;
1178
- };
1179
- appSystemToken?: {
1178
+ }
1179
+ | {
1180
1180
  /**
1181
- * Enable sharing app token with the remote
1181
+ * key for the service definition
1182
1182
  */
1183
- enabled: boolean;
1183
+ service: string;
1184
+ route?: EndpointRoute;
1185
+ auth?: EndpointAuth;
1186
+ key: ModuleKeySchema;
1184
1187
  [k: string]: unknown;
1185
- };
1186
- [k: string]: unknown;
1187
- };
1188
- key: ModuleKeySchema;
1189
- [k: string]: unknown;
1190
- }[]
1188
+ }
1189
+ )[]
1191
1190
  ];
1192
1191
  remote?: [
1193
1192
  {
@@ -12218,6 +12217,30 @@ export interface ExternalAuthFunctionProvider {
12218
12217
  export interface Runtime1 {
12219
12218
  memoryMB?: MemoryMB1;
12220
12219
  }
12220
+ export interface EndpointRoute {
12221
+ /**
12222
+ * Path of the remote endpoint to invoke
12223
+ */
12224
+ path: string;
12225
+ [k: string]: unknown;
12226
+ }
12227
+ export interface EndpointAuth {
12228
+ appUserToken?: {
12229
+ /**
12230
+ * Enable sharing user token with the remote
12231
+ */
12232
+ enabled: boolean;
12233
+ [k: string]: unknown;
12234
+ };
12235
+ appSystemToken?: {
12236
+ /**
12237
+ * Enable sharing app token with the remote
12238
+ */
12239
+ enabled: boolean;
12240
+ [k: string]: unknown;
12241
+ };
12242
+ [k: string]: unknown;
12243
+ }
12221
12244
  export interface ActionInput {
12222
12245
  title: string;
12223
12246
  /**
@@ -165,6 +165,7 @@ export declare enum AllModuleTypes {
165
165
  AutomationForConfluenceAttributeResolver = "automation:attributeResolver",
166
166
  AutomationForConfluenceTemplate = "automation:template",
167
167
  AutomationForConfluenceI18n = "automation:i18n",
168
+ AutomationActionProvider = "automation:actionProvider",
168
169
  RovoAgent = "rovo:agent",
169
170
  CoreAction = "core:action",
170
171
  GraphEntityProvider = "graph:entityProvider",
@@ -1 +1 @@
1
- {"version":3,"file":"module-types.d.ts","sourceRoot":"","sources":["../../src/types/module-types.ts"],"names":[],"mappings":"AAAA,oBAAY,cAAc;IACxB,YAAY,kBAAkB;IAC9B,WAAW,iBAAiB;IAC5B,cAAc,oBAAoB;IAClC,YAAY,kBAAkB;IAC9B,oBAAoB,0BAA0B;IAC9C,YAAY,kBAAkB;IAC9B,aAAa,mBAAmB;IAChC,UAAU,gBAAgB;IAC1B,OAAO,aAAa;IACpB,QAAQ,cAAc;IACtB,sBAAsB,4BAA4B;IAClD,uBAAuB,6BAA6B;IACpD,2BAA2B,iCAAiC;IAC5D,qBAAqB,2BAA2B;IAChD,uBAAuB,6BAA6B;IACpD,wBAAwB,8BAA8B;IACtD,oBAAoB,0BAA0B;IAC9C,sBAAsB,4BAA4B;IAClD,mBAAmB,yBAAyB;IAC5C,uBAAuB,6BAA6B;IACpD,kBAAkB,wBAAwB;IAC1C,qBAAqB,2BAA2B;IAChD,qBAAqB,2BAA2B;IAChD,wBAAwB,8BAA8B;IACtD,eAAe,qBAAqB;IACpC,mBAAmB,yBAAyB;IAC5C,eAAe,qBAAqB;IACpC,iBAAiB,uBAAuB;IACxC,mBAAmB,yBAAyB;IAC5C,eAAe,qBAAqB;IACpC,gBAAgB,sBAAsB;IACtC,cAAc,oBAAoB;IAClC,wBAAwB,8BAA8B;IACtD,aAAa,mBAAmB;IAChC,eAAe,qBAAqB;I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automation:attributeResolver";
170
170
  AllModuleTypes["AutomationForConfluenceTemplate"] = "automation:template";
171
171
  AllModuleTypes["AutomationForConfluenceI18n"] = "automation:i18n";
172
+ AllModuleTypes["AutomationActionProvider"] = "automation:actionProvider";
172
173
  AllModuleTypes["RovoAgent"] = "rovo:agent";
173
174
  AllModuleTypes["CoreAction"] = "core:action";
174
175
  AllModuleTypes["GraphEntityProvider"] = "graph:entityProvider";
@@ -1 +1 @@
1
- {"version":3,"file":"modules-validator.d.ts","sourceRoot":"","sources":["../../src/validators/modules-validator.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,cAAc,EACd,wBAAwB,EAKzB,MAAM,UAAU,CAAC;AAGlB,OAAO,EAAkB,cAAc,EAAqC,MAAM,oBAAoB,CAAC;AACvG,OAAO,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAC;AAqB3D,qBAAa,gBACX,YAAW,kBAAkB,CAAC,cAAc,CAAC,cAAc,CAAC,GAAG,SAAS,EAAE,cAAc,CAAC;IAGzF,OAAO,CAAC,oBAAoB,CAAsE;IAE5F,QAAQ,CACZ,QAAQ,EAAE,cAAc,CAAC,cAAc,CAAC,GAAG,SAAS,GACnD,OAAO,CAAC,wBAAwB,CAAC,cAAc,CAAC,CAAC;IA4DpD,OAAO,CAAC,uBAAuB;IAO/B,OAAO,CAAC,iBAAiB;IAkBzB,OAAO,CAAC,4BAA4B;IAapC,OAAO,CAAC,uBAAuB;IAe/B,OAAO,CAAC,uBAAuB;IAiB/B,OAAO,CAAC,4BAA4B;IA0BpC,OAAO,CAAC,mBAAmB;IAyG3B,OAAO,CAAC,4BAA4B;IA2BpC,OAAO,CAAC,yBAAyB;CAkClC"}
1
+ {"version":3,"file":"modules-validator.d.ts","sourceRoot":"","sources":["../../src/validators/modules-validator.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,cAAc,EACd,wBAAwB,EAKzB,MAAM,UAAU,CAAC;AAGlB,OAAO,EAAkB,cAAc,EAAqC,MAAM,oBAAoB,CAAC;AACvG,OAAO,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAC;AAqB3D,qBAAa,gBACX,YAAW,kBAAkB,CAAC,cAAc,CAAC,cAAc,CAAC,GAAG,SAAS,EAAE,cAAc,CAAC;IAGzF,OAAO,CAAC,oBAAoB,CAAsE;IAE5F,QAAQ,CACZ,QAAQ,EAAE,cAAc,CAAC,cAAc,CAAC,GAAG,SAAS,GACnD,OAAO,CAAC,wBAAwB,CAAC,cAAc,CAAC,CAAC;IA4DpD,OAAO,CAAC,uBAAuB;IAO/B,OAAO,CAAC,iBAAiB;IAkBzB,OAAO,CAAC,4BAA4B;IAapC,OAAO,CAAC,uBAAuB;IAe/B,OAAO,CAAC,uBAAuB;IAiB/B,OAAO,CAAC,4BAA4B;IA0BpC,OAAO,CAAC,mBAAmB;IAgH3B,OAAO,CAAC,4BAA4B;IA2BpC,OAAO,CAAC,yBAAyB;CAkClC"}
@@ -153,7 +153,13 @@ class ModulesValidator {
153
153
  }
154
154
  }
155
155
  });
156
+ function isRemoteType(obj) {
157
+ return obj && typeof obj === 'object' && 'remote' in obj;
158
+ }
156
159
  _endpoint?.forEach((endpoint) => {
160
+ if (!isRemoteType(endpoint)) {
161
+ return;
162
+ }
157
163
  if (!_checkRemoteExists(endpoint.remote)) {
158
164
  validationErrors.push({
159
165
  message: text_1.errors.modules.endpoint.remote.notExists(endpoint.remote),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@forge/manifest",
3
- "version": "9.0.0",
3
+ "version": "9.1.0-next.1",
4
4
  "description": "Definitions and validations of the Forge manifest",
5
5
  "main": "out/index.js",
6
6
  "scripts": {