@forge/manifest 8.7.1-next.1 → 8.7.1-next.3
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 +13 -0
- package/out/schema/manifest-schema.json +71 -2
- package/out/schema/manifest.d.ts +36 -4
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
# @forge/manifest
|
|
2
2
|
|
|
3
|
+
## 8.7.1-next.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 009ab70: Fix tests
|
|
8
|
+
- 34db0f6: Update manifest definitions
|
|
9
|
+
|
|
10
|
+
## 8.7.1-next.2
|
|
11
|
+
|
|
12
|
+
### Patch Changes
|
|
13
|
+
|
|
14
|
+
- 01ca857: Update manifest definitions
|
|
15
|
+
|
|
3
16
|
## 8.7.1-next.1
|
|
4
17
|
|
|
5
18
|
### Patch Changes
|
|
@@ -706,6 +706,21 @@
|
|
|
706
706
|
"title": "timeoutSeconds",
|
|
707
707
|
"type": "number"
|
|
708
708
|
},
|
|
709
|
+
"runtime": {
|
|
710
|
+
"type": "object",
|
|
711
|
+
"additionalProperties": false,
|
|
712
|
+
"description": "Function Runtime configuration",
|
|
713
|
+
"title": "runtime",
|
|
714
|
+
"properties": {
|
|
715
|
+
"memoryMB": {
|
|
716
|
+
"type": "number",
|
|
717
|
+
"title": "memoryMB",
|
|
718
|
+
"description": "The amount of memory available to this function at runtime. Increasing the function memory also increases its CPU allocation. You can configure memory between 128 MB and 512 MB in 1-MB increments. The default value is 512 MB.",
|
|
719
|
+
"minimum": 128,
|
|
720
|
+
"maximum": 1769
|
|
721
|
+
}
|
|
722
|
+
}
|
|
723
|
+
},
|
|
709
724
|
"key": {
|
|
710
725
|
"$ref": "#/definitions/ModuleKeySchema"
|
|
711
726
|
}
|
|
@@ -18396,10 +18411,64 @@
|
|
|
18396
18411
|
"$ref": "#/definitions/ModuleKeySchema"
|
|
18397
18412
|
},
|
|
18398
18413
|
"name": {
|
|
18399
|
-
"
|
|
18414
|
+
"oneOf": [
|
|
18415
|
+
{
|
|
18416
|
+
"type": "object",
|
|
18417
|
+
"additionalProperties": false,
|
|
18418
|
+
"properties": {
|
|
18419
|
+
"i18n": {
|
|
18420
|
+
"type": "string",
|
|
18421
|
+
"minLength": 1,
|
|
18422
|
+
"maxLength": 300,
|
|
18423
|
+
"pattern": "^[a-zA-Z0-9_-]+(\\.[a-zA-Z0-9_-]+)*$"
|
|
18424
|
+
}
|
|
18425
|
+
},
|
|
18426
|
+
"required": [
|
|
18427
|
+
"i18n"
|
|
18428
|
+
]
|
|
18429
|
+
},
|
|
18430
|
+
{
|
|
18431
|
+
"type": "string",
|
|
18432
|
+
"minLength": 1,
|
|
18433
|
+
"maxLength": 255
|
|
18434
|
+
}
|
|
18435
|
+
]
|
|
18436
|
+
},
|
|
18437
|
+
"name__i18n": {
|
|
18438
|
+
"type": "string",
|
|
18439
|
+
"minLength": 1,
|
|
18440
|
+
"maxLength": 300,
|
|
18441
|
+
"pattern": "^[a-zA-Z0-9_-]+(\\.[a-zA-Z0-9_-]+)*$"
|
|
18400
18442
|
},
|
|
18401
18443
|
"description": {
|
|
18402
|
-
"
|
|
18444
|
+
"oneOf": [
|
|
18445
|
+
{
|
|
18446
|
+
"type": "object",
|
|
18447
|
+
"additionalProperties": false,
|
|
18448
|
+
"properties": {
|
|
18449
|
+
"i18n": {
|
|
18450
|
+
"type": "string",
|
|
18451
|
+
"minLength": 1,
|
|
18452
|
+
"maxLength": 300,
|
|
18453
|
+
"pattern": "^[a-zA-Z0-9_-]+(\\.[a-zA-Z0-9_-]+)*$"
|
|
18454
|
+
}
|
|
18455
|
+
},
|
|
18456
|
+
"required": [
|
|
18457
|
+
"i18n"
|
|
18458
|
+
]
|
|
18459
|
+
},
|
|
18460
|
+
{
|
|
18461
|
+
"type": "string",
|
|
18462
|
+
"minLength": 1,
|
|
18463
|
+
"maxLength": 255
|
|
18464
|
+
}
|
|
18465
|
+
]
|
|
18466
|
+
},
|
|
18467
|
+
"description__i18n": {
|
|
18468
|
+
"type": "string",
|
|
18469
|
+
"minLength": 1,
|
|
18470
|
+
"maxLength": 300,
|
|
18471
|
+
"pattern": "^[a-zA-Z0-9_-]+(\\.[a-zA-Z0-9_-]+)*$"
|
|
18403
18472
|
},
|
|
18404
18473
|
"triggers": {
|
|
18405
18474
|
"type": "array",
|
package/out/schema/manifest.d.ts
CHANGED
|
@@ -135,6 +135,10 @@ export type Cleanup = boolean;
|
|
|
135
135
|
* The maximum amount of time the function is allowed to run, in seconds. Must be between 1 and 900.
|
|
136
136
|
*/
|
|
137
137
|
export type TimeoutSeconds = number;
|
|
138
|
+
/**
|
|
139
|
+
* The amount of memory available to this function at runtime. Increasing the function memory also increases its CPU allocation. You can configure memory between 128 MB and 512 MB in 1-MB increments. The default value is 512 MB.
|
|
140
|
+
*/
|
|
141
|
+
export type MemoryMB = number;
|
|
138
142
|
/**
|
|
139
143
|
* Name of the key of the function that will handle this action.
|
|
140
144
|
*/
|
|
@@ -1001,6 +1005,7 @@ export interface Modules {
|
|
|
1001
1005
|
};
|
|
1002
1006
|
providers?: ExternalAuthFunctionProviders;
|
|
1003
1007
|
timeoutSeconds?: TimeoutSeconds;
|
|
1008
|
+
runtime?: Runtime1;
|
|
1004
1009
|
key: ModuleKeySchema;
|
|
1005
1010
|
},
|
|
1006
1011
|
...{
|
|
@@ -1022,6 +1027,7 @@ export interface Modules {
|
|
|
1022
1027
|
};
|
|
1023
1028
|
providers?: ExternalAuthFunctionProviders;
|
|
1024
1029
|
timeoutSeconds?: TimeoutSeconds;
|
|
1030
|
+
runtime?: Runtime1;
|
|
1025
1031
|
key: ModuleKeySchema;
|
|
1026
1032
|
}[]
|
|
1027
1033
|
];
|
|
@@ -9183,8 +9189,18 @@ export interface Modules {
|
|
|
9183
9189
|
(
|
|
9184
9190
|
| {
|
|
9185
9191
|
key: ModuleKeySchema;
|
|
9186
|
-
name:
|
|
9187
|
-
|
|
9192
|
+
name:
|
|
9193
|
+
| {
|
|
9194
|
+
i18n: string;
|
|
9195
|
+
}
|
|
9196
|
+
| string;
|
|
9197
|
+
name__i18n?: string;
|
|
9198
|
+
description?:
|
|
9199
|
+
| {
|
|
9200
|
+
i18n: string;
|
|
9201
|
+
}
|
|
9202
|
+
| string;
|
|
9203
|
+
description__i18n?: string;
|
|
9188
9204
|
triggers: [
|
|
9189
9205
|
'on-merge' | 'on-code-pushed' | 'on-reviewer-status-changed',
|
|
9190
9206
|
...('on-merge' | 'on-code-pushed' | 'on-reviewer-status-changed')[]
|
|
@@ -9207,8 +9223,18 @@ export interface Modules {
|
|
|
9207
9223
|
...(
|
|
9208
9224
|
| {
|
|
9209
9225
|
key: ModuleKeySchema;
|
|
9210
|
-
name:
|
|
9211
|
-
|
|
9226
|
+
name:
|
|
9227
|
+
| {
|
|
9228
|
+
i18n: string;
|
|
9229
|
+
}
|
|
9230
|
+
| string;
|
|
9231
|
+
name__i18n?: string;
|
|
9232
|
+
description?:
|
|
9233
|
+
| {
|
|
9234
|
+
i18n: string;
|
|
9235
|
+
}
|
|
9236
|
+
| string;
|
|
9237
|
+
description__i18n?: string;
|
|
9212
9238
|
triggers: [
|
|
9213
9239
|
'on-merge' | 'on-code-pushed' | 'on-reviewer-status-changed',
|
|
9214
9240
|
...('on-merge' | 'on-code-pushed' | 'on-reviewer-status-changed')[]
|
|
@@ -12102,6 +12128,12 @@ export interface ExternalAuthFunctionProvider {
|
|
|
12102
12128
|
*/
|
|
12103
12129
|
requestAllScopes?: boolean;
|
|
12104
12130
|
}
|
|
12131
|
+
/**
|
|
12132
|
+
* Function Runtime configuration
|
|
12133
|
+
*/
|
|
12134
|
+
export interface Runtime1 {
|
|
12135
|
+
memoryMB?: MemoryMB;
|
|
12136
|
+
}
|
|
12105
12137
|
export interface ActionInput {
|
|
12106
12138
|
title: string;
|
|
12107
12139
|
/**
|