@forge/manifest

11.3.1-next.1-experimental-0c74a4b11.3.1-next.2
out/schema/manifest-schema.json
out/schema/manifest-schema.json
+44−4
Index: package/out/schema/manifest-schema.json
===================================================================
--- package/out/schema/manifest-schema.json
+++ package/out/schema/manifest-schema.json
@@ -5038,20 +5038,59 @@
                                         "minLength": 1,
                                         "maxLength": 255,
                                         "pattern": "^[a-z0-9\\-]+$"
                                     },
-                                    "function": {
+                                    "resource": {
                                         "type": "string",
                                         "minLength": 1,
-                                        "maxLength": 255,
-                                        "pattern": "^[a-zA-Z0-9-_]+$"
+                                        "maxLength": 23,
+                                        "pattern": "^[a-zA-Z0-9_\\-]+$"
                                     },
+                                    "resourceUploadId": {
+                                        "type": "string",
+                                        "minLength": 1,
+                                        "maxLength": 255
+                                    },
+                                    "resolver": {
+                                        "anyOf": [
+                                            {
+                                                "additionalProperties": false,
+                                                "type": "object",
+                                                "properties": {
+                                                    "function": {
+                                                        "type": "string",
+                                                        "minLength": 1,
+                                                        "maxLength": 255,
+                                                        "pattern": "^[a-zA-Z0-9-_]+$"
+                                                    }
+                                                },
+                                                "required": [
+                                                    "function"
+                                                ]
+                                            },
+                                            {
+                                                "additionalProperties": false,
+                                                "type": "object",
+                                                "properties": {
+                                                    "endpoint": {
+                                                        "type": "string",
+                                                        "minLength": 1,
+                                                        "maxLength": 255,
+                                                        "pattern": "^[a-zA-Z0-9-_]+$"
+                                                    }
+                                                },
+                                                "required": [
+                                                    "endpoint"
+                                                ]
+                                            }
+                                        ]
+                                    },
                                     "key": {
                                         "$ref": "#/definitions/ModuleKeySchema"
                                     }
                                 },
                                 "required": [
-                                    "function",
+                                    "resource",
                                     "routePrefix",
                                     "key"
                                 ]
                             },
@@ -5154,8 +5193,9 @@
                                 },
                                 "required": [
                                     "resource",
                                     "routePrefix",
+                                    "render",
                                     "key"
                                 ]
                             }
                         ]