@artsy/cohesion 4.146.0 → 4.147.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,15 @@
1
+ # v4.147.0 (Fri Sep 15 2023)
2
+
3
+ #### 🚀 Enhancement
4
+
5
+ - feat(AMBER-207): add context module for demand page, use page owner types [#461](https://github.com/artsy/cohesion/pull/461) ([@mdole](https://github.com/mdole))
6
+
7
+ #### Authors: 1
8
+
9
+ - Matt Dole ([@mdole](https://github.com/mdole))
10
+
11
+ ---
12
+
1
13
  # v4.146.0 (Fri Sep 15 2023)
2
14
 
3
15
  #### 🚀 Enhancement
@@ -1559,7 +1559,7 @@ export interface ClickedOnDuplicateArtwork {
1559
1559
  export interface ClickedValidationAddressOptions {
1560
1560
  action: ActionType.clickedValidationAddressOptions;
1561
1561
  context_module: ContextModule;
1562
- context_page_owner_type: string;
1562
+ context_page_owner_type: PageOwnerType;
1563
1563
  context_page_owner_id: string;
1564
1564
  user_id: string;
1565
1565
  subject: string;
@@ -1587,7 +1587,7 @@ export interface ClickedValidationAddressOptions {
1587
1587
  export interface ClickedCloseValidationAddressModal {
1588
1588
  action: ActionType.clickedCloseValidationAddressModal;
1589
1589
  context_module: ContextModule;
1590
- context_page_owner_type: string;
1590
+ context_page_owner_type: PageOwnerType;
1591
1591
  context_page_owner_id: string;
1592
1592
  subject: string;
1593
1593
  option: string;
@@ -1613,7 +1613,7 @@ export interface ClickedCloseValidationAddressModal {
1613
1613
  export interface ClickedNavBar {
1614
1614
  action: ActionType.clickedNavBar;
1615
1615
  context_module: ContextModule;
1616
- context_page_owner_type: string;
1616
+ context_page_owner_type: PageOwnerType;
1617
1617
  context_page_owner_id?: string;
1618
1618
  destination_path: string;
1619
1619
  subject: string;
@@ -1639,7 +1639,7 @@ export interface ClickedNavBar {
1639
1639
  export interface ClickedUploadArtwork {
1640
1640
  action: ActionType.clickedUploadArtwork;
1641
1641
  context_module: ContextModule;
1642
- context_page_owner_type: string;
1642
+ context_page_owner_type: PageOwnerType;
1643
1643
  context_page_owner_id?: string;
1644
1644
  artist_id?: string;
1645
1645
  search_criteria_id?: string;
@@ -9,6 +9,8 @@ export declare enum ContextModule {
9
9
  aboutThisAuction = "aboutThisAuction",
10
10
  adServer = "adServer",
11
11
  activityRail = "activityRail",
12
+ alertsWithPrice = "alertsWithPrice",
13
+ alertsWithoutPrice = "alertsWithoutPrice",
12
14
  articleArtist = "articleArtist",
13
15
  articleRail = "articleRail",
14
16
  article = "article",
@@ -23,6 +23,8 @@ exports.ContextModule = ContextModule;
23
23
  ContextModule["aboutThisAuction"] = "aboutThisAuction";
24
24
  ContextModule["adServer"] = "adServer";
25
25
  ContextModule["activityRail"] = "activityRail";
26
+ ContextModule["alertsWithPrice"] = "alertsWithPrice";
27
+ ContextModule["alertsWithoutPrice"] = "alertsWithoutPrice";
26
28
  ContextModule["articleArtist"] = "articleArtist";
27
29
  ContextModule["articleRail"] = "articleRail";
28
30
  ContextModule["article"] = "article";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@artsy/cohesion",
3
- "version": "4.146.0",
3
+ "version": "4.147.0",
4
4
  "description": "Analytics schema",
5
5
  "main": "dist/index.js",
6
6
  "publishConfig": {