npm package diff
Package: @forge/manifest
Versions: 9.1.0 - 9.2.0-next.0
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
@@ -27188,8 +27188,65 @@
}
}
}
},
+ "ContainerHealthSchema": {
+ "type": "object",
+ "required": [
+ "type",
+ "route"
+ ],
+ "additionalProperties": false,
+ "properties": {
+ "type": {
+ "type": "string",
+ "enum": ["http"]
+ },
+ "route": {
+ "type": "object",
+ "required": ["path"],
+ "additionalProperties": false,
+ "properties": {
+ "path": {
+ "type": "string",
+ "description": "The path to the health check endpoint",
+ "pattern": "^((\/[a-zA-Z0-9-_]+)+|\/)$"
+ }
+ }
+ }
+ }
+ },
+ "ContainersSchema": {
+ "type": "array",
+ "uniqueItems": true,
+ "items": {
+ "type": "object",
+ "required": [
+ "key",
+ "tag",
+ "health"
+ ],
+ "additionalProperties": false,
+ "properties": {
+ "key": {
+ "type": "string",
+ "maxLength": 25,
+ "minLength": 1,
+ "pattern": "^[a-z]([a-z0-9-]{0,23}[a-z0-9])?$"
+ },
+ "tag": {
+ "type": "string",
+ "maxLength": 128,
+ "minLength": 1,
+ "pattern": "^[\\w][\\w.-]{0,127}$"
+ },
+ "health": {
+ "$ref": "#/definitions/ContainerHealthSchema",
+ "title": "health"
+ }
+ }
+ }
+ },
"ServicesSchema": {
"type": "array",
"additionalProperties": false,
"uniqueItems": true,
@@ -27207,32 +27264,10 @@
"minLength": 1,
"pattern": "^[a-z]([a-z0-9-]{0,23}[a-z0-9])?$"
},
"containers": {
- "type": "array",
- "uniqueItems": true,
- "items": {
- "type": "object",
- "required": [
- "key",
- "tag"
- ],
- "additionalProperties": false,
- "properties": {
- "key": {
- "type": "string",
- "maxLength": 25,
- "minLength": 1,
- "pattern": "^[a-z]([a-z0-9-]{0,23}[a-z0-9])?$"
- },
- "tag": {
- "type": "string",
- "maxLength": 128,
- "minLength": 1,
- "pattern": "^[\\w][\\w.-]{0,127}$"
- }
- }
- }
+ "$ref": "#/definitions/ContainersSchema",
+ "title": "containers"
}
}
}
},