@atlaskit/link-datasource 0.28.4 → 0.28.5
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/version.json +1 -1
- package/dist/es2019/version.json +1 -1
- package/dist/esm/version.json +1 -1
- package/package.json +3 -3
- package/tmp/api-report-tmp.d.ts +143 -0
package/CHANGELOG.md
CHANGED
package/dist/cjs/version.json
CHANGED
package/dist/es2019/version.json
CHANGED
package/dist/esm/version.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/link-datasource",
|
|
3
|
-
"version": "0.28.
|
|
3
|
+
"version": "0.28.5",
|
|
4
4
|
"description": "UI Components to support linking platform dataset feature",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
"@atlaskit/icon-object": "^6.3.0",
|
|
37
37
|
"@atlaskit/image": "^1.1.0",
|
|
38
38
|
"@atlaskit/link-client-extension": "^1.5.0",
|
|
39
|
-
"@atlaskit/linking-common": "^
|
|
39
|
+
"@atlaskit/linking-common": "^4.0.0",
|
|
40
40
|
"@atlaskit/linking-types": "^8.2.0",
|
|
41
41
|
"@atlaskit/lozenge": "^11.4.0",
|
|
42
42
|
"@atlaskit/modal-dialog": "^12.6.0",
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
"@atlaskit/tag": "^11.5.0",
|
|
51
51
|
"@atlaskit/textfield": "5.6.3",
|
|
52
52
|
"@atlaskit/theme": "^12.5.0",
|
|
53
|
-
"@atlaskit/tokens": "^1.
|
|
53
|
+
"@atlaskit/tokens": "^1.12.0",
|
|
54
54
|
"@atlassianlabs/jql-editor": "^2.0.1",
|
|
55
55
|
"@atlassianlabs/jql-editor-autocomplete-rest": "^1.1.2",
|
|
56
56
|
"@babel/runtime": "^7.0.0",
|
|
@@ -0,0 +1,143 @@
|
|
|
1
|
+
## API Report File for "@atlaskit/link-datasource"
|
|
2
|
+
|
|
3
|
+
> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
|
|
4
|
+
|
|
5
|
+
```ts
|
|
6
|
+
|
|
7
|
+
/// <reference types="react" />
|
|
8
|
+
|
|
9
|
+
import { DatasourceAdf } from '@atlaskit/linking-common/types';
|
|
10
|
+
import { DatasourceAdfTableView } from '@atlaskit/linking-common/types';
|
|
11
|
+
import { DatasourceAdfView } from '@atlaskit/linking-common/types';
|
|
12
|
+
import { InlineCardAdf } from '@atlaskit/linking-common/types';
|
|
13
|
+
|
|
14
|
+
// @public (undocumented)
|
|
15
|
+
export const ASSETS_LIST_OF_LINKS_DATASOURCE_ID = "361d618a-3c04-40ad-9b27-3c8ea6927020";
|
|
16
|
+
|
|
17
|
+
// @public (undocumented)
|
|
18
|
+
interface AssetsConfigModalProps {
|
|
19
|
+
// (undocumented)
|
|
20
|
+
datasourceId: string;
|
|
21
|
+
// (undocumented)
|
|
22
|
+
onCancel: () => void;
|
|
23
|
+
// (undocumented)
|
|
24
|
+
onInsert: (adf: AssetsDatasourceAdf | InlineCardAdf) => void;
|
|
25
|
+
// (undocumented)
|
|
26
|
+
parameters?: AssetsDatasourceParameters;
|
|
27
|
+
// (undocumented)
|
|
28
|
+
visibleColumnKeys?: string[];
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
// @public (undocumented)
|
|
32
|
+
export interface AssetsDatasourceAdf extends DatasourceAdf {
|
|
33
|
+
// (undocumented)
|
|
34
|
+
attrs: {
|
|
35
|
+
url?: string;
|
|
36
|
+
datasource: {
|
|
37
|
+
id: string;
|
|
38
|
+
parameters: AssetsDatasourceParameters;
|
|
39
|
+
views: DatasourceAdfView[];
|
|
40
|
+
};
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
// @public (undocumented)
|
|
45
|
+
export interface AssetsDatasourceParameters {
|
|
46
|
+
// (undocumented)
|
|
47
|
+
aql: string;
|
|
48
|
+
// (undocumented)
|
|
49
|
+
cloudId: string;
|
|
50
|
+
// (undocumented)
|
|
51
|
+
schemaId?: string;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
export { DatasourceAdf }
|
|
55
|
+
|
|
56
|
+
export { DatasourceAdfTableView }
|
|
57
|
+
|
|
58
|
+
export { DatasourceAdfView }
|
|
59
|
+
|
|
60
|
+
// @public (undocumented)
|
|
61
|
+
export const DatasourceTableView: (props: DatasourceTableViewProps) => JSX.Element;
|
|
62
|
+
|
|
63
|
+
// @public (undocumented)
|
|
64
|
+
interface DatasourceTableViewProps {
|
|
65
|
+
// (undocumented)
|
|
66
|
+
datasourceId: string;
|
|
67
|
+
// (undocumented)
|
|
68
|
+
fields?: string[];
|
|
69
|
+
// (undocumented)
|
|
70
|
+
onVisibleColumnKeysChange?: (visibleColumnKeys: string[]) => void;
|
|
71
|
+
// (undocumented)
|
|
72
|
+
parameters: object;
|
|
73
|
+
// (undocumented)
|
|
74
|
+
visibleColumnKeys?: string[];
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
// @public (undocumented)
|
|
78
|
+
export const JIRA_LIST_OF_LINKS_DATASOURCE_ID = "d8b75300-dfda-4519-b6cd-e49abbd50401";
|
|
79
|
+
|
|
80
|
+
// @public (undocumented)
|
|
81
|
+
export type JiraIssueDatasourceParameters = {
|
|
82
|
+
cloudId: string;
|
|
83
|
+
} & JiraIssueDatasourceParametersQuery;
|
|
84
|
+
|
|
85
|
+
// @public (undocumented)
|
|
86
|
+
type JiraIssueDatasourceParametersQuery = XOR<{
|
|
87
|
+
jql: string;
|
|
88
|
+
}, {
|
|
89
|
+
filter: string;
|
|
90
|
+
}>;
|
|
91
|
+
|
|
92
|
+
// @public (undocumented)
|
|
93
|
+
export const JiraIssuesConfigModal: (props: JiraIssuesConfigModalProps) => JSX.Element;
|
|
94
|
+
|
|
95
|
+
// @public (undocumented)
|
|
96
|
+
interface JiraIssuesConfigModalProps {
|
|
97
|
+
// (undocumented)
|
|
98
|
+
datasourceId: string;
|
|
99
|
+
// (undocumented)
|
|
100
|
+
onCancel: () => void;
|
|
101
|
+
// (undocumented)
|
|
102
|
+
onInsert: (adf: InlineCardAdf | JiraIssuesDatasourceAdf) => void;
|
|
103
|
+
// (undocumented)
|
|
104
|
+
parameters?: JiraIssueDatasourceParameters;
|
|
105
|
+
// (undocumented)
|
|
106
|
+
visibleColumnKeys?: string[];
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
// @public (undocumented)
|
|
110
|
+
export interface JiraIssuesDatasourceAdf extends DatasourceAdf {
|
|
111
|
+
// (undocumented)
|
|
112
|
+
attrs: {
|
|
113
|
+
url?: string;
|
|
114
|
+
datasource: {
|
|
115
|
+
id: string;
|
|
116
|
+
parameters: JiraIssueDatasourceParameters;
|
|
117
|
+
views: [
|
|
118
|
+
{
|
|
119
|
+
type: 'table';
|
|
120
|
+
properties?: {
|
|
121
|
+
columns: {
|
|
122
|
+
key: string;
|
|
123
|
+
}[];
|
|
124
|
+
};
|
|
125
|
+
}
|
|
126
|
+
];
|
|
127
|
+
};
|
|
128
|
+
};
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
// @public (undocumented)
|
|
132
|
+
export const JSMAssetsConfigModal: (props: AssetsConfigModalProps) => JSX.Element;
|
|
133
|
+
|
|
134
|
+
// @public (undocumented)
|
|
135
|
+
type XOR<T1, T2> = (T1 & {
|
|
136
|
+
[k in Exclude<keyof T2, keyof T1>]?: never;
|
|
137
|
+
}) | (T2 & {
|
|
138
|
+
[k in Exclude<keyof T1, keyof T2>]?: never;
|
|
139
|
+
});
|
|
140
|
+
|
|
141
|
+
// (No @packageDocumentation comment for this package)
|
|
142
|
+
|
|
143
|
+
```
|