npm package diff
Package: @forge/manifest
Versions: 10.0.0-next.12 - 10.0.0-next.13
File: package/out/schema/manifest-schema.json
Index: package/out/schema/manifest-schema.json
===================================================================
--- package/out/schema/manifest-schema.json
+++ package/out/schema/manifest-schema.json
@@ -987,8 +987,43 @@
}
},
"minItems": 1
},
+ "workflow": {
+ "type": "array",
+ "items": {
+ "$schema": "http://json-schema.org/draft-07/schema#",
+ "description": "A Forge Workflow definition.",
+ "type": "object",
+ "additionalProperties": false,
+ "properties": {
+ "key": {
+ "$ref": "#/definitions/ModuleKeySchema"
+ },
+ "startAt": {
+ "type": "string"
+ },
+ "states": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/FunctionState"
+ },
+ "minItems": 1
+ }
+ },
+ "required": [
+ "key",
+ "startAt",
+ "states"
+ ],
+ "not": {
+ "required": [
+ "unlicensedAccess"
+ ]
+ }
+ },
+ "minItems": 1
+ },
"migration": {
"type": "array",
"items": {
"anyOf": [
@@ -2225,8 +2260,11 @@
],
"type": "string",
"default": "block"
},
+ "emitsReadyEvent": {
+ "type": "boolean"
+ },
"key": {
"$ref": "#/definitions/ModuleKeySchema"
}
},
@@ -28367,8 +28405,43 @@
"required": [
"auth"
]
},
+ "FunctionState": {
+ "type": "object",
+ "additionalProperties": false,
+ "properties": {
+ "key": {
+ "type": "string"
+ },
+ "next": {
+ "type": "string"
+ },
+ "end": {
+ "type": "boolean",
+ "default": false
+ },
+ "resolver": {
+ "type": "object",
+ "properties": {
+ "function": {
+ "type": "string"
+ },
+ "method": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "function",
+ "method"
+ ]
+ }
+ },
+ "required": [
+ "key",
+ "resolver"
+ ]
+ },
"EndpointRoute": {
"type": "object",
"properties": {
"path": {