@atlaskit/link-datasource 1.19.5 → 1.19.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,18 @@
1
1
  # @atlaskit/link-datasource
2
2
 
3
+ ## 1.19.7
4
+
5
+ ### Patch Changes
6
+
7
+ - [#56736](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/56736) [`4372f34080e4`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4372f34080e4) - Remove incorrect analytics attributes and move them to insert click.
8
+ - [#56790](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/56790) [`ff577a7969d4`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ff577a7969d4) - ED-21266: Updated @atlaskit/adf-schema to 34.0.1
9
+
10
+ ## 1.19.6
11
+
12
+ ### Patch Changes
13
+
14
+ - [#56508](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/56508) [`39157c94842a`](https://bitbucket.org/atlassian/atlassian-frontend/commits/39157c94842a) - Fix a bug in mapHydrateResponseData which include all fields from hydrate response
15
+
3
16
  ## 1.19.5
4
17
 
5
18
  ### Patch Changes
@@ -7,5 +7,5 @@ exports.packageMetaData = exports.EVENT_CHANNEL = void 0;
7
7
  var EVENT_CHANNEL = exports.EVENT_CHANNEL = 'media';
8
8
  var packageMetaData = exports.packageMetaData = {
9
9
  packageName: "@atlaskit/link-datasource",
10
- packageVersion: "1.19.5"
10
+ packageVersion: "1.19.7"
11
11
  };
@@ -11,14 +11,14 @@ var _react = require("react");
11
11
  var _react2 = require("@emotion/react");
12
12
  var _reactDom = _interopRequireDefault(require("react-dom"));
13
13
  var _tinyInvariant = _interopRequireDefault(require("tiny-invariant"));
14
+ var _closestEdge = require("@atlaskit/pragmatic-drag-and-drop-hitbox/addon/closest-edge");
15
+ var _boxWithoutTerminal = require("@atlaskit/pragmatic-drag-and-drop-react-indicator/box-without-terminal");
14
16
  var _element = require("@atlaskit/pragmatic-drag-and-drop/adapter/element");
15
17
  var _cancelUnhandled = require("@atlaskit/pragmatic-drag-and-drop/addon/cancel-unhandled");
16
18
  var _combine = require("@atlaskit/pragmatic-drag-and-drop/util/combine");
17
19
  var _disableNativeDragPreview = require("@atlaskit/pragmatic-drag-and-drop/util/disable-native-drag-preview");
18
20
  var _offsetFromPointer = require("@atlaskit/pragmatic-drag-and-drop/util/offset-from-pointer");
19
21
  var _setCustomNativeDragPreview = require("@atlaskit/pragmatic-drag-and-drop/util/set-custom-native-drag-preview");
20
- var _closestEdge = require("@atlaskit/pragmatic-drag-and-drop-hitbox/addon/closest-edge");
21
- var _boxWithoutTerminal = require("@atlaskit/pragmatic-drag-and-drop-react-indicator/box-without-terminal");
22
22
  var _styled = require("./styled");
23
23
  var _index = require("./index");
24
24
  function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
@@ -17,11 +17,11 @@ var _styled = _interopRequireDefault(require("@emotion/styled"));
17
17
  var _tinyInvariant = _interopRequireDefault(require("tiny-invariant"));
18
18
  var _heading = _interopRequireDefault(require("@atlaskit/heading"));
19
19
  var _linkingCommon = require("@atlaskit/linking-common");
20
- var _element = require("@atlaskit/pragmatic-drag-and-drop/adapter/element");
21
- var _combine = require("@atlaskit/pragmatic-drag-and-drop/util/combine");
22
20
  var _closestEdge = require("@atlaskit/pragmatic-drag-and-drop-hitbox/addon/closest-edge");
23
21
  var _reorderWithEdge = require("@atlaskit/pragmatic-drag-and-drop-hitbox/util/reorder-with-edge");
24
22
  var _pragmaticDragAndDropReactBeautifulDndAutoscroll = require("@atlaskit/pragmatic-drag-and-drop-react-beautiful-dnd-autoscroll");
23
+ var _element = require("@atlaskit/pragmatic-drag-and-drop/adapter/element");
24
+ var _combine = require("@atlaskit/pragmatic-drag-and-drop/util/combine");
25
25
  var _colors = require("@atlaskit/theme/colors");
26
26
  var _tooltip = _interopRequireDefault(require("@atlaskit/tooltip"));
27
27
  var _ufoExperiences = require("../../analytics/ufoExperiences");
@@ -10,6 +10,7 @@ exports.mapFieldValuesToTotalCount = mapFieldValuesToTotalCount;
10
10
  exports.mapHydrateResponseData = mapHydrateResponseData;
11
11
  var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
12
12
  var _types = require("../types");
13
+ var _ui = require("../ui");
13
14
  function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
14
15
  function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0, _defineProperty2.default)(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
15
16
  function isNonNullSelectOption(edge) {
@@ -85,10 +86,10 @@ function mapHydrateResponseData(_ref2) {
85
86
  _ref3$values = _ref3.values,
86
87
  values = _ref3$values === void 0 ? [] : _ref3$values;
87
88
  /**
88
- * Currently, the hydrate query does not support text field in JQL and returns as {} object.
89
- * Hence we check if a valid jqlTerm is available
89
+ * Currently, we expect to hydrate only the 4 filter fields that we use.
90
+ * Hence we check if jqlTerm is one of the values in availableBasicFilterTypes
90
91
  */
91
- if (!jqlTerm) {
92
+ if (!_ui.availableBasicFilterTypes.includes(jqlTerm)) {
92
93
  return;
93
94
  }
94
95
  var options = values.map(function (_ref4) {
@@ -1,5 +1,5 @@
1
1
  export const EVENT_CHANNEL = 'media';
2
2
  export const packageMetaData = {
3
3
  packageName: "@atlaskit/link-datasource",
4
- packageVersion: "1.19.5"
4
+ packageVersion: "1.19.7"
5
5
  };
@@ -3,14 +3,14 @@ import { useEffect, useRef, useState } from 'react';
3
3
  import { css, jsx } from '@emotion/react';
4
4
  import ReactDOM from 'react-dom';
5
5
  import invariant from 'tiny-invariant';
6
+ import { attachClosestEdge, extractClosestEdge } from '@atlaskit/pragmatic-drag-and-drop-hitbox/addon/closest-edge';
7
+ import { DropIndicator } from '@atlaskit/pragmatic-drag-and-drop-react-indicator/box-without-terminal';
6
8
  import { draggable, dropTargetForElements, monitorForElements } from '@atlaskit/pragmatic-drag-and-drop/adapter/element';
7
9
  import { cancelUnhandled } from '@atlaskit/pragmatic-drag-and-drop/addon/cancel-unhandled';
8
10
  import { combine } from '@atlaskit/pragmatic-drag-and-drop/util/combine';
9
11
  import { disableNativeDragPreview } from '@atlaskit/pragmatic-drag-and-drop/util/disable-native-drag-preview';
10
12
  import { offsetFromPointer } from '@atlaskit/pragmatic-drag-and-drop/util/offset-from-pointer';
11
13
  import { setCustomNativeDragPreview } from '@atlaskit/pragmatic-drag-and-drop/util/set-custom-native-drag-preview';
12
- import { attachClosestEdge, extractClosestEdge } from '@atlaskit/pragmatic-drag-and-drop-hitbox/addon/closest-edge';
13
- import { DropIndicator } from '@atlaskit/pragmatic-drag-and-drop-react-indicator/box-without-terminal';
14
14
  import { TableHeading } from './styled';
15
15
  import { COLUMN_MIN_WIDTH } from './index';
16
16
  const verticallyAlignedStyles = css({
@@ -5,11 +5,11 @@ import styled from '@emotion/styled';
5
5
  import invariant from 'tiny-invariant';
6
6
  import Heading from '@atlaskit/heading';
7
7
  import { Skeleton } from '@atlaskit/linking-common';
8
- import { monitorForElements } from '@atlaskit/pragmatic-drag-and-drop/adapter/element';
9
- import { combine } from '@atlaskit/pragmatic-drag-and-drop/util/combine';
10
8
  import { extractClosestEdge } from '@atlaskit/pragmatic-drag-and-drop-hitbox/addon/closest-edge';
11
9
  import { reorderWithEdge } from '@atlaskit/pragmatic-drag-and-drop-hitbox/util/reorder-with-edge';
12
10
  import { autoScroller } from '@atlaskit/pragmatic-drag-and-drop-react-beautiful-dnd-autoscroll';
11
+ import { monitorForElements } from '@atlaskit/pragmatic-drag-and-drop/adapter/element';
12
+ import { combine } from '@atlaskit/pragmatic-drag-and-drop/util/combine';
13
13
  import { N40 } from '@atlaskit/theme/colors';
14
14
  import Tooltip from '@atlaskit/tooltip';
15
15
  import { startUfoExperience, succeedUfoExperience } from '../../analytics/ufoExperiences';
@@ -1,4 +1,5 @@
1
1
  import { appearanceMap } from '../types';
2
+ import { availableBasicFilterTypes } from '../ui';
2
3
  function isNonNullSelectOption(edge) {
3
4
  return edge !== null;
4
5
  }
@@ -79,10 +80,10 @@ export function mapHydrateResponseData({
79
80
  values = []
80
81
  }) => {
81
82
  /**
82
- * Currently, the hydrate query does not support text field in JQL and returns as {} object.
83
- * Hence we check if a valid jqlTerm is available
83
+ * Currently, we expect to hydrate only the 4 filter fields that we use.
84
+ * Hence we check if jqlTerm is one of the values in availableBasicFilterTypes
84
85
  */
85
- if (!jqlTerm) {
86
+ if (!availableBasicFilterTypes.includes(jqlTerm)) {
86
87
  return;
87
88
  }
88
89
  const options = values.map(({
@@ -1,5 +1,5 @@
1
1
  export var EVENT_CHANNEL = 'media';
2
2
  export var packageMetaData = {
3
3
  packageName: "@atlaskit/link-datasource",
4
- packageVersion: "1.19.5"
4
+ packageVersion: "1.19.7"
5
5
  };
@@ -7,14 +7,14 @@ import { useEffect, useRef, useState } from 'react';
7
7
  import { css, jsx } from '@emotion/react';
8
8
  import ReactDOM from 'react-dom';
9
9
  import invariant from 'tiny-invariant';
10
+ import { attachClosestEdge, extractClosestEdge } from '@atlaskit/pragmatic-drag-and-drop-hitbox/addon/closest-edge';
11
+ import { DropIndicator } from '@atlaskit/pragmatic-drag-and-drop-react-indicator/box-without-terminal';
10
12
  import { draggable, dropTargetForElements, monitorForElements } from '@atlaskit/pragmatic-drag-and-drop/adapter/element';
11
13
  import { cancelUnhandled } from '@atlaskit/pragmatic-drag-and-drop/addon/cancel-unhandled';
12
14
  import { combine } from '@atlaskit/pragmatic-drag-and-drop/util/combine';
13
15
  import { disableNativeDragPreview } from '@atlaskit/pragmatic-drag-and-drop/util/disable-native-drag-preview';
14
16
  import { offsetFromPointer } from '@atlaskit/pragmatic-drag-and-drop/util/offset-from-pointer';
15
17
  import { setCustomNativeDragPreview } from '@atlaskit/pragmatic-drag-and-drop/util/set-custom-native-drag-preview';
16
- import { attachClosestEdge, extractClosestEdge } from '@atlaskit/pragmatic-drag-and-drop-hitbox/addon/closest-edge';
17
- import { DropIndicator } from '@atlaskit/pragmatic-drag-and-drop-react-indicator/box-without-terminal';
18
18
  import { TableHeading } from './styled';
19
19
  import { COLUMN_MIN_WIDTH } from './index';
20
20
  var verticallyAlignedStyles = css({
@@ -14,11 +14,11 @@ import styled from '@emotion/styled';
14
14
  import invariant from 'tiny-invariant';
15
15
  import Heading from '@atlaskit/heading';
16
16
  import { Skeleton } from '@atlaskit/linking-common';
17
- import { monitorForElements } from '@atlaskit/pragmatic-drag-and-drop/adapter/element';
18
- import { combine } from '@atlaskit/pragmatic-drag-and-drop/util/combine';
19
17
  import { extractClosestEdge } from '@atlaskit/pragmatic-drag-and-drop-hitbox/addon/closest-edge';
20
18
  import { reorderWithEdge } from '@atlaskit/pragmatic-drag-and-drop-hitbox/util/reorder-with-edge';
21
19
  import { autoScroller } from '@atlaskit/pragmatic-drag-and-drop-react-beautiful-dnd-autoscroll';
20
+ import { monitorForElements } from '@atlaskit/pragmatic-drag-and-drop/adapter/element';
21
+ import { combine } from '@atlaskit/pragmatic-drag-and-drop/util/combine';
22
22
  import { N40 } from '@atlaskit/theme/colors';
23
23
  import Tooltip from '@atlaskit/tooltip';
24
24
  import { startUfoExperience, succeedUfoExperience } from '../../analytics/ufoExperiences';
@@ -2,6 +2,7 @@ import _defineProperty from "@babel/runtime/helpers/defineProperty";
2
2
  function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
3
3
  function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
4
4
  import { appearanceMap } from '../types';
5
+ import { availableBasicFilterTypes } from '../ui';
5
6
  function isNonNullSelectOption(edge) {
6
7
  return edge !== null;
7
8
  }
@@ -75,10 +76,10 @@ export function mapHydrateResponseData(_ref2) {
75
76
  _ref3$values = _ref3.values,
76
77
  values = _ref3$values === void 0 ? [] : _ref3$values;
77
78
  /**
78
- * Currently, the hydrate query does not support text field in JQL and returns as {} object.
79
- * Hence we check if a valid jqlTerm is available
79
+ * Currently, we expect to hydrate only the 4 filter fields that we use.
80
+ * Hence we check if jqlTerm is one of the values in availableBasicFilterTypes
80
81
  */
81
- if (!jqlTerm) {
82
+ if (!availableBasicFilterTypes.includes(jqlTerm)) {
82
83
  return;
83
84
  }
84
85
  var options = values.map(function (_ref4) {
@@ -3,7 +3,7 @@
3
3
  *
4
4
  * Generates Typescript types for analytics events from analytics.spec.yaml
5
5
  *
6
- * @codegen <<SignedSource::32dd97482f811937fcb07590b84179dd>>
6
+ * @codegen <<SignedSource::56c0904e824f5d240cc6a26a2cea70f6>>
7
7
  * @codegenCommand yarn workspace @atlassian/analytics-tooling run analytics:codegen link-datasource
8
8
  */
9
9
  export type PackageMetaDataType = {
@@ -43,16 +43,16 @@ export type ButtonClickedInsertAttributesType = {
43
43
  extensionKey: string | null;
44
44
  actions: unknown[];
45
45
  isQueryComplex: boolean;
46
+ projectBasicFilterSelectionCount: number;
47
+ statusBasicFilterSelectionCount: number;
48
+ issuetypeBasicFilterSelectionCount: number;
49
+ assigneeBasicFilterSelectionCount: number;
46
50
  };
47
51
  export type ButtonClickedCancelAttributesType = {
48
52
  searchCount: number;
49
53
  destinationObjectTypes: unknown[];
50
54
  extensionKey: string | null;
51
55
  actions: unknown[];
52
- projectBasicFilterSelectionCount: number;
53
- statusBasicFilterSelectionCount: number;
54
- issuetypeBasicFilterSelectionCount: number;
55
- assigneeBasicFilterSelectionCount: number;
56
56
  };
57
57
  export type LinkClickedSingleItemAttributesType = {
58
58
  extensionKey: string | null;
@@ -3,7 +3,7 @@
3
3
  *
4
4
  * Generates Typescript types for analytics events from analytics.spec.yaml
5
5
  *
6
- * @codegen <<SignedSource::32dd97482f811937fcb07590b84179dd>>
6
+ * @codegen <<SignedSource::56c0904e824f5d240cc6a26a2cea70f6>>
7
7
  * @codegenCommand yarn workspace @atlassian/analytics-tooling run analytics:codegen link-datasource
8
8
  */
9
9
  export type PackageMetaDataType = {
@@ -43,16 +43,16 @@ export type ButtonClickedInsertAttributesType = {
43
43
  extensionKey: string | null;
44
44
  actions: unknown[];
45
45
  isQueryComplex: boolean;
46
+ projectBasicFilterSelectionCount: number;
47
+ statusBasicFilterSelectionCount: number;
48
+ issuetypeBasicFilterSelectionCount: number;
49
+ assigneeBasicFilterSelectionCount: number;
46
50
  };
47
51
  export type ButtonClickedCancelAttributesType = {
48
52
  searchCount: number;
49
53
  destinationObjectTypes: unknown[];
50
54
  extensionKey: string | null;
51
55
  actions: unknown[];
52
- projectBasicFilterSelectionCount: number;
53
- statusBasicFilterSelectionCount: number;
54
- issuetypeBasicFilterSelectionCount: number;
55
- assigneeBasicFilterSelectionCount: number;
56
56
  };
57
57
  export type LinkClickedSingleItemAttributesType = {
58
58
  extensionKey: string | null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/link-datasource",
3
- "version": "1.19.5",
3
+ "version": "1.19.7",
4
4
  "description": "UI Components to support linking platform dataset feature",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -30,7 +30,7 @@
30
30
  "analytics:codegen": "yarn workspace @atlassian/analytics-tooling run analytics:codegen link-datasource --output ./src/analytics/generated"
31
31
  },
32
32
  "dependencies": {
33
- "@atlaskit/adf-schema": "^34.0.0",
33
+ "@atlaskit/adf-schema": "^34.0.1",
34
34
  "@atlaskit/analytics-next": "^9.1.3",
35
35
  "@atlaskit/avatar": "^21.4.0",
36
36
  "@atlaskit/badge": "^15.1.16",
@@ -1,157 +0,0 @@
1
- ## API Report File for "@atlaskit/link-datasource"
2
-
3
- > Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
4
-
5
- ```ts
6
-
7
- /// <reference types="react" />
8
-
9
- import { DatasourceAdf } from '@atlaskit/linking-common/types';
10
- import { DatasourceAdfTableView } from '@atlaskit/linking-common/types';
11
- import { DatasourceAdfView } from '@atlaskit/linking-common/types';
12
- import { InlineCardAdf } from '@atlaskit/linking-common/types';
13
- import type { UIAnalyticsEvent } from '@atlaskit/analytics-next';
14
-
15
- // @public (undocumented)
16
- export const ASSETS_LIST_OF_LINKS_DATASOURCE_ID = "361d618a-3c04-40ad-9b27-3c8ea6927020";
17
-
18
- // @public (undocumented)
19
- interface AssetsConfigModalProps {
20
- // (undocumented)
21
- datasourceId: string;
22
- // (undocumented)
23
- onCancel: () => void;
24
- // (undocumented)
25
- onInsert: (adf: AssetsDatasourceAdf | InlineCardAdf, analyticsEvent?: UIAnalyticsEvent) => void;
26
- // (undocumented)
27
- parameters?: AssetsDatasourceParameters;
28
- // (undocumented)
29
- visibleColumnKeys?: string[];
30
- }
31
-
32
- // @public (undocumented)
33
- const AssetsConfigModalWithWrappers: (props: AssetsConfigModalProps) => JSX.Element;
34
- export { AssetsConfigModalWithWrappers as AssetsConfigModal }
35
- export { AssetsConfigModalWithWrappers as JSMAssetsConfigModal }
36
-
37
- // @public (undocumented)
38
- export interface AssetsDatasourceAdf extends DatasourceAdf {
39
- // (undocumented)
40
- attrs: {
41
- url?: string;
42
- datasource: {
43
- id: string;
44
- parameters: AssetsDatasourceParameters;
45
- views: DatasourceAdfView[];
46
- };
47
- };
48
- }
49
-
50
- // @public (undocumented)
51
- export interface AssetsDatasourceParameters {
52
- // (undocumented)
53
- aql: string;
54
- // (undocumented)
55
- schemaId: string;
56
- // (undocumented)
57
- workspaceId: string;
58
- }
59
-
60
- export { DatasourceAdf }
61
-
62
- export { DatasourceAdfTableView }
63
-
64
- export { DatasourceAdfView }
65
-
66
- // @public (undocumented)
67
- export const DatasourceTableView: (props: DatasourceTableViewProps) => JSX.Element;
68
-
69
- // @public (undocumented)
70
- interface DatasourceTableViewProps {
71
- // (undocumented)
72
- columnCustomSizes?: {
73
- [key: string]: number;
74
- };
75
- datasourceId: string;
76
- // (undocumented)
77
- fields?: string[];
78
- // (undocumented)
79
- onColumnResize?: (key: string, width: number) => void;
80
- onVisibleColumnKeysChange?: (visibleColumnKeys: string[]) => void;
81
- parameters: object;
82
- url?: string;
83
- visibleColumnKeys?: string[];
84
- }
85
-
86
- // @public (undocumented)
87
- export const JIRA_LIST_OF_LINKS_DATASOURCE_ID = "d8b75300-dfda-4519-b6cd-e49abbd50401";
88
-
89
- // @public (undocumented)
90
- export type JiraIssueDatasourceParameters = {
91
- cloudId: string;
92
- } & JiraIssueDatasourceParametersQuery;
93
-
94
- // @public (undocumented)
95
- type JiraIssueDatasourceParametersQuery = XOR<{
96
- jql: string;
97
- }, {
98
- filter: string;
99
- }>;
100
-
101
- // @public (undocumented)
102
- export const JiraIssuesConfigModal: (props: JiraIssuesConfigModalProps) => JSX.Element;
103
-
104
- // @public (undocumented)
105
- interface JiraIssuesConfigModalProps {
106
- // (undocumented)
107
- columnCustomSizes?: {
108
- [key: string]: number;
109
- };
110
- datasourceId: string;
111
- onCancel: () => void;
112
- onInsert: (adf: InlineCardAdf | JiraIssuesDatasourceAdf, analyticsEvent?: UIAnalyticsEvent) => void;
113
- parameters?: JiraIssueDatasourceParameters;
114
- url?: string;
115
- viewMode?: JiraIssueViewModes;
116
- visibleColumnKeys?: string[];
117
- }
118
-
119
- // @public (undocumented)
120
- export interface JiraIssuesDatasourceAdf extends DatasourceAdf {
121
- // (undocumented)
122
- attrs: {
123
- url?: string;
124
- datasource: {
125
- id: string;
126
- parameters: JiraIssueDatasourceParameters;
127
- views: [
128
- {
129
- type: 'table';
130
- properties?: {
131
- columns: {
132
- key: string;
133
- width?: number;
134
- }[];
135
- };
136
- }
137
- ];
138
- };
139
- };
140
- }
141
-
142
- // @public (undocumented)
143
- type JiraIssueViewModes = 'count' | 'issue';
144
-
145
- // @public (undocumented)
146
- export const LazyLoadedDatasourceRenderFailedAnalyticsWrapper: (props: any) => JSX.Element;
147
-
148
- // @public (undocumented)
149
- type XOR<T1, T2> = (T1 & {
150
- [k in Exclude<keyof T2, keyof T1>]?: never;
151
- }) | (T2 & {
152
- [k in Exclude<keyof T1, keyof T2>]?: never;
153
- });
154
-
155
- // (No @packageDocumentation comment for this package)
156
-
157
- ```