npm package diff
Package: @forge/manifest
Versions: 9.1.0-next.3 - 9.1.0-next.4
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
@@ -4796,8 +4796,280 @@
]
},
"minItems": 1
},
+ "confluence:backgroundScript": {
+ "type": "array",
+ "items": {
+ "oneOf": [
+ {
+ "type": "object",
+ "properties": {
+ "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"
+ ]
+ }
+ ]
+ },
+ "function": {
+ "type": "string",
+ "minLength": 1,
+ "maxLength": 255,
+ "pattern": "^[a-zA-Z0-9-_]+$"
+ },
+ "render": {
+ "enum": [
+ "native",
+ "default"
+ ]
+ },
+ "key": {
+ "$ref": "#/definitions/ModuleKeySchema"
+ }
+ },
+ "required": [
+ "function",
+ "key"
+ ],
+ "not": {
+ "required": [
+ "unlicensedAccess"
+ ]
+ }
+ },
+ {
+ "type": "object",
+ "properties": {
+ "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"
+ ]
+ }
+ ]
+ },
+ "resource": {
+ "type": "string",
+ "minLength": 1,
+ "maxLength": 23,
+ "pattern": "^[a-zA-Z0-9_\\-]+$"
+ },
+ "render": {
+ "enum": [
+ "native",
+ "default"
+ ],
+ "type": "string",
+ "default": "default"
+ },
+ "key": {
+ "$ref": "#/definitions/ModuleKeySchema"
+ }
+ },
+ "required": [
+ "resource",
+ "key"
+ ],
+ "not": {
+ "required": [
+ "unlicensedAccess"
+ ]
+ }
+ }
+ ]
+ },
+ "minItems": 1
+ },
+ "confluence:pageBanner": {
+ "type": "array",
+ "items": {
+ "oneOf": [
+ {
+ "type": "object",
+ "properties": {
+ "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"
+ ]
+ }
+ ]
+ },
+ "function": {
+ "type": "string",
+ "minLength": 1,
+ "maxLength": 255,
+ "pattern": "^[a-zA-Z0-9-_]+$"
+ },
+ "render": {
+ "enum": [
+ "native",
+ "default"
+ ]
+ },
+ "key": {
+ "$ref": "#/definitions/ModuleKeySchema"
+ }
+ },
+ "required": [
+ "function",
+ "key"
+ ],
+ "not": {
+ "required": [
+ "unlicensedAccess"
+ ]
+ }
+ },
+ {
+ "type": "object",
+ "properties": {
+ "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"
+ ]
+ }
+ ]
+ },
+ "resource": {
+ "type": "string",
+ "minLength": 1,
+ "maxLength": 23,
+ "pattern": "^[a-zA-Z0-9_\\-]+$"
+ },
+ "render": {
+ "enum": [
+ "native",
+ "default"
+ ],
+ "type": "string",
+ "default": "default"
+ },
+ "key": {
+ "$ref": "#/definitions/ModuleKeySchema"
+ }
+ },
+ "required": [
+ "resource",
+ "key"
+ ],
+ "not": {
+ "required": [
+ "unlicensedAccess"
+ ]
+ }
+ }
+ ]
+ },
+ "minItems": 1
+ },
"jira:workflowValidator": {
"type": "array",
"items": {
"type": "object",
@@ -26913,8 +27185,49 @@
}
}
}
},
+ "ServicesSchema": {
+ "type": "array",
+ "additionalProperties": false,
+ "uniqueItems": true,
+ "items": {
+ "type": "object",
+ "required": ["key", "containers"],
+ "additionalProperties": false,
+ "properties": {
+ "key": {
+ "type": "string",
+ "maxLength": 25,
+ "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}$"
+ }
+ }
+ }
+ }
+ }
+ }
+ },
"OAuth2ScopeName": {
"type": "string",
"pattern": "^[^\\s]+$"
},
@@ -29548,8 +29861,12 @@
},
"translations": {
"$ref": "#/definitions/TranslationsSchema",
"title": "translations"
+ },
+ "services": {
+ "$ref": "#/definitions/ServicesSchema",
+ "title": "services"
}
},
"required": [
"app"