@atlaskit/link-client-extension 1.8.0 → 1.8.2
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 +12 -0
- package/package.json +5 -5
- package/tmp/api-report-tmp.d.ts +0 -61
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @atlaskit/link-client-extension
|
|
2
2
|
|
|
3
|
+
## 1.8.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#68194](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/68194) [`c1d4a8fecc4e`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/c1d4a8fecc4e) - bump json-ld-types to version 3.11.0
|
|
8
|
+
|
|
9
|
+
## 1.8.1
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- Updated dependencies
|
|
14
|
+
|
|
3
15
|
## 1.8.0
|
|
4
16
|
|
|
5
17
|
### Minor Changes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/link-client-extension",
|
|
3
|
-
"version": "1.8.
|
|
3
|
+
"version": "1.8.2",
|
|
4
4
|
"description": "Extension methods for linking platform client",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
"name": "LinkClientExtension"
|
|
16
16
|
}
|
|
17
17
|
},
|
|
18
|
-
"repository": "https://bitbucket.org/atlassian/atlassian-frontend",
|
|
18
|
+
"repository": "https://bitbucket.org/atlassian/atlassian-frontend-mirror",
|
|
19
19
|
"main": "dist/cjs/index.js",
|
|
20
20
|
"module": "dist/esm/index.js",
|
|
21
21
|
"module:es2019": "dist/es2019/index.js",
|
|
@@ -34,10 +34,10 @@
|
|
|
34
34
|
".": "./src/index.ts"
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@atlaskit/linking-common": "^
|
|
38
|
-
"@atlaskit/linking-types": "^8.
|
|
37
|
+
"@atlaskit/linking-common": "^5.3.0",
|
|
38
|
+
"@atlaskit/linking-types": "^8.5.0",
|
|
39
39
|
"@babel/runtime": "^7.0.0",
|
|
40
|
-
"json-ld-types": "^3.
|
|
40
|
+
"json-ld-types": "^3.11.0",
|
|
41
41
|
"lru_map": "^0.4.1"
|
|
42
42
|
},
|
|
43
43
|
"peerDependencies": {
|
package/tmp/api-report-tmp.d.ts
DELETED
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
## API Report File for "@atlaskit/link-client-extension"
|
|
2
|
-
|
|
3
|
-
> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
|
|
4
|
-
|
|
5
|
-
```ts
|
|
6
|
-
|
|
7
|
-
import type { CardClient } from '@atlaskit/link-provider';
|
|
8
|
-
import type { DatasourceDataRequest } from '@atlaskit/linking-types';
|
|
9
|
-
import type { DatasourceDataResponse } from '@atlaskit/linking-types';
|
|
10
|
-
import type { DatasourceDetailsRequest } from '@atlaskit/linking-types';
|
|
11
|
-
import type { DatasourceDetailsResponse } from '@atlaskit/linking-types';
|
|
12
|
-
import type { DatasourceParameters } from '@atlaskit/linking-types';
|
|
13
|
-
import { InvokeRequest } from '@atlaskit/linking-types/smart-link-actions';
|
|
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 const DEFAULT_GET_DATASOURCE_DATA_PAGE_SIZE = 20;
|
|
29
|
-
|
|
30
|
-
// @public (undocumented)
|
|
31
|
-
export interface JsonLdDatasourceResponse extends JsonLd.Response {
|
|
32
|
-
// (undocumented)
|
|
33
|
-
datasources?: DatasourceResolveResponse[];
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
// @public (undocumented)
|
|
37
|
-
export const mockDatasourceDataResponse: DatasourceDataResponse;
|
|
38
|
-
|
|
39
|
-
// @public (undocumented)
|
|
40
|
-
export const mockDatasourceDataResponseWithSchema: DatasourceDataResponse;
|
|
41
|
-
|
|
42
|
-
// @public (undocumented)
|
|
43
|
-
const mockDatasourceDetailsResponse: DatasourceDetailsResponse;
|
|
44
|
-
export { mockDatasourceDetailsResponse }
|
|
45
|
-
export { mockDatasourceDetailsResponse as mockDatasourceResponse }
|
|
46
|
-
|
|
47
|
-
// @public (undocumented)
|
|
48
|
-
export const useDatasourceClientExtension: () => {
|
|
49
|
-
getDatasourceDetails: (datasourceId: string, data: DatasourceDetailsRequest, force?: any) => Promise<DatasourceDetailsResponse>;
|
|
50
|
-
getDatasourceData: (datasourceId: string, data: DatasourceDataRequest, force?: any) => Promise<DatasourceDataResponse>;
|
|
51
|
-
};
|
|
52
|
-
|
|
53
|
-
// @public
|
|
54
|
-
export const useSmartLinkClientExtension: (cardClient: CardClient) => {
|
|
55
|
-
invoke: (data: InvokeRequest) => Promise<InvokeResponse>;
|
|
56
|
-
relatedUrls: <TResponse>(url: string) => Promise<TResponse>;
|
|
57
|
-
};
|
|
58
|
-
|
|
59
|
-
// (No @packageDocumentation comment for this package)
|
|
60
|
-
|
|
61
|
-
```
|