@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 +6 -0
- package/dist/cjs/ui/assets-modal/modal/index.js +2 -4
- package/dist/cjs/version.json +1 -1
- package/dist/es2019/ui/assets-modal/modal/index.js +2 -4
- package/dist/es2019/version.json +1 -1
- package/dist/esm/ui/assets-modal/modal/index.js +2 -4
- package/dist/esm/version.json +1 -1
- package/dist/types/ui/assets-modal/types.d.ts +2 -2
- package/dist/types-ts4.5/ui/assets-modal/types.d.ts +2 -2
- package/package.json +1 -1
- package/report.api.md +2 -2
- package/tmp/api-report-tmp.d.ts +2 -2
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
|
-
|
|
114
|
-
// TODO FLY-1278: get actual cloudID
|
|
112
|
+
workspaceId: '',
|
|
115
113
|
aql: aql,
|
|
116
114
|
schemaId: schemaId
|
|
117
115
|
},
|
package/dist/cjs/version.json
CHANGED
|
@@ -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
|
-
|
|
94
|
-
// TODO FLY-1278: get actual cloudID
|
|
92
|
+
workspaceId: '',
|
|
95
93
|
aql: aql,
|
|
96
94
|
schemaId
|
|
97
95
|
},
|
package/dist/es2019/version.json
CHANGED
|
@@ -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
|
-
|
|
103
|
-
// TODO FLY-1278: get actual cloudID
|
|
101
|
+
workspaceId: '',
|
|
104
102
|
aql: aql,
|
|
105
103
|
schemaId: schemaId
|
|
106
104
|
},
|
package/dist/esm/version.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { DatasourceAdf, DatasourceAdfView, InlineCardAdf } from '@atlaskit/linking-common/types';
|
|
2
2
|
export interface AssetsDatasourceParameters {
|
|
3
|
-
|
|
3
|
+
workspaceId: string;
|
|
4
4
|
aql: string;
|
|
5
|
-
schemaId
|
|
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
|
-
|
|
3
|
+
workspaceId: string;
|
|
4
4
|
aql: string;
|
|
5
|
-
schemaId
|
|
5
|
+
schemaId: string;
|
|
6
6
|
}
|
|
7
7
|
export interface AssetsDatasourceAdf extends DatasourceAdf {
|
|
8
8
|
attrs: {
|
package/package.json
CHANGED
package/report.api.md
CHANGED
package/tmp/api-report-tmp.d.ts
CHANGED