@atlaskit/link-datasource 0.31.0 → 0.31.1

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,11 @@
1
1
  # @atlaskit/link-datasource
2
2
 
3
+ ## 0.31.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [`ac9d6f74970`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ac9d6f74970) - List of Links Assets Modal uses workspaceId instead of cloudId
8
+
3
9
  ## 0.31.0
4
10
 
5
11
  ### Minor Changes
@@ -58,8 +58,7 @@ var AssetsConfigModal = function AssetsConfigModal(props) {
58
58
  return {
59
59
  aql: aql || '',
60
60
  schemaId: schemaId || '',
61
- workspaceId: workspaceId || '',
62
- cloudId: ''
61
+ workspaceId: workspaceId || ''
63
62
  };
64
63
  }, [aql, schemaId, workspaceId]);
65
64
  var isParametersSet = !!(aql && workspaceId && schemaId);
@@ -110,8 +109,7 @@ var AssetsConfigModal = function AssetsConfigModal(props) {
110
109
  datasource: {
111
110
  id: datasourceId,
112
111
  parameters: {
113
- cloudId: '',
114
- // TODO FLY-1278: get actual cloudID
112
+ workspaceId: '',
115
113
  aql: aql,
116
114
  schemaId: schemaId
117
115
  },
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/link-datasource",
3
- "version": "0.31.0",
3
+ "version": "0.31.1",
4
4
  "sideEffects": false
5
5
  }
@@ -39,8 +39,7 @@ export const AssetsConfigModal = props => {
39
39
  const parameters = useMemo(() => ({
40
40
  aql: aql || '',
41
41
  schemaId: schemaId || '',
42
- workspaceId: workspaceId || '',
43
- cloudId: ''
42
+ workspaceId: workspaceId || ''
44
43
  }), [aql, schemaId, workspaceId]);
45
44
  const isParametersSet = !!(aql && workspaceId && schemaId);
46
45
  const {
@@ -90,8 +89,7 @@ export const AssetsConfigModal = props => {
90
89
  datasource: {
91
90
  id: datasourceId,
92
91
  parameters: {
93
- cloudId: '',
94
- // TODO FLY-1278: get actual cloudID
92
+ workspaceId: '',
95
93
  aql: aql,
96
94
  schemaId
97
95
  },
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/link-datasource",
3
- "version": "0.31.0",
3
+ "version": "0.31.1",
4
4
  "sideEffects": false
5
5
  }
@@ -47,8 +47,7 @@ export var AssetsConfigModal = function AssetsConfigModal(props) {
47
47
  return {
48
48
  aql: aql || '',
49
49
  schemaId: schemaId || '',
50
- workspaceId: workspaceId || '',
51
- cloudId: ''
50
+ workspaceId: workspaceId || ''
52
51
  };
53
52
  }, [aql, schemaId, workspaceId]);
54
53
  var isParametersSet = !!(aql && workspaceId && schemaId);
@@ -99,8 +98,7 @@ export var AssetsConfigModal = function AssetsConfigModal(props) {
99
98
  datasource: {
100
99
  id: datasourceId,
101
100
  parameters: {
102
- cloudId: '',
103
- // TODO FLY-1278: get actual cloudID
101
+ workspaceId: '',
104
102
  aql: aql,
105
103
  schemaId: schemaId
106
104
  },
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/link-datasource",
3
- "version": "0.31.0",
3
+ "version": "0.31.1",
4
4
  "sideEffects": false
5
5
  }
@@ -1,8 +1,8 @@
1
1
  import { DatasourceAdf, DatasourceAdfView, InlineCardAdf } from '@atlaskit/linking-common/types';
2
2
  export interface AssetsDatasourceParameters {
3
- cloudId: string;
3
+ workspaceId: string;
4
4
  aql: string;
5
- schemaId?: string;
5
+ schemaId: string;
6
6
  }
7
7
  export interface AssetsDatasourceAdf extends DatasourceAdf {
8
8
  attrs: {
@@ -1,8 +1,8 @@
1
1
  import { DatasourceAdf, DatasourceAdfView, InlineCardAdf } from '@atlaskit/linking-common/types';
2
2
  export interface AssetsDatasourceParameters {
3
- cloudId: string;
3
+ workspaceId: string;
4
4
  aql: string;
5
- schemaId?: string;
5
+ schemaId: string;
6
6
  }
7
7
  export interface AssetsDatasourceAdf extends DatasourceAdf {
8
8
  attrs: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/link-datasource",
3
- "version": "0.31.0",
3
+ "version": "0.31.1",
4
4
  "description": "UI Components to support linking platform dataset feature",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
package/report.api.md CHANGED
@@ -65,9 +65,9 @@ export interface AssetsDatasourceParameters {
65
65
  // (undocumented)
66
66
  aql: string;
67
67
  // (undocumented)
68
- cloudId: string;
68
+ schemaId: string;
69
69
  // (undocumented)
70
- schemaId?: string;
70
+ workspaceId: string;
71
71
  }
72
72
 
73
73
  export { DatasourceAdf };
@@ -51,9 +51,9 @@ export interface AssetsDatasourceParameters {
51
51
  // (undocumented)
52
52
  aql: string;
53
53
  // (undocumented)
54
- cloudId: string;
54
+ schemaId: string;
55
55
  // (undocumented)
56
- schemaId?: string;
56
+ workspaceId: string;
57
57
  }
58
58
 
59
59
  export { DatasourceAdf }