@atlaskit/teams-app-internal-analytics 1.20.0 → 1.20.2
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/analytics.spec.yaml +87 -0
- 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 +38 -1
- package/dist/types-ts4.5/common/utils/generated/analytics.types.d.ts +38 -1
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
package/analytics.spec.yaml
CHANGED
|
@@ -2563,6 +2563,9 @@ events:
|
|
|
2563
2563
|
isSiteAdmin:
|
|
2564
2564
|
type: boolean
|
|
2565
2565
|
description: whether the user is a site admin
|
|
2566
|
+
isArchived:
|
|
2567
|
+
type: boolean
|
|
2568
|
+
description: whether the team is archived (DISBANDED state)
|
|
2566
2569
|
isOrgAdmin:
|
|
2567
2570
|
type: boolean
|
|
2568
2571
|
description: whether the user is an org admin
|
|
@@ -2585,6 +2588,90 @@ events:
|
|
|
2585
2588
|
containersCurrentlyConnected:
|
|
2586
2589
|
type: []
|
|
2587
2590
|
description: the list of currently connected containers
|
|
2591
|
+
- teamArchived succeeded:
|
|
2592
|
+
type: operational
|
|
2593
|
+
description: team archived successfully
|
|
2594
|
+
attributes:
|
|
2595
|
+
<<: *PackageMetaDataContext
|
|
2596
|
+
teamId:
|
|
2597
|
+
type: string
|
|
2598
|
+
description: id of the archived team
|
|
2599
|
+
required: false
|
|
2600
|
+
isOrgAdmin:
|
|
2601
|
+
type: boolean
|
|
2602
|
+
description: whether the user is an org admin
|
|
2603
|
+
required: false
|
|
2604
|
+
isMember:
|
|
2605
|
+
type: boolean
|
|
2606
|
+
description: whether the user is a member of the team
|
|
2607
|
+
required: false
|
|
2608
|
+
isVerified:
|
|
2609
|
+
type: boolean
|
|
2610
|
+
description: whether the team is verified
|
|
2611
|
+
required: false
|
|
2612
|
+
- teamArchived failed:
|
|
2613
|
+
type: operational
|
|
2614
|
+
description: team archival failed
|
|
2615
|
+
attributes:
|
|
2616
|
+
<<: *PackageMetaDataContext
|
|
2617
|
+
teamId:
|
|
2618
|
+
type: string
|
|
2619
|
+
description: id of the team that failed to archive
|
|
2620
|
+
required: false
|
|
2621
|
+
isOrgAdmin:
|
|
2622
|
+
type: boolean
|
|
2623
|
+
description: whether the user is an org admin
|
|
2624
|
+
required: false
|
|
2625
|
+
isMember:
|
|
2626
|
+
type: boolean
|
|
2627
|
+
description: whether the user is a member of the team
|
|
2628
|
+
required: false
|
|
2629
|
+
isVerified:
|
|
2630
|
+
type: boolean
|
|
2631
|
+
description: whether the team is verified
|
|
2632
|
+
required: false
|
|
2633
|
+
error:
|
|
2634
|
+
type: string
|
|
2635
|
+
description: error message
|
|
2636
|
+
required: false
|
|
2637
|
+
- teamUnarchived succeeded:
|
|
2638
|
+
type: operational
|
|
2639
|
+
description: team unarchived successfully
|
|
2640
|
+
attributes:
|
|
2641
|
+
<<: *PackageMetaDataContext
|
|
2642
|
+
teamId:
|
|
2643
|
+
type: string
|
|
2644
|
+
description: id of the unarchived team
|
|
2645
|
+
required: false
|
|
2646
|
+
isOrgAdmin:
|
|
2647
|
+
type: boolean
|
|
2648
|
+
description: whether the user is an org admin
|
|
2649
|
+
required: false
|
|
2650
|
+
isMember:
|
|
2651
|
+
type: boolean
|
|
2652
|
+
description: whether the user is a member of the team
|
|
2653
|
+
required: false
|
|
2654
|
+
- teamUnarchived failed:
|
|
2655
|
+
type: operational
|
|
2656
|
+
description: team unarchival failed
|
|
2657
|
+
attributes:
|
|
2658
|
+
<<: *PackageMetaDataContext
|
|
2659
|
+
teamId:
|
|
2660
|
+
type: string
|
|
2661
|
+
description: id of the team that failed to unarchive
|
|
2662
|
+
required: false
|
|
2663
|
+
isOrgAdmin:
|
|
2664
|
+
type: boolean
|
|
2665
|
+
description: whether the user is an org admin
|
|
2666
|
+
required: false
|
|
2667
|
+
isMember:
|
|
2668
|
+
type: boolean
|
|
2669
|
+
description: whether the user is a member of the team
|
|
2670
|
+
required: false
|
|
2671
|
+
error:
|
|
2672
|
+
type: string
|
|
2673
|
+
description: error message
|
|
2674
|
+
required: false
|
|
2588
2675
|
- GetTeamProfile succeeded:
|
|
2589
2676
|
type: operational
|
|
2590
2677
|
description: fired when the get team profile request is succeeded
|
|
@@ -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: "
|
|
19
|
+
packageVersion: "1.20.1"
|
|
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: "
|
|
5
|
+
packageVersion: "1.20.1"
|
|
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: "
|
|
9
|
+
packageVersion: "1.20.1"
|
|
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::64bb0ed4577d5178ad18a2e1074d934c>>
|
|
7
7
|
* @codegenCommand yarn workspace @atlassian/analytics-tooling run analytics:codegen teams-app-internal-analytics
|
|
8
8
|
*/
|
|
9
9
|
export type PackageMetaDataType = {
|
|
@@ -1187,6 +1187,7 @@ export type TeamProfileScreenViewedAttributesType = {
|
|
|
1187
1187
|
isViewerMember: boolean;
|
|
1188
1188
|
isVerified: boolean;
|
|
1189
1189
|
isSiteAdmin: boolean;
|
|
1190
|
+
isArchived: boolean;
|
|
1190
1191
|
isOrgAdmin: boolean;
|
|
1191
1192
|
orgId: string | null;
|
|
1192
1193
|
hasContainersConnect: boolean;
|
|
@@ -1195,6 +1196,30 @@ export type TeamProfileScreenViewedAttributesType = {
|
|
|
1195
1196
|
webLinksCurrentlyConnected: unknown[];
|
|
1196
1197
|
containersCurrentlyConnected: unknown[];
|
|
1197
1198
|
};
|
|
1199
|
+
export type TeamArchivedSucceededAttributesType = {
|
|
1200
|
+
teamId: string | null;
|
|
1201
|
+
isOrgAdmin: boolean | null;
|
|
1202
|
+
isMember: boolean | null;
|
|
1203
|
+
isVerified: boolean | null;
|
|
1204
|
+
};
|
|
1205
|
+
export type TeamArchivedFailedAttributesType = {
|
|
1206
|
+
teamId: string | null;
|
|
1207
|
+
isOrgAdmin: boolean | null;
|
|
1208
|
+
isMember: boolean | null;
|
|
1209
|
+
isVerified: boolean | null;
|
|
1210
|
+
error: string | null;
|
|
1211
|
+
};
|
|
1212
|
+
export type TeamUnarchivedSucceededAttributesType = {
|
|
1213
|
+
teamId: string | null;
|
|
1214
|
+
isOrgAdmin: boolean | null;
|
|
1215
|
+
isMember: boolean | null;
|
|
1216
|
+
};
|
|
1217
|
+
export type TeamUnarchivedFailedAttributesType = {
|
|
1218
|
+
teamId: string | null;
|
|
1219
|
+
isOrgAdmin: boolean | null;
|
|
1220
|
+
isMember: boolean | null;
|
|
1221
|
+
error: string | null;
|
|
1222
|
+
};
|
|
1198
1223
|
export type GetTeamProfileSucceededAttributesType = {
|
|
1199
1224
|
status: number;
|
|
1200
1225
|
isVerified: boolean;
|
|
@@ -2202,6 +2227,18 @@ export type AnalyticsEventAttributes = {
|
|
|
2202
2227
|
/**
|
|
2203
2228
|
* fired when the team profile screen is viewed */
|
|
2204
2229
|
'screen.teamProfileScreen.viewed': TeamProfileScreenViewedAttributesType;
|
|
2230
|
+
/**
|
|
2231
|
+
* team archived successfully */
|
|
2232
|
+
'operational.teamArchived.succeeded': TeamArchivedSucceededAttributesType;
|
|
2233
|
+
/**
|
|
2234
|
+
* team archival failed */
|
|
2235
|
+
'operational.teamArchived.failed': TeamArchivedFailedAttributesType;
|
|
2236
|
+
/**
|
|
2237
|
+
* team unarchived successfully */
|
|
2238
|
+
'operational.teamUnarchived.succeeded': TeamUnarchivedSucceededAttributesType;
|
|
2239
|
+
/**
|
|
2240
|
+
* team unarchival failed */
|
|
2241
|
+
'operational.teamUnarchived.failed': TeamUnarchivedFailedAttributesType;
|
|
2205
2242
|
/**
|
|
2206
2243
|
* fired when the get team profile request is succeeded */
|
|
2207
2244
|
'operational.GetTeamProfile.succeeded': GetTeamProfileSucceededAttributesType;
|
|
@@ -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::64bb0ed4577d5178ad18a2e1074d934c>>
|
|
7
7
|
* @codegenCommand yarn workspace @atlassian/analytics-tooling run analytics:codegen teams-app-internal-analytics
|
|
8
8
|
*/
|
|
9
9
|
export type PackageMetaDataType = {
|
|
@@ -1187,6 +1187,7 @@ export type TeamProfileScreenViewedAttributesType = {
|
|
|
1187
1187
|
isViewerMember: boolean;
|
|
1188
1188
|
isVerified: boolean;
|
|
1189
1189
|
isSiteAdmin: boolean;
|
|
1190
|
+
isArchived: boolean;
|
|
1190
1191
|
isOrgAdmin: boolean;
|
|
1191
1192
|
orgId: string | null;
|
|
1192
1193
|
hasContainersConnect: boolean;
|
|
@@ -1195,6 +1196,30 @@ export type TeamProfileScreenViewedAttributesType = {
|
|
|
1195
1196
|
webLinksCurrentlyConnected: unknown[];
|
|
1196
1197
|
containersCurrentlyConnected: unknown[];
|
|
1197
1198
|
};
|
|
1199
|
+
export type TeamArchivedSucceededAttributesType = {
|
|
1200
|
+
teamId: string | null;
|
|
1201
|
+
isOrgAdmin: boolean | null;
|
|
1202
|
+
isMember: boolean | null;
|
|
1203
|
+
isVerified: boolean | null;
|
|
1204
|
+
};
|
|
1205
|
+
export type TeamArchivedFailedAttributesType = {
|
|
1206
|
+
teamId: string | null;
|
|
1207
|
+
isOrgAdmin: boolean | null;
|
|
1208
|
+
isMember: boolean | null;
|
|
1209
|
+
isVerified: boolean | null;
|
|
1210
|
+
error: string | null;
|
|
1211
|
+
};
|
|
1212
|
+
export type TeamUnarchivedSucceededAttributesType = {
|
|
1213
|
+
teamId: string | null;
|
|
1214
|
+
isOrgAdmin: boolean | null;
|
|
1215
|
+
isMember: boolean | null;
|
|
1216
|
+
};
|
|
1217
|
+
export type TeamUnarchivedFailedAttributesType = {
|
|
1218
|
+
teamId: string | null;
|
|
1219
|
+
isOrgAdmin: boolean | null;
|
|
1220
|
+
isMember: boolean | null;
|
|
1221
|
+
error: string | null;
|
|
1222
|
+
};
|
|
1198
1223
|
export type GetTeamProfileSucceededAttributesType = {
|
|
1199
1224
|
status: number;
|
|
1200
1225
|
isVerified: boolean;
|
|
@@ -2202,6 +2227,18 @@ export type AnalyticsEventAttributes = {
|
|
|
2202
2227
|
/**
|
|
2203
2228
|
* fired when the team profile screen is viewed */
|
|
2204
2229
|
'screen.teamProfileScreen.viewed': TeamProfileScreenViewedAttributesType;
|
|
2230
|
+
/**
|
|
2231
|
+
* team archived successfully */
|
|
2232
|
+
'operational.teamArchived.succeeded': TeamArchivedSucceededAttributesType;
|
|
2233
|
+
/**
|
|
2234
|
+
* team archival failed */
|
|
2235
|
+
'operational.teamArchived.failed': TeamArchivedFailedAttributesType;
|
|
2236
|
+
/**
|
|
2237
|
+
* team unarchived successfully */
|
|
2238
|
+
'operational.teamUnarchived.succeeded': TeamUnarchivedSucceededAttributesType;
|
|
2239
|
+
/**
|
|
2240
|
+
* team unarchival failed */
|
|
2241
|
+
'operational.teamUnarchived.failed': TeamUnarchivedFailedAttributesType;
|
|
2205
2242
|
/**
|
|
2206
2243
|
* fired when the get team profile request is succeeded */
|
|
2207
2244
|
'operational.GetTeamProfile.succeeded': GetTeamProfileSucceededAttributesType;
|
package/package.json
CHANGED
|
@@ -30,9 +30,9 @@
|
|
|
30
30
|
"@atlaskit/analytics-listeners": "^9.1.0",
|
|
31
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.17.0",
|
|
34
|
+
"@atlaskit/primitives": "^16.3.0",
|
|
35
|
+
"@atlaskit/tokens": "^8.3.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.20.
|
|
91
|
+
"version": "1.20.2",
|
|
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",
|