@artsy/cohesion 4.406.0 → 4.408.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 +24 -0
- package/dist/Schema/CMS/Events/ShowFlow.d.ts +24 -1
- package/dist/Schema/CMS/Events/__tests__/ShowFlow.test.d.ts +1 -0
- package/dist/Schema/Events/index.d.ts +5 -1
- package/dist/Schema/Events/index.js +1 -0
- package/dist/Schema/os/Events/BrandKit.d.ts +35 -0
- package/dist/Schema/os/Events/index.d.ts +2 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,27 @@
|
|
|
1
|
+
# v4.408.0 (Mon Sep 28 2026)
|
|
2
|
+
|
|
3
|
+
#### 🚀 Enhancement
|
|
4
|
+
|
|
5
|
+
- feat: add CmsShowAddShowToInventory event [#757](https://github.com/artsy/cohesion/pull/757) ([@chr-tatu](https://github.com/chr-tatu))
|
|
6
|
+
|
|
7
|
+
#### Authors: 1
|
|
8
|
+
|
|
9
|
+
- Christian Tatu ([@chr-tatu](https://github.com/chr-tatu))
|
|
10
|
+
|
|
11
|
+
---
|
|
12
|
+
|
|
13
|
+
# v4.407.0 (Tue Sep 22 2026)
|
|
14
|
+
|
|
15
|
+
#### 🚀 Enhancement
|
|
16
|
+
|
|
17
|
+
- feat: Add tracking for My Brand writing language and sample [#755](https://github.com/artsy/cohesion/pull/755) ([@olerichter00](https://github.com/olerichter00))
|
|
18
|
+
|
|
19
|
+
#### Authors: 1
|
|
20
|
+
|
|
21
|
+
- Ole ([@olerichter00](https://github.com/olerichter00))
|
|
22
|
+
|
|
23
|
+
---
|
|
24
|
+
|
|
1
25
|
# v4.406.0 (Tue Sep 22 2026)
|
|
2
26
|
|
|
3
27
|
#### 🚀 Enhancement
|
|
@@ -45,4 +45,27 @@ export interface CmsShowDownloadOriginalShot {
|
|
|
45
45
|
show_id: string;
|
|
46
46
|
user_id: string;
|
|
47
47
|
}
|
|
48
|
-
|
|
48
|
+
/**
|
|
49
|
+
* Add show to inventory: a partner adds a show or fair booth from the CMS show
|
|
50
|
+
* page to ArtOS inventory as a collection. Sent once the collection has been
|
|
51
|
+
* created successfully, not when the button is clicked.
|
|
52
|
+
*
|
|
53
|
+
* @example
|
|
54
|
+
* ```
|
|
55
|
+
* {
|
|
56
|
+
* action: "click",
|
|
57
|
+
* artwork_count: 12,
|
|
58
|
+
* partner_list_id: "partner-list-id",
|
|
59
|
+
* show_id: "show-id",
|
|
60
|
+
* user_id: "user-id",
|
|
61
|
+
* }
|
|
62
|
+
* ```
|
|
63
|
+
*/
|
|
64
|
+
export interface CmsShowAddShowToInventory {
|
|
65
|
+
action: "click";
|
|
66
|
+
artwork_count: number;
|
|
67
|
+
partner_list_id: string;
|
|
68
|
+
show_id: string;
|
|
69
|
+
user_id: string;
|
|
70
|
+
}
|
|
71
|
+
export type CmsShowFlow = CmsShowAddArtworkToShow | CmsShowAddShowToInventory | CmsShowDownloadOriginalShot;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -1466,5 +1466,9 @@ export declare enum ActionType {
|
|
|
1466
1466
|
/**
|
|
1467
1467
|
* Corresponds to {@link ClickedSaveBrandKit}
|
|
1468
1468
|
*/
|
|
1469
|
-
clickedSaveBrandKit = "clickedSaveBrandKit"
|
|
1469
|
+
clickedSaveBrandKit = "clickedSaveBrandKit",
|
|
1470
|
+
/**
|
|
1471
|
+
* Corresponds to {@link ClickedBrandKitWriting}
|
|
1472
|
+
*/
|
|
1473
|
+
clickedBrandKitWriting = "clickedBrandKitWriting"
|
|
1470
1474
|
}
|
|
@@ -375,4 +375,5 @@ exports.ActionType = ActionType;
|
|
|
375
375
|
ActionType["clickedBrandKitFont"] = "clickedBrandKitFont";
|
|
376
376
|
ActionType["clickedAddBrandKitFile"] = "clickedAddBrandKitFile";
|
|
377
377
|
ActionType["clickedSaveBrandKit"] = "clickedSaveBrandKit";
|
|
378
|
+
ActionType["clickedBrandKitWriting"] = "clickedBrandKitWriting";
|
|
378
379
|
})(ActionType || (exports.ActionType = ActionType = {}));
|
|
@@ -95,3 +95,38 @@ export interface ClickedSaveBrandKit {
|
|
|
95
95
|
context_module: OsContextModule.brandKit;
|
|
96
96
|
context_page_owner_type: OsOwnerType.studio;
|
|
97
97
|
}
|
|
98
|
+
/**
|
|
99
|
+
* User edits a My Brand writing preference (writing language or writing sample).
|
|
100
|
+
* Fires on blur, once the field commits.
|
|
101
|
+
*
|
|
102
|
+
* This schema describes events sent to Segment from [[clickedBrandKitWriting]]
|
|
103
|
+
*
|
|
104
|
+
* @example
|
|
105
|
+
* ```
|
|
106
|
+
* {
|
|
107
|
+
* action: "clickedBrandKitWriting",
|
|
108
|
+
* context_module: "brandKit",
|
|
109
|
+
* context_page_owner_type: "brandSettings",
|
|
110
|
+
* field: "writing_language",
|
|
111
|
+
* value: "English"
|
|
112
|
+
* }
|
|
113
|
+
* ```
|
|
114
|
+
*
|
|
115
|
+
* @example Writing sample
|
|
116
|
+
* ```
|
|
117
|
+
* {
|
|
118
|
+
* action: "clickedBrandKitWriting",
|
|
119
|
+
* context_module: "brandKit",
|
|
120
|
+
* context_page_owner_type: "brandSettings",
|
|
121
|
+
* field: "writing_sample",
|
|
122
|
+
* value: "A spare, observational tone."
|
|
123
|
+
* }
|
|
124
|
+
* ```
|
|
125
|
+
*/
|
|
126
|
+
export interface ClickedBrandKitWriting {
|
|
127
|
+
action: ActionType.clickedBrandKitWriting;
|
|
128
|
+
context_module: OsContextModule.brandKit;
|
|
129
|
+
context_page_owner_type: OsOwnerType.studio;
|
|
130
|
+
field: "writing_language" | "writing_sample";
|
|
131
|
+
value: string;
|
|
132
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ClickedAddBrandKitFile, ClickedBrandKitColor, ClickedBrandKitFont, ClickedSaveBrandKit } from "./BrandKit";
|
|
1
|
+
import { ClickedAddBrandKitFile, ClickedBrandKitColor, ClickedBrandKitFont, ClickedBrandKitWriting, ClickedSaveBrandKit } from "./BrandKit";
|
|
2
2
|
import { OsClickEvent } from "./Click";
|
|
3
3
|
import { OsConnectedAppsFlow } from "./ConnectedAppsFlow";
|
|
4
4
|
import { OsFilterSortSearch } from "./FilterSortSearch";
|
|
@@ -16,7 +16,7 @@ import { OsToggleEvent } from "./Toggle";
|
|
|
16
16
|
*
|
|
17
17
|
* Each event describes one ActionType
|
|
18
18
|
*/
|
|
19
|
-
export type OsEvent = ClickedAddBrandKitFile | ClickedBrandKitColor | ClickedBrandKitFont | ClickedSaveBrandKit | OsClickEvent | OsConnectedAppsFlow | OsFilterSortSearch | OsInstagramEditor | OsInventoryTable | OsMailchimpEditor | OsMaterialsEditor | OsMultiAddFlow | OsOnboardingFlow | OsPrivateViewingRoom | OsSubmitEvent | OsToggleEvent;
|
|
19
|
+
export type OsEvent = ClickedAddBrandKitFile | ClickedBrandKitColor | ClickedBrandKitFont | ClickedBrandKitWriting | ClickedSaveBrandKit | OsClickEvent | OsConnectedAppsFlow | OsFilterSortSearch | OsInstagramEditor | OsInventoryTable | OsMailchimpEditor | OsMaterialsEditor | OsMultiAddFlow | OsOnboardingFlow | OsPrivateViewingRoom | OsSubmitEvent | OsToggleEvent;
|
|
20
20
|
/**
|
|
21
21
|
* List of all Art OS actions
|
|
22
22
|
*
|