@atlaskit/link-datasource 3.8.0 → 3.8.3

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.
Files changed (26) hide show
  1. package/CHANGELOG.md +29 -0
  2. package/dist/cjs/state/actions/index.js +6 -2
  3. package/dist/cjs/ui/issue-like-table/edit-type/status/index.js +7 -10
  4. package/dist/cjs/ui/issue-like-table/index.js +1 -1
  5. package/dist/cjs/ui/issue-like-table/render-type/icon/index.js +1 -2
  6. package/dist/cjs/ui/issue-like-table/table-cell-content/inline-edit.js +1 -1
  7. package/dist/cjs/ui/issue-like-table/utils.js +2 -1
  8. package/dist/es2019/state/actions/index.js +6 -2
  9. package/dist/es2019/ui/issue-like-table/edit-type/status/index.js +6 -7
  10. package/dist/es2019/ui/issue-like-table/index.js +1 -1
  11. package/dist/es2019/ui/issue-like-table/render-type/icon/index.js +1 -2
  12. package/dist/es2019/ui/issue-like-table/table-cell-content/inline-edit.js +1 -1
  13. package/dist/es2019/ui/issue-like-table/utils.js +2 -1
  14. package/dist/esm/state/actions/index.js +6 -2
  15. package/dist/esm/ui/issue-like-table/edit-type/status/index.js +7 -10
  16. package/dist/esm/ui/issue-like-table/index.js +1 -1
  17. package/dist/esm/ui/issue-like-table/render-type/icon/index.js +1 -2
  18. package/dist/esm/ui/issue-like-table/table-cell-content/inline-edit.js +1 -1
  19. package/dist/esm/ui/issue-like-table/utils.js +2 -1
  20. package/dist/types/analytics/generated/analytics.types.d.ts +9 -2
  21. package/dist/types/state/actions/index.d.ts +1 -1
  22. package/dist/types/ui/issue-like-table/edit-type/index.d.ts +1 -1
  23. package/dist/types-ts4.5/analytics/generated/analytics.types.d.ts +9 -2
  24. package/dist/types-ts4.5/state/actions/index.d.ts +1 -1
  25. package/dist/types-ts4.5/ui/issue-like-table/edit-type/index.d.ts +1 -1
  26. package/package.json +4 -4
package/CHANGELOG.md CHANGED
@@ -1,5 +1,34 @@
1
1
  # @atlaskit/link-datasource
2
2
 
3
+ ## 3.8.3
4
+
5
+ ### Patch Changes
6
+
7
+ - [#160594](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/160594)
8
+ [`e21f888db3b5a`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/e21f888db3b5a) -
9
+ Update min and default width to `120px` for the `Status` column in Jira SLLV.
10
+ - Updated dependencies
11
+
12
+ ## 3.8.2
13
+
14
+ ### Patch Changes
15
+
16
+ - [#160697](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/160697)
17
+ [`f9338153f205c`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/f9338153f205c) -
18
+ Use `transitionId` for Status field update execution
19
+ - [#160682](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/160682)
20
+ [`5685ddb1ad521`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/5685ddb1ad521) -
21
+ Removes redundant usage of atlaskit/image in favor of native img tags
22
+ - Updated dependencies
23
+
24
+ ## 3.8.1
25
+
26
+ ### Patch Changes
27
+
28
+ - [#159211](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/159211)
29
+ [`9e940f7c89d05`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/9e940f7c89d05) -
30
+ Adding analytics for `executeFetch` and updating test delays for loading state
31
+
3
32
  ## 3.8.0
4
33
 
5
34
  ### Minor Changes
@@ -256,13 +256,17 @@ var useExecuteAtomicAction = exports.useExecuteAtomicAction = function useExecut
256
256
  }
257
257
  }
258
258
  }).then(function (resp) {
259
+ fireEvent('operational.fetchActionExecution.success', {
260
+ integrationKey: integrationKey,
261
+ experience: 'datasource'
262
+ });
259
263
  return resp;
260
264
  }).catch(function (error) {
261
- captureError('actionExecution', error); // fetchActionExecution
265
+ captureError('fetchActionExecution', error);
262
266
  // Rethrow up to component for flags and other handling
263
267
  throw error;
264
268
  });
