@atlaskit/teams-app-internal-analytics 1.19.2 → 1.20.1
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 +13 -0
- package/analytics.spec.yaml +7 -5
- package/dist/cjs/ui/analytics-context/index.js +1 -1
- package/dist/es2019/ui/analytics-context/index.js +1 -1
- package/dist/esm/ui/analytics-context/index.js +1 -1
- package/dist/types/common/utils/generated/analytics.types.d.ts +6 -6
- package/dist/types-ts4.5/common/utils/generated/analytics.types.d.ts +6 -6
- package/package.json +5 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
# @atlaskit/teams-app-internal-analytics
|
|
2
2
|
|
|
3
|
+
## 1.20.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
|
|
9
|
+
## 1.20.0
|
|
10
|
+
|
|
11
|
+
### Minor Changes
|
|
12
|
+
|
|
13
|
+
- [`0f5306d6607ab`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/0f5306d6607ab) -
|
|
14
|
+
Add ORG_ADMIN_MANAGED to membership settings
|
|
15
|
+
|
|
3
16
|
## 1.19.2
|
|
4
17
|
|
|
5
18
|
### Patch Changes
|
package/analytics.spec.yaml
CHANGED
|
@@ -16,10 +16,10 @@ shared:
|
|
|
16
16
|
type: number
|
|
17
17
|
description: The number of members
|
|
18
18
|
defaultTeamType:
|
|
19
|
-
type: ['OPEN', 'MEMBER_INVITE', 'EXTERNAL']
|
|
19
|
+
type: ['OPEN', 'MEMBER_INVITE', 'EXTERNAL', 'ORG_ADMIN_MANAGED']
|
|
20
20
|
description: The default team type
|
|
21
21
|
chosenTeamType:
|
|
22
|
-
type: ['OPEN', 'MEMBER_INVITE', 'EXTERNAL']
|
|
22
|
+
type: ['OPEN', 'MEMBER_INVITE', 'EXTERNAL', 'ORG_ADMIN_MANAGED']
|
|
23
23
|
description: The chosen team type
|
|
24
24
|
teamTypeChoiceEnabled:
|
|
25
25
|
type: boolean
|
|
@@ -249,11 +249,11 @@ events:
|
|
|
249
249
|
type: number
|
|
250
250
|
description: The number of members
|
|
251
251
|
defaultTeamType:
|
|
252
|
-
type: ['OPEN', 'MEMBER_INVITE', 'EXTERNAL']
|
|
252
|
+
type: ['OPEN', 'MEMBER_INVITE', 'EXTERNAL', 'ORG_ADMIN_MANAGED']
|
|
253
253
|
required: false
|
|
254
254
|
description: The default team type
|
|
255
255
|
chosenTeamType:
|
|
256
|
-
type: ['OPEN', 'MEMBER_INVITE', 'EXTERNAL']
|
|
256
|
+
type: ['OPEN', 'MEMBER_INVITE', 'EXTERNAL', 'ORG_ADMIN_MANAGED']
|
|
257
257
|
description: The chosen team type
|
|
258
258
|
teamTypeChoiceEnabled:
|
|
259
259
|
type: boolean
|
|
@@ -287,7 +287,7 @@ events:
|
|
|
287
287
|
attributes:
|
|
288
288
|
<<: *PackageMetaDataContext
|
|
289
289
|
defaultType:
|
|
290
|
-
type: ['OPEN', 'MEMBER_INVITE', 'EXTERNAL']
|
|
290
|
+
type: ['OPEN', 'MEMBER_INVITE', 'EXTERNAL', 'ORG_ADMIN_MANAGED']
|
|
291
291
|
required: false
|
|
292
292
|
description: the default type
|
|
293
293
|
chosenType:
|
|
@@ -973,11 +973,13 @@ events:
|
|
|
973
973
|
- 'OPEN'
|
|
974
974
|
- 'MEMBER_INVITE'
|
|
975
975
|
- 'EXTERNAL'
|
|
976
|
+
- 'ORG_ADMIN_MANAGED'
|
|
976
977
|
currentTeamType:
|
|
977
978
|
type:
|
|
978
979
|
- 'OPEN'
|
|
979
980
|
- 'MEMBER_INVITE'
|
|
980
981
|
- 'EXTERNAL'
|
|
982
|
+
- 'ORG_ADMIN_MANAGED'
|
|
981
983
|
isTeamNameChanged:
|
|
982
984
|
type: boolean
|
|
983
985
|
description: whether team name is edited
|
|
@@ -16,7 +16,7 @@ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbol
|
|
|
16
16
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0, _defineProperty2.default)(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
17
17
|
var defaultAnalyticsContextData = exports.defaultAnalyticsContextData = {
|
|
18
18
|
packageName: "@atlaskit/teams-app-internal-analytics",
|
|
19
|
-
packageVersion: "1.
|
|
19
|
+
packageVersion: "1.20.0"
|
|
20
20
|
};
|
|
21
21
|
function TeamsAppAnalyticsContext(_ref) {
|
|
22
22
|
var data = _ref.data,
|
|
@@ -2,7 +2,7 @@ import React, { useMemo } from 'react';
|
|
|
2
2
|
import { PeopleTeamsAnalyticsContext } from '@atlaskit/analytics-namespaced-context';
|
|
3
3
|
export const defaultAnalyticsContextData = {
|
|
4
4
|
packageName: "@atlaskit/teams-app-internal-analytics",
|
|
5
|
-
packageVersion: "1.
|
|
5
|
+
packageVersion: "1.20.0"
|
|
6
6
|
};
|
|
7
7
|
export function TeamsAppAnalyticsContext({
|
|
8
8
|
data,
|
|
@@ -6,7 +6,7 @@ import React, { useMemo } from 'react';
|
|
|
6
6
|
import { PeopleTeamsAnalyticsContext } from '@atlaskit/analytics-namespaced-context';
|
|
7
7
|
export var defaultAnalyticsContextData = {
|
|
8
8
|
packageName: "@atlaskit/teams-app-internal-analytics",
|
|
9
|
-
packageVersion: "1.
|
|
9
|
+
packageVersion: "1.20.0"
|
|
10
10
|
};
|
|
11
11
|
export function TeamsAppAnalyticsContext(_ref) {
|
|
12
12
|
var data = _ref.data,
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Generates Typescript types for analytics events from analytics.spec.yaml
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::9e9bc5d40f9d5b5fed4a027237e3b005>>
|
|
7
7
|
* @codegenCommand yarn workspace @atlassian/analytics-tooling run analytics:codegen teams-app-internal-analytics
|
|
8
8
|
*/
|
|
9
9
|
export type PackageMetaDataType = {
|
|
@@ -52,8 +52,8 @@ export type TeamCreateDialogClickedTeamLinkSuccessFlagAttributesType = {
|
|
|
52
52
|
export type TeamCreateDialogSucceededAttributesType = {
|
|
53
53
|
teamId: string;
|
|
54
54
|
numberOfMembers: number;
|
|
55
|
-
defaultTeamType: 'OPEN' | 'MEMBER_INVITE' | 'EXTERNAL' | null;
|
|
56
|
-
chosenTeamType: 'OPEN' | 'MEMBER_INVITE' | 'EXTERNAL';
|
|
55
|
+
defaultTeamType: 'OPEN' | 'MEMBER_INVITE' | 'EXTERNAL' | 'ORG_ADMIN_MANAGED' | null;
|
|
56
|
+
chosenTeamType: 'OPEN' | 'MEMBER_INVITE' | 'EXTERNAL' | 'ORG_ADMIN_MANAGED';
|
|
57
57
|
teamTypeChoiceEnabled: boolean | null;
|
|
58
58
|
};
|
|
59
59
|
export type TeamCreateDialogFailedAttributesType = {
|
|
@@ -64,7 +64,7 @@ export type TeamCreateDialogFailedAttributesType = {
|
|
|
64
64
|
traceId: string | null;
|
|
65
65
|
};
|
|
66
66
|
export type TeamTypePickerClickedAttributesType = {
|
|
67
|
-
defaultType: 'OPEN' | 'MEMBER_INVITE' | 'EXTERNAL' | null;
|
|
67
|
+
defaultType: 'OPEN' | 'MEMBER_INVITE' | 'EXTERNAL' | 'ORG_ADMIN_MANAGED' | null;
|
|
68
68
|
chosenType: 'OPEN' | 'MEMBER_INVITE';
|
|
69
69
|
};
|
|
70
70
|
export type TeamCreateDialogClosedAttributesType = {};
|
|
@@ -284,8 +284,8 @@ export type TeamProfileDescriptionEditedAttributesType = {
|
|
|
284
284
|
memberOfTeam: boolean;
|
|
285
285
|
};
|
|
286
286
|
export type TeamMembershipControlEditedAttributesType = {
|
|
287
|
-
teamType: 'OPEN' | 'MEMBER_INVITE' | 'EXTERNAL';
|
|
288
|
-
currentTeamType: 'OPEN' | 'MEMBER_INVITE' | 'EXTERNAL';
|
|
287
|
+
teamType: 'OPEN' | 'MEMBER_INVITE' | 'EXTERNAL' | 'ORG_ADMIN_MANAGED';
|
|
288
|
+
currentTeamType: 'OPEN' | 'MEMBER_INVITE' | 'EXTERNAL' | 'ORG_ADMIN_MANAGED';
|
|
289
289
|
isTeamNameChanged: boolean;
|
|
290
290
|
avatarColour: string;
|
|
291
291
|
};
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Generates Typescript types for analytics events from analytics.spec.yaml
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::9e9bc5d40f9d5b5fed4a027237e3b005>>
|
|
7
7
|
* @codegenCommand yarn workspace @atlassian/analytics-tooling run analytics:codegen teams-app-internal-analytics
|
|
8
8
|
*/
|
|
9
9
|
export type PackageMetaDataType = {
|
|
@@ -52,8 +52,8 @@ export type TeamCreateDialogClickedTeamLinkSuccessFlagAttributesType = {
|
|
|
52
52
|
export type TeamCreateDialogSucceededAttributesType = {
|
|
53
53
|
teamId: string;
|
|
54
54
|
numberOfMembers: number;
|
|
55
|
-
defaultTeamType: 'OPEN' | 'MEMBER_INVITE' | 'EXTERNAL' | null;
|
|
56
|
-
chosenTeamType: 'OPEN' | 'MEMBER_INVITE' | 'EXTERNAL';
|
|
55
|
+
defaultTeamType: 'OPEN' | 'MEMBER_INVITE' | 'EXTERNAL' | 'ORG_ADMIN_MANAGED' | null;
|
|
56
|
+
chosenTeamType: 'OPEN' | 'MEMBER_INVITE' | 'EXTERNAL' | 'ORG_ADMIN_MANAGED';
|
|
57
57
|
teamTypeChoiceEnabled: boolean | null;
|
|
58
58
|
};
|
|
59
59
|
export type TeamCreateDialogFailedAttributesType = {
|
|
@@ -64,7 +64,7 @@ export type TeamCreateDialogFailedAttributesType = {
|
|
|
64
64
|
traceId: string | null;
|
|
65
65
|
};
|
|
66
66
|
export type TeamTypePickerClickedAttributesType = {
|
|
67
|
-
defaultType: 'OPEN' | 'MEMBER_INVITE' | 'EXTERNAL' | null;
|
|
67
|
+
defaultType: 'OPEN' | 'MEMBER_INVITE' | 'EXTERNAL' | 'ORG_ADMIN_MANAGED' | null;
|
|
68
68
|
chosenType: 'OPEN' | 'MEMBER_INVITE';
|
|
69
69
|
};
|
|
70
70
|
export type TeamCreateDialogClosedAttributesType = {};
|
|
@@ -284,8 +284,8 @@ export type TeamProfileDescriptionEditedAttributesType = {
|
|
|
284
284
|
memberOfTeam: boolean;
|
|
285
285
|
};
|
|
286
286
|
export type TeamMembershipControlEditedAttributesType = {
|
|
287
|
-
teamType: 'OPEN' | 'MEMBER_INVITE' | 'EXTERNAL';
|
|
288
|
-
currentTeamType: 'OPEN' | 'MEMBER_INVITE' | 'EXTERNAL';
|
|
287
|
+
teamType: 'OPEN' | 'MEMBER_INVITE' | 'EXTERNAL' | 'ORG_ADMIN_MANAGED';
|
|
288
|
+
currentTeamType: 'OPEN' | 'MEMBER_INVITE' | 'EXTERNAL' | 'ORG_ADMIN_MANAGED';
|
|
289
289
|
isTeamNameChanged: boolean;
|
|
290
290
|
avatarColour: string;
|
|
291
291
|
};
|
package/package.json
CHANGED
|
@@ -28,11 +28,11 @@
|
|
|
28
28
|
},
|
|
29
29
|
"dependencies": {
|
|
30
30
|
"@atlaskit/analytics-listeners": "^9.1.0",
|
|
31
|
-
"@atlaskit/analytics-namespaced-context": "^7.
|
|
31
|
+
"@atlaskit/analytics-namespaced-context": "^7.2.0",
|
|
32
32
|
"@atlaskit/analytics-next": "^11.1.0",
|
|
33
|
-
"@atlaskit/css": "^0.
|
|
34
|
-
"@atlaskit/primitives": "^16.
|
|
35
|
-
"@atlaskit/tokens": "^8.
|
|
33
|
+
"@atlaskit/css": "^0.16.0",
|
|
34
|
+
"@atlaskit/primitives": "^16.2.0",
|
|
35
|
+
"@atlaskit/tokens": "^8.1.0",
|
|
36
36
|
"@babel/runtime": "^7.0.0",
|
|
37
37
|
"@compiled/react": "^0.18.6"
|
|
38
38
|
},
|
|
@@ -88,7 +88,7 @@
|
|
|
88
88
|
}
|
|
89
89
|
},
|
|
90
90
|
"name": "@atlaskit/teams-app-internal-analytics",
|
|
91
|
-
"version": "1.
|
|
91
|
+
"version": "1.20.1",
|
|
92
92
|
"description": "A package used by the teams app and platform packages to handle people and teams analytics",
|
|
93
93
|
"author": "Atlassian Pty Ltd",
|
|
94
94
|
"license": "Apache-2.0",
|