@artsy/cohesion 4.66.0 → 4.67.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 CHANGED
@@ -1,3 +1,30 @@
1
+ # v4.67.0 (Tue Oct 18 2022)
2
+
3
+ #### 🚀 Enhancement
4
+
5
+ - feat(CX-3066): Add MyC Insights web tracking events [#357](https://github.com/artsy/cohesion/pull/357) ([@MrSltun](https://github.com/MrSltun))
6
+
7
+ #### 🐛 Bug Fix
8
+
9
+ - Update pull_request_template.md [#305](https://github.com/artsy/cohesion/pull/305) ([@pvinis](https://github.com/pvinis))
10
+
11
+ #### 🏠 Internal
12
+
13
+ - chore(deps): update dep typescript from 4.8.3 to v4.8.4 [#355](https://github.com/artsy/cohesion/pull/355) ([@renovate[bot]](https://github.com/renovate[bot]))
14
+ - Bump ajv from 6.12.0 to 6.12.6 [#300](https://github.com/artsy/cohesion/pull/300) ([@dependabot[bot]](https://github.com/dependabot[bot]))
15
+ - Bump shelljs from 0.8.4 to 0.8.5 [#295](https://github.com/artsy/cohesion/pull/295) ([@dependabot[bot]](https://github.com/dependabot[bot]))
16
+ - chore(deps): update dep @artsy/auto-config from 1.1.0 to v1.2.0 [#308](https://github.com/artsy/cohesion/pull/308) ([@renovate-bot](https://github.com/renovate-bot) [@renovate[bot]](https://github.com/renovate[bot]))
17
+
18
+ #### Authors: 5
19
+
20
+ - [@dependabot[bot]](https://github.com/dependabot[bot])
21
+ - [@renovate[bot]](https://github.com/renovate[bot])
22
+ - Pavlos Vinieratos ([@pvinis](https://github.com/pvinis))
23
+ - Sultan Al-Maari ([@MrSltun](https://github.com/MrSltun))
24
+ - WhiteSource Renovate ([@renovate-bot](https://github.com/renovate-bot))
25
+
26
+ ---
27
+
1
28
  # v4.66.0 (Mon Sep 19 2022)
2
29
 
3
30
  #### 🚀 Enhancement
@@ -5,6 +5,31 @@ import { ActionType } from ".";
5
5
  * Schema describing 'MyCollectionInsightsRails' events
6
6
  * @packageDocumentation
7
7
  */
8
+ /**
9
+ * A user clicks on My Collection Insights Median Auction Rail item.
10
+ *
11
+ * This schema describes events sent to Segment from [[clickedMyCollectionInsightsMedianAuctionRailItem]]
12
+ *
13
+ * @example
14
+ * ```
15
+ * {
16
+ * action: "clickedMyCollectionInsightsMedianAuctionRailItem",
17
+ * context_module: "myCollectionInsightsMedianAuctionRail",
18
+ * context_screen: "myCollectionInsights",
19
+ * context_screen_owner_type: "myCollectionInsights",
20
+ * artist_id: "4212691337420",
21
+ * category: "Print"
22
+ * }
23
+ * ```
24
+ */
25
+ export interface ClickedMyCollectionInsightsMedianAuctionRailItem {
26
+ action: ActionType.clickedMyCollectionInsightsMedianAuctionRailItem;
27
+ context_module: ContextModule.myCollectionInsightsMedianAuctionRail;
28
+ context_screen: OwnerType.myCollectionInsights;
29
+ context_screen_owner_type: OwnerType.myCollectionInsights;
30
+ artist_id: string;
31
+ category: string;
32
+ }
8
33
  /**
9
34
  * A user taps on the MyCollectionInsightsMedianAuctionRailItem
10
35
  *
@@ -167,6 +167,10 @@ export declare enum ActionType {
167
167
  * Corresponds to {@link ClickedMainArtworkGrid}
168
168
  */
169
169
  clickedMainArtworkGrid = "clickedMainArtworkGrid",
170
+ /**
171
+ * Corresponds to {@link ClickedMyCollectionInsightsMedianAuctionRailItem}
172
+ */
173
+ clickedMyCollectionInsightsMedianAuctionRailItem = "clickedMyCollectionInsightsMedianAuctionRailItem",
170
174
  /**
171
175
  * Corresponds to {@link ClickedNavigationTab}
172
176
  */
@@ -54,6 +54,7 @@ exports.ActionType = ActionType;
54
54
  ActionType["clickedGalleryGroup"] = "clickedGalleryGroup";
55
55
  ActionType["clickedLoadMore"] = "clickedLoadMore";
56
56
  ActionType["clickedMainArtworkGrid"] = "clickedMainArtworkGrid";
57
+ ActionType["clickedMyCollectionInsightsMedianAuctionRailItem"] = "clickedMyCollectionInsightsMedianAuctionRailItem";
57
58
  ActionType["clickedNavigationTab"] = "clickedNavigationTab";
58
59
  ActionType["clickedOfferActions"] = "clickedOfferActions";
59
60
  ActionType["clickedOfferOption"] = "clickedOfferOption";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@artsy/cohesion",
3
- "version": "4.66.0",
3
+ "version": "4.67.0",
4
4
  "description": "Analytics schema",
5
5
  "main": "dist/index.js",
6
6
  "publishConfig": {
@@ -25,7 +25,7 @@
25
25
  "watch": "concurrently --raw --kill-others 'yarn compile -w' 'yarn emit-types -w'"
26
26
  },
27
27
  "devDependencies": {
28
- "@artsy/auto-config": "1.1.0",
28
+ "@artsy/auto-config": "1.2.0",
29
29
  "@babel/cli": "7.8.4",
30
30
  "@babel/core": "7.9.0",
31
31
  "@babel/preset-env": "7.9.5",
@@ -47,7 +47,7 @@
47
47
  "lint-staged": "10.1.7",
48
48
  "prettier": "2.0.5",
49
49
  "typedoc": "0.17.7",
50
- "typescript": "4.8.3"
50
+ "typescript": "4.8.4"
51
51
  },
52
52
  "dependencies": {
53
53
  "core-js": "3"
@@ -15,6 +15,6 @@ This PR resolves [CO-]
15
15
 
16
16
  <!-- 💡 This checklist is experimental. #cohesion warmly welcomes any feedback about the list or how it impacts your workflow -->
17
17
 
18
- - [ ] If I've added a new file to the tree I've exported it from the common `index.ts`
18
+ - [ ] If I've added a new file to the tree I've exported it from the common [`index.ts`](https://github.com/artsy/cohesion/blob/main/src/Schema/Events/index.ts)
19
19
  - [ ] I've added comments with examples for any new interfaces and ensured that they're in the docs
20
20
  - [ ] No platform-specific terminology has been used outside of `click` and `tap` (platform is inferred by the DB storing events)