@artsy/cohesion 4.257.0 → 4.258.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.258.0 (Mon Apr 28 2025)
|
|
2
|
+
|
|
3
|
+
#### 🚀 Enhancement
|
|
4
|
+
|
|
5
|
+
- feat(uploads2): Add events [#587](https://github.com/artsy/cohesion/pull/587) ([@damassi](https://github.com/damassi))
|
|
6
|
+
|
|
7
|
+
#### Authors: 1
|
|
8
|
+
|
|
9
|
+
- Christopher Pappas ([@damassi](https://github.com/damassi))
|
|
10
|
+
|
|
11
|
+
---
|
|
12
|
+
|
|
1
13
|
# v4.257.0 (Tue Apr 22 2025)
|
|
2
14
|
|
|
3
15
|
#### 🚀 Enhancement
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import { CmsContextModule } from "../Values/CmsContextModule";
|
|
2
|
+
/**
|
|
3
|
+
* Click "Next" after selecting an existing artist
|
|
4
|
+
*
|
|
5
|
+
* @example
|
|
6
|
+
* ```
|
|
7
|
+
* {
|
|
8
|
+
* action: "click",
|
|
9
|
+
* context_module: "Uploads",
|
|
10
|
+
* label: "Select existing artist",
|
|
11
|
+
* }
|
|
12
|
+
* ```
|
|
13
|
+
*/
|
|
14
|
+
export interface UploadArtworkFlowClickSelectExistingArtist {
|
|
15
|
+
action: "click";
|
|
16
|
+
context_module: CmsContextModule.uploads;
|
|
17
|
+
label: "Select existing artist";
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* Click "Done" after uploading images
|
|
21
|
+
*
|
|
22
|
+
* @example
|
|
23
|
+
* ```
|
|
24
|
+
* {
|
|
25
|
+
* action: "click",
|
|
26
|
+
* context_module: "Uploads",
|
|
27
|
+
* label: "Finish uploading image",
|
|
28
|
+
* artwork_ids: string[]
|
|
29
|
+
* }
|
|
30
|
+
* ```
|
|
31
|
+
*/
|
|
32
|
+
export interface UploadArtworkFlowClickFinishUploadingImages {
|
|
33
|
+
action: "click";
|
|
34
|
+
context_module: CmsContextModule.uploads;
|
|
35
|
+
label: "Finish uploading image";
|
|
36
|
+
artwork_ids: string[];
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* Click "View my artworks" after creating artworks
|
|
40
|
+
*
|
|
41
|
+
* @example
|
|
42
|
+
* ```
|
|
43
|
+
* {
|
|
44
|
+
* action: "click",
|
|
45
|
+
* context_module: "Uploads",
|
|
46
|
+
* label: "View my artworks",
|
|
47
|
+
* artwork_ids: string[]
|
|
48
|
+
* }
|
|
49
|
+
* ```
|
|
50
|
+
*/
|
|
51
|
+
export interface UploadArtworkFlowClickViewMyArtworks {
|
|
52
|
+
action: "click";
|
|
53
|
+
context_module: CmsContextModule.uploads;
|
|
54
|
+
label: "View my artworks";
|
|
55
|
+
artwork_ids: string[];
|
|
56
|
+
}
|
|
57
|
+
export type UploadArtworkFlow = UploadArtworkFlowClickSelectExistingArtist | UploadArtworkFlowClickFinishUploadingImages | UploadArtworkFlowClickViewMyArtworks;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";
|
|
@@ -8,5 +8,6 @@ export declare enum CmsContextModule {
|
|
|
8
8
|
artworkFilterFilterArtworks = "Artworks - filter artworks",
|
|
9
9
|
artworkFilterSearch = "Artworks - search",
|
|
10
10
|
artworkFilterQuickEdit = "Artworks - quick edit",
|
|
11
|
-
batchImportFlow = "batchImportFlow"
|
|
11
|
+
batchImportFlow = "batchImportFlow",
|
|
12
|
+
uploads = "Uploads"
|
|
12
13
|
}
|
|
@@ -19,4 +19,5 @@ exports.CmsContextModule = CmsContextModule;
|
|
|
19
19
|
CmsContextModule["artworkFilterSearch"] = "Artworks - search";
|
|
20
20
|
CmsContextModule["artworkFilterQuickEdit"] = "Artworks - quick edit";
|
|
21
21
|
CmsContextModule["batchImportFlow"] = "batchImportFlow";
|
|
22
|
+
CmsContextModule["uploads"] = "Uploads";
|
|
22
23
|
})(CmsContextModule || (exports.CmsContextModule = CmsContextModule = {}));
|