@atlaskit/link-client-extension 1.3.0 → 1.4.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 +10 -0
- package/dist/cjs/types.js +5 -0
- package/dist/cjs/version.json +1 -1
- package/dist/es2019/types.js +1 -0
- package/dist/es2019/version.json +1 -1
- package/dist/esm/types.js +1 -0
- package/dist/esm/version.json +1 -1
- package/dist/types/index.d.ts +1 -0
- package/dist/types/types.d.ts +13 -0
- package/dist/types-ts4.5/index.d.ts +1 -0
- package/dist/types-ts4.5/types.d.ts +13 -0
- package/package.json +4 -3
- package/report.api.md +18 -0
- package/tmp/api-report-tmp.d.ts +18 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
# @atlaskit/link-client-extension
|
|
2
2
|
|
|
3
|
+
## 1.4.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [`04295e9d5bc`](https://bitbucket.org/atlassian/atlassian-frontend/commits/04295e9d5bc) - [ux] Updating ORS response to include datasources and facilitating pasting JQL links turning into datasource tables
|
|
8
|
+
|
|
9
|
+
### Patch Changes
|
|
10
|
+
|
|
11
|
+
- Updated dependencies
|
|
12
|
+
|
|
3
13
|
## 1.3.0
|
|
4
14
|
|
|
5
15
|
### Minor Changes
|
package/dist/cjs/version.json
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/dist/es2019/version.json
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/dist/esm/version.json
CHANGED
package/dist/types/index.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
export { useSmartLinkClientExtension } from './services/use-smart-link-client-extension';
|
|
2
2
|
export { useDatasourceClientExtension } from './services/use-data-source-client-extension';
|
|
3
3
|
export { mockDatasourceResponse, mockDatasourceDataResponse, mockDatasourceDataResponseWithSchema, } from './services/use-data-source-client-extension/mocks';
|
|
4
|
+
export type { JsonLdDatasourceResponse, DatasourceResolveResponse, } from './types';
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { JsonLd } from 'json-ld-types';
|
|
2
|
+
import type { DatasourceParameters } from '@atlaskit/linking-types';
|
|
3
|
+
export interface JsonLdDatasourceResponse extends JsonLd.Response {
|
|
4
|
+
datasources?: DatasourceResolveResponse[];
|
|
5
|
+
}
|
|
6
|
+
export type DatasourceResolveResponse = {
|
|
7
|
+
id: string;
|
|
8
|
+
ari?: string;
|
|
9
|
+
key?: string;
|
|
10
|
+
name?: string;
|
|
11
|
+
description?: string;
|
|
12
|
+
parameters: DatasourceParameters;
|
|
13
|
+
};
|
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
export { useSmartLinkClientExtension } from './services/use-smart-link-client-extension';
|
|
2
2
|
export { useDatasourceClientExtension } from './services/use-data-source-client-extension';
|
|
3
3
|
export { mockDatasourceResponse, mockDatasourceDataResponse, mockDatasourceDataResponseWithSchema, } from './services/use-data-source-client-extension/mocks';
|
|
4
|
+
export type { JsonLdDatasourceResponse, DatasourceResolveResponse, } from './types';
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { JsonLd } from 'json-ld-types';
|
|
2
|
+
import type { DatasourceParameters } from '@atlaskit/linking-types';
|
|
3
|
+
export interface JsonLdDatasourceResponse extends JsonLd.Response {
|
|
4
|
+
datasources?: DatasourceResolveResponse[];
|
|
5
|
+
}
|
|
6
|
+
export type DatasourceResolveResponse = {
|
|
7
|
+
id: string;
|
|
8
|
+
ari?: string;
|
|
9
|
+
key?: string;
|
|
10
|
+
name?: string;
|
|
11
|
+
description?: string;
|
|
12
|
+
parameters: DatasourceParameters;
|
|
13
|
+
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/link-client-extension",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.4.0",
|
|
4
4
|
"description": "Extension methods for linking platform client",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -34,9 +34,10 @@
|
|
|
34
34
|
".": "./src/index.ts"
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@atlaskit/linking-common": "^3.
|
|
37
|
+
"@atlaskit/linking-common": "^3.1.0",
|
|
38
38
|
"@atlaskit/linking-types": "^7.0.0",
|
|
39
|
-
"@babel/runtime": "^7.0.0"
|
|
39
|
+
"@babel/runtime": "^7.0.0",
|
|
40
|
+
"json-ld-types": "3.7.0"
|
|
40
41
|
},
|
|
41
42
|
"peerDependencies": {
|
|
42
43
|
"@atlaskit/link-provider": "^1.6.4",
|
package/report.api.md
CHANGED
|
@@ -20,8 +20,26 @@ import type { DatasourceDataRequest } from '@atlaskit/linking-types';
|
|
|
20
20
|
import type { DatasourceDataResponse } from '@atlaskit/linking-types';
|
|
21
21
|
import type { DatasourceDetailsRequest } from '@atlaskit/linking-types';
|
|
22
22
|
import type { DatasourceDetailsResponse } from '@atlaskit/linking-types';
|
|
23
|
+
import type { DatasourceParameters } from '@atlaskit/linking-types';
|
|
23
24
|
import { InvokeRequest } from '@atlaskit/linking-types/smart-link-actions';
|
|
24
25
|
import { InvokeResponse } from '@atlaskit/linking-types/smart-link-actions';
|
|
26
|
+
import { JsonLd } from 'json-ld-types';
|
|
27
|
+
|
|
28
|
+
// @public (undocumented)
|
|
29
|
+
export type DatasourceResolveResponse = {
|
|
30
|
+
id: string;
|
|
31
|
+
ari?: string;
|
|
32
|
+
key?: string;
|
|
33
|
+
name?: string;
|
|
34
|
+
description?: string;
|
|
35
|
+
parameters: DatasourceParameters;
|
|
36
|
+
};
|
|
37
|
+
|
|
38
|
+
// @public (undocumented)
|
|
39
|
+
export interface JsonLdDatasourceResponse extends JsonLd.Response {
|
|
40
|
+
// (undocumented)
|
|
41
|
+
datasources?: DatasourceResolveResponse[];
|
|
42
|
+
}
|
|
25
43
|
|
|
26
44
|
// @public (undocumented)
|
|
27
45
|
export const mockDatasourceDataResponse: DatasourceDataResponse;
|
package/tmp/api-report-tmp.d.ts
CHANGED
|
@@ -9,8 +9,26 @@ import type { DatasourceDataRequest } from '@atlaskit/linking-types';
|
|
|
9
9
|
import type { DatasourceDataResponse } from '@atlaskit/linking-types';
|
|
10
10
|
import type { DatasourceDetailsRequest } from '@atlaskit/linking-types';
|
|
11
11
|
import type { DatasourceDetailsResponse } from '@atlaskit/linking-types';
|
|
12
|
+
import type { DatasourceParameters } from '@atlaskit/linking-types';
|
|
12
13
|
import { InvokeRequest } from '@atlaskit/linking-types/smart-link-actions';
|
|
13
14
|
import { InvokeResponse } from '@atlaskit/linking-types/smart-link-actions';
|
|
15
|
+
import { JsonLd } from 'json-ld-types';
|
|
16
|
+
|
|
17
|
+
// @public (undocumented)
|
|
18
|
+
export type DatasourceResolveResponse = {
|
|
19
|
+
id: string;
|
|
20
|
+
ari?: string;
|
|
21
|
+
key?: string;
|
|
22
|
+
name?: string;
|
|
23
|
+
description?: string;
|
|
24
|
+
parameters: DatasourceParameters;
|
|
25
|
+
};
|
|
26
|
+
|
|
27
|
+
// @public (undocumented)
|
|
28
|
+
export interface JsonLdDatasourceResponse extends JsonLd.Response {
|
|
29
|
+
// (undocumented)
|
|
30
|
+
datasources?: DatasourceResolveResponse[];
|
|
31
|
+
}
|
|
14
32
|
|
|
15
33
|
// @public (undocumented)
|
|
16
34
|
export const mockDatasourceDataResponse: DatasourceDataResponse;
|