@atlaskit/link-create 1.2.0 → 1.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +6 -0
- package/dist/cjs/ui/main.js +1 -1
- package/dist/es2019/ui/main.js +1 -1
- package/dist/esm/ui/main.js +1 -1
- package/dist/types/common/types.d.ts +9 -0
- package/dist/types-ts4.5/common/types.d.ts +9 -0
- package/example-helpers/mock-plugin-form.tsx +1 -0
- package/package.json +1 -1
- package/report.api.md +1 -0
- package/tmp/api-report-tmp.d.ts +1 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# @atlaskit/link-create
|
|
2
2
|
|
|
3
|
+
## 1.3.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#41722](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/41722) [`0bcdc0cc988`](https://bitbucket.org/atlassian/atlassian-frontend/commits/0bcdc0cc988) - EDM-8055 Add ARI to link create callback
|
|
8
|
+
|
|
3
9
|
## 1.2.0
|
|
4
10
|
|
|
5
11
|
### Minor Changes
|
package/dist/cjs/ui/main.js
CHANGED
|
@@ -24,7 +24,7 @@ var LinkCreateWithAnalyticsContext = (0, _analytics.withLinkCreateAnalyticsConte
|
|
|
24
24
|
}));
|
|
25
25
|
var PACKAGE_DATA = exports.PACKAGE_DATA = {
|
|
26
26
|
packageName: "@atlaskit/link-create" || '',
|
|
27
|
-
packageVersion: "1.
|
|
27
|
+
packageVersion: "1.3.0" || '',
|
|
28
28
|
componentName: _constants.COMPONENT_NAME,
|
|
29
29
|
source: _constants.COMPONENT_NAME
|
|
30
30
|
};
|
package/dist/es2019/ui/main.js
CHANGED
|
@@ -15,7 +15,7 @@ const LinkCreateWithAnalyticsContext = withLinkCreateAnalyticsContext( /*#__PURE
|
|
|
15
15
|
}));
|
|
16
16
|
export const PACKAGE_DATA = {
|
|
17
17
|
packageName: "@atlaskit/link-create" || '',
|
|
18
|
-
packageVersion: "1.
|
|
18
|
+
packageVersion: "1.3.0" || '',
|
|
19
19
|
componentName: COMPONENT_NAME,
|
|
20
20
|
source: COMPONENT_NAME
|
|
21
21
|
};
|
package/dist/esm/ui/main.js
CHANGED
|
@@ -16,7 +16,7 @@ var LinkCreateWithAnalyticsContext = withLinkCreateAnalyticsContext( /*#__PURE__
|
|
|
16
16
|
}));
|
|
17
17
|
export var PACKAGE_DATA = {
|
|
18
18
|
packageName: "@atlaskit/link-create" || '',
|
|
19
|
-
packageVersion: "1.
|
|
19
|
+
packageVersion: "1.3.0" || '',
|
|
20
20
|
componentName: COMPONENT_NAME,
|
|
21
21
|
source: COMPONENT_NAME
|
|
22
22
|
};
|
|
@@ -48,6 +48,15 @@ export interface LinkCreatePlugin {
|
|
|
48
48
|
export type CreatePayload = {
|
|
49
49
|
/** The url to the resource created by the create plugin */
|
|
50
50
|
url: string;
|
|
51
|
+
/**
|
|
52
|
+
* ARI of the created resource.
|
|
53
|
+
* https://developer.atlassian.com/platform/atlassian-resource-identifier/spec/ari-latest/
|
|
54
|
+
*
|
|
55
|
+
* It should be returned but it's not required to be on the Jira side:
|
|
56
|
+
* https://stash.atlassian.com/projects/JIRACLOUD/repos/jira-frontend/browse/src/packages/issue-create/issue-create-embed/src/ui/index.tsx
|
|
57
|
+
* https://stash.atlassian.com/projects/JIRACLOUD/repos/jira-frontend/pull-requests/103587/overview?commentId=5778323
|
|
58
|
+
*/
|
|
59
|
+
ari: string | undefined;
|
|
51
60
|
/** The object identifier for the resource created by the create plugin (for analytics) */
|
|
52
61
|
objectId: string;
|
|
53
62
|
/** The type of object created (for analytics) */
|
|
@@ -48,6 +48,15 @@ export interface LinkCreatePlugin {
|
|
|
48
48
|
export type CreatePayload = {
|
|
49
49
|
/** The url to the resource created by the create plugin */
|
|
50
50
|
url: string;
|
|
51
|
+
/**
|
|
52
|
+
* ARI of the created resource.
|
|
53
|
+
* https://developer.atlassian.com/platform/atlassian-resource-identifier/spec/ari-latest/
|
|
54
|
+
*
|
|
55
|
+
* It should be returned but it's not required to be on the Jira side:
|
|
56
|
+
* https://stash.atlassian.com/projects/JIRACLOUD/repos/jira-frontend/browse/src/packages/issue-create/issue-create-embed/src/ui/index.tsx
|
|
57
|
+
* https://stash.atlassian.com/projects/JIRACLOUD/repos/jira-frontend/pull-requests/103587/overview?commentId=5778323
|
|
58
|
+
*/
|
|
59
|
+
ari: string | undefined;
|
|
51
60
|
/** The object identifier for the resource created by the create plugin (for analytics) */
|
|
52
61
|
objectId: string;
|
|
53
62
|
/** The type of object created (for analytics) */
|
package/package.json
CHANGED
package/report.api.md
CHANGED