@forge/manifest 7.6.0 → 7.6.1-next.0
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 +7 -0
- package/out/schema/manifest-schema.json +143 -88
- package/out/schema/manifest.d.ts +62 -32
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -590,6 +590,13 @@
|
|
|
590
590
|
"providers": {
|
|
591
591
|
"$ref": "#/definitions/ExternalAuthFunctionProviders"
|
|
592
592
|
},
|
|
593
|
+
"timeoutSeconds": {
|
|
594
|
+
"description": "The maximum amount of time the function is allowed to run, in seconds. Must be between 1 and 900.",
|
|
595
|
+
"maximum": 900,
|
|
596
|
+
"minimum": 1,
|
|
597
|
+
"title": "timeoutSeconds",
|
|
598
|
+
"type": "number"
|
|
599
|
+
},
|
|
593
600
|
"key": {
|
|
594
601
|
"$ref": "#/definitions/ModuleKeySchema"
|
|
595
602
|
}
|
|
@@ -4386,28 +4393,6 @@
|
|
|
4386
4393
|
},
|
|
4387
4394
|
"edit": {
|
|
4388
4395
|
"anyOf": [
|
|
4389
|
-
{
|
|
4390
|
-
"type": "object",
|
|
4391
|
-
"properties": {
|
|
4392
|
-
"resource": {
|
|
4393
|
-
"type": "string",
|
|
4394
|
-
"minLength": 1,
|
|
4395
|
-
"maxLength": 23,
|
|
4396
|
-
"pattern": "^[a-zA-Z0-9_\\-]+$"
|
|
4397
|
-
},
|
|
4398
|
-
"render": {
|
|
4399
|
-
"default": "default",
|
|
4400
|
-
"enum": [
|
|
4401
|
-
"default",
|
|
4402
|
-
"native"
|
|
4403
|
-
],
|
|
4404
|
-
"type": "string"
|
|
4405
|
-
}
|
|
4406
|
-
},
|
|
4407
|
-
"required": [
|
|
4408
|
-
"resource"
|
|
4409
|
-
]
|
|
4410
|
-
},
|
|
4411
4396
|
{
|
|
4412
4397
|
"type": "object",
|
|
4413
4398
|
"properties": {
|
|
@@ -4421,6 +4406,40 @@
|
|
|
4421
4406
|
"required": [
|
|
4422
4407
|
"function"
|
|
4423
4408
|
]
|
|
4409
|
+
},
|
|
4410
|
+
{
|
|
4411
|
+
"allOf": [
|
|
4412
|
+
{
|
|
4413
|
+
"type": "object",
|
|
4414
|
+
"properties": {
|
|
4415
|
+
"resource": {
|
|
4416
|
+
"type": "string",
|
|
4417
|
+
"minLength": 1,
|
|
4418
|
+
"maxLength": 23,
|
|
4419
|
+
"pattern": "^[a-zA-Z0-9_\\-]+$"
|
|
4420
|
+
},
|
|
4421
|
+
"render": {
|
|
4422
|
+
"default": "default",
|
|
4423
|
+
"enum": [
|
|
4424
|
+
"default",
|
|
4425
|
+
"native"
|
|
4426
|
+
],
|
|
4427
|
+
"type": "string"
|
|
4428
|
+
}
|
|
4429
|
+
},
|
|
4430
|
+
"required": [
|
|
4431
|
+
"resource"
|
|
4432
|
+
]
|
|
4433
|
+
},
|
|
4434
|
+
{
|
|
4435
|
+
"type": "object",
|
|
4436
|
+
"properties": {
|
|
4437
|
+
"isInline": {
|
|
4438
|
+
"type": "boolean"
|
|
4439
|
+
}
|
|
4440
|
+
}
|
|
4441
|
+
}
|
|
4442
|
+
]
|
|
4424
4443
|
}
|
|
4425
4444
|
]
|
|
4426
4445
|
},
|
|
@@ -4613,28 +4632,6 @@
|
|
|
4613
4632
|
},
|
|
4614
4633
|
"edit": {
|
|
4615
4634
|
"anyOf": [
|
|
4616
|
-
{
|
|
4617
|
-
"type": "object",
|
|
4618
|
-
"properties": {
|
|
4619
|
-
"resource": {
|
|
4620
|
-
"type": "string",
|
|
4621
|
-
"minLength": 1,
|
|
4622
|
-
"maxLength": 23,
|
|
4623
|
-
"pattern": "^[a-zA-Z0-9_\\-]+$"
|
|
4624
|
-
},
|
|
4625
|
-
"render": {
|
|
4626
|
-
"default": "default",
|
|
4627
|
-
"enum": [
|
|
4628
|
-
"default",
|
|
4629
|
-
"native"
|
|
4630
|
-
],
|
|
4631
|
-
"type": "string"
|
|
4632
|
-
}
|
|
4633
|
-
},
|
|
4634
|
-
"required": [
|
|
4635
|
-
"resource"
|
|
4636
|
-
]
|
|
4637
|
-
},
|
|
4638
4635
|
{
|
|
4639
4636
|
"type": "object",
|
|
4640
4637
|
"properties": {
|
|
@@ -4648,6 +4645,40 @@
|
|
|
4648
4645
|
"required": [
|
|
4649
4646
|
"function"
|
|
4650
4647
|
]
|
|
4648
|
+
},
|
|
4649
|
+
{
|
|
4650
|
+
"allOf": [
|
|
4651
|
+
{
|
|
4652
|
+
"type": "object",
|
|
4653
|
+
"properties": {
|
|
4654
|
+
"resource": {
|
|
4655
|
+
"type": "string",
|
|
4656
|
+
"minLength": 1,
|
|
4657
|
+
"maxLength": 23,
|
|
4658
|
+
"pattern": "^[a-zA-Z0-9_\\-]+$"
|
|
4659
|
+
},
|
|
4660
|
+
"render": {
|
|
4661
|
+
"default": "default",
|
|
4662
|
+
"enum": [
|
|
4663
|
+
"default",
|
|
4664
|
+
"native"
|
|
4665
|
+
],
|
|
4666
|
+
"type": "string"
|
|
4667
|
+
}
|
|
4668
|
+
},
|
|
4669
|
+
"required": [
|
|
4670
|
+
"resource"
|
|
4671
|
+
]
|
|
4672
|
+
},
|
|
4673
|
+
{
|
|
4674
|
+
"type": "object",
|
|
4675
|
+
"properties": {
|
|
4676
|
+
"isInline": {
|
|
4677
|
+
"type": "boolean"
|
|
4678
|
+
}
|
|
4679
|
+
}
|
|
4680
|
+
}
|
|
4681
|
+
]
|
|
4651
4682
|
}
|
|
4652
4683
|
]
|
|
4653
4684
|
},
|
|
@@ -4818,28 +4849,6 @@
|
|
|
4818
4849
|
},
|
|
4819
4850
|
"edit": {
|
|
4820
4851
|
"anyOf": [
|
|
4821
|
-
{
|
|
4822
|
-
"type": "object",
|
|
4823
|
-
"properties": {
|
|
4824
|
-
"resource": {
|
|
4825
|
-
"type": "string",
|
|
4826
|
-
"minLength": 1,
|
|
4827
|
-
"maxLength": 23,
|
|
4828
|
-
"pattern": "^[a-zA-Z0-9_\\-]+$"
|
|
4829
|
-
},
|
|
4830
|
-
"render": {
|
|
4831
|
-
"default": "default",
|
|
4832
|
-
"enum": [
|
|
4833
|
-
"default",
|
|
4834
|
-
"native"
|
|
4835
|
-
],
|
|
4836
|
-
"type": "string"
|
|
4837
|
-
}
|
|
4838
|
-
},
|
|
4839
|
-
"required": [
|
|
4840
|
-
"resource"
|
|
4841
|
-
]
|
|
4842
|
-
},
|
|
4843
4852
|
{
|
|
4844
4853
|
"type": "object",
|
|
4845
4854
|
"properties": {
|
|
@@ -4853,6 +4862,40 @@
|
|
|
4853
4862
|
"required": [
|
|
4854
4863
|
"function"
|
|
4855
4864
|
]
|
|
4865
|
+
},
|
|
4866
|
+
{
|
|
4867
|
+
"allOf": [
|
|
4868
|
+
{
|
|
4869
|
+
"type": "object",
|
|
4870
|
+
"properties": {
|
|
4871
|
+
"resource": {
|
|
4872
|
+
"type": "string",
|
|
4873
|
+
"minLength": 1,
|
|
4874
|
+
"maxLength": 23,
|
|
4875
|
+
"pattern": "^[a-zA-Z0-9_\\-]+$"
|
|
4876
|
+
},
|
|
4877
|
+
"render": {
|
|
4878
|
+
"default": "default",
|
|
4879
|
+
"enum": [
|
|
4880
|
+
"default",
|
|
4881
|
+
"native"
|
|
4882
|
+
],
|
|
4883
|
+
"type": "string"
|
|
4884
|
+
}
|
|
4885
|
+
},
|
|
4886
|
+
"required": [
|
|
4887
|
+
"resource"
|
|
4888
|
+
]
|
|
4889
|
+
},
|
|
4890
|
+
{
|
|
4891
|
+
"type": "object",
|
|
4892
|
+
"properties": {
|
|
4893
|
+
"isInline": {
|
|
4894
|
+
"type": "boolean"
|
|
4895
|
+
}
|
|
4896
|
+
}
|
|
4897
|
+
}
|
|
4898
|
+
]
|
|
4856
4899
|
}
|
|
4857
4900
|
]
|
|
4858
4901
|
},
|
|
@@ -5105,28 +5148,6 @@
|
|
|
5105
5148
|
},
|
|
5106
5149
|
"edit": {
|
|
5107
5150
|
"anyOf": [
|
|
5108
|
-
{
|
|
5109
|
-
"type": "object",
|
|
5110
|
-
"properties": {
|
|
5111
|
-
"resource": {
|
|
5112
|
-
"type": "string",
|
|
5113
|
-
"minLength": 1,
|
|
5114
|
-
"maxLength": 23,
|
|
5115
|
-
"pattern": "^[a-zA-Z0-9_\\-]+$"
|
|
5116
|
-
},
|
|
5117
|
-
"render": {
|
|
5118
|
-
"default": "default",
|
|
5119
|
-
"enum": [
|
|
5120
|
-
"default",
|
|
5121
|
-
"native"
|
|
5122
|
-
],
|
|
5123
|
-
"type": "string"
|
|
5124
|
-
}
|
|
5125
|
-
},
|
|
5126
|
-
"required": [
|
|
5127
|
-
"resource"
|
|
5128
|
-
]
|
|
5129
|
-
},
|
|
5130
5151
|
{
|
|
5131
5152
|
"type": "object",
|
|
5132
5153
|
"properties": {
|
|
@@ -5140,6 +5161,40 @@
|
|
|
5140
5161
|
"required": [
|
|
5141
5162
|
"function"
|
|
5142
5163
|
]
|
|
5164
|
+
},
|
|
5165
|
+
{
|
|
5166
|
+
"allOf": [
|
|
5167
|
+
{
|
|
5168
|
+
"type": "object",
|
|
5169
|
+
"properties": {
|
|
5170
|
+
"resource": {
|
|
5171
|
+
"type": "string",
|
|
5172
|
+
"minLength": 1,
|
|
5173
|
+
"maxLength": 23,
|
|
5174
|
+
"pattern": "^[a-zA-Z0-9_\\-]+$"
|
|
5175
|
+
},
|
|
5176
|
+
"render": {
|
|
5177
|
+
"default": "default",
|
|
5178
|
+
"enum": [
|
|
5179
|
+
"default",
|
|
5180
|
+
"native"
|
|
5181
|
+
],
|
|
5182
|
+
"type": "string"
|
|
5183
|
+
}
|
|
5184
|
+
},
|
|
5185
|
+
"required": [
|
|
5186
|
+
"resource"
|
|
5187
|
+
]
|
|
5188
|
+
},
|
|
5189
|
+
{
|
|
5190
|
+
"type": "object",
|
|
5191
|
+
"properties": {
|
|
5192
|
+
"isInline": {
|
|
5193
|
+
"type": "boolean"
|
|
5194
|
+
}
|
|
5195
|
+
}
|
|
5196
|
+
}
|
|
5197
|
+
]
|
|
5143
5198
|
}
|
|
5144
5199
|
]
|
|
5145
5200
|
},
|
package/out/schema/manifest.d.ts
CHANGED
|
@@ -98,6 +98,10 @@ export type Handler = string;
|
|
|
98
98
|
* Whether this function is used for GDPR cleanup (default false). If set to true, this function has a higher rate limit for ESS list queries.
|
|
99
99
|
*/
|
|
100
100
|
export type Cleanup = boolean;
|
|
101
|
+
/**
|
|
102
|
+
* The maximum amount of time the function is allowed to run, in seconds. Must be between 1 and 900.
|
|
103
|
+
*/
|
|
104
|
+
export type TimeoutSeconds = number;
|
|
101
105
|
/**
|
|
102
106
|
* Name of the key of the function that will handle this action.
|
|
103
107
|
*/
|
|
@@ -731,6 +735,7 @@ export interface Modules {
|
|
|
731
735
|
};
|
|
732
736
|
};
|
|
733
737
|
providers?: ExternalAuthFunctionProviders;
|
|
738
|
+
timeoutSeconds?: TimeoutSeconds;
|
|
734
739
|
key: ModuleKeySchema;
|
|
735
740
|
[k: string]: unknown;
|
|
736
741
|
},
|
|
@@ -752,6 +757,7 @@ export interface Modules {
|
|
|
752
757
|
};
|
|
753
758
|
};
|
|
754
759
|
providers?: ExternalAuthFunctionProviders;
|
|
760
|
+
timeoutSeconds?: TimeoutSeconds;
|
|
755
761
|
key: ModuleKeySchema;
|
|
756
762
|
[k: string]: unknown;
|
|
757
763
|
}[]
|
|
@@ -2633,14 +2639,17 @@ export interface Modules {
|
|
|
2633
2639
|
};
|
|
2634
2640
|
edit?:
|
|
2635
2641
|
| {
|
|
2642
|
+
function: string;
|
|
2643
|
+
[k: string]: unknown;
|
|
2644
|
+
}
|
|
2645
|
+
| ({
|
|
2636
2646
|
resource: string;
|
|
2637
2647
|
render?: 'default' | 'native';
|
|
2638
2648
|
[k: string]: unknown;
|
|
2639
|
-
}
|
|
2640
|
-
|
|
2641
|
-
function: string;
|
|
2649
|
+
} & {
|
|
2650
|
+
isInline?: boolean;
|
|
2642
2651
|
[k: string]: unknown;
|
|
2643
|
-
};
|
|
2652
|
+
});
|
|
2644
2653
|
value?: {
|
|
2645
2654
|
function: string;
|
|
2646
2655
|
[k: string]: unknown;
|
|
@@ -2695,14 +2704,17 @@ export interface Modules {
|
|
|
2695
2704
|
};
|
|
2696
2705
|
edit?:
|
|
2697
2706
|
| {
|
|
2707
|
+
function: string;
|
|
2708
|
+
[k: string]: unknown;
|
|
2709
|
+
}
|
|
2710
|
+
| ({
|
|
2698
2711
|
resource: string;
|
|
2699
2712
|
render?: 'default' | 'native';
|
|
2700
2713
|
[k: string]: unknown;
|
|
2701
|
-
}
|
|
2702
|
-
|
|
2703
|
-
function: string;
|
|
2714
|
+
} & {
|
|
2715
|
+
isInline?: boolean;
|
|
2704
2716
|
[k: string]: unknown;
|
|
2705
|
-
};
|
|
2717
|
+
});
|
|
2706
2718
|
value?: {
|
|
2707
2719
|
function: string;
|
|
2708
2720
|
[k: string]: unknown;
|
|
@@ -2756,14 +2768,17 @@ export interface Modules {
|
|
|
2756
2768
|
};
|
|
2757
2769
|
edit?:
|
|
2758
2770
|
| {
|
|
2771
|
+
function: string;
|
|
2772
|
+
[k: string]: unknown;
|
|
2773
|
+
}
|
|
2774
|
+
| ({
|
|
2759
2775
|
resource: string;
|
|
2760
2776
|
render?: 'default' | 'native';
|
|
2761
2777
|
[k: string]: unknown;
|
|
2762
|
-
}
|
|
2763
|
-
|
|
2764
|
-
function: string;
|
|
2778
|
+
} & {
|
|
2779
|
+
isInline?: boolean;
|
|
2765
2780
|
[k: string]: unknown;
|
|
2766
|
-
};
|
|
2781
|
+
});
|
|
2767
2782
|
value?: {
|
|
2768
2783
|
function: string;
|
|
2769
2784
|
[k: string]: unknown;
|
|
@@ -2818,14 +2833,17 @@ export interface Modules {
|
|
|
2818
2833
|
};
|
|
2819
2834
|
edit?:
|
|
2820
2835
|
| {
|
|
2836
|
+
function: string;
|
|
2837
|
+
[k: string]: unknown;
|
|
2838
|
+
}
|
|
2839
|
+
| ({
|
|
2821
2840
|
resource: string;
|
|
2822
2841
|
render?: 'default' | 'native';
|
|
2823
2842
|
[k: string]: unknown;
|
|
2824
|
-
}
|
|
2825
|
-
|
|
2826
|
-
function: string;
|
|
2843
|
+
} & {
|
|
2844
|
+
isInline?: boolean;
|
|
2827
2845
|
[k: string]: unknown;
|
|
2828
|
-
};
|
|
2846
|
+
});
|
|
2829
2847
|
value?: {
|
|
2830
2848
|
function: string;
|
|
2831
2849
|
[k: string]: unknown;
|
|
@@ -2874,14 +2892,17 @@ export interface Modules {
|
|
|
2874
2892
|
readOnly?: boolean;
|
|
2875
2893
|
edit?:
|
|
2876
2894
|
| {
|
|
2895
|
+
function: string;
|
|
2896
|
+
[k: string]: unknown;
|
|
2897
|
+
}
|
|
2898
|
+
| ({
|
|
2877
2899
|
resource: string;
|
|
2878
2900
|
render?: 'default' | 'native';
|
|
2879
2901
|
[k: string]: unknown;
|
|
2880
|
-
}
|
|
2881
|
-
|
|
2882
|
-
function: string;
|
|
2902
|
+
} & {
|
|
2903
|
+
isInline?: boolean;
|
|
2883
2904
|
[k: string]: unknown;
|
|
2884
|
-
};
|
|
2905
|
+
});
|
|
2885
2906
|
value?: {
|
|
2886
2907
|
function: string;
|
|
2887
2908
|
[k: string]: unknown;
|
|
@@ -2949,14 +2970,17 @@ export interface Modules {
|
|
|
2949
2970
|
readOnly?: boolean;
|
|
2950
2971
|
edit?:
|
|
2951
2972
|
| {
|
|
2973
|
+
function: string;
|
|
2974
|
+
[k: string]: unknown;
|
|
2975
|
+
}
|
|
2976
|
+
| ({
|
|
2952
2977
|
resource: string;
|
|
2953
2978
|
render?: 'default' | 'native';
|
|
2954
2979
|
[k: string]: unknown;
|
|
2955
|
-
}
|
|
2956
|
-
|
|
2957
|
-
function: string;
|
|
2980
|
+
} & {
|
|
2981
|
+
isInline?: boolean;
|
|
2958
2982
|
[k: string]: unknown;
|
|
2959
|
-
};
|
|
2983
|
+
});
|
|
2960
2984
|
value?: {
|
|
2961
2985
|
function: string;
|
|
2962
2986
|
[k: string]: unknown;
|
|
@@ -3023,14 +3047,17 @@ export interface Modules {
|
|
|
3023
3047
|
readOnly?: boolean;
|
|
3024
3048
|
edit?:
|
|
3025
3049
|
| {
|
|
3050
|
+
function: string;
|
|
3051
|
+
[k: string]: unknown;
|
|
3052
|
+
}
|
|
3053
|
+
| ({
|
|
3026
3054
|
resource: string;
|
|
3027
3055
|
render?: 'default' | 'native';
|
|
3028
3056
|
[k: string]: unknown;
|
|
3029
|
-
}
|
|
3030
|
-
|
|
3031
|
-
function: string;
|
|
3057
|
+
} & {
|
|
3058
|
+
isInline?: boolean;
|
|
3032
3059
|
[k: string]: unknown;
|
|
3033
|
-
};
|
|
3060
|
+
});
|
|
3034
3061
|
value?: {
|
|
3035
3062
|
function: string;
|
|
3036
3063
|
[k: string]: unknown;
|
|
@@ -3098,14 +3125,17 @@ export interface Modules {
|
|
|
3098
3125
|
readOnly?: boolean;
|
|
3099
3126
|
edit?:
|
|
3100
3127
|
| {
|
|
3128
|
+
function: string;
|
|
3129
|
+
[k: string]: unknown;
|
|
3130
|
+
}
|
|
3131
|
+
| ({
|
|
3101
3132
|
resource: string;
|
|
3102
3133
|
render?: 'default' | 'native';
|
|
3103
3134
|
[k: string]: unknown;
|
|
3104
|
-
}
|
|
3105
|
-
|
|
3106
|
-
function: string;
|
|
3135
|
+
} & {
|
|
3136
|
+
isInline?: boolean;
|
|
3107
3137
|
[k: string]: unknown;
|
|
3108
|
-
};
|
|
3138
|
+
});
|
|
3109
3139
|
value?: {
|
|
3110
3140
|
function: string;
|
|
3111
3141
|
[k: string]: unknown;
|