@forge/manifest
Advanced tools
Comparing version 8.1.0-next.4 to 8.1.0-next.5
@@ -14,3 +14,3 @@ { | ||
"entityPropertyExists": { | ||
"$ref": "#/definitions/EntityPropertyExists" | ||
"$ref": "#/definitions/EntityPropertyExists_1" | ||
}, | ||
@@ -39,3 +39,3 @@ "isAdmin": { | ||
"entityPropertyEqualTo": { | ||
"$ref": "#/definitions/EntityPropertyEqualTo" | ||
"$ref": "#/definitions/EntityPropertyEqualTo_1" | ||
}, | ||
@@ -64,3 +64,3 @@ "isAdmin": { | ||
"entityPropertyContainsAny": { | ||
"$ref": "#/definitions/EntityPropertyContainsAny" | ||
"$ref": "#/definitions/EntityPropertyContainsAny_1" | ||
}, | ||
@@ -89,3 +89,3 @@ "isAdmin": { | ||
"entityPropertyContainsAll": { | ||
"$ref": "#/definitions/EntityPropertyContainsAll" | ||
"$ref": "#/definitions/EntityPropertyContainsAll_1" | ||
}, | ||
@@ -153,4 +153,19 @@ "isAdmin": { | ||
"EntityPropertyContainsAll": { | ||
"$ref": "#/definitions/EntityPropertyContainsAll_1" | ||
}, | ||
"EntityPropertyContainsAllItem": { | ||
"additionalProperties": false, | ||
"properties": { | ||
"entityPropertyContainsAll": { | ||
"$ref": "#/definitions/EntityPropertyContainsAll_1" | ||
} | ||
}, | ||
"required": [ | ||
"entityPropertyContainsAll" | ||
], | ||
"type": "object" | ||
}, | ||
"EntityPropertyContainsAll_1": { | ||
"additionalProperties": false, | ||
"properties": { | ||
"entity": { | ||
@@ -166,3 +181,3 @@ "$ref": "#/definitions/EntityType" | ||
"value": { | ||
"$ref": "#/definitions/StringOrListOfStrings_1" | ||
"$ref": "#/definitions/StringOrListOfStrings" | ||
} | ||
@@ -177,15 +192,18 @@ }, | ||
}, | ||
"EntityPropertyContainsAllItem": { | ||
"EntityPropertyContainsAny": { | ||
"$ref": "#/definitions/EntityPropertyContainsAny_1" | ||
}, | ||
"EntityPropertyContainsAnyItem": { | ||
"additionalProperties": false, | ||
"properties": { | ||
"entityPropertyContainsAll": { | ||
"$ref": "#/definitions/EntityPropertyContainsAll" | ||
"entityPropertyContainsAny": { | ||
"$ref": "#/definitions/EntityPropertyContainsAny_1" | ||
} | ||
}, | ||
"required": [ | ||
"entityPropertyContainsAll" | ||
"entityPropertyContainsAny" | ||
], | ||
"type": "object" | ||
}, | ||
"EntityPropertyContainsAny": { | ||
"EntityPropertyContainsAny_1": { | ||
"additionalProperties": false, | ||
@@ -203,3 +221,3 @@ "properties": { | ||
"value": { | ||
"$ref": "#/definitions/StringOrListOfStrings_1" | ||
"$ref": "#/definitions/StringOrListOfStrings" | ||
} | ||
@@ -214,15 +232,18 @@ }, | ||
}, | ||
"EntityPropertyContainsAnyItem": { | ||
"EntityPropertyEqualTo": { | ||
"$ref": "#/definitions/EntityPropertyEqualTo_1" | ||
}, | ||
"EntityPropertyEqualToItem": { | ||
"additionalProperties": false, | ||
"properties": { | ||
"entityPropertyContainsAny": { | ||
"$ref": "#/definitions/EntityPropertyContainsAny" | ||
"entityPropertyEqualTo": { | ||
"$ref": "#/definitions/EntityPropertyEqualTo_1" | ||
} | ||
}, | ||
"required": [ | ||
"entityPropertyContainsAny" | ||
"entityPropertyEqualTo" | ||
], | ||
"type": "object" | ||
}, | ||
"EntityPropertyEqualTo": { | ||
"EntityPropertyEqualTo_1": { | ||
"additionalProperties": false, | ||
@@ -250,15 +271,18 @@ "properties": { | ||
}, | ||
"EntityPropertyEqualToItem": { | ||
"EntityPropertyExists": { | ||
"$ref": "#/definitions/EntityPropertyExists_1" | ||
}, | ||
"EntityPropertyExistsItem": { | ||
"additionalProperties": false, | ||
"properties": { | ||
"entityPropertyEqualTo": { | ||
"$ref": "#/definitions/EntityPropertyEqualTo" | ||
"entityPropertyExists": { | ||
"$ref": "#/definitions/EntityPropertyExists_1" | ||
} | ||
}, | ||
"required": [ | ||
"entityPropertyEqualTo" | ||
"entityPropertyExists" | ||
], | ||
"type": "object" | ||
}, | ||
"EntityPropertyExists": { | ||
"EntityPropertyExists_1": { | ||
"additionalProperties": false, | ||
@@ -282,18 +306,11 @@ "properties": { | ||
}, | ||
"EntityPropertyExistsItem": { | ||
"additionalProperties": false, | ||
"properties": { | ||
"entityPropertyExists": { | ||
"$ref": "#/definitions/EntityPropertyExists" | ||
} | ||
}, | ||
"required": [ | ||
"entityPropertyExists" | ||
], | ||
"type": "object" | ||
}, | ||
"EntityType": { | ||
"enum": [ | ||
"space", | ||
"content" | ||
"content", | ||
"issue", | ||
"issueType", | ||
"project", | ||
"app", | ||
"user" | ||
], | ||
@@ -401,5 +418,29 @@ "type": "string" | ||
}, | ||
"entityPropertyContainsAll": { | ||
"$ref": "#/definitions/EntityPropertyContainsAll" | ||
}, | ||
"entityPropertyContainsAny": { | ||
"$ref": "#/definitions/EntityPropertyContainsAny" | ||
}, | ||
"entityPropertyEqualTo": { | ||
"$ref": "#/definitions/EntityPropertyEqualTo" | ||
}, | ||
"entityPropertyExists": { | ||
"$ref": "#/definitions/EntityPropertyExists" | ||
}, | ||
"hasAppAccess": { | ||
"type": "boolean" | ||
}, | ||
"hasCoreAccess": { | ||
"type": "boolean" | ||
}, | ||
"hasGlobalPermission": { | ||
"type": "string" | ||
}, | ||
"hasIssuePermission": { | ||
"type": "string" | ||
}, | ||
"hasProjectPermission": { | ||
"type": "string" | ||
}, | ||
"hasServiceDeskAccess": { | ||
@@ -420,2 +461,8 @@ "type": "boolean" | ||
}, | ||
"isProjectAdmin": { | ||
"type": "boolean" | ||
}, | ||
"isProjectArchived": { | ||
"type": "boolean" | ||
}, | ||
"isSiteAdmin": { | ||
@@ -425,10 +472,13 @@ "type": "boolean" | ||
"issueId": { | ||
"$ref": "#/definitions/StringOrListOfStrings" | ||
"$ref": "#/definitions/StringOrListOfStrings_1" | ||
}, | ||
"issueKey": { | ||
"$ref": "#/definitions/StringOrListOfStrings" | ||
"$ref": "#/definitions/StringOrListOfStrings_1" | ||
}, | ||
"issueType": { | ||
"$ref": "#/definitions/StringOrListOfStrings" | ||
"$ref": "#/definitions/StringOrListOfStrings_1" | ||
}, | ||
"jiraExpression": { | ||
"type": "string" | ||
}, | ||
"jiraTimeTrackingProviderEnabled": { | ||
@@ -438,9 +488,12 @@ "type": "boolean" | ||
"projectId": { | ||
"$ref": "#/definitions/StringOrListOfStrings" | ||
"$ref": "#/definitions/StringOrListOfStrings_1" | ||
}, | ||
"projectKey": { | ||
"$ref": "#/definitions/StringOrListOfStrings" | ||
"$ref": "#/definitions/StringOrListOfStrings_1" | ||
}, | ||
"projectName": { | ||
"$ref": "#/definitions/StringOrListOfStrings_1" | ||
}, | ||
"projectType": { | ||
"$ref": "#/definitions/StringOrListOfStrings" | ||
"$ref": "#/definitions/StringOrListOfStrings_1" | ||
}, | ||
@@ -459,5 +512,23 @@ "timeTrackingProviderEnabled": { | ||
"properties": { | ||
"entityPropertyContainsAll": { | ||
"$ref": "#/definitions/EntityPropertyContainsAll" | ||
}, | ||
"entityPropertyContainsAny": { | ||
"$ref": "#/definitions/EntityPropertyContainsAny" | ||
}, | ||
"entityPropertyEqualTo": { | ||
"$ref": "#/definitions/EntityPropertyEqualTo" | ||
}, | ||
"entityPropertyExists": { | ||
"$ref": "#/definitions/EntityPropertyExists" | ||
}, | ||
"hasAppAccess": { | ||
"type": "boolean" | ||
}, | ||
"hasCoreAccess": { | ||
"type": "boolean" | ||
}, | ||
"hasGlobalPermission": { | ||
"type": "string" | ||
}, | ||
"hasServiceDeskAccess": { | ||
@@ -481,2 +552,5 @@ "type": "boolean" | ||
}, | ||
"jiraExpression": { | ||
"type": "string" | ||
}, | ||
"jiraTimeTrackingProviderEnabled": { | ||
@@ -491,65 +565,125 @@ "type": "boolean" | ||
}, | ||
"ProjectPage": { | ||
"$ref": "#/definitions/ProjectPage_1" | ||
"ProjectView": { | ||
"$ref": "#/definitions/ProjectView_1" | ||
}, | ||
"ProjectPage_1": { | ||
"ProjectView_1": { | ||
"additionalProperties": false, | ||
"properties": { | ||
"hasCoreAccess": { | ||
"canAddComments": { | ||
"type": "boolean" | ||
}, | ||
"hasServiceDeskAccess": { | ||
"canAdministerJira": { | ||
"type": "boolean" | ||
}, | ||
"hasServiceManagementAccess": { | ||
"canAdministerProjects": { | ||
"type": "boolean" | ||
}, | ||
"hasSoftwareAccess": { | ||
"canAssignIssues": { | ||
"type": "boolean" | ||
}, | ||
"isAdmin": { | ||
"canBeAssignedToIssues": { | ||
"type": "boolean" | ||
}, | ||
"isLoggedIn": { | ||
"canBrowseUsers": { | ||
"type": "boolean" | ||
}, | ||
"isProjectAdmin": { | ||
"canCloneIssues": { | ||
"type": "boolean" | ||
}, | ||
"isProjectArchived": { | ||
"canCreateAttachments": { | ||
"type": "boolean" | ||
}, | ||
"isSiteAdmin": { | ||
"canCreateChildren": { | ||
"type": "boolean" | ||
}, | ||
"jiraTimeTrackingProviderEnabled": { | ||
"canCreateSubtasks": { | ||
"type": "boolean" | ||
}, | ||
"projectId": { | ||
"$ref": "#/definitions/StringOrListOfStrings" | ||
"canDeleteAllAttachments": { | ||
"type": "boolean" | ||
}, | ||
"projectKey": { | ||
"$ref": "#/definitions/StringOrListOfStrings" | ||
"canDeleteAllComments": { | ||
"type": "boolean" | ||
}, | ||
"projectName": { | ||
"$ref": "#/definitions/StringOrListOfStrings" | ||
"canDeleteAllWorklogs": { | ||
"type": "boolean" | ||
}, | ||
"projectType": { | ||
"$ref": "#/definitions/StringOrListOfStrings" | ||
"canDeleteIssues": { | ||
"type": "boolean" | ||
}, | ||
"timeTrackingProviderEnabled": { | ||
"$ref": "#/definitions/TimeTrackingProviderEnabled" | ||
} | ||
}, | ||
"type": "object" | ||
}, | ||
"ProjectSettingsPage": { | ||
"$ref": "#/definitions/ProjectSettingsPage_1" | ||
}, | ||
"ProjectSettingsPage_1": { | ||
"additionalProperties": false, | ||
"properties": { | ||
"canDeleteOwnAttachments": { | ||
"type": "boolean" | ||
}, | ||
"canDeleteOwnComments": { | ||
"type": "boolean" | ||
}, | ||
"canDeleteOwnWorklogs": { | ||
"type": "boolean" | ||
}, | ||
"canEditAllComments": { | ||
"type": "boolean" | ||
}, | ||
"canEditAllWorklogs": { | ||
"type": "boolean" | ||
}, | ||
"canEditIssues": { | ||
"type": "boolean" | ||
}, | ||
"canEditOwnComments": { | ||
"type": "boolean" | ||
}, | ||
"canEditOwnWorklogs": { | ||
"type": "boolean" | ||
}, | ||
"canLinkIssues": { | ||
"type": "boolean" | ||
}, | ||
"canLogWork": { | ||
"type": "boolean" | ||
}, | ||
"canManageWatchers": { | ||
"type": "boolean" | ||
}, | ||
"canModifyReporters": { | ||
"type": "boolean" | ||
}, | ||
"canMoveIssues": { | ||
"type": "boolean" | ||
}, | ||
"canScheduleIssues": { | ||
"type": "boolean" | ||
}, | ||
"canUseServiceManagementAgentFeatures": { | ||
"type": "boolean" | ||
}, | ||
"canViewDevTools": { | ||
"type": "boolean" | ||
}, | ||
"canViewWatchers": { | ||
"type": "boolean" | ||
}, | ||
"entityPropertyContainsAll": { | ||
"$ref": "#/definitions/EntityPropertyContainsAll" | ||
}, | ||
"entityPropertyContainsAny": { | ||
"$ref": "#/definitions/EntityPropertyContainsAny" | ||
}, | ||
"entityPropertyEqualTo": { | ||
"$ref": "#/definitions/EntityPropertyEqualTo" | ||
}, | ||
"entityPropertyExists": { | ||
"$ref": "#/definitions/EntityPropertyExists" | ||
}, | ||
"hasAppAccess": { | ||
"type": "boolean" | ||
}, | ||
"hasCoreAccess": { | ||
"type": "boolean" | ||
}, | ||
"hasGlobalPermission": { | ||
"type": "string" | ||
}, | ||
"hasProjectPermission": { | ||
"type": "string" | ||
}, | ||
"hasServiceDeskAccess": { | ||
@@ -570,5 +704,14 @@ "type": "boolean" | ||
}, | ||
"isProjectAdmin": { | ||
"type": "boolean" | ||
}, | ||
"isProjectArchived": { | ||
"type": "boolean" | ||
}, | ||
"isSiteAdmin": { | ||
"type": "boolean" | ||
}, | ||
"jiraExpression": { | ||
"type": "string" | ||
}, | ||
"jiraTimeTrackingProviderEnabled": { | ||
@@ -578,12 +721,12 @@ "type": "boolean" | ||
"projectId": { | ||
"$ref": "#/definitions/StringOrListOfStrings" | ||
"$ref": "#/definitions/StringOrListOfStrings_1" | ||
}, | ||
"projectKey": { | ||
"$ref": "#/definitions/StringOrListOfStrings" | ||
"$ref": "#/definitions/StringOrListOfStrings_1" | ||
}, | ||
"projectName": { | ||
"$ref": "#/definitions/StringOrListOfStrings" | ||
"$ref": "#/definitions/StringOrListOfStrings_1" | ||
}, | ||
"projectType": { | ||
"$ref": "#/definitions/StringOrListOfStrings" | ||
"$ref": "#/definitions/StringOrListOfStrings_1" | ||
}, | ||
@@ -688,6 +831,6 @@ "timeTrackingProviderEnabled": { | ||
"jira:projectPage": { | ||
"$ref": "#/definitions/ProjectPage" | ||
"$ref": "#/definitions/ProjectView" | ||
}, | ||
"jira:projectSettingsPage": { | ||
"$ref": "#/definitions/ProjectSettingsPage" | ||
"$ref": "#/definitions/ProjectView" | ||
} | ||
@@ -694,0 +837,0 @@ }, |
@@ -6,3 +6,3 @@ declare type Product = { | ||
}; | ||
declare type Jira = Product & TimeTrackingProviderProperties & { | ||
declare type Jira = Product & TimeTrackingProviderProperties & EntityPropertyConditionsProperties & { | ||
hasSoftwareAccess?: boolean; | ||
@@ -12,2 +12,5 @@ hasServiceDeskAccess?: boolean; | ||
hasCoreAccess?: boolean; | ||
hasAppAccess?: boolean; | ||
hasGlobalPermission?: string; | ||
jiraExpression?: string; | ||
}; | ||
@@ -21,10 +24,26 @@ interface TimeTrackingProviderEnabled { | ||
} | ||
interface EntityPropertyConditionsProperties { | ||
entityPropertyExists?: EntityPropertyExists; | ||
entityPropertyEqualTo?: EntityPropertyEqualTo; | ||
entityPropertyContainsAny?: EntityPropertyContainsAny; | ||
entityPropertyContainsAll?: EntityPropertyContainsAll; | ||
} | ||
declare type StringOrListOfStrings = string | string[]; | ||
declare type IssueView = Jira & { | ||
declare type IssueView = Jira & ProjectPermissionProperties & ProjectProperties & { | ||
issueKey?: StringOrListOfStrings; | ||
issueId?: StringOrListOfStrings; | ||
issueType?: StringOrListOfStrings; | ||
hasIssuePermission?: string; | ||
}; | ||
declare type ProjectView = Jira & ProjectPermissionProperties & ProjectProperties; | ||
declare type ProjectProperties = { | ||
projectKey?: StringOrListOfStrings; | ||
projectId?: StringOrListOfStrings; | ||
projectType?: StringOrListOfStrings; | ||
projectName?: StringOrListOfStrings; | ||
isProjectAdmin?: boolean; | ||
isProjectArchived?: boolean; | ||
}; | ||
declare type ProjectPermissionProperties = { | ||
hasProjectPermission?: string; | ||
canAddComments?: boolean; | ||
@@ -62,19 +81,10 @@ canAdministerJira?: boolean; | ||
}; | ||
declare type ProjectPage = Jira & { | ||
projectKey?: StringOrListOfStrings; | ||
projectId?: StringOrListOfStrings; | ||
projectType?: StringOrListOfStrings; | ||
projectName?: StringOrListOfStrings; | ||
isProjectAdmin?: boolean; | ||
isProjectArchived?: boolean; | ||
}; | ||
declare type ProjectSettingsPage = Jira & { | ||
projectKey?: StringOrListOfStrings; | ||
projectId?: StringOrListOfStrings; | ||
projectType?: StringOrListOfStrings; | ||
projectName?: StringOrListOfStrings; | ||
}; | ||
declare enum EntityType { | ||
Space = "space", | ||
Content = "content" | ||
Content = "content", | ||
Issue = "issue", | ||
IssueType = "issueType", | ||
Project = "project", | ||
App = "app", | ||
User = "user" | ||
} | ||
@@ -124,4 +134,4 @@ interface EntityPropertyExists { | ||
'jira:globalPage'?: Jira; | ||
'jira:projectPage'?: ProjectPage; | ||
'jira:projectSettingsPage'?: ProjectSettingsPage; | ||
'jira:projectPage'?: ProjectView; | ||
'jira:projectSettingsPage'?: ProjectView; | ||
'confluence:contentAction'?: Confluence; | ||
@@ -128,0 +138,0 @@ 'confluence:contentBylineItem'?: Confluence; |
@@ -7,2 +7,7 @@ "use strict"; | ||
EntityType["Content"] = "content"; | ||
EntityType["Issue"] = "issue"; | ||
EntityType["IssueType"] = "issueType"; | ||
EntityType["Project"] = "project"; | ||
EntityType["App"] = "app"; | ||
EntityType["User"] = "user"; | ||
})(EntityType || (EntityType = {})); |
{ | ||
"name": "@forge/manifest", | ||
"version": "8.1.0-next.4", | ||
"version": "8.1.0-next.5", | ||
"description": "Definitions and validations of the Forge manifest", | ||
@@ -5,0 +5,0 @@ "main": "out/index.js", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
3417476
97498
25
3
8990
4
205