@artsy/cohesion 4.276.0 → 4.277.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.277.0 (Fri Jun 20 2025)
|
|
2
|
+
|
|
3
|
+
#### 🚀 Enhancement
|
|
4
|
+
|
|
5
|
+
- feat(batch-import): Add new edit event [#610](https://github.com/artsy/cohesion/pull/610) ([@damassi](https://github.com/damassi))
|
|
6
|
+
|
|
7
|
+
#### Authors: 1
|
|
8
|
+
|
|
9
|
+
- Christopher Pappas ([@damassi](https://github.com/damassi))
|
|
10
|
+
|
|
11
|
+
---
|
|
12
|
+
|
|
1
13
|
# v4.276.0 (Thu Jun 19 2025)
|
|
2
14
|
|
|
3
15
|
#### 🚀 Enhancement
|
|
@@ -172,4 +172,25 @@ export interface CmsBatchImportClickExit {
|
|
|
172
172
|
context_page_owner_id: string;
|
|
173
173
|
label: "click exit";
|
|
174
174
|
}
|
|
175
|
-
|
|
175
|
+
/**
|
|
176
|
+
* Triggered when a partner edits a field in the batch import flow.
|
|
177
|
+
*
|
|
178
|
+
* @example
|
|
179
|
+
* ```
|
|
180
|
+
* {
|
|
181
|
+
* action: "editedBatchImportField",
|
|
182
|
+
* context_module: "batchImportFlow",
|
|
183
|
+
* context_page_owner_type: "batchImport",
|
|
184
|
+
* context_page_owner_id: "67b646ecbe87376bfeb3f962",
|
|
185
|
+
* is_error: true
|
|
186
|
+
* }
|
|
187
|
+
* ```
|
|
188
|
+
*/
|
|
189
|
+
export interface CmsBatchImportEditedBatchImportField {
|
|
190
|
+
action: CmsActionType.editedBatchImportField;
|
|
191
|
+
context_module: CmsContextModule.batchImportFlow;
|
|
192
|
+
context_page_owner_type: CmsOwnerType.batchImport;
|
|
193
|
+
context_page_owner_id: string;
|
|
194
|
+
is_error: boolean;
|
|
195
|
+
}
|
|
196
|
+
export type CmsBatchImportFlow = CmsBatchImportFlowClickImport | CmsBatchImportFlowClickAddCSV | CmsBatchImportFlowClickDownloadTemplate | CmsBatchImportFlowShownMissingInformation | CmsBatchImportFlowArtistNeedsMatching | CmsBatchImportClickExit | CmsBatchImportEditedBatchImportField;
|
|
@@ -40,6 +40,10 @@ export declare enum CmsActionType {
|
|
|
40
40
|
* Corresponds to {@link CmsBatchImportFlow}
|
|
41
41
|
*/
|
|
42
42
|
csvImportError = "csvImportError",
|
|
43
|
+
/**
|
|
44
|
+
* Corresponds to {@link CmsBatchImportFlow}
|
|
45
|
+
*/
|
|
46
|
+
editedBatchImportField = "editedBatchImportField",
|
|
43
47
|
/**
|
|
44
48
|
* Corresponds to {@link SettingsFlow}
|
|
45
49
|
*/
|
|
@@ -26,6 +26,7 @@ exports.CmsActionType = CmsActionType;
|
|
|
26
26
|
CmsActionType["clickedOnDuplicateArtwork"] = "clickedonduplicateartwork";
|
|
27
27
|
CmsActionType["createdArtwork"] = "created artwork";
|
|
28
28
|
CmsActionType["csvImportError"] = "csvImportError";
|
|
29
|
+
CmsActionType["editedBatchImportField"] = "editedBatchImportField";
|
|
29
30
|
CmsActionType["editedLocation"] = "editedLocation";
|
|
30
31
|
CmsActionType["processingStarted"] = "processingStarted";
|
|
31
32
|
CmsActionType["processingCompleted"] = "processingCompleted";
|