npm package diff
Package: @forge/manifest
Versions: 8.1.0-next.4 - 8.1.0-next.5
File: package/out/types/display-condition-types.d.ts
Index: package/out/types/display-condition-types.d.ts
===================================================================
--- package/out/types/display-condition-types.d.ts
+++ package/out/types/display-condition-types.d.ts
@@ -2,29 +2,48 @@
isAdmin?: boolean;
isLoggedIn?: boolean;
isSiteAdmin?: boolean;
};
-declare type Jira = Product & TimeTrackingProviderProperties & {
+declare type Jira = Product & TimeTrackingProviderProperties & EntityPropertyConditionsProperties & {
hasSoftwareAccess?: boolean;
hasServiceDeskAccess?: boolean;
hasServiceManagementAccess?: boolean;
hasCoreAccess?: boolean;
+ hasAppAccess?: boolean;
+ hasGlobalPermission?: string;
+ jiraExpression?: string;
};
interface TimeTrackingProviderEnabled {
key: string;
}
interface TimeTrackingProviderProperties {
jiraTimeTrackingProviderEnabled?: boolean;
timeTrackingProviderEnabled?: 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;
canAdministerJira?: boolean;
canAdministerProjects?: boolean;
canAssignIssues?: boolean;
@@ -55,25 +74,16 @@
canBrowseUsers?: boolean;
canViewDevTools?: boolean;
canViewWatchers?: 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"
}
interface EntityPropertyExists {
entity: EntityType;
propertyKey: string;
@@ -116,10 +126,10 @@
'jira:customField'?: IssueView;
'jira:dashboardGadget'?: Jira;
'jira:adminPage'?: Jira;
'jira:globalPage'?: Jira;
- 'jira:projectPage'?: ProjectPage;
- 'jira:projectSettingsPage'?: ProjectSettingsPage;
+ 'jira:projectPage'?: ProjectView;
+ 'jira:projectSettingsPage'?: ProjectView;
'confluence:contentAction'?: Confluence;
'confluence:contentBylineItem'?: Confluence;
'confluence:contextMenu'?: Confluence;
'confluence:globalPage'?: Confluence;