npm package diff
Package: @forge/manifest
Versions: 8.7.0-next.1 - 8.7.0-next.2
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
@@ -25651,8 +25651,208 @@
]
}
},
"minItems": 1
+ },
+ "graph:entityProvider": {
+ "type": "array",
+ "items": {
+ "$schema": "http://json-schema.org/draft-07/schema#",
+ "type": "object",
+ "properties": {
+ "homeUrl": {
+ "type": "string",
+ "description": "The URL of the entity provider home page."
+ },
+ "logoUrl": {
+ "type": "string",
+ "description": "The URL of the entity provider logo."
+ },
+ "name": {
+ "type": "object",
+ "description": "The name of the entity provider.",
+ "properties": {
+ "value": {
+ "type": "string",
+ "description": "The name of the entity provider."
+ }
+ }
+ },
+ "checkPermission": {
+ "type": "object",
+ "properties": {
+ "function": {
+ "$ref": "#/definitions/ExtensionKey",
+ "description": "The key of the function that should be invoked for permission check.",
+ "title": "function"
+ }
+ },
+ "required": [
+ "function"
+ ]
+ },
+ "getByUrl": {
+ "type": "object",
+ "properties": {
+ "function": {
+ "$ref": "#/definitions/ExtensionKey",
+ "description": "The key of the function that should be invoked for getByUrl.",
+ "title": "function"
+ },
+ "domains": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "minItems": 1,
+ "maxItems": 10,
+ "description": "The domains that this object provider should match.",
+ "title": "domains"
+ },
+ "subdomains": {
+ "type": "boolean",
+ "title": "subdomain",
+ "description": "Should sub-domains be allowed."
+ },
+ "patterns": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "minItems": 1,
+ "maxItems": 20,
+ "description": "Patterns used for matching URLs that are resolvable to entities.",
+ "title": "patterns"
+ }
+ },
+ "required": [
+ "function",
+ "domains",
+ "patterns"
+ ],
+ "additionalProperties": false
+ },
+ "entities": {
+ "type": "array",
+ "description": "Ingestion nouns that the entity provider can provide.",
+ "minItems": 1,
+ "items": {
+ "type": "object",
+ "properties": {
+ "key": {
+ "type": "string",
+ "description": "A name for the entity. Must be unique within the manifest."
+ },
+ "type": {
+ "type": "string",
+ "description": "The type of the ingestion noun."
+ },
+ "avatarUrl": {
+ "type": "string",
+ "description": "The URL of the avatar for the entity."
+ },
+ "imageUrl": {
+ "type": "string",
+ "description": "The URL of the image for the entity."
+ }
+ },
+ "required": [
+ "key",
+ "type"
+ ],
+ "additionalProperties": false
+ }
+ },
+ "key": {
+ "$ref": "#/definitions/ModuleKeySchema"
+ }
+ },
+ "required": [
+ "entities",
+ "key"
+ ],
+ "additionalProperties": false,
+ "not": {
+ "required": [
+ "unlicensedAccess"
+ ]
+ }
+ },
+ "minItems": 1
+ },
+ "graph:connector": {
+ "type": "array",
+ "items": {
+ "$schema": "http://json-schema.org/draft-07/schema#",
+ "type": "object",
+ "properties": {
+ "displayName": {
+ "type": "string"
+ },
+ "icon": {
+ "type": "string"
+ },
+ "schedule": {
+ "type": "array",
+ "description": "The schedule for the connector.",
+ "minItems": 1,
+ "items": {
+ "type": "object",
+ "properties": {
+ "function": {
+ "$ref": "#/definitions/ExtensionKey",
+ "description": "The key of the function that should be invoked on each schedule.",
+ "title": "function"
+ },
+ "interval": {
+ "type": "string",
+ "enum": [
+ "hourly",
+ "daily",
+ "weekly",
+ "monthly"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "enum": [
+ "FULLSCAN",
+ "INCREMENTAL"
+ ]
+ }
+ },
+ "required": [
+ "function",
+ "interval",
+ "type"
+ ]
+ }
+ },
+ "providedEntities": {
+ "type": "array",
+ "items": {
+ "type": "string",
+ "minLength": 1,
+ "maxLength": 255
+ }
+ },
+ "key": {
+ "$ref": "#/definitions/ModuleKeySchema"
+ }
+ },
+ "required": [
+ "schedule",
+ "providedEntities",
+ "key"
+ ],
+ "additionalProperties": false,
+ "not": {
+ "required": [
+ "unlicensedAccess"
+ ]
+ }
+ },
+ "minItems": 1
}
},
"title": "ModuleSchema",
"type": "object"
@@ -26540,9 +26740,9 @@
"title": "Array",
"type": "array"
},
"ExtensionKey": {
- "description": "The key for an extension in CaaS. That means that this is a reference to another\nextension in your descriptor / manifest.\n\nThis key is defined in: https://bitbucket.org/atlassian/connect-service/src/cd7252b/service/cs-apps/api.raml#lines-1094",
+ "description": "The key for an extension in CaaS. That means that this is a reference to another extension in your descriptor / manifest.",
"maxLength": 255,
"minLength": 1,
"pattern": "^[a-zA-Z0-9-._]+$",
"title": "ExtensionKey",