265
- }, [fetchSchema, executeAction, integrationKey, ari, captureError]);
269
+ }, [fetchSchema, executeAction, integrationKey, ari, fireEvent, captureError]);
266
270
  return _objectSpread(_objectSpread({}, schema && {
267
271
  execute: execute
268
272
  }), fetchSchema && {
@@ -105,16 +105,13 @@ var loadOptions = /*#__PURE__*/function () {
105
105
  _context.next = 7;
106
106
  break;
107
107
  }
108
- return _context.abrupt("return", new Promise(function (resolve) {
109
- setTimeout(function () {
110
- return resolve(entities.map(function (entity) {
111
- return {
112
- id: entity.id,
113
- text: entity.text,
114
- style: entity.style
115
- };
116
- }));
117
- }, 1000);
108
+ return _context.abrupt("return", entities.map(function (entity) {
109
+ return {
110
+ id: entity.id,
111
+ text: entity.text,
112
+ style: entity.style,
113
+ transitionId: entity.transitionId
114
+ };
118
115
  }));
119
116
  case 7:
120
117
  return _context.abrupt("return", []);
@@ -234,7 +234,7 @@ var getOrderedColumns = exports.getOrderedColumns = function getOrderedColumns(c
234
234
  var DEFAULT_WIDTH = _utils.COLUMN_BASE_WIDTH * 22;
235
235
  var keyBasedWidthMap = {
236
236
  priority: _utils.COLUMN_BASE_WIDTH * 8,
237
- status: _utils.COLUMN_BASE_WIDTH * 18,
237
+ status: _utils.COLUMN_BASE_WIDTH * 15,
238
238
  summary: _utils.COLUMN_BASE_WIDTH * 45,
239
239
  description: _utils.COLUMN_BASE_WIDTH * 31,
240
240
  type: _utils.COLUMN_BASE_WIDTH * 6,
@@ -7,7 +7,6 @@ Object.defineProperty(exports, "__esModule", {
7
7
  exports.default = exports.ICON_TYPE_TEST_ID = void 0;
8
8
  var _react = _interopRequireDefault(require("react"));
9
9
  var _styled = _interopRequireDefault(require("@emotion/styled"));
10
- var _image = _interopRequireDefault(require("@atlaskit/image"));
11
10
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
12
11
 
13
12
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled -- To migrate as part of go/ui-styling-standard
@@ -22,7 +21,7 @@ var IconRenderType = function IconRenderType(_ref) {
22
21
  source = _ref.source,
23
22
  _ref$testId = _ref.testId,
24
23
  testId = _ref$testId === void 0 ? ICON_TYPE_TEST_ID : _ref$testId;
25
- return /*#__PURE__*/_react.default.createElement(IconWrapper, null, /*#__PURE__*/_react.default.createElement(_image.default, {
24
+ return /*#__PURE__*/_react.default.createElement(IconWrapper, null, /*#__PURE__*/_react.default.createElement("img", {
26
25
  src: source,
27
26
  alt: label,
28
27
  "data-testid": testId
@@ -31,7 +31,7 @@ var getBackendUpdateValue = function getBackendUpdateValue(typedNewValue) {
31
31
  case 'string':
32
32
  return typedNewValue.values[0] || '';
33
33
  case 'status':
34
- return ((_typedNewValue$values = typedNewValue.values[0]) === null || _typedNewValue$values === void 0 ? void 0 : _typedNewValue$values.id) || '';
34
+ return ((_typedNewValue$values = typedNewValue.values[0]) === null || _typedNewValue$values === void 0 ? void 0 : _typedNewValue$values.transitionId) || '';
35
35
  }
36
36
  throw new Error("Datasource 2 way sync Backend update value not implemented for type ".concat(typedNewValue.type));
37
37
  };
@@ -8,7 +8,8 @@ var _types = require("../../analytics/types");
8
8
  var COLUMN_BASE_WIDTH = exports.COLUMN_BASE_WIDTH = 8;
9
9
  var COLUMN_MIN_WIDTH = COLUMN_BASE_WIDTH * 4;
10
10
  var keyBasedMinWidthMap = {
11
- summary: COLUMN_BASE_WIDTH * 26
11
+ summary: COLUMN_BASE_WIDTH * 26,
12
+ status: COLUMN_BASE_WIDTH * 15
12
13
  };
13
14
  var getColumnMinWidth = exports.getColumnMinWidth = function getColumnMinWidth(key) {
14
15
  return keyBasedMinWidthMap[key] || COLUMN_MIN_WIDTH;
@@ -243,13 +243,17 @@ export const useExecuteAtomicAction = ({
243
243
  }
244
244
  }
245
245
  }).then(resp => {
246
+ fireEvent('operational.fetchActionExecution.success', {
247
+ integrationKey: integrationKey,
248
+ experience: 'datasource'
249
+ });
246
250
  return resp;
247
251
  }).catch(error => {
248
- captureError('actionExecution', error); // fetchActionExecution
252
+ captureError('fetchActionExecution', error);
249
253
  // Rethrow up to component for flags and other handling
250
254
  throw error;
251
255
  });
252
- }, [fetchSchema, executeAction, integrationKey, ari, captureError]);
256
+ }, [fetchSchema, executeAction, integrationKey, ari, fireEvent, captureError]);
253
257
  return {
254
258
  ...(schema && {
255
259
  execute
@@ -75,13 +75,12 @@ const loadOptions = async (currentValue, executeFetch) => {
75
75
  entities
76
76
  } = result;
77
77
  if (operationStatus === ActionOperationStatus.SUCCESS && entities) {
78
- return new Promise(resolve => {
79
- setTimeout(() => resolve(entities.map(entity => ({
80
- id: entity.id,
81
- text: entity.text,
82
- style: entity.style
83
- }))), 1000);
84
- });
78
+ return entities.map(entity => ({
79
+ id: entity.id,
80
+ text: entity.text,
81
+ style: entity.style,
82
+ transitionId: entity.transitionId
83
+ }));
85
84
  }
86
85
  }
87
86
  return [];
@@ -260,7 +260,7 @@ export const getOrderedColumns = (columns, visibleColumnKeys) => {
260
260
  const DEFAULT_WIDTH = COLUMN_BASE_WIDTH * 22;
261
261
  const keyBasedWidthMap = {
262
262
  priority: COLUMN_BASE_WIDTH * 8,
263
- status: COLUMN_BASE_WIDTH * 18,
263
+ status: COLUMN_BASE_WIDTH * 15,
264
264
  summary: COLUMN_BASE_WIDTH * 45,
265
265
  description: COLUMN_BASE_WIDTH * 31,
266
266
  type: COLUMN_BASE_WIDTH * 6,
@@ -2,7 +2,6 @@ import React from 'react';
2
2
 
3
3
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
4
4
  import styled from '@emotion/styled';
5
- import Image from '@atlaskit/image';
6
5
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled -- To migrate as part of go/ui-styling-standard
7
6
  const IconWrapper = styled.div({
8
7
  display: 'flex',
@@ -15,7 +14,7 @@ const IconRenderType = ({
15
14
  source,
16
15
  testId = ICON_TYPE_TEST_ID
17
16
  }) => {
18
- return /*#__PURE__*/React.createElement(IconWrapper, null, /*#__PURE__*/React.createElement(Image, {
17
+ return /*#__PURE__*/React.createElement(IconWrapper, null, /*#__PURE__*/React.createElement("img", {
19
18
  src: source,
20
19
  alt: label,
21
20
  "data-testid": testId
@@ -16,7 +16,7 @@ const getBackendUpdateValue = typedNewValue => {
16
16
  case 'string':
17
17
  return typedNewValue.values[0] || '';
18
18
  case 'status':
19
- return ((_typedNewValue$values = typedNewValue.values[0]) === null || _typedNewValue$values === void 0 ? void 0 : _typedNewValue$values.id) || '';
19
+ return ((_typedNewValue$values = typedNewValue.values[0]) === null || _typedNewValue$values === void 0 ? void 0 : _typedNewValue$values.transitionId) || '';
20
20
  }
21
21
  throw new Error(`Datasource 2 way sync Backend update value not implemented for type ${typedNewValue.type}`);
22
22
  };
@@ -2,7 +2,8 @@ import { DatasourceAction } from '../../analytics/types';
2
2
  export const COLUMN_BASE_WIDTH = 8;
3
3
  const COLUMN_MIN_WIDTH = COLUMN_BASE_WIDTH * 4;
4
4
  const keyBasedMinWidthMap = {
5
- summary: COLUMN_BASE_WIDTH * 26
5
+ summary: COLUMN_BASE_WIDTH * 26,
6
+ status: COLUMN_BASE_WIDTH * 15
6
7
  };
7
8
  export const getColumnMinWidth = key => {
8
9
  return keyBasedMinWidthMap[key] || COLUMN_MIN_WIDTH;
@@ -250,13 +250,17 @@ export var useExecuteAtomicAction = function useExecuteAtomicAction(_ref5) {
250
250
  }
251
251
  }
252
252
  }).then(function (resp) {
253
+ fireEvent('operational.fetchActionExecution.success', {
254
+ integrationKey: integrationKey,
255
+ experience: 'datasource'
256
+ });
253
257
  return resp;
254
258
  }).catch(function (error) {
255
- captureError('actionExecution', error); // fetchActionExecution
259
+ captureError('fetchActionExecution', error);
256
260
  // Rethrow up to component for flags and other handling
257
261
  throw error;
258
262
  });
259
- }, [fetchSchema, executeAction, integrationKey, ari, captureError]);
263
+ }, [fetchSchema, executeAction, integrationKey, ari, fireEvent, captureError]);
260
264
  return _objectSpread(_objectSpread({}, schema && {
261
265
  execute: execute
262
266
  }), fetchSchema && {
@@ -95,16 +95,13 @@ var loadOptions = /*#__PURE__*/function () {
95
95
  _context.next = 7;
96
96
  break;
97
97
  }
98
- return _context.abrupt("return", new Promise(function (resolve) {
99
- setTimeout(function () {
100
- return resolve(entities.map(function (entity) {
101
- return {
102
- id: entity.id,
103
- text: entity.text,
104
- style: entity.style
105
- };
106
- }));
107
- }, 1000);
98
+ return _context.abrupt("return", entities.map(function (entity) {
99
+ return {
100
+ id: entity.id,
101
+ text: entity.text,
102
+ style: entity.style,
103
+ transitionId: entity.transitionId
104
+ };
108
105
  }));
109
106
  case 7:
110
107
  return _context.abrupt("return", []);
@@ -230,7 +230,7 @@ export var getOrderedColumns = function getOrderedColumns(columns, visibleColumn
230
230
  var DEFAULT_WIDTH = COLUMN_BASE_WIDTH * 22;
231
231
  var keyBasedWidthMap = {
232
232
  priority: COLUMN_BASE_WIDTH * 8,
233
- status: COLUMN_BASE_WIDTH * 18,
233
+ status: COLUMN_BASE_WIDTH * 15,
234
234
  summary: COLUMN_BASE_WIDTH * 45,
235
235
  description: COLUMN_BASE_WIDTH * 31,
236
236
  type: COLUMN_BASE_WIDTH * 6,
@@ -2,7 +2,6 @@ import React from 'react';
2
2
 
3
3
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
4
4
  import styled from '@emotion/styled';
5
- import Image from '@atlaskit/image';
6
5
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled -- To migrate as part of go/ui-styling-standard
7
6
  var IconWrapper = styled.div({
8
7
  display: 'flex',
@@ -15,7 +14,7 @@ var IconRenderType = function IconRenderType(_ref) {
15
14
  source = _ref.source,
16
15
  _ref$testId = _ref.testId,
17
16
  testId = _ref$testId === void 0 ? ICON_TYPE_TEST_ID : _ref$testId;
18
- return /*#__PURE__*/React.createElement(IconWrapper, null, /*#__PURE__*/React.createElement(Image, {
17
+ return /*#__PURE__*/React.createElement(IconWrapper, null, /*#__PURE__*/React.createElement("img", {
19
18
  src: source,
20
19
  alt: label,
21
20
  "data-testid": testId
@@ -21,7 +21,7 @@ var getBackendUpdateValue = function getBackendUpdateValue(typedNewValue) {
21
21
  case 'string':
22
22
  return typedNewValue.values[0] || '';
23
23
  case 'status':
24
- return ((_typedNewValue$values = typedNewValue.values[0]) === null || _typedNewValue$values === void 0 ? void 0 : _typedNewValue$values.id) || '';
24
+ return ((_typedNewValue$values = typedNewValue.values[0]) === null || _typedNewValue$values === void 0 ? void 0 : _typedNewValue$values.transitionId) || '';
25
25
  }
26
26
  throw new Error("Datasource 2 way sync Backend update value not implemented for type ".concat(typedNewValue.type));
27
27
  };
@@ -2,7 +2,8 @@ import { DatasourceAction } from '../../analytics/types';
2
2
  export var COLUMN_BASE_WIDTH = 8;
3
3
  var COLUMN_MIN_WIDTH = COLUMN_BASE_WIDTH * 4;
4
4
  var keyBasedMinWidthMap = {
5
- summary: COLUMN_BASE_WIDTH * 26
5
+ summary: COLUMN_BASE_WIDTH * 26,
6
+ status: COLUMN_BASE_WIDTH * 15
6
7
  };
7
8
  export var getColumnMinWidth = function getColumnMinWidth(key) {
8
9
  return keyBasedMinWidthMap[key] || COLUMN_MIN_WIDTH;
@@ -3,7 +3,7 @@
3
3
  *
4
4
  * Generates Typescript types for analytics events from analytics.spec.yaml
5
5
  *
6
- * @codegen <<SignedSource::b6f8bb0286018a13a19546bc9fd67e2e>>
6
+ * @codegen <<SignedSource::6b271484f56c37f6170c6468edcab44c>>
7
7
  * @codegenCommand yarn workspace @atlassian/analytics-tooling run analytics:codegen link-datasource
8
8
  */
9
9
  export type ComponentMetaDataType = {
@@ -68,7 +68,7 @@ export type DatasourceRenderSuccessAttributesType = {
68
68
  };
69
69
  export type DatasourceRenderFailureAttributesType = {};
70
70
  export type DatasourceOperationFailedAttributesType = {
71
- errorLocation: 'ProviderOnAuthRequest' | 'loadDatasourceDetails' | 'onNextPage' | 'actionDiscovery' | 'actionExecution' | null;
71
+ errorLocation: 'ProviderOnAuthRequest' | 'loadDatasourceDetails' | 'onNextPage' | 'actionDiscovery' | 'actionExecution' | 'fetchActionExecution' | null;
72
72
  traceId: string | null;
73
73
  status: number | null;
74
74
  reason: 'response' | 'network' | 'internal' | 'unknown' | null;
@@ -146,6 +146,10 @@ export type ActionExecutionSuccessAttributesType = {
146
146
  integrationKey: string;
147
147
  experience: 'datasource';
148
148
  };
149
+ export type FetchActionExecutionSuccessAttributesType = {
150
+ integrationKey: string;
151
+ experience: 'datasource';
152
+ };
149
153
  export type ActionDiscoverySuccessAttributesType = {
150
154
  experience: 'datasource';
151
155
  entityType: string;
@@ -278,6 +282,9 @@ export type AnalyticsEventAttributes = {
278
282
  /**
279
283
  * Fired when an atomic action execution is successful */
280
284
  'operational.actionExecution.success': ActionExecutionSuccessAttributesType;
285
+ /**
286
+ * Fired when a fetch atomic action execution is successful */
287
+ 'operational.fetchActionExecution.success': FetchActionExecutionSuccessAttributesType;
281
288
  /**
282
289
  * Fired when the action discovery and permissions request is successful. */
283
290
  'operational.actionDiscovery.success': ActionDiscoverySuccessAttributesType;
@@ -112,7 +112,7 @@ export declare const useExecuteAtomicAction: ({ ari, fieldKey, integrationKey, }
112
112
  fieldKey: string;
113
113
  integrationKey: string;
114
114
  }) => {
115
- execute?: ((value: (string | number)) => Promise<AtomicActionExecuteResponse<unknown>>) | undefined;
115
+ execute?: ((value: string | number) => Promise<AtomicActionExecuteResponse<unknown>>) | undefined;
116
116
  executeFetch?: (<E>(inputs: any) => Promise<E>) | undefined;
117
117
  };
118
118
  export {};
@@ -2,7 +2,7 @@ import React from 'react';
2
2
  import type InlineEdit from '@atlaskit/inline-edit';
3
3
  import type { DatasourceType } from '@atlaskit/linking-types';
4
4
  import { type DatasourceTypeWithOnlyValues } from '../types';
5
- export declare const editType: ({ defaultValue, currentValue, setEditValues, executeFetch }: {
5
+ export declare const editType: ({ defaultValue, currentValue, setEditValues, executeFetch, }: {
6
6
  defaultValue: DatasourceTypeWithOnlyValues;
7
7
  currentValue: DatasourceTypeWithOnlyValues;
8
8
  setEditValues: React.Dispatch<React.SetStateAction<DatasourceTypeWithOnlyValues>>;
@@ -3,7 +3,7 @@
3
3
  *
4
4
  * Generates Typescript types for analytics events from analytics.spec.yaml
5
5
  *
6
- * @codegen <<SignedSource::b6f8bb0286018a13a19546bc9fd67e2e>>
6
+ * @codegen <<SignedSource::6b271484f56c37f6170c6468edcab44c>>
7
7
  * @codegenCommand yarn workspace @atlassian/analytics-tooling run analytics:codegen link-datasource
8
8
  */
9
9
  export type ComponentMetaDataType = {
@@ -68,7 +68,7 @@ export type DatasourceRenderSuccessAttributesType = {
68
68
  };
69
69
  export type DatasourceRenderFailureAttributesType = {};
70
70
  export type DatasourceOperationFailedAttributesType = {
71
- errorLocation: 'ProviderOnAuthRequest' | 'loadDatasourceDetails' | 'onNextPage' | 'actionDiscovery' | 'actionExecution' | null;
71
+ errorLocation: 'ProviderOnAuthRequest' | 'loadDatasourceDetails' | 'onNextPage' | 'actionDiscovery' | 'actionExecution' | 'fetchActionExecution' | null;
72
72
  traceId: string | null;
73
73
  status: number | null;
74
74
  reason: 'response' | 'network' | 'internal' | 'unknown' | null;
@@ -146,6 +146,10 @@ export type ActionExecutionSuccessAttributesType = {
146
146
  integrationKey: string;
147
147
  experience: 'datasource';
148
148
  };
149
+ export type FetchActionExecutionSuccessAttributesType = {
150
+ integrationKey: string;
151
+ experience: 'datasource';
152
+ };
149
153
  export type ActionDiscoverySuccessAttributesType = {
150
154
  experience: 'datasource';
151
155
  entityType: string;
@@ -278,6 +282,9 @@ export type AnalyticsEventAttributes = {
278
282
  /**
279
283
  * Fired when an atomic action execution is successful */
280
284
  'operational.actionExecution.success': ActionExecutionSuccessAttributesType;
285
+ /**
286
+ * Fired when a fetch atomic action execution is successful */
287
+ 'operational.fetchActionExecution.success': FetchActionExecutionSuccessAttributesType;
281
288
  /**
282
289
  * Fired when the action discovery and permissions request is successful. */
283
290
  'operational.actionDiscovery.success': ActionDiscoverySuccessAttributesType;
@@ -112,7 +112,7 @@ export declare const useExecuteAtomicAction: ({ ari, fieldKey, integrationKey, }
112
112
  fieldKey: string;
113
113
  integrationKey: string;
114
114
  }) => {
115
- execute?: ((value: (string | number)) => Promise<AtomicActionExecuteResponse<unknown>>) | undefined;
115
+ execute?: ((value: string | number) => Promise<AtomicActionExecuteResponse<unknown>>) | undefined;
116
116
  executeFetch?: (<E>(inputs: any) => Promise<E>) | undefined;
117
117
  };
118
118
  export {};
@@ -2,7 +2,7 @@ import React from 'react';
2
2
  import type InlineEdit from '@atlaskit/inline-edit';
3
3
  import type { DatasourceType } from '@atlaskit/linking-types';
4
4
  import { type DatasourceTypeWithOnlyValues } from '../types';
5
- export declare const editType: ({ defaultValue, currentValue, setEditValues, executeFetch }: {
5
+ export declare const editType: ({ defaultValue, currentValue, setEditValues, executeFetch, }: {
6
6
  defaultValue: DatasourceTypeWithOnlyValues;
7
7
  currentValue: DatasourceTypeWithOnlyValues;
8
8
  setEditValues: React.Dispatch<React.SetStateAction<DatasourceTypeWithOnlyValues>>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/link-datasource",
3
- "version": "3.8.0",
3
+ "version": "3.8.3",
4
4
  "description": "UI Components to support linking platform dataset feature",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -59,7 +59,7 @@
59
59
  "@atlaskit/layering": "^0.7.0",
60
60
  "@atlaskit/link-client-extension": "^2.4.0",
61
61
  "@atlaskit/linking-common": "^6.0.0",
62
- "@atlaskit/linking-types": "^9.3.0",
62
+ "@atlaskit/linking-types": "^9.4.0",
63
63
  "@atlaskit/logo": "^14.3.0",
64
64
  "@atlaskit/lozenge": "^11.12.0",
65
65
  "@atlaskit/modal-dialog": "^12.17.0",
@@ -71,14 +71,14 @@
71
71
  "@atlaskit/pragmatic-drag-and-drop-react-beautiful-dnd-autoscroll": "^1.2.0",
72
72
  "@atlaskit/pragmatic-drag-and-drop-react-drop-indicator": "^1.1.0",
73
73
  "@atlaskit/primitives": "^13.0.0",
74
- "@atlaskit/select": "^18.4.0",
74
+ "@atlaskit/select": "^18.5.0",
75
75
  "@atlaskit/smart-card": "^30.2.0",
76
76
  "@atlaskit/smart-user-picker": "6.11.1",
77
77
  "@atlaskit/spinner": "^16.3.0",
78
78
  "@atlaskit/tag": "^12.6.0",
79
79
  "@atlaskit/textfield": "6.5.4",
80
80
  "@atlaskit/theme": "^14.0.0",
81
- "@atlaskit/tokens": "^2.1.0",
81
+ "@atlaskit/tokens": "^2.2.0",
82
82
  "@atlaskit/tooltip": "^18.8.0",
83
83
  "@atlaskit/ufo": "^0.3.0",
84
84
  "@atlaskit/width-detector": "^4.3.0",