@forge/manifest

12.4.0-next.212.4.0-next.3
out/schema/manifest-schema.json
~out/schema/manifest-schema.jsonModified
+55
Index: package/out/schema/manifest-schema.json
===================================================================
--- package/out/schema/manifest-schema.json
+++ package/out/schema/manifest-schema.json
@@ -898,8 +898,63 @@
                         ]
                     },
                     "minItems": 1
                 },
+                "preUninstall": {
+                    "type": "array",
+                    "items": {
+                        "$schema": "http://json-schema.org/draft-07/schema#",
+                        "oneOf": [
+                            {
+                                "additionalProperties": false,
+                                "properties": {
+                                    "function": {
+                                        "$ref": "#/definitions/ExtensionKey",
+                                        "description": "The key of the function that should be invoked for this lifecycle trigger.",
+                                        "title": "function"
+                                    },
+                                    "key": {
+                                        "$ref": "#/definitions/ModuleKeySchema"
+                                    }
+                                },
+                                "required": [
+                                    "function",
+                                    "key"
+                                ],
+                                "type": "object",
+                                "not": {
+                                    "required": [
+                                        "unlicensedAccess"
+                                    ]
+                                }
+                            },
+                            {
+                                "additionalProperties": false,
+                                "properties": {
+                                    "endpoint": {
+                                        "$ref": "#/definitions/ExtensionKey",
+                                        "title": "endpoint",
+                                        "type": "string"
+                                    },
+                                    "key": {
+                                        "$ref": "#/definitions/ModuleKeySchema"
+                                    }
+                                },
+                                "required": [
+                                    "endpoint",
+                                    "key"
+                                ],
+                                "type": "object",
+                                "not": {
+                                    "required": [
+                                        "unlicensedAccess"
+                                    ]
+                                }
+                            }
+                        ]
+                    },
+                    "minItems": 1
+                },
                 "fifoConsumer": {
                     "type": "array",
                     "items": {
                         "$schema": "http://json-schema.org/draft-07/schema#",