@artsy/cohesion 4.273.0 → 4.275.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,27 @@
1
+ # v4.275.0 (Thu Jun 19 2025)
2
+
3
+ #### 🚀 Enhancement
4
+
5
+ - feat(DIA-1363): add optional destination_path field to TappedEntityGroup [#608](https://github.com/artsy/cohesion/pull/608) ([@iskounen](https://github.com/iskounen))
6
+
7
+ #### Authors: 1
8
+
9
+ - Adam Iskounen ([@iskounen](https://github.com/iskounen))
10
+
11
+ ---
12
+
13
+ # v4.274.0 (Thu Jun 19 2025)
14
+
15
+ #### 🚀 Enhancement
16
+
17
+ - feat: Additional metadata for processingCompleted and click availability bulk edit flow [#607](https://github.com/artsy/cohesion/pull/607) ([@jpotts244](https://github.com/jpotts244))
18
+
19
+ #### Authors: 1
20
+
21
+ - Jacqueline Potts ([@jpotts244](https://github.com/jpotts244))
22
+
23
+ ---
24
+
1
25
  # v4.273.0 (Mon Jun 16 2025)
2
26
 
3
27
  #### 🚀 Enhancement
@@ -14,6 +14,7 @@ import { CmsContextModule } from "../Values/CmsContextModule";
14
14
  * context_module: "Artworks - bulk edit",
15
15
  * label: "change availability",
16
16
  * value: "on hold", // e.g. "on hold", "available", "not for sale"
17
+ * artwork_ids: ["artwork1", "artwork2", "artwork3"]
17
18
  * }
18
19
  * ```
19
20
  */
@@ -22,6 +23,7 @@ export interface CmsBulkEditClickedChangeAvailability {
22
23
  context_module: CmsContextModule.bulkEditFlow;
23
24
  label: "change availability";
24
25
  value: string;
26
+ artwork_ids: string[];
25
27
  }
26
28
  /**
27
29
  * Partners clicked bulk edit pill
@@ -162,7 +164,7 @@ export interface CmsBulkEditResolvedAllConflictsShown {
162
164
  context_module: CmsContextModule.bulkEditFlow;
163
165
  }
164
166
  /**
165
- * Bluk edit flow processing started
167
+ * Bulk edit flow processing started
166
168
  *
167
169
  * Example:
168
170
  * {
@@ -183,14 +185,16 @@ export interface CmsBulkEditProcessingStarted {
183
185
  * {
184
186
  * action: "processingCompleted",
185
187
  * context_module: "Artworks - bulk edit",
186
- * value: 24 // total number of artworks successfully processed
188
+ * label: "change availability",
189
+ * value: "on hold", // e.g. "on hold", "available", "not for sale"
187
190
  * artwork_ids: ["artwork1", "artwork2"]
188
191
  * }
189
192
  */
190
193
  export interface CmsBulkEditProcessingCompleted {
191
194
  action: CmsActionType.processingCompleted;
192
195
  context_module: CmsContextModule.bulkEditFlow;
193
- value: number;
196
+ label: string;
197
+ value: string;
194
198
  artwork_ids: string[];
195
199
  }
196
200
  /**
@@ -347,6 +347,7 @@ export interface TappedFairGroup extends TappedEntityGroup {
347
347
  * destination_screen_owner_type: "collectionsCategory",
348
348
  * destination_screen_owner_id: "5359794d1a1e86c3740001f7",
349
349
  * destination_screen_owner_slug: "artworks-under-1000",
350
+ * destination_path: "/collection/artworks-under-1000"
350
351
  * horizontal_slide_position: 1,
351
352
  * type: "thumbnail"
352
353
  * }
@@ -369,6 +370,7 @@ export interface TappedEntityGroup {
369
370
  destination_screen_owner_type?: ScreenOwnerType;
370
371
  destination_screen_owner_id?: string;
371
372
  destination_screen_owner_slug?: string;
373
+ destination_path?: string;
372
374
  curation_boost?: boolean;
373
375
  horizontal_slide_position?: number;
374
376
  module_height?: EntityModuleHeight;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@artsy/cohesion",
3
- "version": "4.273.0",
3
+ "version": "4.275.0",
4
4
  "description": "Analytics schema",
5
5
  "main": "dist/index.js",
6
6
  "publishConfig": {