@forge/manifest
13.7.0-next.113.7.0-next.2
out/schema/display-conditions-schema.json~
out/schema/display-conditions-schema.jsonModified+152
Index: package/out/schema/display-conditions-schema.json
===================================================================
--- package/out/schema/display-conditions-schema.json
+++ package/out/schema/display-conditions-schema.json
@@ -240,8 +240,98 @@
],
"type": "object"
},
{
+ "additionalProperties": false,
+ "properties": {
+ "appEdition": {
+ "$ref": "#/definitions/AppEditionType"
+ },
+ "appIsLicensed": {
+ "type": "boolean"
+ },
+ "entityPropertyEqualToContext": {
+ "$ref": "#/definitions/EntityPropertyContext"
+ },
+ "hasAppAccess": {
+ "type": "boolean"
+ },
+ "hasPagePermission": {
+ "$ref": "#/definitions/ConfluenceContentPermission"
+ },
+ "hasSpacePermission": {
+ "$ref": "#/definitions/ConfluenceContentPermission"
+ },
+ "isAdmin": {
+ "type": "boolean"
+ },
+ "isLoggedIn": {
+ "type": "boolean"
+ },
+ "isSiteAdmin": {
+ "type": "boolean"
+ },
+ "isSpaceAdmin": {
+ "type": "boolean"
+ },
+ "permissions": {
+ "$ref": "#/definitions/DisplayConditionsPermissions"
+ },
+ "userIsExternalCollaborator": {
+ "type": "boolean"
+ }
+ },
+ "required": [
+ "entityPropertyEqualToContext"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "appEdition": {
+ "$ref": "#/definitions/AppEditionType"
+ },
+ "appIsLicensed": {
+ "type": "boolean"
+ },
+ "entityPropertyContainsContext": {
+ "$ref": "#/definitions/EntityPropertyContext"
+ },
+ "hasAppAccess": {
+ "type": "boolean"
+ },
+ "hasPagePermission": {
+ "$ref": "#/definitions/ConfluenceContentPermission"
+ },
+ "hasSpacePermission": {
+ "$ref": "#/definitions/ConfluenceContentPermission"
+ },
+ "isAdmin": {
+ "type": "boolean"
+ },
+ "isLoggedIn": {
+ "type": "boolean"
+ },
+ "isSiteAdmin": {
+ "type": "boolean"
+ },
+ "isSpaceAdmin": {
+ "type": "boolean"
+ },
+ "permissions": {
+ "$ref": "#/definitions/DisplayConditionsPermissions"
+ },
+ "userIsExternalCollaborator": {
+ "type": "boolean"
+ }
+ },
+ "required": [
+ "entityPropertyContainsContext"
+ ],
+ "type": "object"
+ },
+ {
"items": {
"$ref": "#/definitions/EntityPropertyCondition"
},
"type": "array"
@@ -379,8 +469,14 @@
"$ref": "#/definitions/EntityPropertyContainsAllItem"
},
{
"$ref": "#/definitions/EntityPropertyContainsAnyUserGroupItem"
+ },
+ {
+ "$ref": "#/definitions/EntityPropertyEqualToContextItem"
+ },
+ {
+ "$ref": "#/definitions/EntityPropertyContainsContextItem"
}
]
},
"EntityPropertyContainsAll": {
@@ -470,11 +566,64 @@
"value"
],
"type": "object"
},
+ "EntityPropertyContainsContextItem": {
+ "additionalProperties": false,
+ "properties": {
+ "entityPropertyContainsContext": {
+ "$ref": "#/definitions/EntityPropertyContext"
+ }
+ },
+ "required": [
+ "entityPropertyContainsContext"
+ ],
+ "type": "object"
+ },
+ "EntityPropertyContext": {
+ "additionalProperties": false,
+ "properties": {
+ "contextParam": {
+ "const": "user.accountId",
+ "type": "string"
+ },
+ "entity": {
+ "enum": [
+ "attachment",
+ "content",
+ "space"
+ ],
+ "type": "string"
+ },
+ "objectName": {
+ "type": "string"
+ },
+ "propertyKey": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "contextParam",
+ "entity",
+ "propertyKey"
+ ],
+ "type": "object"
+ },
"EntityPropertyEqualTo": {
"$ref": "#/definitions/EntityPropertyEqualTo_1"
},
+ "EntityPropertyEqualToContextItem": {
+ "additionalProperties": false,
+ "properties": {
+ "entityPropertyEqualToContext": {
+ "$ref": "#/definitions/EntityPropertyContext"
+ }
+ },
+ "required": [
+ "entityPropertyEqualToContext"
+ ],
+ "type": "object"
+ },
"EntityPropertyEqualToItem": {
"additionalProperties": false,
"properties": {
"entityPropertyEqualTo": {
@@ -1095,8 +1244,11 @@
},
"confluence:pageBanner": {
"$ref": "#/definitions/Confluence"
},
+ "confluence:spacePage": {
+ "$ref": "#/definitions/Confluence"
+ },
"confluence:spaceSettings": {
"$ref": "#/definitions/Confluence"
},
"jira:adminPage": {