@atlaskit/link-client-extension 1.1.2 → 1.1.4

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,19 @@
1
1
  # @atlaskit/link-client-extension
2
2
 
3
+ ## 1.1.4
4
+
5
+ ### Patch Changes
6
+
7
+ - [`43ad059dcc5`](https://bitbucket.org/atlassian/atlassian-frontend/commits/43ad059dcc5) - Updated mock response to the new `DatasourceDataResponseItem` format
8
+ - Updated dependencies
9
+
10
+ ## 1.1.3
11
+
12
+ ### Patch Changes
13
+
14
+ - [`e9ad7ee17bb`](https://bitbucket.org/atlassian/atlassian-frontend/commits/e9ad7ee17bb) - Updated mock response to the new `DatasourceType` value format
15
+ - Updated dependencies
16
+
3
17
  ## 1.1.2
4
18
 
5
19
  ### Patch Changes
@@ -7,48 +7,93 @@ exports.mockDatasourceResponse = exports.mockDatasourceDataResponse = void 0;
7
7
  var mockDatasourceDataResponse = {
8
8
  totalIssues: 1234,
9
9
  data: [{
10
- id: 'EDM-12',
11
- description: 'Design datasource feature',
12
- createdAt: '2023-01-22T01:30:00.000-05:00',
10
+ id: {
11
+ data: 'EDM-12'
12
+ },
13
+ description: {
14
+ data: 'Design datasource feature'
15
+ },
16
+ createdAt: {
17
+ data: '2023-01-22T01:30:00.000-05:00'
18
+ },
13
19
  assigned: {
14
- displayName: 'Sasha'
20
+ data: {
21
+ displayName: 'Sasha'
22
+ }
15
23
  },
16
24
  status: {
17
- text: 'In Progress',
18
- status: 'inprogress'
25
+ data: {
26
+ text: 'In Progress',
27
+ style: {
28
+ appearance: 'inprogress'
29
+ }
30
+ }
19
31
  }
20
32
  }, {
21
- id: 'EDM-14',
22
- description: 'Implement datasource feature',
23
- createdAt: '2023-03-01T01:30:00.000-05:00',
33
+ id: {
34
+ data: 'EDM-14'
35
+ },
36
+ description: {
37
+ data: 'Implement datasource feature'
38
+ },
39
+ createdAt: {
40
+ data: '2023-03-01T01:30:00.000-05:00'
41
+ },
24
42
  assigned: {
25
- displayName: 'Hana'
43
+ data: {
44
+ displayName: 'Hana'
45
+ }
26
46
  },
27
47
  status: {
28
- text: 'To Do',
29
- status: 'new'
48
+ data: {
49
+ text: 'To Do',
50
+ style: {
51
+ appearance: 'new'
52
+ }
53
+ }
30
54
  }
31
55
  }, {
32
- id: 'EDM-15',
33
- description: 'Add Jira Provider',
34
- createdAt: '2023-03-31T01:30:00.000-05:00',
56
+ id: {
57
+ data: 'EDM-15'
58
+ },
59
+ description: {
60
+ data: 'Add Jira Provider'
61
+ },
62
+ createdAt: {
63
+ data: '2023-03-31T01:30:00.000-05:00'
64
+ },
35
65
  assigned: {
36
- displayName: 'Princey'
66
+ data: {
67
+ displayName: 'Princey'
68
+ }
37
69
  },
38
70
  status: {
39
- text: 'To Do',
40
- status: 'default'
71
+ data: {
72
+ text: 'To Do'
73
+ }
41
74
  }
42
75
  }, {
43
- id: 'EDM-16',
44
- description: 'Plan team party',
45
- createdAt: '2023-05-01T01:30:00.000-05:00',
76
+ id: {
77
+ data: 'EDM-16'
78
+ },
79
+ description: {
80
+ data: 'Plan team party'
81
+ },
82
+ createdAt: {
83
+ data: '2023-05-01T01:30:00.000-05:00'
84
+ },
46
85
  assigned: {
47
- displayName: 'Nidhin'
86
+ data: {
87
+ displayName: 'Nidhin'
88
+ }
48
89
  },
49
90
  status: {
50
- text: 'Done',
51
- status: 'success'
91
+ data: {
92
+ text: 'Done',
93
+ style: {
94
+ appearance: 'success'
95
+ }
96
+ }
52
97
  }
53
98
  }],
54
99
  nextPageCursor: 'c3RhcnRBdD01'
@@ -72,8 +117,7 @@ var mockDatasourceResponse = {
72
117
  properties: [{
73
118
  key: 'id',
74
119
  title: '',
75
- type: 'string',
76
- isIdentity: true
120
+ type: 'string'
77
121
  }, {
78
122
  key: 'issue',
79
123
  title: 'Key',
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/link-client-extension",
3
- "version": "1.1.2",
3
+ "version": "1.1.4",
4
4
  "sideEffects": false
5
5
  }
@@ -1,48 +1,93 @@
1
1
  export const mockDatasourceDataResponse = {
2
2
  totalIssues: 1234,
3
3
  data: [{
4
- id: 'EDM-12',
5
- description: 'Design datasource feature',
6
- createdAt: '2023-01-22T01:30:00.000-05:00',
4
+ id: {
5
+ data: 'EDM-12'
6
+ },
7
+ description: {
8
+ data: 'Design datasource feature'
9
+ },
10
+ createdAt: {
11
+ data: '2023-01-22T01:30:00.000-05:00'
12
+ },
7
13
  assigned: {
8
- displayName: 'Sasha'
14
+ data: {
15
+ displayName: 'Sasha'
16
+ }
9
17
  },
10
18
  status: {
11
- text: 'In Progress',
12
- status: 'inprogress'
19
+ data: {
20
+ text: 'In Progress',
21
+ style: {
22
+ appearance: 'inprogress'
23
+ }
24
+ }
13
25
  }
14
26
  }, {
15
- id: 'EDM-14',
16
- description: 'Implement datasource feature',
17
- createdAt: '2023-03-01T01:30:00.000-05:00',
27
+ id: {
28
+ data: 'EDM-14'
29
+ },
30
+ description: {
31
+ data: 'Implement datasource feature'
32
+ },
33
+ createdAt: {
34
+ data: '2023-03-01T01:30:00.000-05:00'
35
+ },
18
36
  assigned: {
19
- displayName: 'Hana'
37
+ data: {
38
+ displayName: 'Hana'
39
+ }
20
40
  },
21
41
  status: {
22
- text: 'To Do',
23
- status: 'new'
42
+ data: {
43
+ text: 'To Do',
44
+ style: {
45
+ appearance: 'new'
46
+ }
47
+ }
24
48
  }
25
49
  }, {
26
- id: 'EDM-15',
27
- description: 'Add Jira Provider',
28
- createdAt: '2023-03-31T01:30:00.000-05:00',
50
+ id: {
51
+ data: 'EDM-15'
52
+ },
53
+ description: {
54
+ data: 'Add Jira Provider'
55
+ },
56
+ createdAt: {
57
+ data: '2023-03-31T01:30:00.000-05:00'
58
+ },
29
59
  assigned: {
30
- displayName: 'Princey'
60
+ data: {
61
+ displayName: 'Princey'
62
+ }
31
63
  },
32
64
  status: {
33
- text: 'To Do',
34
- status: 'default'
65
+ data: {
66
+ text: 'To Do'
67
+ }
35
68
  }
36
69
  }, {
37
- id: 'EDM-16',
38
- description: 'Plan team party',
39
- createdAt: '2023-05-01T01:30:00.000-05:00',
70
+ id: {
71
+ data: 'EDM-16'
72
+ },
73
+ description: {
74
+ data: 'Plan team party'
75
+ },
76
+ createdAt: {
77
+ data: '2023-05-01T01:30:00.000-05:00'
78
+ },
40
79
  assigned: {
41
- displayName: 'Nidhin'
80
+ data: {
81
+ displayName: 'Nidhin'
82
+ }
42
83
  },
43
84
  status: {
44
- text: 'Done',
45
- status: 'success'
85
+ data: {
86
+ text: 'Done',
87
+ style: {
88
+ appearance: 'success'
89
+ }
90
+ }
46
91
  }
47
92
  }],
48
93
  nextPageCursor: 'c3RhcnRBdD01'
@@ -65,8 +110,7 @@ export const mockDatasourceResponse = {
65
110
  properties: [{
66
111
  key: 'id',
67
112
  title: '',
68
- type: 'string',
69
- isIdentity: true
113
+ type: 'string'
70
114
  }, {
71
115
  key: 'issue',
72
116
  title: 'Key',
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/link-client-extension",
3
- "version": "1.1.2",
3
+ "version": "1.1.4",
4
4
  "sideEffects": false
5
5
  }
@@ -1,48 +1,93 @@
1
1
  export var mockDatasourceDataResponse = {
2
2
  totalIssues: 1234,
3
3
  data: [{
4
- id: 'EDM-12',
5
- description: 'Design datasource feature',
6
- createdAt: '2023-01-22T01:30:00.000-05:00',
4
+ id: {
5
+ data: 'EDM-12'
6
+ },
7
+ description: {
8
+ data: 'Design datasource feature'
9
+ },
10
+ createdAt: {
11
+ data: '2023-01-22T01:30:00.000-05:00'
12
+ },
7
13
  assigned: {
8
- displayName: 'Sasha'
14
+ data: {
15
+ displayName: 'Sasha'
16
+ }
9
17
  },
10
18
  status: {
11
- text: 'In Progress',
12
- status: 'inprogress'
19
+ data: {
20
+ text: 'In Progress',
21
+ style: {
22
+ appearance: 'inprogress'
23
+ }
24
+ }
13
25
  }
14
26
  }, {
15
- id: 'EDM-14',
16
- description: 'Implement datasource feature',
17
- createdAt: '2023-03-01T01:30:00.000-05:00',
27
+ id: {
28
+ data: 'EDM-14'
29
+ },
30
+ description: {
31
+ data: 'Implement datasource feature'
32
+ },
33
+ createdAt: {
34
+ data: '2023-03-01T01:30:00.000-05:00'
35
+ },
18
36
  assigned: {
19
- displayName: 'Hana'
37
+ data: {
38
+ displayName: 'Hana'
39
+ }
20
40
  },
21
41
  status: {
22
- text: 'To Do',
23
- status: 'new'
42
+ data: {
43
+ text: 'To Do',
44
+ style: {
45
+ appearance: 'new'
46
+ }
47
+ }
24
48
  }
25
49
  }, {
26
- id: 'EDM-15',
27
- description: 'Add Jira Provider',
28
- createdAt: '2023-03-31T01:30:00.000-05:00',
50
+ id: {
51
+ data: 'EDM-15'
52
+ },
53
+ description: {
54
+ data: 'Add Jira Provider'
55
+ },
56
+ createdAt: {
57
+ data: '2023-03-31T01:30:00.000-05:00'
58
+ },
29
59
  assigned: {
30
- displayName: 'Princey'
60
+ data: {
61
+ displayName: 'Princey'
62
+ }
31
63
  },
32
64
  status: {
33
- text: 'To Do',
34
- status: 'default'
65
+ data: {
66
+ text: 'To Do'
67
+ }
35
68
  }
36
69
  }, {
37
- id: 'EDM-16',
38
- description: 'Plan team party',
39
- createdAt: '2023-05-01T01:30:00.000-05:00',
70
+ id: {
71
+ data: 'EDM-16'
72
+ },
73
+ description: {
74
+ data: 'Plan team party'
75
+ },
76
+ createdAt: {
77
+ data: '2023-05-01T01:30:00.000-05:00'
78
+ },
40
79
  assigned: {
41
- displayName: 'Nidhin'
80
+ data: {
81
+ displayName: 'Nidhin'
82
+ }
42
83
  },
43
84
  status: {
44
- text: 'Done',
45
- status: 'success'
85
+ data: {
86
+ text: 'Done',
87
+ style: {
88
+ appearance: 'success'
89
+ }
90
+ }
46
91
  }
47
92
  }],
48
93
  nextPageCursor: 'c3RhcnRBdD01'
@@ -65,8 +110,7 @@ export var mockDatasourceResponse = {
65
110
  properties: [{
66
111
  key: 'id',
67
112
  title: '',
68
- type: 'string',
69
- isIdentity: true
113
+ type: 'string'
70
114
  }, {
71
115
  key: 'issue',
72
116
  title: 'Key',
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/link-client-extension",
3
- "version": "1.1.2",
3
+ "version": "1.1.4",
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.2",
3
+ "version": "1.1.4",
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.10.0",
38
- "@atlaskit/linking-types": "^1.6.0",
37
+ "@atlaskit/linking-common": "^2.12.0",
38
+ "@atlaskit/linking-types": "^3.0.0",
39
39
  "@babel/runtime": "^7.0.0"
40
40
  },
41
41
  "peerDependencies": {