@forge/manifest 8.7.1-next.1 → 8.7.1-next.2
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 +6 -0
- package/out/schema/manifest-schema.json +15 -0
- package/out/schema/manifest.d.ts +12 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -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
|
}
|
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
|
];
|
|
@@ -12102,6 +12108,12 @@ export interface ExternalAuthFunctionProvider {
|
|
|
12102
12108
|
*/
|
|
12103
12109
|
requestAllScopes?: boolean;
|
|
12104
12110
|
}
|
|
12111
|
+
/**
|
|
12112
|
+
* Function Runtime configuration
|
|
12113
|
+
*/
|
|
12114
|
+
export interface Runtime1 {
|
|
12115
|
+
memoryMB?: MemoryMB;
|
|
12116
|
+
}
|
|
12105
12117
|
export interface ActionInput {
|
|
12106
12118
|
title: string;
|
|
12107
12119
|
/**
|