@atlaskit/linking-types
Advanced tools
Comparing version 9.2.0 to 9.3.0
# @atlaskit/linking-types | ||
## 9.3.0 | ||
### Minor Changes | ||
- [#157343](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/157343) | ||
[`64cef773c3dcf`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/64cef773c3dcf) - | ||
EDM-10952 Update AtomicActionInterface with supportingActions | ||
## 9.2.0 | ||
@@ -4,0 +12,0 @@ |
@@ -8,2 +8,6 @@ "use strict"; | ||
// Discovery | ||
/** | ||
* Information received from ORS about the a given input type and the | ||
* actions that can be applied to it. | ||
*/ | ||
// Execution | ||
@@ -10,0 +14,0 @@ var ActionOperationStatus = exports.ActionOperationStatus = /*#__PURE__*/function (ActionOperationStatus) { |
// Discovery | ||
/** | ||
* Information received from ORS about the a given input type and the | ||
* actions that can be applied to it. | ||
*/ | ||
// Execution | ||
@@ -4,0 +9,0 @@ |
// Discovery | ||
/** | ||
* Information received from ORS about the a given input type and the | ||
* actions that can be applied to it. | ||
*/ | ||
// Execution | ||
@@ -4,0 +9,0 @@ |
@@ -22,7 +22,34 @@ interface ActionsDiscoveryInterface { | ||
integrationKey: string; | ||
/** | ||
* To be sent to actions-service to execute an action | ||
* eg: atlassian:work-item:update:summary | ||
*/ | ||
actionKey: string; | ||
/** | ||
* To identify the actionable column in FE. | ||
* Should be the same as the last word in `actionKey`. | ||
*/ | ||
fieldKey: string; | ||
/** | ||
* types the field value can take | ||
*/ | ||
type: 'string' | 'number'; | ||
description?: string; | ||
/** | ||
* The inputs required to execute the action | ||
*/ | ||
inputs?: ActionInputs; | ||
} | ||
type ActionInputs = { | ||
[key: string]: ActionInput; | ||
}; | ||
/** | ||
* Information received from ORS about the a given input type and the | ||
* actions that can be applied to it. | ||
*/ | ||
type ActionInput = { | ||
type: 'string' | 'number'; | ||
description?: string; | ||
fetchAction?: AtomicActionInterface; | ||
}; | ||
export interface ActionsServiceDiscoveryResponse { | ||
@@ -29,0 +56,0 @@ actions: AtomicActionInterface[]; |
@@ -22,7 +22,34 @@ interface ActionsDiscoveryInterface { | ||
integrationKey: string; | ||
/** | ||
* To be sent to actions-service to execute an action | ||
* eg: atlassian:work-item:update:summary | ||
*/ | ||
actionKey: string; | ||
/** | ||
* To identify the actionable column in FE. | ||
* Should be the same as the last word in `actionKey`. | ||
*/ | ||
fieldKey: string; | ||
/** | ||
* types the field value can take | ||
*/ | ||
type: 'string' | 'number'; | ||
description?: string; | ||
/** | ||
* The inputs required to execute the action | ||
*/ | ||
inputs?: ActionInputs; | ||
} | ||
type ActionInputs = { | ||
[key: string]: ActionInput; | ||
}; | ||
/** | ||
* Information received from ORS about the a given input type and the | ||
* actions that can be applied to it. | ||
*/ | ||
type ActionInput = { | ||
type: 'string' | 'number'; | ||
description?: string; | ||
fetchAction?: AtomicActionInterface; | ||
}; | ||
export interface ActionsServiceDiscoveryResponse { | ||
@@ -29,0 +56,0 @@ actions: AtomicActionInterface[]; |
{ | ||
"name": "@atlaskit/linking-types", | ||
"version": "9.2.0", | ||
"version": "9.3.0", | ||
"description": "Schema and Types for frontend and backend parts of linking platform", | ||
@@ -5,0 +5,0 @@ "author": "Atlassian Pty Ltd", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
53162
898
1