@atlaskit/link-datasource 4.20.0 → 4.20.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 +8 -0
- package/dist/cjs/i18n/en.js +1 -0
- package/dist/cjs/i18n/en_GB.js +1 -0
- package/dist/cjs/i18n/en_ZZ.js +1 -0
- package/dist/es2019/i18n/en.js +1 -0
- package/dist/es2019/i18n/en_GB.js +1 -0
- package/dist/es2019/i18n/en_ZZ.js +1 -0
- package/dist/esm/i18n/en.js +1 -0
- package/dist/esm/i18n/en_GB.js +1 -0
- package/dist/esm/i18n/en_ZZ.js +1 -0
- package/dist/types/analytics/ufoExperiences/hooks/useDataRenderedUfoExperience.d.ts +3 -3
- package/dist/types/analytics/ufoExperiences/types.d.ts +3 -3
- package/dist/types/common/types.d.ts +11 -11
- package/dist/types/common/ui/common/render-svg.d.ts +2 -2
- package/dist/types/hooks/useAssetsClient.d.ts +3 -3
- package/dist/types/hooks/useDatasourceTableFlag.d.ts +1 -1
- package/dist/types/hooks/useDatasourceTableState.d.ts +21 -21
- package/dist/types/hooks/useLoadOptions.d.ts +2 -2
- package/dist/types/hooks/useObjectSchemas.d.ts +3 -3
- package/dist/types/hooks/useValidateAqlText.d.ts +2 -2
- package/dist/types/i18n/en.d.ts +1 -0
- package/dist/types/i18n/en_GB.d.ts +1 -0
- package/dist/types/i18n/en_ZZ.d.ts +1 -0
- package/dist/types/services/useBasicFilterAGG.d.ts +1 -1
- package/dist/types/state/index.d.ts +1 -1
- package/dist/types/types/assets/types.d.ts +4 -4
- package/dist/types/ui/assets-modal/modal/render-assets-content/index.d.ts +10 -10
- package/dist/types/ui/assets-modal/search-container/aql-search-input/index.d.ts +2 -2
- package/dist/types/ui/assets-modal/search-container/index.d.ts +4 -4
- package/dist/types/ui/assets-modal/search-container/object-schema-select/index.d.ts +3 -3
- package/dist/types/ui/assets-modal/types.d.ts +1 -1
- package/dist/types/ui/common/error-state/no-instances.d.ts +1 -1
- package/dist/types/ui/common/error-state/provider-auth-required.d.ts +3 -3
- package/dist/types/ui/common/initial-state-view/index.d.ts +3 -3
- package/dist/types/ui/common/modal/basic-search-input/index.d.ts +2 -2
- package/dist/types/ui/common/modal/datasource-context/index.d.ts +4 -4
- package/dist/types/ui/common/modal/datasource-modal/createDatasourceModal.d.ts +2 -2
- package/dist/types/ui/common/modal/datasources-table-in-modal-preview/use-column-visibility/index.d.ts +2 -2
- package/dist/types/ui/common/modal/insert-button/index.d.ts +1 -1
- package/dist/types/ui/common/modal/mode-switcher/index.d.ts +3 -3
- package/dist/types/ui/common/modal/mode-switcher/useViewModeContext.d.ts +3 -3
- package/dist/types/ui/common/modal/popup-select/footer.d.ts +1 -1
- package/dist/types/ui/common/modal/popup-select/index.d.ts +10 -10
- package/dist/types/ui/common/modal/popup-select/menu-list/errorMessage.d.ts +1 -1
- package/dist/types/ui/common/modal/popup-select/menu-list/index.d.ts +5 -5
- package/dist/types/ui/common/modal/popup-select/menu-list/selectMessage.d.ts +1 -1
- package/dist/types/ui/common/modal/popup-select/menu-list/showMoreButton.d.ts +2 -2
- package/dist/types/ui/common/modal/popup-select/trigger.d.ts +4 -4
- package/dist/types/ui/common/modal/popup-select/types.d.ts +7 -7
- package/dist/types/ui/common/modal/search-count/index.d.ts +2 -2
- package/dist/types/ui/common/modal/site-selector/index.d.ts +1 -1
- package/dist/types/ui/confluence-search-modal/basic-filters/filters/date-range-picker/index.d.ts +1 -1
- package/dist/types/ui/confluence-search-modal/basic-filters/filters/date-range-picker/trigger.d.ts +2 -2
- package/dist/types/ui/confluence-search-modal/basic-filters/filters/edited-or-created-by/index.d.ts +1 -1
- package/dist/types/ui/confluence-search-modal/basic-filters/hooks/useBasicFilterHydration.d.ts +1 -1
- package/dist/types/ui/confluence-search-modal/basic-filters/hooks/useCurrentUserInfo.d.ts +1 -1
- package/dist/types/ui/confluence-search-modal/basic-filters/hooks/useRecommendation.d.ts +3 -3
- package/dist/types/ui/confluence-search-modal/basic-filters/index.d.ts +2 -2
- package/dist/types/ui/confluence-search-modal/confluence-search-container/index.d.ts +1 -1
- package/dist/types/ui/confluence-search-modal/types.d.ts +7 -7
- package/dist/types/ui/datasource-table-view/datasourceTableView.d.ts +2 -2
- package/dist/types/ui/issue-like-table/column-picker/types.d.ts +2 -2
- package/dist/types/ui/issue-like-table/drag-column-preview.d.ts +1 -1
- package/dist/types/ui/issue-like-table/draggable-table-heading.d.ts +5 -5
- package/dist/types/ui/issue-like-table/edit-type/icon/index.d.ts +1 -1
- package/dist/types/ui/issue-like-table/edit-type/index.d.ts +2 -2
- package/dist/types/ui/issue-like-table/edit-type/status/index.d.ts +1 -1
- package/dist/types/ui/issue-like-table/edit-type/user/index.d.ts +1 -1
- package/dist/types/ui/issue-like-table/render-type/date-time/index.d.ts +1 -1
- package/dist/types/ui/issue-like-table/render-type/number/index.d.ts +1 -1
- package/dist/types/ui/issue-like-table/render-type/user/index.d.ts +1 -1
- package/dist/types/ui/issue-like-table/shared-components/icon/index.d.ts +4 -4
- package/dist/types/ui/issue-like-table/table-cell-content/index.d.ts +1 -1
- package/dist/types/ui/issue-like-table/table-cell-content/inline-edit.d.ts +1 -1
- package/dist/types/ui/issue-like-table/types.d.ts +29 -29
- package/dist/types/ui/jira-issues-modal/basic-filters/hooks/useFilterOptions.d.ts +4 -4
- package/dist/types/ui/jira-issues-modal/basic-filters/hooks/useHydrateJqlQuery.d.ts +1 -1
- package/dist/types/ui/jira-issues-modal/basic-filters/types.d.ts +8 -8
- package/dist/types/ui/jira-issues-modal/basic-filters/ui/async-popup-select/index.d.ts +2 -2
- package/dist/types/ui/jira-issues-modal/basic-filters/ui/index.d.ts +3 -3
- package/dist/types/ui/jira-issues-modal/jira-search-container/buildJQL.d.ts +2 -2
- package/dist/types/ui/jira-issues-modal/jira-search-container/index.d.ts +2 -2
- package/dist/types/ui/table-footer/index.d.ts +1 -1
- package/dist/types-ts4.5/analytics/ufoExperiences/hooks/useDataRenderedUfoExperience.d.ts +3 -3
- package/dist/types-ts4.5/analytics/ufoExperiences/types.d.ts +3 -3
- package/dist/types-ts4.5/common/types.d.ts +11 -11
- package/dist/types-ts4.5/common/ui/common/render-svg.d.ts +2 -2
- package/dist/types-ts4.5/hooks/useAssetsClient.d.ts +3 -3
- package/dist/types-ts4.5/hooks/useDatasourceTableFlag.d.ts +1 -1
- package/dist/types-ts4.5/hooks/useDatasourceTableState.d.ts +21 -21
- package/dist/types-ts4.5/hooks/useLoadOptions.d.ts +2 -2
- package/dist/types-ts4.5/hooks/useObjectSchemas.d.ts +3 -3
- package/dist/types-ts4.5/hooks/useValidateAqlText.d.ts +2 -2
- package/dist/types-ts4.5/i18n/en.d.ts +1 -0
- package/dist/types-ts4.5/i18n/en_GB.d.ts +1 -0
- package/dist/types-ts4.5/i18n/en_ZZ.d.ts +1 -0
- package/dist/types-ts4.5/services/useBasicFilterAGG.d.ts +1 -1
- package/dist/types-ts4.5/state/index.d.ts +1 -1
- package/dist/types-ts4.5/types/assets/types.d.ts +4 -4
- package/dist/types-ts4.5/ui/assets-modal/modal/render-assets-content/index.d.ts +10 -10
- package/dist/types-ts4.5/ui/assets-modal/search-container/aql-search-input/index.d.ts +2 -2
- package/dist/types-ts4.5/ui/assets-modal/search-container/index.d.ts +4 -4
- package/dist/types-ts4.5/ui/assets-modal/search-container/object-schema-select/index.d.ts +3 -3
- package/dist/types-ts4.5/ui/assets-modal/types.d.ts +1 -1
- package/dist/types-ts4.5/ui/common/error-state/no-instances.d.ts +1 -1
- package/dist/types-ts4.5/ui/common/error-state/provider-auth-required.d.ts +3 -3
- package/dist/types-ts4.5/ui/common/initial-state-view/index.d.ts +3 -3
- package/dist/types-ts4.5/ui/common/modal/basic-search-input/index.d.ts +2 -2
- package/dist/types-ts4.5/ui/common/modal/datasource-context/index.d.ts +4 -4
- package/dist/types-ts4.5/ui/common/modal/datasource-modal/createDatasourceModal.d.ts +2 -2
- package/dist/types-ts4.5/ui/common/modal/datasources-table-in-modal-preview/use-column-visibility/index.d.ts +2 -2
- package/dist/types-ts4.5/ui/common/modal/insert-button/index.d.ts +1 -1
- package/dist/types-ts4.5/ui/common/modal/mode-switcher/index.d.ts +3 -3
- package/dist/types-ts4.5/ui/common/modal/mode-switcher/useViewModeContext.d.ts +3 -3
- package/dist/types-ts4.5/ui/common/modal/popup-select/footer.d.ts +1 -1
- package/dist/types-ts4.5/ui/common/modal/popup-select/index.d.ts +10 -10
- package/dist/types-ts4.5/ui/common/modal/popup-select/menu-list/errorMessage.d.ts +1 -1
- package/dist/types-ts4.5/ui/common/modal/popup-select/menu-list/index.d.ts +5 -5
- package/dist/types-ts4.5/ui/common/modal/popup-select/menu-list/selectMessage.d.ts +1 -1
- package/dist/types-ts4.5/ui/common/modal/popup-select/menu-list/showMoreButton.d.ts +2 -2
- package/dist/types-ts4.5/ui/common/modal/popup-select/trigger.d.ts +4 -4
- package/dist/types-ts4.5/ui/common/modal/popup-select/types.d.ts +7 -7
- package/dist/types-ts4.5/ui/common/modal/search-count/index.d.ts +2 -2
- package/dist/types-ts4.5/ui/common/modal/site-selector/index.d.ts +1 -1
- package/dist/types-ts4.5/ui/confluence-search-modal/basic-filters/filters/date-range-picker/index.d.ts +1 -1
- package/dist/types-ts4.5/ui/confluence-search-modal/basic-filters/filters/date-range-picker/trigger.d.ts +2 -2
- package/dist/types-ts4.5/ui/confluence-search-modal/basic-filters/filters/edited-or-created-by/index.d.ts +1 -1
- package/dist/types-ts4.5/ui/confluence-search-modal/basic-filters/hooks/useBasicFilterHydration.d.ts +1 -1
- package/dist/types-ts4.5/ui/confluence-search-modal/basic-filters/hooks/useCurrentUserInfo.d.ts +1 -1
- package/dist/types-ts4.5/ui/confluence-search-modal/basic-filters/hooks/useRecommendation.d.ts +3 -3
- package/dist/types-ts4.5/ui/confluence-search-modal/basic-filters/index.d.ts +2 -2
- package/dist/types-ts4.5/ui/confluence-search-modal/confluence-search-container/index.d.ts +1 -1
- package/dist/types-ts4.5/ui/confluence-search-modal/types.d.ts +7 -7
- package/dist/types-ts4.5/ui/datasource-table-view/datasourceTableView.d.ts +2 -2
- package/dist/types-ts4.5/ui/issue-like-table/column-picker/types.d.ts +2 -2
- package/dist/types-ts4.5/ui/issue-like-table/drag-column-preview.d.ts +1 -1
- package/dist/types-ts4.5/ui/issue-like-table/draggable-table-heading.d.ts +5 -5
- package/dist/types-ts4.5/ui/issue-like-table/edit-type/icon/index.d.ts +1 -1
- package/dist/types-ts4.5/ui/issue-like-table/edit-type/index.d.ts +2 -2
- package/dist/types-ts4.5/ui/issue-like-table/edit-type/status/index.d.ts +1 -1
- package/dist/types-ts4.5/ui/issue-like-table/edit-type/user/index.d.ts +1 -1
- package/dist/types-ts4.5/ui/issue-like-table/render-type/date-time/index.d.ts +1 -1
- package/dist/types-ts4.5/ui/issue-like-table/render-type/number/index.d.ts +1 -1
- package/dist/types-ts4.5/ui/issue-like-table/render-type/user/index.d.ts +1 -1
- package/dist/types-ts4.5/ui/issue-like-table/shared-components/icon/index.d.ts +4 -4
- package/dist/types-ts4.5/ui/issue-like-table/table-cell-content/index.d.ts +1 -1
- package/dist/types-ts4.5/ui/issue-like-table/table-cell-content/inline-edit.d.ts +1 -1
- package/dist/types-ts4.5/ui/issue-like-table/types.d.ts +29 -29
- package/dist/types-ts4.5/ui/jira-issues-modal/basic-filters/hooks/useFilterOptions.d.ts +4 -4
- package/dist/types-ts4.5/ui/jira-issues-modal/basic-filters/hooks/useHydrateJqlQuery.d.ts +1 -1
- package/dist/types-ts4.5/ui/jira-issues-modal/basic-filters/types.d.ts +8 -8
- package/dist/types-ts4.5/ui/jira-issues-modal/basic-filters/ui/async-popup-select/index.d.ts +2 -2
- package/dist/types-ts4.5/ui/jira-issues-modal/basic-filters/ui/index.d.ts +3 -3
- package/dist/types-ts4.5/ui/jira-issues-modal/jira-search-container/buildJQL.d.ts +2 -2
- package/dist/types-ts4.5/ui/jira-issues-modal/jira-search-container/index.d.ts +2 -2
- package/dist/types-ts4.5/ui/table-footer/index.d.ts +1 -1
- package/examples-helpers/buildAssetsIssuesTable.tsx +2 -2
- package/examples-helpers/buildConfluenceSearchTable.tsx +1 -1
- package/examples-helpers/buildIssueLikeTable.tsx +4 -4
- package/examples-helpers/buildJiraIssuesTable.tsx +2 -2
- package/package.json +5 -6
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# @atlaskit/link-datasource
|
|
2
2
|
|
|
3
|
+
## 4.20.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`1b7d48c39ae03`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/1b7d48c39ae03) -
|
|
8
|
+
Sorted type and interface props to improve Atlaskit docs
|
|
9
|
+
- Updated dependencies
|
|
10
|
+
|
|
3
11
|
## 4.20.0
|
|
4
12
|
|
|
5
13
|
### Minor Changes
|
package/dist/cjs/i18n/en.js
CHANGED
|
@@ -87,6 +87,7 @@ var _default = exports.default = {
|
|
|
87
87
|
'linkDataSource.confluence-search.no.confluence.sites.access.title': "You don't have access to any Confluence sites",
|
|
88
88
|
'linkDataSource.datasource.table.authConnectButtonText': 'Connect',
|
|
89
89
|
'linkDataSource.datasource.table.authScreenDescriptionText': 'Connect your {providerName} account to collaborate on work across Atlassian products.',
|
|
90
|
+
'linkDataSource.datasource.table.authScreenDescriptionText-appify': 'Connect your {providerName} account to collaborate on work across Atlassian apps.',
|
|
90
91
|
'linkDataSource.datasource.table.authScreenHeaderText': 'Connect your {providerName} account',
|
|
91
92
|
'linkDataSource.datasource.table.learnMoreAboutSmartLinks': 'Learn more about Smart Links.',
|
|
92
93
|
'linkDataSource.issue-line-table.edit-button-label.non-final': '{fieldValue}, {fieldName} field',
|
package/dist/cjs/i18n/en_GB.js
CHANGED
|
@@ -87,6 +87,7 @@ var _default = exports.default = {
|
|
|
87
87
|
'linkDataSource.confluence-search.no.confluence.sites.access.title': "You don't have access to any Confluence sites",
|
|
88
88
|
'linkDataSource.datasource.table.authConnectButtonText': 'Connect',
|
|
89
89
|
'linkDataSource.datasource.table.authScreenDescriptionText': 'Connect your {providerName} account to collaborate on work across Atlassian products.',
|
|
90
|
+
'linkDataSource.datasource.table.authScreenDescriptionText-appify': 'Connect your {providerName} account to collaborate on work across Atlassian apps.',
|
|
90
91
|
'linkDataSource.datasource.table.authScreenHeaderText': 'Connect your {providerName} account',
|
|
91
92
|
'linkDataSource.datasource.table.learnMoreAboutSmartLinks': 'Learn more about Smart Links.',
|
|
92
93
|
'linkDataSource.issue-line-table.edit-button-label.non-final': '{fieldValue}, {fieldName} field',
|
package/dist/cjs/i18n/en_ZZ.js
CHANGED
|
@@ -87,6 +87,7 @@ var _default = exports.default = {
|
|
|
87
87
|
'linkDataSource.confluence-search.no.confluence.sites.access.title': "You don't have access to any Confluence sites",
|
|
88
88
|
'linkDataSource.datasource.table.authConnectButtonText': 'Connect',
|
|
89
89
|
'linkDataSource.datasource.table.authScreenDescriptionText': 'Connect your {providerName} account to collaborate on work across Atlassian products.',
|
|
90
|
+
'linkDataSource.datasource.table.authScreenDescriptionText-appify': 'Connect your {providerName} account to collaborate on work across Atlassian apps.',
|
|
90
91
|
'linkDataSource.datasource.table.authScreenHeaderText': 'Connect your {providerName} account',
|
|
91
92
|
'linkDataSource.datasource.table.learnMoreAboutSmartLinks': 'Learn more about Smart Links.',
|
|
92
93
|
'linkDataSource.issue-line-table.edit-button-label.non-final': '{fieldValue}, {fieldName} field',
|
package/dist/es2019/i18n/en.js
CHANGED
|
@@ -81,6 +81,7 @@ export default {
|
|
|
81
81
|
'linkDataSource.confluence-search.no.confluence.sites.access.title': "You don't have access to any Confluence sites",
|
|
82
82
|
'linkDataSource.datasource.table.authConnectButtonText': 'Connect',
|
|
83
83
|
'linkDataSource.datasource.table.authScreenDescriptionText': 'Connect your {providerName} account to collaborate on work across Atlassian products.',
|
|
84
|
+
'linkDataSource.datasource.table.authScreenDescriptionText-appify': 'Connect your {providerName} account to collaborate on work across Atlassian apps.',
|
|
84
85
|
'linkDataSource.datasource.table.authScreenHeaderText': 'Connect your {providerName} account',
|
|
85
86
|
'linkDataSource.datasource.table.learnMoreAboutSmartLinks': 'Learn more about Smart Links.',
|
|
86
87
|
'linkDataSource.issue-line-table.edit-button-label.non-final': '{fieldValue}, {fieldName} field',
|
|
@@ -81,6 +81,7 @@ export default {
|
|
|
81
81
|
'linkDataSource.confluence-search.no.confluence.sites.access.title': "You don't have access to any Confluence sites",
|
|
82
82
|
'linkDataSource.datasource.table.authConnectButtonText': 'Connect',
|
|
83
83
|
'linkDataSource.datasource.table.authScreenDescriptionText': 'Connect your {providerName} account to collaborate on work across Atlassian products.',
|
|
84
|
+
'linkDataSource.datasource.table.authScreenDescriptionText-appify': 'Connect your {providerName} account to collaborate on work across Atlassian apps.',
|
|
84
85
|
'linkDataSource.datasource.table.authScreenHeaderText': 'Connect your {providerName} account',
|
|
85
86
|
'linkDataSource.datasource.table.learnMoreAboutSmartLinks': 'Learn more about Smart Links.',
|
|
86
87
|
'linkDataSource.issue-line-table.edit-button-label.non-final': '{fieldValue}, {fieldName} field',
|
|
@@ -81,6 +81,7 @@ export default {
|
|
|
81
81
|
'linkDataSource.confluence-search.no.confluence.sites.access.title': "You don't have access to any Confluence sites",
|
|
82
82
|
'linkDataSource.datasource.table.authConnectButtonText': 'Connect',
|
|
83
83
|
'linkDataSource.datasource.table.authScreenDescriptionText': 'Connect your {providerName} account to collaborate on work across Atlassian products.',
|
|
84
|
+
'linkDataSource.datasource.table.authScreenDescriptionText-appify': 'Connect your {providerName} account to collaborate on work across Atlassian apps.',
|
|
84
85
|
'linkDataSource.datasource.table.authScreenHeaderText': 'Connect your {providerName} account',
|
|
85
86
|
'linkDataSource.datasource.table.learnMoreAboutSmartLinks': 'Learn more about Smart Links.',
|
|
86
87
|
'linkDataSource.issue-line-table.edit-button-label.non-final': '{fieldValue}, {fieldName} field',
|
package/dist/esm/i18n/en.js
CHANGED
|
@@ -81,6 +81,7 @@ export default {
|
|
|
81
81
|
'linkDataSource.confluence-search.no.confluence.sites.access.title': "You don't have access to any Confluence sites",
|
|
82
82
|
'linkDataSource.datasource.table.authConnectButtonText': 'Connect',
|
|
83
83
|
'linkDataSource.datasource.table.authScreenDescriptionText': 'Connect your {providerName} account to collaborate on work across Atlassian products.',
|
|
84
|
+
'linkDataSource.datasource.table.authScreenDescriptionText-appify': 'Connect your {providerName} account to collaborate on work across Atlassian apps.',
|
|
84
85
|
'linkDataSource.datasource.table.authScreenHeaderText': 'Connect your {providerName} account',
|
|
85
86
|
'linkDataSource.datasource.table.learnMoreAboutSmartLinks': 'Learn more about Smart Links.',
|
|
86
87
|
'linkDataSource.issue-line-table.edit-button-label.non-final': '{fieldValue}, {fieldName} field',
|
package/dist/esm/i18n/en_GB.js
CHANGED
|
@@ -81,6 +81,7 @@ export default {
|
|
|
81
81
|
'linkDataSource.confluence-search.no.confluence.sites.access.title': "You don't have access to any Confluence sites",
|
|
82
82
|
'linkDataSource.datasource.table.authConnectButtonText': 'Connect',
|
|
83
83
|
'linkDataSource.datasource.table.authScreenDescriptionText': 'Connect your {providerName} account to collaborate on work across Atlassian products.',
|
|
84
|
+
'linkDataSource.datasource.table.authScreenDescriptionText-appify': 'Connect your {providerName} account to collaborate on work across Atlassian apps.',
|
|
84
85
|
'linkDataSource.datasource.table.authScreenHeaderText': 'Connect your {providerName} account',
|
|
85
86
|
'linkDataSource.datasource.table.learnMoreAboutSmartLinks': 'Learn more about Smart Links.',
|
|
86
87
|
'linkDataSource.issue-line-table.edit-button-label.non-final': '{fieldValue}, {fieldName} field',
|
package/dist/esm/i18n/en_ZZ.js
CHANGED
|
@@ -81,6 +81,7 @@ export default {
|
|
|
81
81
|
'linkDataSource.confluence-search.no.confluence.sites.access.title': "You don't have access to any Confluence sites",
|
|
82
82
|
'linkDataSource.datasource.table.authConnectButtonText': 'Connect',
|
|
83
83
|
'linkDataSource.datasource.table.authScreenDescriptionText': 'Connect your {providerName} account to collaborate on work across Atlassian products.',
|
|
84
|
+
'linkDataSource.datasource.table.authScreenDescriptionText-appify': 'Connect your {providerName} account to collaborate on work across Atlassian apps.',
|
|
84
85
|
'linkDataSource.datasource.table.authScreenHeaderText': 'Connect your {providerName} account',
|
|
85
86
|
'linkDataSource.datasource.table.learnMoreAboutSmartLinks': 'Learn more about Smart Links.',
|
|
86
87
|
'linkDataSource.issue-line-table.edit-button-label.non-final': '{fieldValue}, {fieldName} field',
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { type DatasourceTableStatusType } from '@atlaskit/linking-types';
|
|
2
2
|
interface DataRenderedUfoExperienceProps {
|
|
3
|
-
status: DatasourceTableStatusType;
|
|
4
|
-
experienceId: string;
|
|
5
|
-
itemCount: number;
|
|
6
3
|
canBeLink?: boolean;
|
|
4
|
+
experienceId: string;
|
|
7
5
|
extensionKey?: string | null;
|
|
6
|
+
itemCount: number;
|
|
7
|
+
status: DatasourceTableStatusType;
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
10
|
* Hook to mark DataRendered UFO experience as either Success or Failure
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
interface DatasourceRendered {
|
|
2
|
-
name: 'datasource-rendered';
|
|
3
2
|
metadata?: {
|
|
4
3
|
extensionKey?: string;
|
|
5
4
|
};
|
|
5
|
+
name: 'datasource-rendered';
|
|
6
6
|
}
|
|
7
7
|
interface ColumnPickerRendered {
|
|
8
|
-
name: 'column-picker-rendered';
|
|
9
8
|
metadata?: {
|
|
10
9
|
extensionKey?: string;
|
|
11
10
|
};
|
|
11
|
+
name: 'column-picker-rendered';
|
|
12
12
|
}
|
|
13
13
|
interface InlineEditRendered {
|
|
14
|
-
name: 'inline-edit-rendered';
|
|
15
14
|
metadata?: {
|
|
16
15
|
extensionKey?: string;
|
|
17
16
|
};
|
|
17
|
+
name: 'inline-edit-rendered';
|
|
18
18
|
}
|
|
19
19
|
export type UfoExperience = DatasourceRendered | ColumnPickerRendered | InlineEditRendered;
|
|
20
20
|
export {};
|
|
@@ -13,26 +13,26 @@ export type OnInsertFunction<ADF> = (adf: ADF, analyticsEvent?: UIAnalyticsEvent
|
|
|
13
13
|
export type ConfigModalProps<ADF, Parameters> = {
|
|
14
14
|
/** Unique identifier for which type of datasource is being rendered and for making its requests */
|
|
15
15
|
datasourceId: string;
|
|
16
|
-
/**
|
|
17
|
-
|
|
18
|
-
/** Parameters for making the data requests necessary to render data within the table */
|
|
19
|
-
parameters?: Parameters;
|
|
16
|
+
/** Disable the view mode display dropdown */
|
|
17
|
+
disableDisplayDropdown?: boolean;
|
|
20
18
|
/** Callback function to be invoked when the modal is closed either via cancel button click, esc keydown, or modal blanket click */
|
|
21
19
|
onCancel: () => void;
|
|
22
20
|
/** Callback function to be invoked when the insert issues button is clicked */
|
|
23
21
|
onInsert: OnInsertFunction<ADF>;
|
|
22
|
+
/** Parameters for making the data requests necessary to render data within the table */
|
|
23
|
+
parameters?: Parameters;
|
|
24
|
+
/**
|
|
25
|
+
* Set the focus to return to the element that had focus before focus lock was activated or pass through a specific ref element
|
|
26
|
+
* Defaults to false, meaning focus remains where it was when the FocusLock was deactivated
|
|
27
|
+
*/
|
|
28
|
+
shouldReturnFocus?: ShouldReturnFocus;
|
|
29
|
+
/** The url that was used to insert a List of Links */
|
|
30
|
+
url?: string;
|
|
24
31
|
/**
|
|
25
32
|
* The view mode that the modal will show on open:
|
|
26
33
|
* - Table = Displays a list of links in table format
|
|
27
34
|
* - Inline = Presents a smart link that shows the count of query results. However, if there's only one result, it converts to an inline smart link of that issue.
|
|
28
35
|
*/
|
|
29
36
|
viewMode?: DisplayViewModes;
|
|
30
|
-
/** Disable the view mode display dropdown */
|
|
31
|
-
disableDisplayDropdown?: boolean;
|
|
32
|
-
/**
|
|
33
|
-
* Set the focus to return to the element that had focus before focus lock was activated or pass through a specific ref element
|
|
34
|
-
* Defaults to false, meaning focus remains where it was when the FocusLock was deactivated
|
|
35
|
-
*/
|
|
36
|
-
shouldReturnFocus?: ShouldReturnFocus;
|
|
37
37
|
} & Partial<Pick<IssueLikeDataTableViewProps, 'visibleColumnKeys' | 'wrappedColumnKeys' | 'columnCustomSizes'>>;
|
|
38
38
|
export {};
|
|
@@ -3,13 +3,13 @@
|
|
|
3
3
|
* @jsx jsx
|
|
4
4
|
*/
|
|
5
5
|
export type RenderSVGProps = {
|
|
6
|
-
size?: 'xlarge' | 'large' | 'medium';
|
|
7
6
|
alt: string;
|
|
7
|
+
size?: 'xlarge' | 'large' | 'medium';
|
|
8
8
|
};
|
|
9
9
|
type RenderSVGInternalProps = RenderSVGProps & {
|
|
10
|
+
className?: string;
|
|
10
11
|
src: string;
|
|
11
12
|
srcDark?: string;
|
|
12
|
-
className?: string;
|
|
13
13
|
};
|
|
14
14
|
export declare const RenderSVG: ({ alt, size, src, srcDark }: RenderSVGInternalProps) => JSX.Element;
|
|
15
15
|
export {};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { type ObjectSchema } from '../types/assets/types';
|
|
2
2
|
import { type AssetsDatasourceParameters } from '../ui/assets-modal/types';
|
|
3
3
|
export type UseAssetsClientState = {
|
|
4
|
-
|
|
5
|
-
workspaceError: Error | undefined;
|
|
4
|
+
assetsClientLoading: boolean;
|
|
6
5
|
existingObjectSchema: ObjectSchema | undefined;
|
|
7
6
|
existingObjectSchemaError: Error | undefined;
|
|
8
7
|
objectSchemas: ObjectSchema[] | undefined;
|
|
9
8
|
objectSchemasError: Error | undefined;
|
|
10
9
|
totalObjectSchemas: number | undefined;
|
|
11
|
-
|
|
10
|
+
workspaceError: Error | undefined;
|
|
11
|
+
workspaceId: string | undefined;
|
|
12
12
|
};
|
|
13
13
|
export declare const useAssetsClient: (initialParameters?: AssetsDatasourceParameters) => UseAssetsClientState;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { type CreateFlagArgs } from '@atlaskit/flag';
|
|
2
2
|
interface DatasourceTableFlagOptions {
|
|
3
|
-
url?: string;
|
|
4
3
|
isFetchAction?: boolean;
|
|
4
|
+
url?: string;
|
|
5
5
|
}
|
|
6
6
|
export declare const useDatasourceTableFlag: (options?: DatasourceTableFlagOptions) => {
|
|
7
7
|
showErrorFlag: (args?: Partial<CreateFlagArgs> & {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { type DatasourceDataResponseItem, type DatasourceMeta, type DatasourceParameters, type DatasourceResponseSchemaProperty, type DatasourceTableStatusType } from '@atlaskit/linking-types';
|
|
2
2
|
export interface onNextPageProps {
|
|
3
3
|
isSchemaFromData?: boolean;
|
|
4
|
-
shouldRequestFirstPage?: boolean;
|
|
5
4
|
shouldForceRequest?: boolean;
|
|
5
|
+
shouldRequestFirstPage?: boolean;
|
|
6
6
|
}
|
|
7
7
|
export type NextPageType = (requestInfo?: onNextPageProps) => void;
|
|
8
8
|
interface ResetOptions {
|
|
@@ -12,42 +12,42 @@ interface ResetOptions {
|
|
|
12
12
|
shouldResetColumns?: boolean;
|
|
13
13
|
}
|
|
14
14
|
export interface DatasourceTableState {
|
|
15
|
-
/**
|
|
16
|
-
|
|
17
|
-
/** Requests the available data with pagination and also sets column headers if not already available */
|
|
18
|
-
onNextPage: NextPageType;
|
|
19
|
-
/** Resets state of the hook to be as if it is a first time it is being called. */
|
|
20
|
-
reset: (options?: ResetOptions) => void;
|
|
21
|
-
/** Requests the available column schemas that can be displayed within the table */
|
|
22
|
-
loadDatasourceDetails: () => Promise<void>;
|
|
23
|
-
/** Item ids to be hydrated from a store by consumers [NOTE: They must be in the same order as responseItems] */
|
|
24
|
-
responseItemIds: string[];
|
|
25
|
-
/** Items to be rendered within the table */
|
|
26
|
-
responseItems: DatasourceDataResponseItem[];
|
|
27
|
-
/** Indicates whether there is still more data that can be paginated */
|
|
28
|
-
hasNextPage: boolean;
|
|
15
|
+
/** Auth info used to connect to the provider account. */
|
|
16
|
+
authDetails?: DatasourceMeta['auth'];
|
|
29
17
|
/** All available columns for a datasource table to display */
|
|
30
18
|
columns: DatasourceResponseSchemaProperty[];
|
|
31
19
|
/** The keys belonging to all of the currently visible columns in a table */
|
|
32
20
|
defaultVisibleColumnKeys: string[];
|
|
33
|
-
/** Total count of response items available for pagination in a query */
|
|
34
|
-
totalCount?: number;
|
|
35
21
|
/** List of objects types that will be included in the reponse (e.g. 'issues' for Jira) */
|
|
36
22
|
destinationObjectTypes: string[];
|
|
37
23
|
/** Used as an indicated of which provider type is being used - originates from ORS */
|
|
38
24
|
extensionKey?: string;
|
|
25
|
+
/** Indicates whether there is still more data that can be paginated */
|
|
26
|
+
hasNextPage: boolean;
|
|
27
|
+
/** Requests the available column schemas that can be displayed within the table */
|
|
28
|
+
loadDatasourceDetails: () => Promise<void>;
|
|
29
|
+
/** Requests the available data with pagination and also sets column headers if not already available */
|
|
30
|
+
onNextPage: NextPageType;
|
|
39
31
|
/** Indicates which provider name is being used - originates from ORS */
|
|
40
32
|
providerName?: string;
|
|
41
|
-
/**
|
|
42
|
-
|
|
33
|
+
/** Resets state of the hook to be as if it is a first time it is being called. */
|
|
34
|
+
reset: (options?: ResetOptions) => void;
|
|
35
|
+
/** Item ids to be hydrated from a store by consumers [NOTE: They must be in the same order as responseItems] */
|
|
36
|
+
responseItemIds: string[];
|
|
37
|
+
/** Items to be rendered within the table */
|
|
38
|
+
responseItems: DatasourceDataResponseItem[];
|
|
39
|
+
/** The current status of the table for rendering of the different UI states (e.g.: loading, error, etc). */
|
|
40
|
+
status: DatasourceTableStatusType;
|
|
41
|
+
/** Total count of response items available for pagination in a query */
|
|
42
|
+
totalCount?: number;
|
|
43
43
|
}
|
|
44
44
|
export interface DatasourceTableStateProps {
|
|
45
45
|
/** Unique identifier for which type of datasource is being rendered and for making its requests */
|
|
46
46
|
datasourceId: string;
|
|
47
|
-
/** Parameters for making the data requests necessary to render data within the table */
|
|
48
|
-
parameters?: DatasourceParameters;
|
|
49
47
|
/** Keys for each of the columns to be shown in the table */
|
|
50
48
|
fieldKeys?: string[];
|
|
49
|
+
/** Parameters for making the data requests necessary to render data within the table */
|
|
50
|
+
parameters?: DatasourceParameters;
|
|
51
51
|
}
|
|
52
52
|
export declare const useDatasourceTableState: ({ datasourceId, parameters, fieldKeys, }: DatasourceTableStateProps) => DatasourceTableState;
|
|
53
53
|
export {};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { type AtomicActionExecuteRequest } from '@atlaskit/linking-types';
|
|
2
2
|
import type { ExecuteFetch } from '../state/actions';
|
|
3
3
|
export type LoadOptionsProps<T> = {
|
|
4
|
-
fetchInputs?: AtomicActionExecuteRequest['parameters']['inputs'];
|
|
5
|
-
executeFetch?: ExecuteFetch;
|
|
6
4
|
emptyOption?: T;
|
|
5
|
+
executeFetch?: ExecuteFetch;
|
|
6
|
+
fetchInputs?: AtomicActionExecuteRequest['parameters']['inputs'];
|
|
7
7
|
};
|
|
8
8
|
export declare const useLoadOptions: <T>({ fetchInputs, executeFetch, emptyOption, }: LoadOptionsProps<T>) => {
|
|
9
9
|
options: T[];
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { type ObjectSchema } from '../types/assets/types';
|
|
2
2
|
export type FetchObjectSchemasDetails = Pick<UseObjectSchemasState, 'objectSchemas' | 'totalObjectSchemas'>;
|
|
3
3
|
export type UseObjectSchemasState = {
|
|
4
|
-
|
|
5
|
-
objectSchemasError: Error | undefined;
|
|
4
|
+
fetchObjectSchemas: (query: string) => Promise<FetchObjectSchemasDetails>;
|
|
6
5
|
objectSchemas: ObjectSchema[] | undefined;
|
|
6
|
+
objectSchemasError: Error | undefined;
|
|
7
|
+
objectSchemasLoading: boolean;
|
|
7
8
|
totalObjectSchemas: number | undefined;
|
|
8
|
-
fetchObjectSchemas: (query: string) => Promise<FetchObjectSchemasDetails>;
|
|
9
9
|
};
|
|
10
10
|
export declare const useObjectSchemas: (workspaceId: string) => UseObjectSchemasState;
|
|
@@ -9,8 +9,8 @@ export type ValidResult = {
|
|
|
9
9
|
validatedAql: string;
|
|
10
10
|
};
|
|
11
11
|
export type InvalidResult = {
|
|
12
|
-
type: 'invalid';
|
|
13
12
|
error: string;
|
|
13
|
+
type: 'invalid';
|
|
14
14
|
};
|
|
15
15
|
export type AqlValidationResult = IdleResult | LoadingResult | ValidResult | InvalidResult;
|
|
16
16
|
export type AqlValidationResponse = {
|
|
@@ -19,8 +19,8 @@ export type AqlValidationResponse = {
|
|
|
19
19
|
};
|
|
20
20
|
export type UseValidateAqlTextState = {
|
|
21
21
|
debouncedValidation: (value: string | undefined) => Promise<string | undefined>;
|
|
22
|
-
validateAqlText: (aql: string) => Promise<'error' | undefined>;
|
|
23
22
|
lastValidationResult: AqlValidationResult;
|
|
23
|
+
validateAqlText: (aql: string) => Promise<'error' | undefined>;
|
|
24
24
|
};
|
|
25
25
|
export declare const SEARCH_DEBOUNCE = 350;
|
|
26
26
|
export declare const useValidateAqlText: (workspaceId: string, initialValue: string) => UseValidateAqlTextState;
|
package/dist/types/i18n/en.d.ts
CHANGED
|
@@ -79,6 +79,7 @@ declare const _default: {
|
|
|
79
79
|
'linkDataSource.confluence-search.no.confluence.sites.access.title': string;
|
|
80
80
|
'linkDataSource.datasource.table.authConnectButtonText': string;
|
|
81
81
|
'linkDataSource.datasource.table.authScreenDescriptionText': string;
|
|
82
|
+
'linkDataSource.datasource.table.authScreenDescriptionText-appify': string;
|
|
82
83
|
'linkDataSource.datasource.table.authScreenHeaderText': string;
|
|
83
84
|
'linkDataSource.datasource.table.learnMoreAboutSmartLinks': string;
|
|
84
85
|
'linkDataSource.issue-line-table.edit-button-label.non-final': string;
|
|
@@ -79,6 +79,7 @@ declare const _default: {
|
|
|
79
79
|
'linkDataSource.confluence-search.no.confluence.sites.access.title': string;
|
|
80
80
|
'linkDataSource.datasource.table.authConnectButtonText': string;
|
|
81
81
|
'linkDataSource.datasource.table.authScreenDescriptionText': string;
|
|
82
|
+
'linkDataSource.datasource.table.authScreenDescriptionText-appify': string;
|
|
82
83
|
'linkDataSource.datasource.table.authScreenHeaderText': string;
|
|
83
84
|
'linkDataSource.datasource.table.learnMoreAboutSmartLinks': string;
|
|
84
85
|
'linkDataSource.issue-line-table.edit-button-label.non-final': string;
|
|
@@ -79,6 +79,7 @@ declare const _default: {
|
|
|
79
79
|
'linkDataSource.confluence-search.no.confluence.sites.access.title': string;
|
|
80
80
|
'linkDataSource.datasource.table.authConnectButtonText': string;
|
|
81
81
|
'linkDataSource.datasource.table.authScreenDescriptionText': string;
|
|
82
|
+
'linkDataSource.datasource.table.authScreenDescriptionText-appify': string;
|
|
82
83
|
'linkDataSource.datasource.table.authScreenHeaderText': string;
|
|
83
84
|
'linkDataSource.datasource.table.learnMoreAboutSmartLinks': string;
|
|
84
85
|
'linkDataSource.issue-line-table.edit-button-label.non-final': string;
|
|
@@ -4,8 +4,8 @@ interface GetFieldValuesProps {
|
|
|
4
4
|
cloudId: string;
|
|
5
5
|
jql: string;
|
|
6
6
|
jqlTerm: BasicFilterFieldType;
|
|
7
|
-
searchString: string;
|
|
8
7
|
pageCursor?: string;
|
|
8
|
+
searchString: string;
|
|
9
9
|
}
|
|
10
10
|
export declare const useBasicFilterAGG: () => {
|
|
11
11
|
getHydratedJQL: (cloudId: string, jql: string) => Promise<HydrateResponse>;
|
|
@@ -4,9 +4,9 @@ import type { DatasourceDataResponseItem } from '@atlaskit/linking-types';
|
|
|
4
4
|
type UniqueIdentifier = string;
|
|
5
5
|
export interface DatasourceItem {
|
|
6
6
|
ari: string | undefined;
|
|
7
|
+
data: DatasourceDataResponseItem;
|
|
7
8
|
entityType: string | undefined;
|
|
8
9
|
integrationKey: string | undefined;
|
|
9
|
-
data: DatasourceDataResponseItem;
|
|
10
10
|
}
|
|
11
11
|
export interface State {
|
|
12
12
|
items: Record<UniqueIdentifier, DatasourceItem>;
|
|
@@ -15,23 +15,23 @@ export type ObjectSchemaOption = {
|
|
|
15
15
|
};
|
|
16
16
|
export type FetchObjectSchemaResponse = ObjectSchema;
|
|
17
17
|
export type FetchObjectSchemasResponse = {
|
|
18
|
-
|
|
18
|
+
isLast: boolean;
|
|
19
19
|
maxResults: number;
|
|
20
|
+
startAt: number;
|
|
20
21
|
total: number;
|
|
21
22
|
values: ObjectSchema[];
|
|
22
|
-
isLast: boolean;
|
|
23
23
|
};
|
|
24
24
|
export type ValidationError = {
|
|
25
25
|
iql?: string;
|
|
26
26
|
};
|
|
27
27
|
export type AqlValidateResponse = {
|
|
28
|
-
isValid: boolean;
|
|
29
28
|
errorMessages: string[];
|
|
30
29
|
errors?: ValidationError;
|
|
30
|
+
isValid: boolean;
|
|
31
31
|
};
|
|
32
32
|
export declare const objectSchemaKey: "objectSchema";
|
|
33
33
|
export declare const aqlKey: "aql";
|
|
34
34
|
export type SearchForm = {
|
|
35
|
-
[objectSchemaKey]: ObjectSchemaOption | undefined | null;
|
|
36
35
|
[aqlKey]: string;
|
|
36
|
+
[objectSchemaKey]: ObjectSchemaOption | undefined | null;
|
|
37
37
|
};
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import { type DatasourceDataResponseItem, type DatasourceResponseSchemaProperty, type DatasourceTableStatusType } from '@atlaskit/linking-types';
|
|
2
2
|
export interface RenderAssetsContentProps {
|
|
3
|
-
isFetchingInitialData: boolean;
|
|
4
|
-
status: DatasourceTableStatusType;
|
|
5
|
-
responseItems: DatasourceDataResponseItem[];
|
|
6
|
-
responseItemIds: string[];
|
|
7
|
-
visibleColumnKeys?: string[];
|
|
8
|
-
datasourceId: string;
|
|
9
3
|
aql?: string;
|
|
10
|
-
schemaId?: string;
|
|
11
|
-
onNextPage: () => void;
|
|
12
|
-
hasNextPage: boolean;
|
|
13
|
-
loadDatasourceDetails: () => Promise<void>;
|
|
14
4
|
columns: DatasourceResponseSchemaProperty[];
|
|
5
|
+
datasourceId: string;
|
|
15
6
|
defaultVisibleColumnKeys: string[];
|
|
7
|
+
hasNextPage: boolean;
|
|
8
|
+
isFetchingInitialData: boolean;
|
|
9
|
+
loadDatasourceDetails: () => Promise<void>;
|
|
10
|
+
onNextPage: () => void;
|
|
16
11
|
onVisibleColumnKeysChange: (visibleColumnKeys: string[]) => void;
|
|
12
|
+
responseItemIds: string[];
|
|
13
|
+
responseItems: DatasourceDataResponseItem[];
|
|
14
|
+
schemaId?: string;
|
|
15
|
+
status: DatasourceTableStatusType;
|
|
16
|
+
visibleColumnKeys?: string[];
|
|
17
17
|
}
|
|
18
18
|
export declare const MODAL_HEIGHT = 420;
|
|
19
19
|
export declare const RenderAssetsContent: (props: RenderAssetsContentProps) => JSX.Element;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export interface AqlSearchInputProps {
|
|
2
|
+
isSearching: boolean;
|
|
3
|
+
testId?: string;
|
|
2
4
|
value: string;
|
|
3
5
|
workspaceId: string;
|
|
4
|
-
testId?: string;
|
|
5
|
-
isSearching: boolean;
|
|
6
6
|
}
|
|
7
7
|
export declare const AqlSearchInput: ({ value, workspaceId, testId, isSearching, }: AqlSearchInputProps) => JSX.Element;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import type { ObjectSchema } from '../../../types/assets/types';
|
|
2
2
|
export type InitialSearchData = {
|
|
3
|
+
aql?: string;
|
|
3
4
|
objectSchema?: ObjectSchema;
|
|
4
5
|
objectSchemas?: ObjectSchema[];
|
|
5
|
-
aql?: string;
|
|
6
6
|
};
|
|
7
7
|
export interface SearchContainerProps {
|
|
8
|
-
workspaceId: string;
|
|
9
8
|
initialSearchData: InitialSearchData;
|
|
10
|
-
onSearch: (aql: string, schemaId: string) => void;
|
|
11
|
-
modalTitle?: JSX.Element;
|
|
12
9
|
isSearching: boolean;
|
|
10
|
+
modalTitle?: JSX.Element;
|
|
11
|
+
onSearch: (aql: string, schemaId: string) => void;
|
|
12
|
+
workspaceId: string;
|
|
13
13
|
}
|
|
14
14
|
export declare const AssetsSearchContainer: (props: SearchContainerProps) => JSX.Element;
|
|
@@ -4,11 +4,11 @@
|
|
|
4
4
|
*/
|
|
5
5
|
import { type ObjectSchema } from '../../../../types/assets/types';
|
|
6
6
|
type AssetsObjectSchemaSelectProps = {
|
|
7
|
-
value: ObjectSchema | undefined;
|
|
8
|
-
workspaceId: string;
|
|
9
|
-
initialObjectSchemas: ObjectSchema[] | undefined;
|
|
10
7
|
classNamePrefix?: string;
|
|
8
|
+
initialObjectSchemas: ObjectSchema[] | undefined;
|
|
11
9
|
testId?: string;
|
|
10
|
+
value: ObjectSchema | undefined;
|
|
11
|
+
workspaceId: string;
|
|
12
12
|
};
|
|
13
13
|
export declare const SEARCH_DEBOUNCE_MS = 350;
|
|
14
14
|
/**
|
|
@@ -2,10 +2,10 @@ import { type DatasourceAdf, type InlineCardAdf } from '@atlaskit/linking-common
|
|
|
2
2
|
import { type DatasourceParameters } from '@atlaskit/linking-types';
|
|
3
3
|
import { type ConfigModalProps } from '../../common/types';
|
|
4
4
|
export type AssetsDatasourceParameters = {
|
|
5
|
-
workspaceId: string;
|
|
6
5
|
aql: string;
|
|
7
6
|
schemaId: string;
|
|
8
7
|
version?: string;
|
|
8
|
+
workspaceId: string;
|
|
9
9
|
};
|
|
10
10
|
export type AssetsDatasourceAdf = DatasourceAdf<AssetsDatasourceParameters>;
|
|
11
11
|
export interface AssetsConfigModalProps extends ConfigModalProps<InlineCardAdf | AssetsDatasourceAdf, DatasourceParameters | AssetsDatasourceParameters> {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { type MessageDescriptor } from 'react-intl-next';
|
|
2
2
|
interface NoInstanceViewProps {
|
|
3
|
-
title: MessageDescriptor;
|
|
4
3
|
description: MessageDescriptor;
|
|
5
4
|
testId: string;
|
|
5
|
+
title: MessageDescriptor;
|
|
6
6
|
}
|
|
7
7
|
export declare const NoInstancesView: ({ title, description, testId }: NoInstanceViewProps) => JSX.Element;
|
|
8
8
|
export {};
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { type DatasourceMeta } from '@atlaskit/linking-types';
|
|
2
2
|
interface ProviderAuthRequiredProps {
|
|
3
3
|
auth: DatasourceMeta['auth'];
|
|
4
|
-
|
|
5
|
-
onAuthError: () => void;
|
|
4
|
+
datasourceId: string;
|
|
6
5
|
extensionKey: string | null;
|
|
6
|
+
onAuthError: () => void;
|
|
7
|
+
onAuthSuccess: () => void;
|
|
7
8
|
providerName: DatasourceMeta['providerName'];
|
|
8
|
-
datasourceId: string;
|
|
9
9
|
}
|
|
10
10
|
export declare const ProviderAuthRequired: ({ auth, onAuthSuccess, onAuthError, extensionKey, providerName, datasourceId, }: ProviderAuthRequiredProps) => JSX.Element;
|
|
11
11
|
export {};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { type MessageDescriptor } from 'react-intl-next';
|
|
2
2
|
interface InitialStateViewProps {
|
|
3
|
-
icon: JSX.Element;
|
|
4
|
-
showBeta?: boolean;
|
|
5
|
-
title: MessageDescriptor;
|
|
6
3
|
description: MessageDescriptor;
|
|
4
|
+
icon: JSX.Element;
|
|
7
5
|
learnMoreLink?: {
|
|
8
6
|
href: string;
|
|
9
7
|
text: MessageDescriptor;
|
|
10
8
|
};
|
|
9
|
+
showBeta?: boolean;
|
|
10
|
+
title: MessageDescriptor;
|
|
11
11
|
}
|
|
12
12
|
export declare const InitialStateView: ({ icon, showBeta, title, description, learnMoreLink, }: InitialStateViewProps) => JSX.Element;
|
|
13
13
|
export {};
|
|
@@ -4,13 +4,13 @@
|
|
|
4
4
|
*/
|
|
5
5
|
import { type MessageDescriptor } from 'react-intl-next';
|
|
6
6
|
export interface BasicSearchInputProps {
|
|
7
|
+
ariaLabel: MessageDescriptor;
|
|
8
|
+
fullWidth?: boolean;
|
|
7
9
|
isDisabled?: boolean;
|
|
8
10
|
isSearching?: boolean;
|
|
9
11
|
onChange: React.FormEventHandler<HTMLInputElement>;
|
|
10
12
|
onSearch: (searchTerm: string) => void;
|
|
11
13
|
searchTerm: string;
|
|
12
|
-
fullWidth?: boolean;
|
|
13
14
|
testId: string;
|
|
14
|
-
ariaLabel: MessageDescriptor;
|
|
15
15
|
}
|
|
16
16
|
export declare const BasicSearchInput: ({ isDisabled, isSearching, onChange, onSearch, searchTerm, fullWidth, testId, ariaLabel, }: BasicSearchInputProps) => JSX.Element;
|
|
@@ -8,18 +8,18 @@ import { type ColumnResizeProps } from '../datasources-table-in-modal-preview/us
|
|
|
8
8
|
import { type ColumnVisibilityProps } from '../datasources-table-in-modal-preview/use-column-visibility';
|
|
9
9
|
import { type ColumnWrappingProps } from '../datasources-table-in-modal-preview/use-column-wrapping';
|
|
10
10
|
type DatasourceContextValue<Parameters extends DatasourceParameters = DatasourceParameters> = ColumnVisibilityProps & ColumnWrappingProps & ColumnResizeProps & Pick<DatasourceContextProviderProps<Parameters>, 'datasourceId' | 'onInsert' | 'isValidParameters'> & {
|
|
11
|
-
tableState: DatasourceTableState;
|
|
12
|
-
visibleColumnKeys?: string[];
|
|
13
11
|
parameters: Parameters | undefined;
|
|
14
12
|
setParameters: React.Dispatch<React.SetStateAction<Parameters | undefined>>;
|
|
13
|
+
tableState: DatasourceTableState;
|
|
14
|
+
visibleColumnKeys?: string[];
|
|
15
15
|
};
|
|
16
16
|
type DatasourceContextProviderProps<Parameters extends DatasourceParameters> = PropsWithChildren<{
|
|
17
17
|
datasourceId: string;
|
|
18
|
-
|
|
18
|
+
initialColumnCustomSizes?: ColumnSizesMap | undefined;
|
|
19
19
|
initialParameters: Parameters | undefined;
|
|
20
20
|
initialVisibleColumnKeys?: string[] | undefined;
|
|
21
21
|
initialWrappedColumnKeys?: string[] | undefined;
|
|
22
|
-
|
|
22
|
+
isValidParameters: (params: DatasourceParameters | undefined) => boolean;
|
|
23
23
|
onInsert: OnInsertFunction<InlineCardAdf | DatasourceAdf<Parameters>>;
|
|
24
24
|
}>;
|
|
25
25
|
export declare const DatasourceContextProvider: <Parameters extends DatasourceParameters>({ children, datasourceId, isValidParameters, initialParameters, initialVisibleColumnKeys, initialColumnCustomSizes, initialWrappedColumnKeys, onInsert, }: DatasourceContextProviderProps<Parameters>) => React.JSX.Element;
|
|
@@ -4,7 +4,7 @@ import { type DatasourceParameters } from '@atlaskit/linking-types';
|
|
|
4
4
|
import { type ConfigModalProps } from '../../../../common/types';
|
|
5
5
|
export type ConnectedConfigModalProps<Parameters extends DatasourceParameters> = Omit<ConfigModalProps<DatasourceAdf<Parameters> | InlineCardAdf, Parameters>, 'onInsert' | 'parameters'>;
|
|
6
6
|
export declare const createDatasourceModal: <Parameters extends DatasourceParameters>({ isValidParameters, dataProvider, component: ModalContent, }: {
|
|
7
|
-
isValidParameters: (params: DatasourceParameters | undefined) => boolean;
|
|
8
|
-
dataProvider: string;
|
|
9
7
|
component: React.ComponentType<ConnectedConfigModalProps<Parameters>>;
|
|
8
|
+
dataProvider: string;
|
|
9
|
+
isValidParameters: (params: DatasourceParameters | undefined) => boolean;
|
|
10
10
|
}) => (props: ConfigModalProps<DatasourceAdf<Parameters> | InlineCardAdf, DatasourceParameters | Parameters>) => React.JSX.Element;
|
|
@@ -3,8 +3,8 @@ export type ColumnVisibilityProps = Pick<IssueLikeDataTableViewProps, 'onVisible
|
|
|
3
3
|
visibleColumnCount: React.MutableRefObject<number>;
|
|
4
4
|
};
|
|
5
5
|
export declare const useColumnVisibility: ({ visibleColumnKeys, setVisibleColumnKeys, defaultVisibleColumnKeys, initialVisibleColumnKeys, }: {
|
|
6
|
-
visibleColumnKeys: string[] | undefined;
|
|
7
|
-
setVisibleColumnKeys: (keys: string[]) => void;
|
|
8
6
|
defaultVisibleColumnKeys: string[];
|
|
9
7
|
initialVisibleColumnKeys: string[] | undefined;
|
|
8
|
+
setVisibleColumnKeys: (keys: string[]) => void;
|
|
9
|
+
visibleColumnKeys: string[] | undefined;
|
|
10
10
|
}) => ColumnVisibilityProps;
|