@artsy/cohesion 4.303.0 → 4.304.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.304.0 (Tue Sep 23 2025)
2
+
3
+ #### 🚀 Enhancement
4
+
5
+ - feat: Add searchBulkEditField event [#640](https://github.com/artsy/cohesion/pull/640) ([@olerichter00](https://github.com/olerichter00))
6
+
7
+ #### Authors: 1
8
+
9
+ - Ole ([@olerichter00](https://github.com/olerichter00))
10
+
11
+ ---
12
+
1
13
  # v4.303.0 (Mon Sep 22 2025)
2
14
 
3
15
  #### 🚀 Enhancement
@@ -2,8 +2,8 @@
2
2
  * Schemas describing CMS BulkEditFlow events
3
3
  * @packageDocumentation
4
4
  */
5
- import { CmsContextModule } from "../Values/CmsContextModule";
6
5
  import { CmsActionType } from ".";
6
+ import { CmsContextModule } from "../Values/CmsContextModule";
7
7
  /**
8
8
  * Generic click event in the bulk edit flow.
9
9
  *
@@ -133,4 +133,21 @@ export interface CmsBulkEditFailed {
133
133
  value: string[];
134
134
  artwork_ids: string[];
135
135
  }
136
- export type CmsBulkEditFlow = CmsBulkEditClickedEvent | CmsBulkEditFailedUpdatesPageShown | CmsBulkEditMaxEditLimitReachedShown | CmsBulkEditConflictsShown | CmsBulkEditResolvedAllConflictsShown | CmsBulkEditProcessingStarted | CmsBulkEditProcessingCompleted | CmsBulkEditFailed;
136
+ /**
137
+ * Search in the bulk edit drawer
138
+ *
139
+ * @example
140
+ * ```
141
+ * {
142
+ * action: "searchBulkEditField",
143
+ * context_module: "Artworks - bulk edit",
144
+ * value: "search input"
145
+ * }
146
+ * ```
147
+ */
148
+ export interface CmsBulkEditSearch {
149
+ action: CmsActionType.searchBulkEditField;
150
+ context_module: CmsContextModule.bulkEditFlow;
151
+ value: string;
152
+ }
153
+ export type CmsBulkEditFlow = CmsBulkEditClickedEvent | CmsBulkEditFailedUpdatesPageShown | CmsBulkEditMaxEditLimitReachedShown | CmsBulkEditConflictsShown | CmsBulkEditResolvedAllConflictsShown | CmsBulkEditProcessingStarted | CmsBulkEditProcessingCompleted | CmsBulkEditFailed | CmsBulkEditSearch;
@@ -77,6 +77,10 @@ export declare enum CmsActionType {
77
77
  * Corresponds to {@link CmsArtworkFilter}
78
78
  */
79
79
  searchedArtwork = "searched artwork",
80
+ /**
81
+ * Corresponds to {@link CmsBulkEditFlow}
82
+ */
83
+ searchBulkEditField = "searchBulkEditField",
80
84
  /**
81
85
  * Corresponds to {@link CmsBulkEditFlow}
82
86
  */
@@ -35,6 +35,7 @@ exports.CmsActionType = CmsActionType;
35
35
  CmsActionType["processingStarted"] = "processingStarted";
36
36
  CmsActionType["processingCompleted"] = "processingCompleted";
37
37
  CmsActionType["searchedArtwork"] = "searched artwork";
38
+ CmsActionType["searchBulkEditField"] = "searchBulkEditField";
38
39
  CmsActionType["shownConflicts"] = "shownConflicts";
39
40
  CmsActionType["shownFailedUpdatesPage"] = "shownFailedUpdatesPage";
40
41
  CmsActionType["shownMaxEditLimitReached"] = "shownMaxEditLimitReached";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@artsy/cohesion",
3
- "version": "4.303.0",
3
+ "version": "4.304.0",
4
4
  "description": "Analytics schema",
5
5
  "main": "dist/index.js",
6
6
  "publishConfig": {