@atlaskit/teams-client 5.1.0 → 5.2.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 +22 -0
- package/compass.yml +38 -0
- package/dist/cjs/common/utils/ufo/index.js +2 -2
- package/dist/cjs/services/sentry/constants.js +2 -2
- package/dist/cjs/services/sentry/utils/get-sentry-config.js +1 -1
- package/dist/es2019/common/utils/ufo/index.js +2 -2
- package/dist/es2019/services/sentry/constants.js +1 -1
- package/dist/es2019/services/sentry/utils/get-sentry-config.js +1 -1
- package/dist/esm/common/utils/ufo/index.js +2 -2
- package/dist/esm/services/sentry/constants.js +1 -1
- package/dist/esm/services/sentry/utils/get-sentry-config.js +1 -1
- package/dist/types/common/types.d.ts +2 -2
- package/dist/types/common/utils/permissions/types.d.ts +1 -1
- package/dist/types/common/utils/ufo/constants.d.ts +1 -1
- package/dist/types/services/identity-client/utils.d.ts +2 -2
- package/dist/types/services/use-query-light/main.d.ts +1 -1
- package/dist/types/types/links.d.ts +3 -3
- package/dist/types/types/user.d.ts +1 -1
- package/package.json +7 -7
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,27 @@
|
|
|
1
1
|
# @atlaskit/teams-client
|
|
2
2
|
|
|
3
|
+
## 5.2.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [`a9a8208446bfa`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/a9a8208446bfa) -
|
|
8
|
+
Support React 19 for people-and-teams packages.
|
|
9
|
+
|
|
10
|
+
## 5.1.1
|
|
11
|
+
|
|
12
|
+
### Patch Changes
|
|
13
|
+
|
|
14
|
+
- [`b1cf9e336f0f0`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/b1cf9e336f0f0) -
|
|
15
|
+
Migrate consumers of @atlaskit/atlassian-context from barrel imports to direct subpath imports,
|
|
16
|
+
and remove the deprecated `./domain-lookup`, `./generalized-domain-lookup`, and `./perimeter`
|
|
17
|
+
entry-point exports (all symbols remain available via their per-export subpaths).
|
|
18
|
+
|
|
19
|
+
Also extends the `no-restricted-fedramp-imports` ESLint rule to cover the new
|
|
20
|
+
`@atlaskit/atlassian-context/is-fedramp` and `@atlaskit/atlassian-context/is-isolated-cloud`
|
|
21
|
+
subpaths, so the FedRamp/IsolatedCloud deprecation guardrail keeps firing after the migration.
|
|
22
|
+
|
|
23
|
+
- Updated dependencies
|
|
24
|
+
|
|
3
25
|
## 5.1.0
|
|
4
26
|
|
|
5
27
|
### Minor Changes
|
package/compass.yml
ADDED
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
configVersion: 1
|
|
2
|
+
id: ari:cloud:compass:a436116f-02ce-4520-8fbb-7301462a1674:component/c5751cc6-3513-4070-9deb-af31e86aed34/dc85b076-b6e1-44b1-b034-6a505facbaf9
|
|
3
|
+
name: '@atlaskit/teams-client'
|
|
4
|
+
ownerId: ari:cloud:identity::team/d8a5c4b6-436c-44ce-a11c-b8817f2b8b81 # Teams App frontend
|
|
5
|
+
labels:
|
|
6
|
+
- platform-code
|
|
7
|
+
- platform-afm
|
|
8
|
+
typeId: OTHER
|
|
9
|
+
fields:
|
|
10
|
+
tier: 4
|
|
11
|
+
lifecycle: Active
|
|
12
|
+
isMonorepoProject: true
|
|
13
|
+
links:
|
|
14
|
+
- name: Root Repository
|
|
15
|
+
type: REPOSITORY
|
|
16
|
+
url: https://bitbucket.org/atlassian/atlassian-frontend-monorepo/src/master
|
|
17
|
+
- name: Slack Channel
|
|
18
|
+
type: CHAT_CHANNEL
|
|
19
|
+
url: https://atlassian.enterprise.slack.com/archives/C024C40LREH # #pt-frontend
|
|
20
|
+
- name: Teams Client
|
|
21
|
+
type: REPOSITORY
|
|
22
|
+
url: https://bitbucket.org/atlassian/atlassian-frontend-monorepo/src/master/platform/packages/people-and-teams/teams-client
|
|
23
|
+
customFields:
|
|
24
|
+
- name: Department
|
|
25
|
+
type: text
|
|
26
|
+
value: Eng - Atlas - Spoonsteen
|
|
27
|
+
- name: Technical Owner
|
|
28
|
+
type: user
|
|
29
|
+
value: ari:cloud:identity::user/60eee7cec94cc20068ac280c # Alex O'Shannessy
|
|
30
|
+
- name: Required Reviewers Opt In
|
|
31
|
+
type: boolean
|
|
32
|
+
value: true
|
|
33
|
+
- name: Reviewer Selection Mechanism
|
|
34
|
+
type: text
|
|
35
|
+
value: random(2)
|
|
36
|
+
- name: Required Reviewer Approvals
|
|
37
|
+
type: number
|
|
38
|
+
value: 1
|
|
@@ -52,7 +52,7 @@ var TeamsUFOExperience = exports.TeamsUFOExperience = /*#__PURE__*/function (_UF
|
|
|
52
52
|
return _superPropGet(TeamsUFOExperience, "failure", this, 3)([{
|
|
53
53
|
metadata: {
|
|
54
54
|
error: (0, _utils.createErrorMetadata)(error),
|
|
55
|
-
packageVersion: "5.
|
|
55
|
+
packageVersion: "5.1.1",
|
|
56
56
|
packageName: "@atlaskit/teams-client"
|
|
57
57
|
}
|
|
58
58
|
}]);
|
|
@@ -60,7 +60,7 @@ var TeamsUFOExperience = exports.TeamsUFOExperience = /*#__PURE__*/function (_UF
|
|
|
60
60
|
return _superPropGet(TeamsUFOExperience, "failure", this, 3)([{
|
|
61
61
|
metadata: {
|
|
62
62
|
error: 'unknown error',
|
|
63
|
-
packageVersion: "5.
|
|
63
|
+
packageVersion: "5.1.1",
|
|
64
64
|
packageName: "@atlaskit/teams-client"
|
|
65
65
|
}
|
|
66
66
|
}]);
|
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.SENTRY_PUBLIC_KEY = exports.SENTRY_PROJECT_ID = exports.SENTRY_FEDRAMP_PUBLIC_KEY = exports.SENTRY_FEDRAMP_PROJECT_ID = exports.SENTRY_DSN = void 0;
|
|
7
|
-
var
|
|
7
|
+
var _isFedramp = require("@atlaskit/atlassian-context/is-fedramp");
|
|
8
8
|
// https://sentry.io/settings/atlassian-2y/projects/people-and-teams-directory/keys/
|
|
9
9
|
var SENTRY_PUBLIC_KEY = exports.SENTRY_PUBLIC_KEY = '1dc056d49dfe4df8961dc1b810e4620d';
|
|
10
10
|
var SENTRY_PROJECT_ID = exports.SENTRY_PROJECT_ID = '5988845';
|
|
@@ -12,4 +12,4 @@ var SENTRY_FEDRAMP_PUBLIC_KEY = exports.SENTRY_FEDRAMP_PUBLIC_KEY = '067abcc494b
|
|
|
12
12
|
var SENTRY_FEDRAMP_PROJECT_ID = exports.SENTRY_FEDRAMP_PROJECT_ID = '47';
|
|
13
13
|
var SENTRY_COMMERCIAL_DSN = "https://".concat(SENTRY_PUBLIC_KEY, "@o55978.ingest.sentry.io/").concat(SENTRY_PROJECT_ID);
|
|
14
14
|
var SENTRY_FEDRAMP_DSN = "https://".concat(SENTRY_FEDRAMP_PUBLIC_KEY, "@sentry.atlassian-us-gov-mod.com/").concat(SENTRY_FEDRAMP_PROJECT_ID);
|
|
15
|
-
var SENTRY_DSN = exports.SENTRY_DSN = (0,
|
|
15
|
+
var SENTRY_DSN = exports.SENTRY_DSN = (0, _isFedramp.isFedRamp)() ? SENTRY_FEDRAMP_DSN : SENTRY_COMMERCIAL_DSN;
|
|
@@ -36,7 +36,7 @@ function getSentryConfig(options) {
|
|
|
36
36
|
return _objectSpread(_objectSpread(_objectSpread({}, otherOptions), DEFAULT_SENTRY_CONFIG), {}, {
|
|
37
37
|
// Standalone __VERSION__ is set from `bin/set-release-version.sh`
|
|
38
38
|
// when building to deploy to production
|
|
39
|
-
release: "".concat("@atlaskit/teams-client", "@").concat("5.
|
|
39
|
+
release: "".concat("@atlaskit/teams-client", "@").concat("5.1.1") ||
|
|
40
40
|
// @ts-ignore Jira - window.BUILD_KEY
|
|
41
41
|
window.BUILD_KEY || ( // @ts-ignore Confluence - window.__buildInfo
|
|
42
42
|
(_window$__buildInfo = window.__buildInfo) === null || _window$__buildInfo === void 0 ? void 0 : _window$__buildInfo.FRONTEND_VERSION) || '---',
|
|
@@ -27,7 +27,7 @@ export class TeamsUFOExperience extends UFOExperience {
|
|
|
27
27
|
return super.failure({
|
|
28
28
|
metadata: {
|
|
29
29
|
error: createErrorMetadata(error),
|
|
30
|
-
packageVersion: "5.
|
|
30
|
+
packageVersion: "5.1.1",
|
|
31
31
|
packageName: "@atlaskit/teams-client"
|
|
32
32
|
}
|
|
33
33
|
});
|
|
@@ -35,7 +35,7 @@ export class TeamsUFOExperience extends UFOExperience {
|
|
|
35
35
|
return super.failure({
|
|
36
36
|
metadata: {
|
|
37
37
|
error: 'unknown error',
|
|
38
|
-
packageVersion: "5.
|
|
38
|
+
packageVersion: "5.1.1",
|
|
39
39
|
packageName: "@atlaskit/teams-client"
|
|
40
40
|
}
|
|
41
41
|
});
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { isFedRamp } from '@atlaskit/atlassian-context';
|
|
1
|
+
import { isFedRamp } from '@atlaskit/atlassian-context/is-fedramp';
|
|
2
2
|
|
|
3
3
|
// https://sentry.io/settings/atlassian-2y/projects/people-and-teams-directory/keys/
|
|
4
4
|
export const SENTRY_PUBLIC_KEY = '1dc056d49dfe4df8961dc1b810e4620d';
|
|
@@ -28,7 +28,7 @@ export function getSentryConfig(options) {
|
|
|
28
28
|
...DEFAULT_SENTRY_CONFIG,
|
|
29
29
|
// Standalone __VERSION__ is set from `bin/set-release-version.sh`
|
|
30
30
|
// when building to deploy to production
|
|
31
|
-
release: `${"@atlaskit/teams-client"}@${"5.
|
|
31
|
+
release: `${"@atlaskit/teams-client"}@${"5.1.1"}` ||
|
|
32
32
|
// @ts-ignore Jira - window.BUILD_KEY
|
|
33
33
|
window.BUILD_KEY || ( // @ts-ignore Confluence - window.__buildInfo
|
|
34
34
|
(_window$__buildInfo = window.__buildInfo) === null || _window$__buildInfo === void 0 ? void 0 : _window$__buildInfo.FRONTEND_VERSION) || '---',
|
|
@@ -45,7 +45,7 @@ export var TeamsUFOExperience = /*#__PURE__*/function (_UFOExperience) {
|
|
|
45
45
|
return _superPropGet(TeamsUFOExperience, "failure", this, 3)([{
|
|
46
46
|
metadata: {
|
|
47
47
|
error: createErrorMetadata(error),
|
|
48
|
-
packageVersion: "5.
|
|
48
|
+
packageVersion: "5.1.1",
|
|
49
49
|
packageName: "@atlaskit/teams-client"
|
|
50
50
|
}
|
|
51
51
|
}]);
|
|
@@ -53,7 +53,7 @@ export var TeamsUFOExperience = /*#__PURE__*/function (_UFOExperience) {
|
|
|
53
53
|
return _superPropGet(TeamsUFOExperience, "failure", this, 3)([{
|
|
54
54
|
metadata: {
|
|
55
55
|
error: 'unknown error',
|
|
56
|
-
packageVersion: "5.
|
|
56
|
+
packageVersion: "5.1.1",
|
|
57
57
|
packageName: "@atlaskit/teams-client"
|
|
58
58
|
}
|
|
59
59
|
}]);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { isFedRamp } from '@atlaskit/atlassian-context';
|
|
1
|
+
import { isFedRamp } from '@atlaskit/atlassian-context/is-fedramp';
|
|
2
2
|
|
|
3
3
|
// https://sentry.io/settings/atlassian-2y/projects/people-and-teams-directory/keys/
|
|
4
4
|
export var SENTRY_PUBLIC_KEY = '1dc056d49dfe4df8961dc1b810e4620d';
|
|
@@ -29,7 +29,7 @@ export function getSentryConfig(options) {
|
|
|
29
29
|
return _objectSpread(_objectSpread(_objectSpread({}, otherOptions), DEFAULT_SENTRY_CONFIG), {}, {
|
|
30
30
|
// Standalone __VERSION__ is set from `bin/set-release-version.sh`
|
|
31
31
|
// when building to deploy to production
|
|
32
|
-
release: "".concat("@atlaskit/teams-client", "@").concat("5.
|
|
32
|
+
release: "".concat("@atlaskit/teams-client", "@").concat("5.1.1") ||
|
|
33
33
|
// @ts-ignore Jira - window.BUILD_KEY
|
|
34
34
|
window.BUILD_KEY || ( // @ts-ignore Confluence - window.__buildInfo
|
|
35
35
|
(_window$__buildInfo = window.__buildInfo) === null || _window$__buildInfo === void 0 ? void 0 : _window$__buildInfo.FRONTEND_VERSION) || '---',
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const USER_ARI_PREFIX:
|
|
1
|
+
export declare const USER_ARI_PREFIX: 'ari:cloud:identity::user/';
|
|
2
2
|
export type UserARI = `${typeof USER_ARI_PREFIX}${string}`;
|
|
3
|
-
export declare const TEAM_ARI_PREFIX:
|
|
3
|
+
export declare const TEAM_ARI_PREFIX: 'ari:cloud:identity::team/';
|
|
4
4
|
export type TeamARI = `${typeof TEAM_ARI_PREFIX}${string}`;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const AllTeamActions: readonly [
|
|
1
|
+
export declare const AllTeamActions: readonly ['ADD_MEMBER_TO_TEAM', 'JOIN_TEAM', 'REQUEST_TO_JOIN', 'CANCEL_JOIN_REQUEST', 'APPROVE_JOIN_REQUEST', 'REJECT_JOIN_REQUEST', 'REMOVE_MEMBER_FROM_TEAM', 'CANCEL_INVITE', 'LEAVE_TEAM', 'REMOVE_AGENT_FROM_TEAM', 'ADD_AGENT_TO_TEAM', 'CAN_EDIT_HIERARCHY', 'CAN_CHANGE_MEMBERSHIP_SETTINGS', 'EDIT_TEAM_NAME', 'EDIT_DESCRIPTION', 'EDIT_PROFILE_HEADER', 'EDIT_TEAM_LINK', 'EDIT_TEAM_SETTINGS', 'EDIT_TEAM_MEMBERSHIP', 'EDIT_TEAM_TYPE', 'DELETE_TEAM', 'ARCHIVE_TEAM', 'UNARCHIVE_TEAM'];
|
|
2
2
|
export type TeamAction = (typeof AllTeamActions)[number];
|
|
3
3
|
export type TeamPermissions = {
|
|
4
4
|
canCreateTeams: boolean;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { TeamsUFOExperience } from './index';
|
|
2
|
-
declare const TeamsClientExperienceKeyList: readonly [
|
|
2
|
+
declare const TeamsClientExperienceKeyList: readonly ['getAllTeams', 'getTeamById', 'updateTeamById', 'querySettings', 'queryFeatureFlags', 'queryTeamMemberships', 'queryUser', 'inviteUsersToTeam', 'getMyTeamMembership', 'getTeamLinksByTeamId', 'createTeamLink', 'updateTeamLink', 'deleteTeamLink', 'reorderTeamLink', 'acceptTeamInvitation', 'declineTeamInvitation', 'selfJoinTeam', 'cancelJoinRequest', 'acceptJoinRequest', 'declineJoinRequest', 'deleteTeamMembership', 'revokeTeamInvite', 'deleteTeam', 'archiveTeam', 'unarchiveTeam', 'unlinkTeamFromGroup', 'isSingleFullMemberTeam', 'createTeam', 'createTeamContainers', 'createExternalTeam', 'getProfileWithMutability', 'getIsSiteAdmin', 'addUsersToTeam', 'removeTeamMemberships', 'getRecommendedProducts', 'joinOrRequestDefaultAccessToProductsBulk', 'getReadMediaToken', 'getWriteUserMediaToken', 'updateUserHeaderImage', 'getWriteTeamMediaToken', 'getSoftDeletedTeamById', 'restoreTeam', 'getUserInSiteUserBase', 'getLinkedTeamsBulk', 'getTeamProfileDetails', 'getUserContainers', 'getRecommendedUsers', 'getPermissions', 'getUserManageConfig', 'getMyAvatarUploadedStatus', 'deleteUserAvatar', 'getTeamLinkIcons', 'getTeamInSlack', 'getOrgScope', 'restoreTeamToSyncedGroup', 'getTeamAndGroupDiff', 'linkExistingTeamToGroup', 'fetchUserAvatarInfo', 'getOrgEligibilityForManagedTeams', 'updateUser', 'updateUserAvatar', 'disconnectTeamInSlack', 'updateTeamInSlack', 'getUserTenure', 'getAriFromUrl', 'getWebLinkTitle', 'addAgentToTeam', 'getTeamEnabledSites', 'assignTeamsToSites', 'removeAgentTeamAssociation', 'getAssignedTeams', 'setTeamSiteAssignmentPermission', 'getUnassignedTeams', 'getTeamSiteAssignmentOrgDetails', 'getTeamsToBeClonedToJsmSites', 'getReportingLines'];
|
|
3
3
|
export type TeamsClientExperienceKeys = (typeof TeamsClientExperienceKeyList)[number];
|
|
4
4
|
export declare const TEAMS_CLIENT_EXPERIENCES: Map<'getAllTeams' | 'getTeamById' | 'updateTeamById' | 'querySettings' | 'queryFeatureFlags' | 'queryTeamMemberships' | 'queryUser' | 'inviteUsersToTeam' | 'getMyTeamMembership' | 'getTeamLinksByTeamId' | 'createTeamLink' | 'updateTeamLink' | 'deleteTeamLink' | 'reorderTeamLink' | 'acceptTeamInvitation' | 'declineTeamInvitation' | 'selfJoinTeam' | 'cancelJoinRequest' | 'acceptJoinRequest' | 'declineJoinRequest' | 'deleteTeamMembership' | 'revokeTeamInvite' | 'deleteTeam' | 'archiveTeam' | 'unarchiveTeam' | 'unlinkTeamFromGroup' | 'isSingleFullMemberTeam' | 'createTeam' | 'createTeamContainers' | 'createExternalTeam' | 'getProfileWithMutability' | 'getIsSiteAdmin' | 'addUsersToTeam' | 'removeTeamMemberships' | 'getRecommendedProducts' | 'joinOrRequestDefaultAccessToProductsBulk' | 'getReadMediaToken' | 'getWriteUserMediaToken' | 'updateUserHeaderImage' | 'getWriteTeamMediaToken' | 'getSoftDeletedTeamById' | 'restoreTeam' | 'getUserInSiteUserBase' | 'getLinkedTeamsBulk' | 'getTeamProfileDetails' | 'getUserContainers' | 'getRecommendedUsers' | 'getPermissions' | 'getUserManageConfig' | 'getMyAvatarUploadedStatus' | 'deleteUserAvatar' | 'getTeamLinkIcons' | 'getTeamInSlack' | 'getOrgScope' | 'restoreTeamToSyncedGroup' | 'getTeamAndGroupDiff' | 'linkExistingTeamToGroup' | 'fetchUserAvatarInfo' | 'getOrgEligibilityForManagedTeams' | 'updateUser' | 'updateUserAvatar' | 'disconnectTeamInSlack' | 'updateTeamInSlack' | 'getUserTenure' | 'getAriFromUrl' | 'getWebLinkTitle' | 'addAgentToTeam' | 'getTeamEnabledSites' | 'assignTeamsToSites' | 'removeAgentTeamAssociation' | 'getAssignedTeams' | 'setTeamSiteAssignmentPermission' | 'getUnassignedTeams' | 'getTeamSiteAssignmentOrgDetails' | 'getTeamsToBeClonedToJsmSites' | 'getReportingLines', TeamsUFOExperience>;
|
|
5
5
|
export {};
|
|
@@ -69,8 +69,8 @@ export type MutabilityContraints = {
|
|
|
69
69
|
};
|
|
70
70
|
export declare const MUTABILITY_DETAILS_MAP: Record<FieldKey, string>;
|
|
71
71
|
export declare const CUSTOM_FIELD_PLACE: {
|
|
72
|
-
readonly email:
|
|
73
|
-
readonly picture:
|
|
72
|
+
readonly email: 'email.initiateChange';
|
|
73
|
+
readonly picture: 'avatar';
|
|
74
74
|
};
|
|
75
75
|
export type CustomFieldKey = keyof typeof CUSTOM_FIELD_PLACE;
|
|
76
76
|
export type AllFieldKeys = FieldKey | CustomFieldKey;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { type DocumentNode } from 'graphql';
|
|
2
2
|
import { type QueryOptions, type QueryResponse } from './types';
|
|
3
3
|
export declare const useQueryLight: <TParams, TResult>(query: DocumentNode, options: QueryOptions<TParams>) => QueryResponse<TParams, TResult>;
|
|
4
|
-
export declare const useLazyQueryLight: <TParams, TResult>(query: DocumentNode, options: Omit<QueryOptions<TParams>,
|
|
4
|
+
export declare const useLazyQueryLight: <TParams, TResult>(query: DocumentNode, options: Omit<QueryOptions<TParams>, 'skip'>) => [() => void, QueryResponse<TParams, TResult>];
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
* Used to synchronise these field names to forms used to create/edit links e.g. TeamLinkForm
|
|
3
3
|
*/
|
|
4
4
|
export declare const LINK_FIELDS: {
|
|
5
|
-
CONTENT_TITLE:
|
|
6
|
-
DESCRIPTION:
|
|
7
|
-
LINK_URI:
|
|
5
|
+
CONTENT_TITLE: 'contentTitle';
|
|
6
|
+
DESCRIPTION: 'description';
|
|
7
|
+
LINK_URI: 'linkUri';
|
|
8
8
|
};
|
|
9
9
|
export interface TeamLink {
|
|
10
10
|
[LINK_FIELDS.CONTENT_TITLE]: string;
|
|
@@ -37,7 +37,7 @@ export interface TeamsClientUser {
|
|
|
37
37
|
export interface UserInSiteUserbase {
|
|
38
38
|
isPresent: boolean;
|
|
39
39
|
}
|
|
40
|
-
declare const EditableUserFieldList: readonly [
|
|
40
|
+
declare const EditableUserFieldList: readonly ['title', 'department', 'companyName', 'location', 'phoneNumber', 'fullName', 'nickname', 'locale', 'email', 'aboutMe', 'pronouns'];
|
|
41
41
|
export type EditableUserFields = Pick<TeamsClientUser, (typeof EditableUserFieldList)[number]>;
|
|
42
42
|
export declare const isEditableUserField: (key: string) => key is keyof EditableUserFields;
|
|
43
43
|
export {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/teams-client",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.2.0",
|
|
4
4
|
"description": "A client to retrieve team related data",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -30,8 +30,8 @@
|
|
|
30
30
|
"test:coverage": "(cd ../../.. && yarn test 'packages/people-and-teams/teams-client/src' --coverage --coverageProvider=v8 --collectCoverageFrom='[\"packages/people-and-teams/teams-client/src/**\", \"!packages/people-and-teams/teams-client/src/**/**/types.ts\", \"!packages/people-and-teams/teams-client/src/ui/**/styled.tsx\"]')"
|
|
31
31
|
},
|
|
32
32
|
"dependencies": {
|
|
33
|
-
"@atlaskit/atlassian-context": "^1.
|
|
34
|
-
"@atlaskit/platform-feature-flags": "^2.
|
|
33
|
+
"@atlaskit/atlassian-context": "^1.1.0",
|
|
34
|
+
"@atlaskit/platform-feature-flags": "^2.1.0",
|
|
35
35
|
"@atlaskit/react-compiler-gating": "^0.2.0",
|
|
36
36
|
"@atlaskit/ufo": "^1.0.0",
|
|
37
37
|
"@babel/runtime": "^7.0.0",
|
|
@@ -43,16 +43,16 @@
|
|
|
43
43
|
"lodash": "^4.17.21"
|
|
44
44
|
},
|
|
45
45
|
"peerDependencies": {
|
|
46
|
-
"react": "^18.2.0"
|
|
46
|
+
"react": "^18.2.0 || ^19.2.0"
|
|
47
47
|
},
|
|
48
48
|
"devDependencies": {
|
|
49
49
|
"@atlaskit/feature-gate-js-client": "^6.0.0",
|
|
50
50
|
"@atlassian/codegen": "^0.2.0",
|
|
51
|
-
"@atlassian/ptc-test-utils": "^0.
|
|
51
|
+
"@atlassian/ptc-test-utils": "^0.14.0",
|
|
52
52
|
"@testing-library/react": "^16.3.0",
|
|
53
53
|
"@types/faker": "^4.1.8",
|
|
54
|
-
"react": "^
|
|
55
|
-
"react-dom": "^
|
|
54
|
+
"react": "^19.2.0",
|
|
55
|
+
"react-dom": "^19.2.0",
|
|
56
56
|
"swagger-typescript-api": "^13.0.3",
|
|
57
57
|
"ts-morph": "^17.0.0",
|
|
58
58
|
"ts-node": "^10.9.1",
|