@forge/manifest 11.3.1-next.1-experimental-0c74a4b → 11.3.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 CHANGED
@@ -1,11 +1,10 @@
1
1
  # @forge/manifest
2
2
 
3
- ## 11.3.1-next.1-experimental-0c74a4b
3
+ ## 11.3.1-next.2
4
4
 
5
5
  ### Patch Changes
6
6
 
7
- - cd0a085: Update glob dependency to version 11.1.0 across multiple packages
8
- - 8b66e6f: Improve logic of container tunnel config restrictions
7
+ - f7c9fcc: Update manifest definitions
9
8
 
10
9
  ## 11.3.1-next.1
11
10
 
@@ -5039,18 +5039,57 @@
5039
5039
  "maxLength": 255,
5040
5040
  "pattern": "^[a-z0-9\\-]+$"
5041
5041
  },
5042
- "function": {
5042
+ "resource": {
5043
5043
  "type": "string",
5044
5044
  "minLength": 1,
5045
- "maxLength": 255,
5046
- "pattern": "^[a-zA-Z0-9-_]+$"
5045
+ "maxLength": 23,
5046
+ "pattern": "^[a-zA-Z0-9_\\-]+$"
5047
+ },
5048
+ "resourceUploadId": {
5049
+ "type": "string",
5050
+ "minLength": 1,
5051
+ "maxLength": 255
5052
+ },
5053
+ "resolver": {
5054
+ "anyOf": [
5055
+ {
5056
+ "additionalProperties": false,
5057
+ "type": "object",
5058
+ "properties": {
5059
+ "function": {
5060
+ "type": "string",
5061
+ "minLength": 1,
5062
+ "maxLength": 255,
5063
+ "pattern": "^[a-zA-Z0-9-_]+$"
5064
+ }
5065
+ },
5066
+ "required": [
5067
+ "function"
5068
+ ]
5069
+ },
5070
+ {
5071
+ "additionalProperties": false,
5072
+ "type": "object",
5073
+ "properties": {
5074
+ "endpoint": {
5075
+ "type": "string",
5076
+ "minLength": 1,
5077
+ "maxLength": 255,
5078
+ "pattern": "^[a-zA-Z0-9-_]+$"
5079
+ }
5080
+ },
5081
+ "required": [
5082
+ "endpoint"
5083
+ ]
5084
+ }
5085
+ ]
5047
5086
  },
5048
5087
  "key": {
5049
5088
  "$ref": "#/definitions/ModuleKeySchema"
5050
5089
  }
5051
5090
  },
5052
5091
  "required": [
5053
- "function",
5092
+ "resource",
5054
5093
  "routePrefix",
5055
5094
  "key"
5056
5095
  ]
@@ -5155,6 +5194,7 @@
5155
5194
  "required": [
5156
5195
  "resource",
5157
5196
  "routePrefix",
5197
+ "render",
5158
5198
  "key"
5159
5199
  ]
5160
5200
  }
@@ -13844,7 +13844,15 @@ export interface Modules {
13844
13844
  | string;
13845
13845
  title__i18n?: string;
13846
13846
  routePrefix: string;
13847
- function: string;
13847
+ resource: string;
13848
+ resourceUploadId?: string;
13849
+ resolver?:
13850
+ | {
13851
+ function: string;
13852
+ }
13853
+ | {
13854
+ endpoint: string;
13855
+ };
13848
13856
  key: ModuleKeySchema;
13849
13857
  }
13850
13858
  | {
@@ -13863,7 +13871,7 @@ export interface Modules {
13863
13871
  };
13864
13872
  resource: string;
13865
13873
  resourceUploadId?: string;
13866
- render?: 'native' | 'default';
13874
+ render: 'native' | 'default';
13867
13875
  routePrefix: string;
13868
13876
  key: ModuleKeySchema;
13869
13877
  }
@@ -13877,7 +13885,15 @@ export interface Modules {
13877
13885
  | string;
13878
13886
  title__i18n?: string;
13879
13887
  routePrefix: string;
13880
- function: string;
13888
+ resource: string;
13889
+ resourceUploadId?: string;
13890
+ resolver?:
13891
+ | {
13892
+ function: string;
13893
+ }
13894
+ | {
13895
+ endpoint: string;
13896
+ };
13881
13897
  key: ModuleKeySchema;
13882
13898
  }
13883
13899
  | {
@@ -13896,7 +13912,7 @@ export interface Modules {
13896
13912
  };
13897
13913
  resource: string;
13898
13914
  resourceUploadId?: string;
13899
- render?: 'native' | 'default';
13915
+ render: 'native' | 'default';
13900
13916
  routePrefix: string;
13901
13917
  key: ModuleKeySchema;
13902
13918
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@forge/manifest",
3
- "version": "11.3.1-next.1-experimental-0c74a4b",
3
+ "version": "11.3.1-next.2",
4
4
  "description": "Definitions and validations of the Forge manifest",
5
5
  "main": "out/index.js",
6
6
  "scripts": {