@atlaskit/link-client-extension 1.0.0 → 1.1.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 CHANGED
@@ -1,5 +1,15 @@
1
1
  # @atlaskit/link-client-extension
2
2
 
3
+ ## 1.1.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [`670454dc4a0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/670454dc4a0) - Add totalIssues to mock/types
8
+
9
+ ### Patch Changes
10
+
11
+ - Updated dependencies
12
+
3
13
  ## 1.0.0
4
14
 
5
15
  ### Minor Changes
@@ -5,6 +5,7 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.mockDatasourceResponse = exports.mockDatasourceDataResponse = void 0;
7
7
  var mockDatasourceDataResponse = {
8
+ totalIssues: 1234,
8
9
  data: [{
9
10
  id: 'EDM-12',
10
11
  description: 'Design datasource feature',
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/link-client-extension",
3
- "version": "1.0.0",
3
+ "version": "1.1.0",
4
4
  "sideEffects": false
5
5
  }
@@ -1,4 +1,5 @@
1
1
  export const mockDatasourceDataResponse = {
2
+ totalIssues: 1234,
2
3
  data: [{
3
4
  id: 'EDM-12',
4
5
  description: 'Design datasource feature',
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/link-client-extension",
3
- "version": "1.0.0",
3
+ "version": "1.1.0",
4
4
  "sideEffects": false
5
5
  }
@@ -1,4 +1,5 @@
1
1
  export var mockDatasourceDataResponse = {
2
+ totalIssues: 1234,
2
3
  data: [{
3
4
  id: 'EDM-12',
4
5
  description: 'Design datasource feature',
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/link-client-extension",
3
- "version": "1.0.0",
3
+ "version": "1.1.0",
4
4
  "sideEffects": false
5
5
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/link-client-extension",
3
- "version": "1.0.0",
3
+ "version": "1.1.0",
4
4
  "description": "Extension methods for linking platform client",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -27,7 +27,7 @@
27
27
  },
28
28
  "dependencies": {
29
29
  "@atlaskit/linking-common": "^2.8.0",
30
- "@atlaskit/linking-types": "^1.4.0",
30
+ "@atlaskit/linking-types": "^1.5.0",
31
31
  "@babel/runtime": "^7.0.0"
32
32
  },
33
33
  "peerDependencies": {
@@ -0,0 +1,34 @@
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 { DatasourceParameters } from '@atlaskit/linking-types';
11
+ import type { DatasourceResponse } from '@atlaskit/linking-types';
12
+ import { InvokeRequest } from '@atlaskit/linking-types/smart-link-actions';
13
+ import { InvokeResponse } from '@atlaskit/linking-types/smart-link-actions';
14
+
15
+ // @public (undocumented)
16
+ export const mockDatasourceDataResponse: DatasourceDataResponse;
17
+
18
+ // @public (undocumented)
19
+ export const mockDatasourceResponse: DatasourceResponse;
20
+
21
+ // @public (undocumented)
22
+ export const useDatasourceClientExtension: () => {
23
+ getDatasourceDetails: (datasourceId: string, data: DatasourceParameters) => Promise<DatasourceResponse>;
24
+ getDatasourceData: (datasourceId: string, data: DatasourceDataRequest) => Promise<DatasourceDataResponse>;
25
+ };
26
+
27
+ // @public
28
+ export const useSmartLinkClientExtension: (cardClient: CardClient) => {
29
+ invoke: (data: InvokeRequest) => Promise<InvokeResponse>;
30
+ };
31
+
32
+ // (No @packageDocumentation comment for this package)
33
+
34
+ ```