@atlaskit/link-client-extension 1.1.3 → 1.1.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,18 @@
1
1
  # @atlaskit/link-client-extension
2
2
 
3
+ ## 1.1.5
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 1.1.4
10
+
11
+ ### Patch Changes
12
+
13
+ - [`43ad059dcc5`](https://bitbucket.org/atlassian/atlassian-frontend/commits/43ad059dcc5) - Updated mock response to the new `DatasourceDataResponseItem` format
14
+ - Updated dependencies
15
+
3
16
  ## 1.1.3
4
17
 
5
18
  ### Patch Changes
@@ -8,71 +8,92 @@ var mockDatasourceDataResponse = {
8
8
  totalIssues: 1234,
9
9
  data: [{
10
10
  id: {
11
- value: 'EDM-12'
11
+ data: 'EDM-12'
12
12
  },
13
13
  description: {
14
- value: 'Design datasource feature'
14
+ data: 'Design datasource feature'
15
15
  },
16
16
  createdAt: {
17
- value: '2023-01-22T01:30:00.000-05:00'
17
+ data: '2023-01-22T01:30:00.000-05:00'
18
18
  },
19
19
  assigned: {
20
- displayName: 'Sasha'
20
+ data: {
21
+ displayName: 'Sasha'
22
+ }
21
23
  },
22
24
  status: {
23
- text: 'In Progress',
24
- status: 'inprogress'
25
+ data: {
26
+ text: 'In Progress',
27
+ style: {
28
+ appearance: 'inprogress'
29
+ }
30
+ }
25
31
  }
26
32
  }, {
27
33
  id: {
28
- value: 'EDM-14'
34
+ data: 'EDM-14'
29
35
  },
30
36
  description: {
31
- value: 'Implement datasource feature'
37
+ data: 'Implement datasource feature'
32
38
  },
33
39
  createdAt: {
34
- value: '2023-03-01T01:30:00.000-05:00'
40
+ data: '2023-03-01T01:30:00.000-05:00'
35
41
  },
36
42
  assigned: {
37
- displayName: 'Hana'
43
+ data: {
44
+ displayName: 'Hana'
45
+ }
38
46
  },
39
47
  status: {
40
- text: 'To Do',
41
- status: 'new'
48
+ data: {
49
+ text: 'To Do',
50
+ style: {
51
+ appearance: 'new'
52
+ }
53
+ }
42
54
  }
43
55
  }, {
44
56
  id: {
45
- value: 'EDM-15'
57
+ data: 'EDM-15'
46
58
  },
47
59
  description: {
48
- value: 'Add Jira Provider'
60
+ data: 'Add Jira Provider'
49
61
  },
50
62
  createdAt: {
51
- value: '2023-03-31T01:30:00.000-05:00'
63
+ data: '2023-03-31T01:30:00.000-05:00'
52
64
  },
53
65
  assigned: {
54
- displayName: 'Princey'
66
+ data: {
67
+ displayName: 'Princey'
68
+ }
55
69
  },
56
70
  status: {
57
- text: 'To Do',
58
- status: 'default'
71
+ data: {
72
+ text: 'To Do'
73
+ }
59
74
  }
60
75
  }, {
61
76
  id: {
62
- value: 'EDM-16'
77
+ data: 'EDM-16'
63
78
  },
64
79
  description: {
65
- value: 'Plan team party'
80
+ data: 'Plan team party'
66
81
  },
67
82
  createdAt: {
68
- value: '2023-05-01T01:30:00.000-05:00'
83
+ data: '2023-05-01T01:30:00.000-05:00'
69
84
  },
70
85
  assigned: {
71
- displayName: 'Nidhin'
86
+ data: {
87
+ displayName: 'Nidhin'
88
+ }
72
89
  },
73
90
  status: {
74
- text: 'Done',
75
- status: 'success'
91
+ data: {
92
+ text: 'Done',
93
+ style: {
94
+ appearance: 'success'
95
+ }
96
+ }
76
97
  }
77
98
  }],
78
99
  nextPageCursor: 'c3RhcnRBdD01'
@@ -83,6 +104,7 @@ var mockDatasourceResponse = {
83
104
  id: '12e74246-a3f1-46c1-9fd9-8d952aa9f12f',
84
105
  name: 'JQL Datasource',
85
106
  description: 'Fetches Issues using JQL',
107
+ isFullSchema: false,
86
108
  parameters: [{
87
109
  key: 'cloudId',
88
110
  type: 'string',
@@ -96,8 +118,7 @@ var mockDatasourceResponse = {
96
118
  properties: [{
97
119
  key: 'id',
98
120
  title: '',
99
- type: 'string',
100
- isIdentity: true
121
+ type: 'string'
101
122
  }, {
102
123
  key: 'issue',
103
124
  title: 'Key',
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/link-client-extension",
3
- "version": "1.1.3",
3
+ "version": "1.1.5",
4
4
  "sideEffects": false
5
5
  }
@@ -2,71 +2,92 @@ export const mockDatasourceDataResponse = {
2
2
  totalIssues: 1234,
3
3
  data: [{
4
4
  id: {
5
- value: 'EDM-12'
5
+ data: 'EDM-12'
6
6
  },
7
7
  description: {
8
- value: 'Design datasource feature'
8
+ data: 'Design datasource feature'
9
9
  },
10
10
  createdAt: {
11
- value: '2023-01-22T01:30:00.000-05:00'
11
+ data: '2023-01-22T01:30:00.000-05:00'
12
12
  },
13
13
  assigned: {
14
- displayName: 'Sasha'
14
+ data: {
15
+ displayName: 'Sasha'
16
+ }
15
17
  },
16
18
  status: {
17
- text: 'In Progress',
18
- status: 'inprogress'
19
+ data: {
20
+ text: 'In Progress',
21
+ style: {
22
+ appearance: 'inprogress'
23
+ }
24
+ }
19
25
  }
20
26
  }, {
21
27
  id: {
22
- value: 'EDM-14'
28
+ data: 'EDM-14'
23
29
  },
24
30
  description: {
25
- value: 'Implement datasource feature'
31
+ data: 'Implement datasource feature'
26
32
  },
27
33
  createdAt: {
28
- value: '2023-03-01T01:30:00.000-05:00'
34
+ data: '2023-03-01T01:30:00.000-05:00'
29
35
  },
30
36
  assigned: {
31
- displayName: 'Hana'
37
+ data: {
38
+ displayName: 'Hana'
39
+ }
32
40
  },
33
41
  status: {
34
- text: 'To Do',
35
- status: 'new'
42
+ data: {
43
+ text: 'To Do',
44
+ style: {
45
+ appearance: 'new'
46
+ }
47
+ }
36
48
  }
37
49
  }, {
38
50
  id: {
39
- value: 'EDM-15'
51
+ data: 'EDM-15'
40
52
  },
41
53
  description: {
42
- value: 'Add Jira Provider'
54
+ data: 'Add Jira Provider'
43
55
  },
44
56
  createdAt: {
45
- value: '2023-03-31T01:30:00.000-05:00'
57
+ data: '2023-03-31T01:30:00.000-05:00'
46
58
  },
47
59
  assigned: {
48
- displayName: 'Princey'
60
+ data: {
61
+ displayName: 'Princey'
62
+ }
49
63
  },
50
64
  status: {
51
- text: 'To Do',
52
- status: 'default'
65
+ data: {
66
+ text: 'To Do'
67
+ }
53
68
  }
54
69
  }, {
55
70
  id: {
56
- value: 'EDM-16'
71
+ data: 'EDM-16'
57
72
  },
58
73
  description: {
59
- value: 'Plan team party'
74
+ data: 'Plan team party'
60
75
  },
61
76
  createdAt: {
62
- value: '2023-05-01T01:30:00.000-05:00'
77
+ data: '2023-05-01T01:30:00.000-05:00'
63
78
  },
64
79
  assigned: {
65
- displayName: 'Nidhin'
80
+ data: {
81
+ displayName: 'Nidhin'
82
+ }
66
83
  },
67
84
  status: {
68
- text: 'Done',
69
- status: 'success'
85
+ data: {
86
+ text: 'Done',
87
+ style: {
88
+ appearance: 'success'
89
+ }
90
+ }
70
91
  }
71
92
  }],
72
93
  nextPageCursor: 'c3RhcnRBdD01'
@@ -76,6 +97,7 @@ export const mockDatasourceResponse = {
76
97
  id: '12e74246-a3f1-46c1-9fd9-8d952aa9f12f',
77
98
  name: 'JQL Datasource',
78
99
  description: 'Fetches Issues using JQL',
100
+ isFullSchema: false,
79
101
  parameters: [{
80
102
  key: 'cloudId',
81
103
  type: 'string',
@@ -89,8 +111,7 @@ export const mockDatasourceResponse = {
89
111
  properties: [{
90
112
  key: 'id',
91
113
  title: '',
92
- type: 'string',
93
- isIdentity: true
114
+ type: 'string'
94
115
  }, {
95
116
  key: 'issue',
96
117
  title: 'Key',
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/link-client-extension",
3
- "version": "1.1.3",
3
+ "version": "1.1.5",
4
4
  "sideEffects": false
5
5
  }
@@ -2,71 +2,92 @@ export var mockDatasourceDataResponse = {
2
2
  totalIssues: 1234,
3
3
  data: [{
4
4
  id: {
5
- value: 'EDM-12'
5
+ data: 'EDM-12'
6
6
  },
7
7
  description: {
8
- value: 'Design datasource feature'
8
+ data: 'Design datasource feature'
9
9
  },
10
10
  createdAt: {
11
- value: '2023-01-22T01:30:00.000-05:00'
11
+ data: '2023-01-22T01:30:00.000-05:00'
12
12
  },
13
13
  assigned: {
14
- displayName: 'Sasha'
14
+ data: {
15
+ displayName: 'Sasha'
16
+ }
15
17
  },
16
18
  status: {
17
- text: 'In Progress',
18
- status: 'inprogress'
19
+ data: {
20
+ text: 'In Progress',
21
+ style: {
22
+ appearance: 'inprogress'
23
+ }
24
+ }
19
25
  }
20
26
  }, {
21
27
  id: {
22
- value: 'EDM-14'
28
+ data: 'EDM-14'
23
29
  },
24
30
  description: {
25
- value: 'Implement datasource feature'
31
+ data: 'Implement datasource feature'
26
32
  },
27
33
  createdAt: {
28
- value: '2023-03-01T01:30:00.000-05:00'
34
+ data: '2023-03-01T01:30:00.000-05:00'
29
35
  },
30
36
  assigned: {
31
- displayName: 'Hana'
37
+ data: {
38
+ displayName: 'Hana'
39
+ }
32
40
  },
33
41
  status: {
34
- text: 'To Do',
35
- status: 'new'
42
+ data: {
43
+ text: 'To Do',
44
+ style: {
45
+ appearance: 'new'
46
+ }
47
+ }
36
48
  }
37
49
  }, {
38
50
  id: {
39
- value: 'EDM-15'
51
+ data: 'EDM-15'
40
52
  },
41
53
  description: {
42
- value: 'Add Jira Provider'
54
+ data: 'Add Jira Provider'
43
55
  },
44
56
  createdAt: {
45
- value: '2023-03-31T01:30:00.000-05:00'
57
+ data: '2023-03-31T01:30:00.000-05:00'
46
58
  },
47
59
  assigned: {
48
- displayName: 'Princey'
60
+ data: {
61
+ displayName: 'Princey'
62
+ }
49
63
  },
50
64
  status: {
51
- text: 'To Do',
52
- status: 'default'
65
+ data: {
66
+ text: 'To Do'
67
+ }
53
68
  }
54
69
  }, {
55
70
  id: {
56
- value: 'EDM-16'
71
+ data: 'EDM-16'
57
72
  },
58
73
  description: {
59
- value: 'Plan team party'
74
+ data: 'Plan team party'
60
75
  },
61
76
  createdAt: {
62
- value: '2023-05-01T01:30:00.000-05:00'
77
+ data: '2023-05-01T01:30:00.000-05:00'
63
78
  },
64
79
  assigned: {
65
- displayName: 'Nidhin'
80
+ data: {
81
+ displayName: 'Nidhin'
82
+ }
66
83
  },
67
84
  status: {
68
- text: 'Done',
69
- status: 'success'
85
+ data: {
86
+ text: 'Done',
87
+ style: {
88
+ appearance: 'success'
89
+ }
90
+ }
70
91
  }
71
92
  }],
72
93
  nextPageCursor: 'c3RhcnRBdD01'
@@ -76,6 +97,7 @@ export var mockDatasourceResponse = {
76
97
  id: '12e74246-a3f1-46c1-9fd9-8d952aa9f12f',
77
98
  name: 'JQL Datasource',
78
99
  description: 'Fetches Issues using JQL',
100
+ isFullSchema: false,
79
101
  parameters: [{
80
102
  key: 'cloudId',
81
103
  type: 'string',
@@ -89,8 +111,7 @@ export var mockDatasourceResponse = {
89
111
  properties: [{
90
112
  key: 'id',
91
113
  title: '',
92
- type: 'string',
93
- isIdentity: true
114
+ type: 'string'
94
115
  }, {
95
116
  key: 'issue',
96
117
  title: 'Key',
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/link-client-extension",
3
- "version": "1.1.3",
3
+ "version": "1.1.5",
4
4
  "sideEffects": false
5
5
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/link-client-extension",
3
- "version": "1.1.3",
3
+ "version": "1.1.5",
4
4
  "description": "Extension methods for linking platform client",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -34,8 +34,8 @@
34
34
  ".": "./src/index.ts"
35
35
  },
36
36
  "dependencies": {
37
- "@atlaskit/linking-common": "^2.12.0",
38
- "@atlaskit/linking-types": "^2.0.0",
37
+ "@atlaskit/linking-common": "^2.13.0",
38
+ "@atlaskit/linking-types": "^4.0.0",
39
39
  "@babel/runtime": "^7.0.0"
40
40
  },
41
41
  "peerDependencies": {