@atlaskit/link-datasource 5.6.7 → 6.0.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 +26 -0
- package/analytics/render-failed/package.json +1 -8
- package/assets-modal/package.json +1 -8
- package/assets-modal/types/package.json +1 -8
- package/confluence-search-modal/package.json +1 -8
- package/confluence-search-modal/types/package.json +1 -8
- package/datasource-table-view/package.json +1 -8
- package/elements/package.json +1 -8
- package/elements/render-type/package.json +1 -8
- package/jira-issues-modal/package.json +1 -8
- package/jira-issues-modal/types/package.json +1 -8
- package/package.json +56 -64
- package/types/package.json +1 -8
- package/utils/schema/package.json +1 -8
- package/dist/types-ts4.5/analytics/constants.d.ts +0 -12
- package/dist/types-ts4.5/analytics/generated/analytics.types.d.ts +0 -304
- package/dist/types-ts4.5/analytics/generated/create-event-payload.d.ts +0 -31
- package/dist/types-ts4.5/analytics/generated/use-analytics-events.d.ts +0 -7
- package/dist/types-ts4.5/analytics/index.d.ts +0 -3
- package/dist/types-ts4.5/analytics/types.d.ts +0 -19
- package/dist/types-ts4.5/analytics/ufoExperiences/hooks/useColumnPickerRenderedFailedUfoExperience.d.ts +0 -2
- package/dist/types-ts4.5/analytics/ufoExperiences/hooks/useDataRenderedUfoExperience.d.ts +0 -22
- package/dist/types-ts4.5/analytics/ufoExperiences/index.d.ts +0 -5
- package/dist/types-ts4.5/analytics/ufoExperiences/types.d.ts +0 -20
- package/dist/types-ts4.5/analytics/utils.d.ts +0 -3
- package/dist/types-ts4.5/analytics/wrappers/render-failed/datasourceRenderFailedAnalyticsWrapper.d.ts +0 -3
- package/dist/types-ts4.5/analytics/wrappers/render-failed/index.d.ts +0 -2
- package/dist/types-ts4.5/common/types.d.ts +0 -38
- package/dist/types-ts4.5/common/ui/common/render-svg.d.ts +0 -15
- package/dist/types-ts4.5/common/ui/rich-icon/search/index.d.ts +0 -3
- package/dist/types-ts4.5/common/ui/spot/basics/padlock-key/index.d.ts +0 -3
- package/dist/types-ts4.5/common/ui/spot/error-state/error/index.d.ts +0 -3
- package/dist/types-ts4.5/common/ui/spot/error-state/error-old/index.d.ts +0 -3
- package/dist/types-ts4.5/common/ui/spot/error-state/search/index.d.ts +0 -3
- package/dist/types-ts4.5/common/ui/spot/error-state/search-no-result/index.d.ts +0 -3
- package/dist/types-ts4.5/common/utils/locale/fetch-messages-for-locale.d.ts +0 -2
- package/dist/types-ts4.5/common/utils/schema-utils.d.ts +0 -2
- package/dist/types-ts4.5/common/utils/withFeatureFlaggedComponent.d.ts +0 -9
- package/dist/types-ts4.5/common/zindex.d.ts +0 -3
- package/dist/types-ts4.5/contexts/datasource-experience-id/index.d.ts +0 -4
- package/dist/types-ts4.5/contexts/user-interactions/index.d.ts +0 -15
- package/dist/types-ts4.5/elements.d.ts +0 -2
- package/dist/types-ts4.5/entry-points/analytics-render-failed.d.ts +0 -1
- package/dist/types-ts4.5/entry-points/assets-modal-types.d.ts +0 -1
- package/dist/types-ts4.5/entry-points/assets-modal.d.ts +0 -1
- package/dist/types-ts4.5/entry-points/confluence-search-modal-types.d.ts +0 -1
- package/dist/types-ts4.5/entry-points/confluence-search-modal.d.ts +0 -1
- package/dist/types-ts4.5/entry-points/datasource-table-view.d.ts +0 -1
- package/dist/types-ts4.5/entry-points/elements-render-type.d.ts +0 -1
- package/dist/types-ts4.5/entry-points/jira-issues-modal-types.d.ts +0 -1
- package/dist/types-ts4.5/entry-points/jira-issues-modal.d.ts +0 -1
- package/dist/types-ts4.5/entry-points/types.d.ts +0 -1
- package/dist/types-ts4.5/entry-points/utils-schema.d.ts +0 -1
- package/dist/types-ts4.5/hooks/useAssetsClient.d.ts +0 -13
- package/dist/types-ts4.5/hooks/useDatasourceTableFlag.d.ts +0 -11
- package/dist/types-ts4.5/hooks/useDatasourceTableState.d.ts +0 -54
- package/dist/types-ts4.5/hooks/useDeepEffect.d.ts +0 -2
- package/dist/types-ts4.5/hooks/useErrorLogger.d.ts +0 -23
- package/dist/types-ts4.5/hooks/useIsInPDFRender.d.ts +0 -1
- package/dist/types-ts4.5/hooks/useLoadOptions.d.ts +0 -12
- package/dist/types-ts4.5/hooks/useObjectSchemas.d.ts +0 -10
- package/dist/types-ts4.5/hooks/useValidateAqlText.d.ts +0 -27
- package/dist/types-ts4.5/i18n/cs.d.ts +0 -158
- package/dist/types-ts4.5/i18n/da.d.ts +0 -158
- package/dist/types-ts4.5/i18n/de.d.ts +0 -158
- package/dist/types-ts4.5/i18n/en.d.ts +0 -171
- package/dist/types-ts4.5/i18n/en_GB.d.ts +0 -160
- package/dist/types-ts4.5/i18n/en_ZZ.d.ts +0 -171
- package/dist/types-ts4.5/i18n/es.d.ts +0 -158
- package/dist/types-ts4.5/i18n/fi.d.ts +0 -158
- package/dist/types-ts4.5/i18n/fr.d.ts +0 -158
- package/dist/types-ts4.5/i18n/hr.d.ts +0 -135
- package/dist/types-ts4.5/i18n/hu.d.ts +0 -158
- package/dist/types-ts4.5/i18n/it.d.ts +0 -158
- package/dist/types-ts4.5/i18n/ja.d.ts +0 -158
- package/dist/types-ts4.5/i18n/ko.d.ts +0 -158
- package/dist/types-ts4.5/i18n/nb.d.ts +0 -158
- package/dist/types-ts4.5/i18n/nl.d.ts +0 -158
- package/dist/types-ts4.5/i18n/pl.d.ts +0 -158
- package/dist/types-ts4.5/i18n/pt_BR.d.ts +0 -158
- package/dist/types-ts4.5/i18n/ru.d.ts +0 -158
- package/dist/types-ts4.5/i18n/sk.d.ts +0 -129
- package/dist/types-ts4.5/i18n/sl.d.ts +0 -135
- package/dist/types-ts4.5/i18n/sr_RS.d.ts +0 -135
- package/dist/types-ts4.5/i18n/sr_YR.d.ts +0 -135
- package/dist/types-ts4.5/i18n/sv.d.ts +0 -158
- package/dist/types-ts4.5/i18n/th.d.ts +0 -158
- package/dist/types-ts4.5/i18n/tr.d.ts +0 -158
- package/dist/types-ts4.5/i18n/uk.d.ts +0 -158
- package/dist/types-ts4.5/i18n/vi.d.ts +0 -158
- package/dist/types-ts4.5/i18n/zh.d.ts +0 -158
- package/dist/types-ts4.5/i18n/zh_TW.d.ts +0 -158
- package/dist/types-ts4.5/index.d.ts +0 -30
- package/dist/types-ts4.5/services/cmdbService.d.ts +0 -11
- package/dist/types-ts4.5/services/cmdbService.utils.d.ts +0 -9
- package/dist/types-ts4.5/services/getAvailableSites.d.ts +0 -2
- package/dist/types-ts4.5/services/getMeta.d.ts +0 -5
- package/dist/types-ts4.5/services/makeGetJqlAutocompleteData.d.ts +0 -6
- package/dist/types-ts4.5/services/makeGetJqlSuggestionsData.d.ts +0 -5
- package/dist/types-ts4.5/services/mocks.d.ts +0 -65
- package/dist/types-ts4.5/services/useAvailableSites.d.ts +0 -5
- package/dist/types-ts4.5/services/useBasicFilterAGG.d.ts +0 -16
- package/dist/types-ts4.5/services/utils.d.ts +0 -10
- package/dist/types-ts4.5/state/actions/index.d.ts +0 -119
- package/dist/types-ts4.5/state/index.d.ts +0 -32
- package/dist/types-ts4.5/types/assets/types.d.ts +0 -37
- package/dist/types-ts4.5/ui/assets-modal/index.d.ts +0 -5
- package/dist/types-ts4.5/ui/assets-modal/modal/index.d.ts +0 -8
- package/dist/types-ts4.5/ui/assets-modal/modal/messages.d.ts +0 -17
- package/dist/types-ts4.5/ui/assets-modal/modal/render-assets-content/index.d.ts +0 -19
- package/dist/types-ts4.5/ui/assets-modal/modal/render-assets-content/initial-state-view/index.d.ts +0 -5
- package/dist/types-ts4.5/ui/assets-modal/modal/render-assets-content/initial-state-view/messages.d.ts +0 -22
- package/dist/types-ts4.5/ui/assets-modal/search-container/aql-search-input/index.d.ts +0 -7
- package/dist/types-ts4.5/ui/assets-modal/search-container/aql-search-input/loading-state.d.ts +0 -2
- package/dist/types-ts4.5/ui/assets-modal/search-container/aql-search-input/messages.d.ts +0 -12
- package/dist/types-ts4.5/ui/assets-modal/search-container/index.d.ts +0 -15
- package/dist/types-ts4.5/ui/assets-modal/search-container/loading-state.d.ts +0 -5
- package/dist/types-ts4.5/ui/assets-modal/search-container/object-schema-select/index.d.ts +0 -25
- package/dist/types-ts4.5/ui/assets-modal/search-container/object-schema-select/loading-state.d.ts +0 -2
- package/dist/types-ts4.5/ui/assets-modal/search-container/object-schema-select/messages.d.ts +0 -17
- package/dist/types-ts4.5/ui/assets-modal/search-container/object-schema-select/utils.d.ts +0 -2
- package/dist/types-ts4.5/ui/assets-modal/search-container/styled.d.ts +0 -3
- package/dist/types-ts4.5/ui/assets-modal/types.d.ts +0 -12
- package/dist/types-ts4.5/ui/common/error-state/access-required.d.ts +0 -6
- package/dist/types-ts4.5/ui/common/error-state/loading-error.d.ts +0 -6
- package/dist/types-ts4.5/ui/common/error-state/messages.d.ts +0 -112
- package/dist/types-ts4.5/ui/common/error-state/modal-loading-error.d.ts +0 -6
- package/dist/types-ts4.5/ui/common/error-state/no-instances-svg.d.ts +0 -2
- package/dist/types-ts4.5/ui/common/error-state/no-instances.d.ts +0 -8
- package/dist/types-ts4.5/ui/common/error-state/no-results.d.ts +0 -5
- package/dist/types-ts4.5/ui/common/error-state/provider-auth-required-svg.d.ts +0 -1
- package/dist/types-ts4.5/ui/common/error-state/provider-auth-required.d.ts +0 -11
- package/dist/types-ts4.5/ui/common/initial-state-view/index.d.ts +0 -13
- package/dist/types-ts4.5/ui/common/initial-state-view/messages.d.ts +0 -52
- package/dist/types-ts4.5/ui/common/modal/basic-search-input/index.d.ts +0 -16
- package/dist/types-ts4.5/ui/common/modal/basic-search-input/messages.d.ts +0 -22
- package/dist/types-ts4.5/ui/common/modal/cancel-button/index.d.ts +0 -8
- package/dist/types-ts4.5/ui/common/modal/cancel-button/messages.d.ts +0 -7
- package/dist/types-ts4.5/ui/common/modal/content-container/index.d.ts +0 -6
- package/dist/types-ts4.5/ui/common/modal/count-view-smart-link/index.d.ts +0 -8
- package/dist/types-ts4.5/ui/common/modal/datasource-context/index.d.ts +0 -27
- package/dist/types-ts4.5/ui/common/modal/datasource-modal/createDatasourceModal.d.ts +0 -10
- package/dist/types-ts4.5/ui/common/modal/datasource-modal/index.d.ts +0 -5
- package/dist/types-ts4.5/ui/common/modal/datasources-table-in-modal-preview/index.d.ts +0 -5
- package/dist/types-ts4.5/ui/common/modal/datasources-table-in-modal-preview/use-column-resize/index.d.ts +0 -3
- package/dist/types-ts4.5/ui/common/modal/datasources-table-in-modal-preview/use-column-visibility/index.d.ts +0 -10
- package/dist/types-ts4.5/ui/common/modal/datasources-table-in-modal-preview/use-column-wrapping/index.d.ts +0 -3
- package/dist/types-ts4.5/ui/common/modal/display-view-dropdown/display-view-drop-down.d.ts +0 -7
- package/dist/types-ts4.5/ui/common/modal/display-view-dropdown/messages.d.ts +0 -32
- package/dist/types-ts4.5/ui/common/modal/insert-button/index.d.ts +0 -10
- package/dist/types-ts4.5/ui/common/modal/mode-switcher/index.d.ts +0 -15
- package/dist/types-ts4.5/ui/common/modal/mode-switcher/useViewModeContext.d.ts +0 -14
- package/dist/types-ts4.5/ui/common/modal/popup-select/constants.d.ts +0 -2
- package/dist/types-ts4.5/ui/common/modal/popup-select/control.d.ts +0 -5
- package/dist/types-ts4.5/ui/common/modal/popup-select/custom-checkbox-option.d.ts +0 -3
- package/dist/types-ts4.5/ui/common/modal/popup-select/dropdownIndicator.d.ts +0 -5
- package/dist/types-ts4.5/ui/common/modal/popup-select/footer.d.ts +0 -8
- package/dist/types-ts4.5/ui/common/modal/popup-select/formatOptionLabel.d.ts +0 -3
- package/dist/types-ts4.5/ui/common/modal/popup-select/index.d.ts +0 -23
- package/dist/types-ts4.5/ui/common/modal/popup-select/menu-list/errorMessage.d.ts +0 -6
- package/dist/types-ts4.5/ui/common/modal/popup-select/menu-list/index.d.ts +0 -16
- package/dist/types-ts4.5/ui/common/modal/popup-select/menu-list/loadingMessage.d.ts +0 -5
- package/dist/types-ts4.5/ui/common/modal/popup-select/menu-list/messages.d.ts +0 -42
- package/dist/types-ts4.5/ui/common/modal/popup-select/menu-list/noOptionsMessage.d.ts +0 -5
- package/dist/types-ts4.5/ui/common/modal/popup-select/menu-list/selectMessage.d.ts +0 -10
- package/dist/types-ts4.5/ui/common/modal/popup-select/menu-list/showMoreButton.d.ts +0 -8
- package/dist/types-ts4.5/ui/common/modal/popup-select/messages.d.ts +0 -12
- package/dist/types-ts4.5/ui/common/modal/popup-select/trigger.d.ts +0 -12
- package/dist/types-ts4.5/ui/common/modal/popup-select/types.d.ts +0 -33
- package/dist/types-ts4.5/ui/common/modal/search-count/index.d.ts +0 -11
- package/dist/types-ts4.5/ui/common/modal/search-count/messages.d.ts +0 -22
- package/dist/types-ts4.5/ui/common/modal/site-selector/index.d.ts +0 -11
- package/dist/types-ts4.5/ui/common/modal/site-selector/messages.d.ts +0 -7
- package/dist/types-ts4.5/ui/confluence-search-modal/basic-filters/filters/date-range-picker/PopupComponent.d.ts +0 -3
- package/dist/types-ts4.5/ui/confluence-search-modal/basic-filters/filters/date-range-picker/index.d.ts +0 -10
- package/dist/types-ts4.5/ui/confluence-search-modal/basic-filters/filters/date-range-picker/messages.d.ts +0 -97
- package/dist/types-ts4.5/ui/confluence-search-modal/basic-filters/filters/date-range-picker/styled.d.ts +0 -4
- package/dist/types-ts4.5/ui/confluence-search-modal/basic-filters/filters/date-range-picker/trigger.d.ts +0 -10
- package/dist/types-ts4.5/ui/confluence-search-modal/basic-filters/filters/date-range-picker/utils.d.ts +0 -6
- package/dist/types-ts4.5/ui/confluence-search-modal/basic-filters/filters/edited-or-created-by/index.d.ts +0 -11
- package/dist/types-ts4.5/ui/confluence-search-modal/basic-filters/filters/edited-or-created-by/messages.d.ts +0 -7
- package/dist/types-ts4.5/ui/confluence-search-modal/basic-filters/hooks/useBasicFilterHydration.d.ts +0 -7
- package/dist/types-ts4.5/ui/confluence-search-modal/basic-filters/hooks/useCurrentUserInfo.d.ts +0 -7
- package/dist/types-ts4.5/ui/confluence-search-modal/basic-filters/hooks/useRecommendation.d.ts +0 -16
- package/dist/types-ts4.5/ui/confluence-search-modal/basic-filters/index.d.ts +0 -11
- package/dist/types-ts4.5/ui/confluence-search-modal/basic-filters/types.d.ts +0 -28
- package/dist/types-ts4.5/ui/confluence-search-modal/confluence-search-container/index.d.ts +0 -10
- package/dist/types-ts4.5/ui/confluence-search-modal/confluence-search-container/messages.d.ts +0 -7
- package/dist/types-ts4.5/ui/confluence-search-modal/index.d.ts +0 -5
- package/dist/types-ts4.5/ui/confluence-search-modal/modal/index.d.ts +0 -4
- package/dist/types-ts4.5/ui/confluence-search-modal/modal/messages.d.ts +0 -57
- package/dist/types-ts4.5/ui/confluence-search-modal/types.d.ts +0 -31
- package/dist/types-ts4.5/ui/datasource-table-view/datasource-column-sort.d.ts +0 -12
- package/dist/types-ts4.5/ui/datasource-table-view/datasourceTableView.d.ts +0 -18
- package/dist/types-ts4.5/ui/datasource-table-view/index.d.ts +0 -4
- package/dist/types-ts4.5/ui/datasource-table-view/types.d.ts +0 -10
- package/dist/types-ts4.5/ui/issue-like-table/column-picker/concatenated-menu-list.d.ts +0 -4
- package/dist/types-ts4.5/ui/issue-like-table/column-picker/index.d.ts +0 -3
- package/dist/types-ts4.5/ui/issue-like-table/column-picker/messages.d.ts +0 -22
- package/dist/types-ts4.5/ui/issue-like-table/column-picker/types.d.ts +0 -7
- package/dist/types-ts4.5/ui/issue-like-table/custom-icons.d.ts +0 -5
- package/dist/types-ts4.5/ui/issue-like-table/drag-column-preview.d.ts +0 -9
- package/dist/types-ts4.5/ui/issue-like-table/draggable-table-heading.d.ts +0 -19
- package/dist/types-ts4.5/ui/issue-like-table/edit-type/icon/index.d.ts +0 -12
- package/dist/types-ts4.5/ui/issue-like-table/edit-type/index.d.ts +0 -15
- package/dist/types-ts4.5/ui/issue-like-table/edit-type/status/index.d.ts +0 -12
- package/dist/types-ts4.5/ui/issue-like-table/edit-type/text/index.d.ts +0 -10
- package/dist/types-ts4.5/ui/issue-like-table/edit-type/user/index.d.ts +0 -12
- package/dist/types-ts4.5/ui/issue-like-table/empty-state/index.d.ts +0 -6
- package/dist/types-ts4.5/ui/issue-like-table/empty-state/type.d.ts +0 -6
- package/dist/types-ts4.5/ui/issue-like-table/empty-state/types.d.ts +0 -2
- package/dist/types-ts4.5/ui/issue-like-table/index.d.ts +0 -6
- package/dist/types-ts4.5/ui/issue-like-table/messages.d.ts +0 -57
- package/dist/types-ts4.5/ui/issue-like-table/render-type/boolean/index.d.ts +0 -9
- package/dist/types-ts4.5/ui/issue-like-table/render-type/boolean/messages.d.ts +0 -12
- package/dist/types-ts4.5/ui/issue-like-table/render-type/date-range/index.d.ts +0 -11
- package/dist/types-ts4.5/ui/issue-like-table/render-type/date-range/messages.d.ts +0 -17
- package/dist/types-ts4.5/ui/issue-like-table/render-type/date-time/index.d.ts +0 -12
- package/dist/types-ts4.5/ui/issue-like-table/render-type/icon/index.d.ts +0 -9
- package/dist/types-ts4.5/ui/issue-like-table/render-type/index.d.ts +0 -5
- package/dist/types-ts4.5/ui/issue-like-table/render-type/link/index.d.ts +0 -8
- package/dist/types-ts4.5/ui/issue-like-table/render-type/number/index.d.ts +0 -9
- package/dist/types-ts4.5/ui/issue-like-table/render-type/richtext/index.d.ts +0 -6
- package/dist/types-ts4.5/ui/issue-like-table/render-type/status/index.d.ts +0 -8
- package/dist/types-ts4.5/ui/issue-like-table/render-type/tag/index.d.ts +0 -9
- package/dist/types-ts4.5/ui/issue-like-table/render-type/text/index.d.ts +0 -9
- package/dist/types-ts4.5/ui/issue-like-table/render-type/user/index.d.ts +0 -17
- package/dist/types-ts4.5/ui/issue-like-table/render-type/user/messages.d.ts +0 -7
- package/dist/types-ts4.5/ui/issue-like-table/shared-components/avatar/index.d.ts +0 -2
- package/dist/types-ts4.5/ui/issue-like-table/shared-components/icon/index.d.ts +0 -22
- package/dist/types-ts4.5/ui/issue-like-table/table-cell-content/index.d.ts +0 -15
- package/dist/types-ts4.5/ui/issue-like-table/table-cell-content/inline-edit.d.ts +0 -20
- package/dist/types-ts4.5/ui/issue-like-table/table-cell-content/messages.d.ts +0 -7
- package/dist/types-ts4.5/ui/issue-like-table/truncate-text-tag/index.d.ts +0 -8
- package/dist/types-ts4.5/ui/issue-like-table/types.d.ts +0 -117
- package/dist/types-ts4.5/ui/issue-like-table/useIsOnScreen.d.ts +0 -1
- package/dist/types-ts4.5/ui/issue-like-table/utils.d.ts +0 -43
- package/dist/types-ts4.5/ui/jira-issues-modal/basic-filters/hooks/messages.d.ts +0 -7
- package/dist/types-ts4.5/ui/jira-issues-modal/basic-filters/hooks/useFilterOptions.d.ts +0 -24
- package/dist/types-ts4.5/ui/jira-issues-modal/basic-filters/hooks/useHydrateJqlQuery.d.ts +0 -9
- package/dist/types-ts4.5/ui/jira-issues-modal/basic-filters/index.d.ts +0 -1
- package/dist/types-ts4.5/ui/jira-issues-modal/basic-filters/types.d.ts +0 -75
- package/dist/types-ts4.5/ui/jira-issues-modal/basic-filters/ui/async-popup-select/index.d.ts +0 -14
- package/dist/types-ts4.5/ui/jira-issues-modal/basic-filters/ui/async-popup-select/messages.d.ts +0 -57
- package/dist/types-ts4.5/ui/jira-issues-modal/basic-filters/ui/index.d.ts +0 -14
- package/dist/types-ts4.5/ui/jira-issues-modal/basic-filters/utils/extractValuesFromNonComplexJQL.d.ts +0 -4
- package/dist/types-ts4.5/ui/jira-issues-modal/basic-filters/utils/index.d.ts +0 -1
- package/dist/types-ts4.5/ui/jira-issues-modal/basic-filters/utils/isClauseTooComplex.d.ts +0 -3
- package/dist/types-ts4.5/ui/jira-issues-modal/basic-filters/utils/isQueryTooComplex.d.ts +0 -1
- package/dist/types-ts4.5/ui/jira-issues-modal/basic-filters/utils/transformers.d.ts +0 -8
- package/dist/types-ts4.5/ui/jira-issues-modal/index.d.ts +0 -5
- package/dist/types-ts4.5/ui/jira-issues-modal/jira-search-container/buildJQL.d.ts +0 -10
- package/dist/types-ts4.5/ui/jira-issues-modal/jira-search-container/index.d.ts +0 -21
- package/dist/types-ts4.5/ui/jira-issues-modal/jira-search-container/messages.d.ts +0 -12
- package/dist/types-ts4.5/ui/jira-issues-modal/jql-editor/index.d.ts +0 -10
- package/dist/types-ts4.5/ui/jira-issues-modal/modal/index.d.ts +0 -4
- package/dist/types-ts4.5/ui/jira-issues-modal/modal/messages.d.ts +0 -122
- package/dist/types-ts4.5/ui/jira-issues-modal/types.d.ts +0 -23
- package/dist/types-ts4.5/ui/table-footer/index.d.ts +0 -8
- package/dist/types-ts4.5/ui/table-footer/messages.d.ts +0 -27
- package/dist/types-ts4.5/ui/table-footer/powered-by-jsm-assets/index.d.ts +0 -4
- package/dist/types-ts4.5/ui/table-footer/provider-link/index.d.ts +0 -4
- package/dist/types-ts4.5/ui/table-footer/sync-info/index.d.ts +0 -4
- package/dist/types-ts4.5/ui/table-footer/sync-info/messages.d.ts +0 -12
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
/** @deprecated Use @atlaskit/link-datasource/confluence-search-modal */
|
|
2
|
-
export { default as ConfluenceSearchConfigModal } from './ui/confluence-search-modal';
|
|
3
|
-
/** @deprecated Use @atlaskit/link-datasource/jira-issues-modal */
|
|
4
|
-
export { default as JiraIssuesConfigModal } from './ui/jira-issues-modal';
|
|
5
|
-
/** @deprecated Use @atlaskit/link-datasource/assets-modal */
|
|
6
|
-
export { default as AssetsConfigModal } from './ui/assets-modal';
|
|
7
|
-
/** @deprecated Use @atlaskit/link-datasource/datasource-table-view */
|
|
8
|
-
export { default as DatasourceTableView } from './ui/datasource-table-view';
|
|
9
|
-
/** @deprecated Use @atlaskit/link-datasource/assets-modal (AssetsConfigModal) */
|
|
10
|
-
export { default as JSMAssetsConfigModal } from './ui/assets-modal';
|
|
11
|
-
/** @deprecated Use @atlaskit/link-datasource/utils/schema */
|
|
12
|
-
export { buildDatasourceAdf } from './common/utils/schema-utils';
|
|
13
|
-
/** @deprecated Use @atlaskit/link-datasource/jira-issues-modal/types */
|
|
14
|
-
export type { JiraIssuesDatasourceAdf, JiraIssueDatasourceParameters, } from './ui/jira-issues-modal/types';
|
|
15
|
-
/** @deprecated Use @atlaskit/link-datasource/assets-modal/types */
|
|
16
|
-
export type { AssetsDatasourceAdf, AssetsDatasourceParameters } from './ui/assets-modal/types';
|
|
17
|
-
/** @deprecated Use @atlaskit/link-datasource/confluence-search-modal/types */
|
|
18
|
-
export type { ConfluenceSearchDatasourceAdf, ConfluenceSearchDatasourceParameters, } from './ui/confluence-search-modal/types';
|
|
19
|
-
/** @deprecated Use @atlaskit/link-datasource/jira-issues-modal */
|
|
20
|
-
export { JIRA_LIST_OF_LINKS_DATASOURCE_ID } from './ui/jira-issues-modal';
|
|
21
|
-
/** @deprecated Use @atlaskit/link-datasource/assets-modal */
|
|
22
|
-
export { ASSETS_LIST_OF_LINKS_DATASOURCE_ID } from './ui/assets-modal';
|
|
23
|
-
/** @deprecated Use @atlaskit/link-datasource/confluence-search-modal */
|
|
24
|
-
export { CONFLUENCE_SEARCH_DATASOURCE_ID } from './ui/confluence-search-modal';
|
|
25
|
-
/** @deprecated Use @atlaskit/link-datasource/types */
|
|
26
|
-
export type { ConfigModalProps } from './common/types';
|
|
27
|
-
/** @deprecated Use @atlaskit/linking-common/types */
|
|
28
|
-
export type { DatasourceAdf, DatasourceAdfView, DatasourceAdfTableView, } from '@atlaskit/linking-common/types';
|
|
29
|
-
/** @deprecated Use @atlaskit/link-datasource/analytics/render-failed */
|
|
30
|
-
export { LazyLoadedDatasourceRenderFailedAnalyticsWrapper } from './analytics/wrappers/render-failed';
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { type EventKey } from '../analytics/generated/analytics.types';
|
|
2
|
-
import type createEventPayload from '../analytics/generated/create-event-payload';
|
|
3
|
-
import { type AqlValidateResponse, type FetchObjectSchemasResponse, type ObjectSchema } from '../types/assets/types';
|
|
4
|
-
type AnalyticsFireEvent = <K extends EventKey>(...params: Parameters<typeof createEventPayload<K>>) => void;
|
|
5
|
-
export declare const getWorkspaceId: (fireEvent?: AnalyticsFireEvent) => Promise<string>;
|
|
6
|
-
export declare const validateAql: (workspaceId: string, data: {
|
|
7
|
-
qlQuery: string;
|
|
8
|
-
}, fireEvent?: AnalyticsFireEvent) => Promise<AqlValidateResponse>;
|
|
9
|
-
export declare const fetchObjectSchema: (workspaceId: string, schemaId: string, fireEvent?: AnalyticsFireEvent) => Promise<ObjectSchema>;
|
|
10
|
-
export declare const fetchObjectSchemas: (workspaceId: string, query?: string, fireEvent?: AnalyticsFireEvent) => Promise<FetchObjectSchemasResponse>;
|
|
11
|
-
export {};
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
export declare const mapFetchErrors: (error: any) => Error;
|
|
2
|
-
export declare const getStatusCodeGroup: (error: Error) => "unknown" | "1xx" | "3xx" | "4xx" | "5xx";
|
|
3
|
-
export declare class PermissionError extends Error {
|
|
4
|
-
constructor(message: string);
|
|
5
|
-
}
|
|
6
|
-
export declare class FetchError extends Error {
|
|
7
|
-
statusCode: number;
|
|
8
|
-
constructor(statusCode: number, message?: string);
|
|
9
|
-
}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { type GetAutocompleteInitialData } from '@atlaskit/jql-editor-autocomplete-rest';
|
|
2
|
-
export type AutocompleteInitialDataResponse = {
|
|
3
|
-
jqlFields: Awaited<ReturnType<GetAutocompleteInitialData>>['jqlFields'];
|
|
4
|
-
jqlFunctions: Awaited<ReturnType<GetAutocompleteInitialData>>['jqlFunctions'];
|
|
5
|
-
};
|
|
6
|
-
export declare const makeGetJqlAutocompleteData: (cloudId: string) => (url: string) => Promise<AutocompleteInitialDataResponse>;
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { type GetAutocompleteSuggestions } from '@atlaskit/jql-editor-autocomplete-rest';
|
|
2
|
-
export type AutocompleteSuggestionsResponse = {
|
|
3
|
-
results: Awaited<ReturnType<GetAutocompleteSuggestions>>['results'];
|
|
4
|
-
};
|
|
5
|
-
export declare const makeGetJqlSuggestionsData: (cloudId: string) => (url: string) => Promise<AutocompleteSuggestionsResponse>;
|
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
import { type SelectOption } from '../ui/common/modal/popup-select/types';
|
|
2
|
-
import { type FieldValuesResponse, type HydrateResponse } from '../ui/jira-issues-modal/basic-filters/types';
|
|
3
|
-
export declare const mockHydrateJqlResponse: HydrateResponse;
|
|
4
|
-
export declare const mockFieldValuesResponse: FieldValuesResponse;
|
|
5
|
-
export declare const mockUserRecommendationsResponse: {
|
|
6
|
-
recommendedUsers: ({
|
|
7
|
-
accessLevel: string;
|
|
8
|
-
accountStatus: string;
|
|
9
|
-
attributes: {
|
|
10
|
-
isConfluenceExternalCollaborator: boolean;
|
|
11
|
-
};
|
|
12
|
-
avatarUrl: string;
|
|
13
|
-
email?: undefined;
|
|
14
|
-
entityType: string;
|
|
15
|
-
id: string;
|
|
16
|
-
locale?: undefined;
|
|
17
|
-
matchPositions: {};
|
|
18
|
-
name: string;
|
|
19
|
-
nickname: string;
|
|
20
|
-
notMentionable: boolean;
|
|
21
|
-
userType: string;
|
|
22
|
-
} | {
|
|
23
|
-
accessLevel: string;
|
|
24
|
-
accountStatus: string;
|
|
25
|
-
attributes: {
|
|
26
|
-
isConfluenceExternalCollaborator: boolean;
|
|
27
|
-
};
|
|
28
|
-
avatarUrl: string;
|
|
29
|
-
email: string;
|
|
30
|
-
entityType: string;
|
|
31
|
-
id: string;
|
|
32
|
-
locale: string;
|
|
33
|
-
matchPositions: {};
|
|
34
|
-
name: string;
|
|
35
|
-
nickname: string;
|
|
36
|
-
notMentionable: boolean;
|
|
37
|
-
userType: string;
|
|
38
|
-
} | {
|
|
39
|
-
accessLevel: string;
|
|
40
|
-
accountStatus: string;
|
|
41
|
-
attributes: {
|
|
42
|
-
isConfluenceExternalCollaborator: boolean;
|
|
43
|
-
};
|
|
44
|
-
avatarUrl: string;
|
|
45
|
-
email?: undefined;
|
|
46
|
-
entityType: string;
|
|
47
|
-
id: string;
|
|
48
|
-
locale: string;
|
|
49
|
-
matchPositions: {};
|
|
50
|
-
name: string;
|
|
51
|
-
nickname: string;
|
|
52
|
-
notMentionable: boolean;
|
|
53
|
-
userType: string;
|
|
54
|
-
})[];
|
|
55
|
-
};
|
|
56
|
-
export declare const mockUserHydrationResponse: {
|
|
57
|
-
data: {
|
|
58
|
-
users: {
|
|
59
|
-
accountId: string;
|
|
60
|
-
name: string;
|
|
61
|
-
picture: string;
|
|
62
|
-
}[];
|
|
63
|
-
};
|
|
64
|
-
};
|
|
65
|
-
export declare const mockTransformedUserHydrationResponse: SelectOption[];
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { type UserHydrationAGGResponse, type UserInfoAGGResponse } from '../ui/confluence-search-modal/basic-filters/types';
|
|
2
|
-
import { type BasicFilterFieldType, type FieldValuesResponse, type HydrateResponse } from '../ui/jira-issues-modal/basic-filters/types';
|
|
3
|
-
interface GetFieldValuesProps {
|
|
4
|
-
cloudId: string;
|
|
5
|
-
jql: string;
|
|
6
|
-
jqlTerm: BasicFilterFieldType;
|
|
7
|
-
pageCursor?: string;
|
|
8
|
-
searchString: string;
|
|
9
|
-
}
|
|
10
|
-
export declare const useBasicFilterAGG: () => {
|
|
11
|
-
getCurrentUserInfo: () => Promise<UserInfoAGGResponse>;
|
|
12
|
-
getFieldValues: ({ cloudId, jql, jqlTerm, searchString, pageCursor, }: GetFieldValuesProps) => Promise<FieldValuesResponse>;
|
|
13
|
-
getHydratedJQL: (cloudId: string, jql: string) => Promise<HydrateResponse>;
|
|
14
|
-
getUsersFromAccountIDs: (accountIds: string[]) => Promise<UserHydrationAGGResponse>;
|
|
15
|
-
};
|
|
16
|
-
export {};
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* HELLO DEV :wave
|
|
3
|
-
* If you are here to change these queries, please also remember to update the query in jira/src/packages/platform/linking/link-datasource/src/index.tsx
|
|
4
|
-
* We have the entry in @atlassian/jira-linking-platform-link-datasource to ensure that, if a developer makes a breaking change to the schema,
|
|
5
|
-
* then the relay compiler start yelling, and it can help the dev to notify us.
|
|
6
|
-
*/
|
|
7
|
-
export declare const hydrateJQLQuery = "query hydrate($cloudId: ID!, $jql: String!) {\n jira {\n jqlBuilder(cloudId: $cloudId) {\n hydrateJqlQuery(query: $jql) {\n ... on JiraJqlHydratedQuery {\n fields {\n ... on JiraJqlQueryHydratedField {\n jqlTerm\n values {\n ... on JiraJqlQueryHydratedValue {\n values {\n ... on JiraJqlProjectFieldValue {\n jqlTerm\n displayName\n project {\n avatar {\n small\n }\n }\n }\n ... on JiraJqlStatusFieldValue {\n jqlTerm\n displayName\n statusCategory {\n colorName\n }\n }\n ... on JiraJqlIssueTypeFieldValue {\n jqlTerm\n displayName\n issueTypes {\n avatar {\n small\n }\n }\n }\n ... on JiraJqlUserFieldValue {\n jqlTerm\n displayName\n user {\n picture\n }\n }\n ... on JiraJqlGroupFieldValue {\n jqlTerm\n displayName\n group {\n name\n }\n }\n }\n }\n }\n }\n }\n }\n }\n }\n }\n}";
|
|
8
|
-
export declare const fieldValuesQuery = "query fieldValues($cloudId: ID!, $first: Int = 10, $jqlTerm: String!, $jql: String!, $searchString: String!, $after: String) {\n jira {\n jqlBuilder(cloudId: $cloudId) {\n fieldValues(\n first: $first\n jqlTerm: $jqlTerm\n jqlContext: $jql\n searchString: $searchString\n after: $after\n ) {\n totalCount\n pageInfo {\n endCursor\n }\n edges {\n node {\n jqlTerm\n displayName\n ... on JiraJqlProjectFieldValue {\n project {\n avatar {\n small\n }\n }\n }\n ... on JiraJqlIssueTypeFieldValue {\n issueTypes {\n avatar {\n small\n }\n }\n }\n ... on JiraJqlStatusFieldValue {\n statusCategory {\n colorName\n }\n }\n ... on JiraJqlUserFieldValue {\n user {\n picture\n }\n }\n ... on JiraJqlGroupFieldValue {\n group {\n name\n }\n }\n }\n }\n }\n }\n }\n}";
|
|
9
|
-
export declare const userQuery = "query userQuery {\n me {\n user {\n id\n accountId\n }\n }\n}";
|
|
10
|
-
export declare const userHydration = "query userHydration($accountIds: [ID!]!) {\n users(accountIds: $accountIds) {\n accountId\n name\n picture\n }\n}";
|
|
@@ -1,119 +0,0 @@
|
|
|
1
|
-
import { type Action, type BoundActions, type HookFunction, type Store } from 'react-sweet-state';
|
|
2
|
-
import { useDatasourceClientExtension } from '@atlaskit/link-client-extension';
|
|
3
|
-
import type { ActionsDiscoveryRequest, AtomicActionExecuteRequest, AtomicActionExecuteResponse, AtomicActionInterface } from '@atlaskit/linking-types';
|
|
4
|
-
import { type DatasourceOperationFailedAttributesType, type EventKey } from '../../../src/analytics/generated/analytics.types';
|
|
5
|
-
import type createEventPayload from '../../../src/analytics/generated/create-event-payload';
|
|
6
|
-
type IntegrationKey = string;
|
|
7
|
-
type FieldKey = string;
|
|
8
|
-
/**
|
|
9
|
-
* Atomic actions available for an integration (by field)
|
|
10
|
-
* @example
|
|
11
|
-
* ```ts
|
|
12
|
-
* {
|
|
13
|
-
* jira: {
|
|
14
|
-
* summary: {
|
|
15
|
-
* actionKey: 'atlassian:work-item:update:summary',
|
|
16
|
-
* type: 'string'
|
|
17
|
-
* },
|
|
18
|
-
* status: {
|
|
19
|
-
* actionKey: 'atlassian:work-item:update:status',
|
|
20
|
-
* type: 'string',
|
|
21
|
-
* fetchAction: {
|
|
22
|
-
* actionKey: 'atlassian:work-item:get:statuses',
|
|
23
|
-
* type: 'string',
|
|
24
|
-
* inputs: {
|
|
25
|
-
* issueId: {
|
|
26
|
-
* type: 'string'
|
|
27
|
-
* }
|
|
28
|
-
* }
|
|
29
|
-
* }
|
|
30
|
-
* }
|
|
31
|
-
* }
|
|
32
|
-
* }
|
|
33
|
-
* ```
|
|
34
|
-
*/
|
|
35
|
-
type IntegrationActions = Record<IntegrationKey, Record<FieldKey, Pick<AtomicActionInterface, 'actionKey' | 'type' | 'description'> & {
|
|
36
|
-
fetchAction?: Pick<AtomicActionInterface, 'actionKey' | 'type' | 'inputs'>;
|
|
37
|
-
}>>;
|
|
38
|
-
/**
|
|
39
|
-
* Permissions available for a target
|
|
40
|
-
*/
|
|
41
|
-
type TargetPermissions = Record<FieldKey, {
|
|
42
|
-
isEditable: boolean;
|
|
43
|
-
}>;
|
|
44
|
-
/**
|
|
45
|
-
* User permissions for actions on target (ARI) properties
|
|
46
|
-
* @example
|
|
47
|
-
* ```ts
|
|
48
|
-
* {
|
|
49
|
-
* 'ari:cloud:jira:63cecfe3-16fa-4ee1-8e8d-047cc4b18980:issue/1': {
|
|
50
|
-
* summary: {
|
|
51
|
-
* isEditable: true
|
|
52
|
-
* }
|
|
53
|
-
* }
|
|
54
|
-
* }
|
|
55
|
-
* ```
|
|
56
|
-
*/
|
|
57
|
-
type ARI = string;
|
|
58
|
-
type Permissions = Record<ARI, TargetPermissions>;
|
|
59
|
-
export interface ActionsStoreState {
|
|
60
|
-
actionsByIntegration: IntegrationActions;
|
|
61
|
-
permissions: Permissions;
|
|
62
|
-
}
|
|
63
|
-
interface Client {
|
|
64
|
-
getDatasourceActionsAndPermissions: ReturnType<typeof useDatasourceClientExtension>['getDatasourceActionsAndPermissions'];
|
|
65
|
-
}
|
|
66
|
-
type AnalyticsCaptureError = (errorLocation: DatasourceOperationFailedAttributesType['errorLocation'], error: unknown) => void;
|
|
67
|
-
type AnalyticsFireEvent = <K extends EventKey>(...params: Parameters<typeof createEventPayload<K>>) => void;
|
|
68
|
-
interface UseDiscoverActionsProps {
|
|
69
|
-
captureError: AnalyticsCaptureError;
|
|
70
|
-
fireEvent: AnalyticsFireEvent;
|
|
71
|
-
}
|
|
72
|
-
export declare const actions: {
|
|
73
|
-
discoverActions: (captureError: AnalyticsCaptureError, fireEvent: AnalyticsFireEvent, api: Client, request: ActionsDiscoveryRequest) => Action<ActionsStoreState>;
|
|
74
|
-
};
|
|
75
|
-
export declare const ActionsStore: Store<ActionsStoreState, {
|
|
76
|
-
discoverActions: (captureError: AnalyticsCaptureError, fireEvent: AnalyticsFireEvent, api: Client, request: ActionsDiscoveryRequest) => Action<ActionsStoreState>;
|
|
77
|
-
}>;
|
|
78
|
-
export declare const useDiscoverActions: ({ captureError, fireEvent, }: UseDiscoverActionsProps) => {
|
|
79
|
-
discoverActions: (request: ActionsDiscoveryRequest) => void | Promise<void>;
|
|
80
|
-
};
|
|
81
|
-
/**
|
|
82
|
-
* Retrieves the action schema for a given ARI + fieldKey + integrationKey
|
|
83
|
-
*/
|
|
84
|
-
export declare const useAtomicUpdateActionSchema: HookFunction<{
|
|
85
|
-
schema?: undefined;
|
|
86
|
-
fetchSchema?: undefined;
|
|
87
|
-
} | {
|
|
88
|
-
schema: Pick<AtomicActionInterface, 'type' | 'description' | 'actionKey'> & {
|
|
89
|
-
fetchAction?: Pick<AtomicActionInterface, 'actionKey' | 'type' | 'inputs'>;
|
|
90
|
-
};
|
|
91
|
-
fetchSchema: Pick<AtomicActionInterface, 'type' | 'inputs' | 'actionKey'> | undefined;
|
|
92
|
-
}, BoundActions<ActionsStoreState, {
|
|
93
|
-
discoverActions: (captureError: AnalyticsCaptureError, fireEvent: AnalyticsFireEvent, api: Client, request: ActionsDiscoveryRequest) => Action<ActionsStoreState>;
|
|
94
|
-
}>, {
|
|
95
|
-
ari: string;
|
|
96
|
-
fieldKey: string;
|
|
97
|
-
integrationKey: string;
|
|
98
|
-
}>;
|
|
99
|
-
export type ExecuteFetch = <E>(inputs: AtomicActionExecuteRequest['parameters']['inputs']) => Promise<E>;
|
|
100
|
-
/**
|
|
101
|
-
* Given an ARI + fieldKey + integrationKey
|
|
102
|
-
* Returns an executable action that updates a field on the entity if the user has permissions to do so
|
|
103
|
-
*
|
|
104
|
-
* @example
|
|
105
|
-
* ```tsx
|
|
106
|
-
* const { execute } = useExecuteAtomicAction({ ari, fieldKey: 'summary', integrationKey: 'jira' });
|
|
107
|
-
*
|
|
108
|
-
* return <button onClick={() => execute('New summary')}>Update summary</button>;
|
|
109
|
-
* ```
|
|
110
|
-
*/
|
|
111
|
-
export declare const useExecuteAtomicAction: ({ ari, fieldKey, integrationKey, }: {
|
|
112
|
-
ari: string;
|
|
113
|
-
fieldKey: string;
|
|
114
|
-
integrationKey: string;
|
|
115
|
-
}) => {
|
|
116
|
-
execute?: (value: string | number) => Promise<AtomicActionExecuteResponse<unknown>>;
|
|
117
|
-
executeFetch?: ExecuteFetch;
|
|
118
|
-
};
|
|
119
|
-
export {};
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { type Action, type BoundActions, type HookActionsFunction, type HookStateFunction, type Store as StoreType } from 'react-sweet-state';
|
|
3
|
-
import type { DatasourceDataResponseItem } from '@atlaskit/linking-types';
|
|
4
|
-
type UniqueIdentifier = string;
|
|
5
|
-
export interface DatasourceItem {
|
|
6
|
-
ari: string | undefined;
|
|
7
|
-
data: DatasourceDataResponseItem;
|
|
8
|
-
entityType: string | undefined;
|
|
9
|
-
integrationKey: string | undefined;
|
|
10
|
-
}
|
|
11
|
-
export interface State {
|
|
12
|
-
items: Record<UniqueIdentifier, DatasourceItem>;
|
|
13
|
-
}
|
|
14
|
-
export declare const actions: {
|
|
15
|
-
onUpdateItem: (id: string, data: DatasourceDataResponseItem) => Action<State, void, void>;
|
|
16
|
-
onAddItems: (items: DatasourceDataResponseItem[], integrationKey: string | undefined, entityType: string | undefined) => Action<State, void, string[]>;
|
|
17
|
-
};
|
|
18
|
-
export declare const Store: StoreType<State, {
|
|
19
|
-
onUpdateItem: (id: string, data: DatasourceDataResponseItem) => Action<State, void, void>;
|
|
20
|
-
onAddItems: (items: DatasourceDataResponseItem[], integrationKey: string | undefined, entityType: string | undefined) => Action<State, void, string[]>;
|
|
21
|
-
}>;
|
|
22
|
-
export declare const useDatasourceItem: HookStateFunction<DatasourceItem | undefined, {
|
|
23
|
-
id: string;
|
|
24
|
-
}>;
|
|
25
|
-
export declare const useDatasourceActions: HookActionsFunction<BoundActions<State, {
|
|
26
|
-
onUpdateItem: (id: string, data: DatasourceDataResponseItem) => Action<State, void, void>;
|
|
27
|
-
onAddItems: (items: DatasourceDataResponseItem[], integrationKey: string | undefined, entityType: string | undefined) => Action<State, void, string[]>;
|
|
28
|
-
}>>;
|
|
29
|
-
export declare const StoreContainer: ({ children }: {
|
|
30
|
-
children: JSX.Element;
|
|
31
|
-
}) => React.JSX.Element;
|
|
32
|
-
export {};
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
export type GetWorkspaceDetailsResponse = {
|
|
2
|
-
results: [
|
|
3
|
-
{
|
|
4
|
-
id: string;
|
|
5
|
-
}
|
|
6
|
-
];
|
|
7
|
-
};
|
|
8
|
-
export type ObjectSchema = {
|
|
9
|
-
id: string;
|
|
10
|
-
name: string;
|
|
11
|
-
};
|
|
12
|
-
export type ObjectSchemaOption = {
|
|
13
|
-
label: string;
|
|
14
|
-
value: string;
|
|
15
|
-
};
|
|
16
|
-
export type FetchObjectSchemaResponse = ObjectSchema;
|
|
17
|
-
export type FetchObjectSchemasResponse = {
|
|
18
|
-
isLast: boolean;
|
|
19
|
-
maxResults: number;
|
|
20
|
-
startAt: number;
|
|
21
|
-
total: number;
|
|
22
|
-
values: ObjectSchema[];
|
|
23
|
-
};
|
|
24
|
-
export type ValidationError = {
|
|
25
|
-
iql?: string;
|
|
26
|
-
};
|
|
27
|
-
export type AqlValidateResponse = {
|
|
28
|
-
errorMessages: string[];
|
|
29
|
-
errors?: ValidationError;
|
|
30
|
-
isValid: boolean;
|
|
31
|
-
};
|
|
32
|
-
export declare const objectSchemaKey: "objectSchema";
|
|
33
|
-
export declare const aqlKey: "aql";
|
|
34
|
-
export type SearchForm = {
|
|
35
|
-
[aqlKey]: string;
|
|
36
|
-
[objectSchemaKey]: ObjectSchemaOption | undefined | null;
|
|
37
|
-
};
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { type AssetsConfigModalProps } from './types';
|
|
3
|
-
export declare const ASSETS_LIST_OF_LINKS_DATASOURCE_ID = "361d618a-3c04-40ad-9b27-3c8ea6927020";
|
|
4
|
-
declare const AssetsConfigModalWithWrappers: (props: AssetsConfigModalProps) => React.JSX.Element;
|
|
5
|
-
export default AssetsConfigModalWithWrappers;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @jsxRuntime classic
|
|
3
|
-
* @jsx jsx
|
|
4
|
-
*/
|
|
5
|
-
import { type ForwardRefExoticComponent, type RefAttributes } from 'react';
|
|
6
|
-
import { type WithContextProps } from '@atlaskit/analytics-next';
|
|
7
|
-
import { type AssetsConfigModalProps } from '../types';
|
|
8
|
-
export declare const AssetsConfigModal: ForwardRefExoticComponent<AssetsConfigModalProps & WithContextProps & RefAttributes<any>>;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
export declare const modalMessages: {
|
|
2
|
-
updateObjectsButtonText: {
|
|
3
|
-
id: string;
|
|
4
|
-
description: string;
|
|
5
|
-
defaultMessage: string;
|
|
6
|
-
};
|
|
7
|
-
insertIssuesButtonText: {
|
|
8
|
-
id: string;
|
|
9
|
-
description: string;
|
|
10
|
-
defaultMessage: string;
|
|
11
|
-
};
|
|
12
|
-
insertObjectsTitle: {
|
|
13
|
-
id: string;
|
|
14
|
-
description: string;
|
|
15
|
-
defaultMessage: string;
|
|
16
|
-
};
|
|
17
|
-
};
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { type DatasourceDataResponseItem, type DatasourceResponseSchemaProperty, type DatasourceTableStatusType } from '@atlaskit/linking-types';
|
|
2
|
-
export interface RenderAssetsContentProps {
|
|
3
|
-
aql?: string;
|
|
4
|
-
columns: DatasourceResponseSchemaProperty[];
|
|
5
|
-
datasourceId: string;
|
|
6
|
-
defaultVisibleColumnKeys: string[];
|
|
7
|
-
hasNextPage: boolean;
|
|
8
|
-
isFetchingInitialData: boolean;
|
|
9
|
-
loadDatasourceDetails: () => Promise<void>;
|
|
10
|
-
onNextPage: () => void;
|
|
11
|
-
onVisibleColumnKeysChange: (visibleColumnKeys: string[]) => void;
|
|
12
|
-
responseItemIds: string[];
|
|
13
|
-
responseItems: DatasourceDataResponseItem[];
|
|
14
|
-
schemaId?: string;
|
|
15
|
-
status: DatasourceTableStatusType;
|
|
16
|
-
visibleColumnKeys?: string[];
|
|
17
|
-
}
|
|
18
|
-
export declare const MODAL_HEIGHT = 420;
|
|
19
|
-
export declare const RenderAssetsContent: (props: RenderAssetsContentProps) => JSX.Element;
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
export declare const initialStateViewMessages: {
|
|
2
|
-
searchTitle: {
|
|
3
|
-
id: string;
|
|
4
|
-
description: string;
|
|
5
|
-
defaultMessage: string;
|
|
6
|
-
};
|
|
7
|
-
searchDescription: {
|
|
8
|
-
id: string;
|
|
9
|
-
description: string;
|
|
10
|
-
defaultMessage: string;
|
|
11
|
-
};
|
|
12
|
-
learnMoreLinkOld: {
|
|
13
|
-
id: string;
|
|
14
|
-
description: string;
|
|
15
|
-
defaultMessage: string;
|
|
16
|
-
};
|
|
17
|
-
learnMoreLink: {
|
|
18
|
-
id: string;
|
|
19
|
-
description: string;
|
|
20
|
-
defaultMessage: string;
|
|
21
|
-
};
|
|
22
|
-
};
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import type { ObjectSchema } from '../../../types/assets/types';
|
|
2
|
-
export type InitialSearchData = {
|
|
3
|
-
aql?: string;
|
|
4
|
-
objectSchema?: ObjectSchema;
|
|
5
|
-
objectSchemas?: ObjectSchema[];
|
|
6
|
-
};
|
|
7
|
-
export interface SearchContainerProps {
|
|
8
|
-
initialSearchData: InitialSearchData;
|
|
9
|
-
isSearching: boolean;
|
|
10
|
-
modalTitle?: JSX.Element;
|
|
11
|
-
onCancel: () => void;
|
|
12
|
-
onSearch: (aql: string, schemaId: string) => void;
|
|
13
|
-
workspaceId: string;
|
|
14
|
-
}
|
|
15
|
-
export declare const AssetsSearchContainer: (props: SearchContainerProps) => JSX.Element;
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @jsxRuntime classic
|
|
3
|
-
* @jsx jsx
|
|
4
|
-
*/
|
|
5
|
-
import { type ObjectSchema } from '../../../../types/assets/types';
|
|
6
|
-
type AssetsObjectSchemaSelectProps = {
|
|
7
|
-
classNamePrefix?: string;
|
|
8
|
-
initialObjectSchemas: ObjectSchema[] | undefined;
|
|
9
|
-
testId?: string;
|
|
10
|
-
value: ObjectSchema | undefined;
|
|
11
|
-
workspaceId: string;
|
|
12
|
-
};
|
|
13
|
-
export declare const SEARCH_DEBOUNCE_MS = 350;
|
|
14
|
-
/**
|
|
15
|
-
* Rendering a `<Select>` in a `<Modal>` results in the select options getting cut off by the bottom of the modal and
|
|
16
|
-
* scrolling. This is a work-around for that, see https://atlassian.slack.com/archives/CFJ9DU39U/p1623179496484100
|
|
17
|
-
*/
|
|
18
|
-
export declare const selectInAModalStyleFixProps: {
|
|
19
|
-
menuPortalTarget: HTMLElement;
|
|
20
|
-
styles: {
|
|
21
|
-
menuPortal: (base: any) => any;
|
|
22
|
-
};
|
|
23
|
-
};
|
|
24
|
-
export declare const AssetsObjectSchemaSelect: ({ value, workspaceId, initialObjectSchemas, classNamePrefix: _classNamePrefix, testId, }: AssetsObjectSchemaSelectProps) => JSX.Element;
|
|
25
|
-
export {};
|
package/dist/types-ts4.5/ui/assets-modal/search-container/object-schema-select/messages.d.ts
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
export declare const objectSchemaSelectMessages: {
|
|
2
|
-
label: {
|
|
3
|
-
id: string;
|
|
4
|
-
description: string;
|
|
5
|
-
defaultMessage: string;
|
|
6
|
-
};
|
|
7
|
-
placeholder: {
|
|
8
|
-
id: string;
|
|
9
|
-
description: string;
|
|
10
|
-
defaultMessage: string;
|
|
11
|
-
};
|
|
12
|
-
schemaRequired: {
|
|
13
|
-
id: string;
|
|
14
|
-
description: string;
|
|
15
|
-
defaultMessage: string;
|
|
16
|
-
};
|
|
17
|
-
};
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { type DatasourceAdf, type InlineCardAdf } from '@atlaskit/linking-common/types';
|
|
2
|
-
import { type DatasourceParameters } from '@atlaskit/linking-types';
|
|
3
|
-
import { type ConfigModalProps } from '../../common/types';
|
|
4
|
-
export type AssetsDatasourceParameters = {
|
|
5
|
-
aql: string;
|
|
6
|
-
schemaId: string;
|
|
7
|
-
version?: string;
|
|
8
|
-
workspaceId: string;
|
|
9
|
-
};
|
|
10
|
-
export type AssetsDatasourceAdf = DatasourceAdf<AssetsDatasourceParameters>;
|
|
11
|
-
export interface AssetsConfigModalProps extends ConfigModalProps<InlineCardAdf | AssetsDatasourceAdf, DatasourceParameters | AssetsDatasourceParameters> {
|
|
12
|
-
}
|