@atlaskit/util-data-test 17.12.0 → 17.13.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 +12 -0
- package/afm-jira/tsconfig.json +50 -50
- package/afm-post-office/tsconfig.json +50 -50
- package/dist/cjs/profilecard/get-mock-profilecard-client.js +12 -0
- package/dist/es2019/profilecard/get-mock-profilecard-client.js +12 -0
- package/dist/esm/profilecard/get-mock-profilecard-client.js +12 -0
- package/package.json +6 -6
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @atlaskit/util-data-test
|
|
2
2
|
|
|
3
|
+
## 17.13.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#163699](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/163699)
|
|
8
|
+
[`f946e35c60150`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/f946e35c60150) -
|
|
9
|
+
Update mock profilecard client contract
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- Updated dependencies
|
|
14
|
+
|
|
3
15
|
## 17.12.0
|
|
4
16
|
|
|
5
17
|
### Minor Changes
|
package/afm-jira/tsconfig.json
CHANGED
|
@@ -1,51 +1,51 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
}
|
|
2
|
+
"extends": "../../../../tsconfig.entry-points.jira.json",
|
|
3
|
+
"compilerOptions": {
|
|
4
|
+
"declaration": true,
|
|
5
|
+
"target": "es5",
|
|
6
|
+
"outDir": "../../../../../tsDist/@atlaskit__util-data-test/app",
|
|
7
|
+
"rootDir": "../",
|
|
8
|
+
"composite": true
|
|
9
|
+
},
|
|
10
|
+
"include": [
|
|
11
|
+
"../src/**/*.ts",
|
|
12
|
+
"../src/**/*.tsx"
|
|
13
|
+
],
|
|
14
|
+
"exclude": [
|
|
15
|
+
"../src/**/__tests__/*",
|
|
16
|
+
"../src/**/*.test.*",
|
|
17
|
+
"../src/**/test.*"
|
|
18
|
+
],
|
|
19
|
+
"references": [
|
|
20
|
+
{
|
|
21
|
+
"path": "../../../analytics/analytics-next/afm-jira/tsconfig.json"
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"path": "../../emoji/afm-jira/tsconfig.json"
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"path": "../../../design-system/icon/afm-jira/tsconfig.json"
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
"path": "../../mention/afm-jira/tsconfig.json"
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"path": "../../../design-system/primitives/afm-jira/tsconfig.json"
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
"path": "../../../people-and-teams/profilecard/afm-jira/tsconfig.json"
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"path": "../../../design-system/theme/afm-jira/tsconfig.json"
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
"path": "../../../design-system/tokens/afm-jira/tsconfig.json"
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
"path": "../../user-picker/afm-jira/tsconfig.json"
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
"path": "../../util-service-support/afm-jira/tsconfig.json"
|
|
49
|
+
}
|
|
50
|
+
]
|
|
51
|
+
}
|
|
@@ -1,51 +1,51 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
}
|
|
2
|
+
"extends": "../../../../tsconfig.entry-points.post-office.json",
|
|
3
|
+
"compilerOptions": {
|
|
4
|
+
"declaration": true,
|
|
5
|
+
"target": "es5",
|
|
6
|
+
"outDir": "../../../../../tsDist/@atlaskit__util-data-test/app",
|
|
7
|
+
"rootDir": "../",
|
|
8
|
+
"composite": true
|
|
9
|
+
},
|
|
10
|
+
"include": [
|
|
11
|
+
"../src/**/*.ts",
|
|
12
|
+
"../src/**/*.tsx"
|
|
13
|
+
],
|
|
14
|
+
"exclude": [
|
|
15
|
+
"../src/**/__tests__/*",
|
|
16
|
+
"../src/**/*.test.*",
|
|
17
|
+
"../src/**/test.*"
|
|
18
|
+
],
|
|
19
|
+
"references": [
|
|
20
|
+
{
|
|
21
|
+
"path": "../../../analytics/analytics-next/afm-post-office/tsconfig.json"
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"path": "../../emoji/afm-post-office/tsconfig.json"
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"path": "../../../design-system/icon/afm-post-office/tsconfig.json"
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
"path": "../../mention/afm-post-office/tsconfig.json"
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"path": "../../../design-system/primitives/afm-post-office/tsconfig.json"
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
"path": "../../../people-and-teams/profilecard/afm-post-office/tsconfig.json"
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"path": "../../../design-system/theme/afm-post-office/tsconfig.json"
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
"path": "../../../design-system/tokens/afm-post-office/tsconfig.json"
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
"path": "../../user-picker/afm-post-office/tsconfig.json"
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
"path": "../../util-service-support/afm-post-office/tsconfig.json"
|
|
49
|
+
}
|
|
50
|
+
]
|
|
51
|
+
}
|
|
@@ -168,6 +168,18 @@ function simpleMockProfilecardClient() {
|
|
|
168
168
|
return Promise.reject({
|
|
169
169
|
reason: 'not built yet'
|
|
170
170
|
});
|
|
171
|
+
},
|
|
172
|
+
getRovoAgentPermissions: function getRovoAgentPermissions() {
|
|
173
|
+
return Promise.resolve({
|
|
174
|
+
permissions: {
|
|
175
|
+
AGENT_UPDATE: {
|
|
176
|
+
permitted: true
|
|
177
|
+
},
|
|
178
|
+
AGENT_DEACTIVATE: {
|
|
179
|
+
permitted: true
|
|
180
|
+
}
|
|
181
|
+
}
|
|
182
|
+
});
|
|
171
183
|
}
|
|
172
184
|
};
|
|
173
185
|
}
|
|
@@ -106,6 +106,18 @@ export function simpleMockProfilecardClient() {
|
|
|
106
106
|
return Promise.reject({
|
|
107
107
|
reason: 'not built yet'
|
|
108
108
|
});
|
|
109
|
+
},
|
|
110
|
+
getRovoAgentPermissions: () => {
|
|
111
|
+
return Promise.resolve({
|
|
112
|
+
permissions: {
|
|
113
|
+
AGENT_UPDATE: {
|
|
114
|
+
permitted: true
|
|
115
|
+
},
|
|
116
|
+
AGENT_DEACTIVATE: {
|
|
117
|
+
permitted: true
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
});
|
|
109
121
|
}
|
|
110
122
|
};
|
|
111
123
|
}
|
|
@@ -160,6 +160,18 @@ export function simpleMockProfilecardClient() {
|
|
|
160
160
|
return Promise.reject({
|
|
161
161
|
reason: 'not built yet'
|
|
162
162
|
});
|
|
163
|
+
},
|
|
164
|
+
getRovoAgentPermissions: function getRovoAgentPermissions() {
|
|
165
|
+
return Promise.resolve({
|
|
166
|
+
permissions: {
|
|
167
|
+
AGENT_UPDATE: {
|
|
168
|
+
permitted: true
|
|
169
|
+
},
|
|
170
|
+
AGENT_DEACTIVATE: {
|
|
171
|
+
permitted: true
|
|
172
|
+
}
|
|
173
|
+
}
|
|
174
|
+
});
|
|
163
175
|
}
|
|
164
176
|
};
|
|
165
177
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/util-data-test",
|
|
3
|
-
"version": "17.
|
|
3
|
+
"version": "17.13.0",
|
|
4
4
|
"description": "Shared test and story data",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -69,12 +69,12 @@
|
|
|
69
69
|
"@atlaskit/analytics-next": "^10.1.0",
|
|
70
70
|
"@atlaskit/emoji": "67.9.0",
|
|
71
71
|
"@atlaskit/icon": "^22.24.0",
|
|
72
|
-
"@atlaskit/mention": "23.3.
|
|
73
|
-
"@atlaskit/primitives": "^13.
|
|
74
|
-
"@atlaskit/profilecard": "^20.
|
|
72
|
+
"@atlaskit/mention": "23.3.4",
|
|
73
|
+
"@atlaskit/primitives": "^13.1.0",
|
|
74
|
+
"@atlaskit/profilecard": "^20.10.0",
|
|
75
75
|
"@atlaskit/theme": "^14.0.0",
|
|
76
|
-
"@atlaskit/tokens": "^2.
|
|
77
|
-
"@atlaskit/user-picker": "10.26.
|
|
76
|
+
"@atlaskit/tokens": "^2.2.0",
|
|
77
|
+
"@atlaskit/user-picker": "10.26.5",
|
|
78
78
|
"@atlaskit/util-service-support": "^6.2.0",
|
|
79
79
|
"@babel/runtime": "^7.0.0",
|
|
80
80
|
"lodash": "^4.17.21",
|