@artsy/cohesion 4.365.0--canary.709.14936.0 → 4.366.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/Events/index.d.ts +17 -1
- package/dist/Schema/Events/index.js +4 -0
- package/dist/Schema/Values/ContextModule.d.ts +1 -0
- package/dist/Schema/Values/ContextModule.js +1 -0
- package/dist/Schema/Values/OwnerType.d.ts +1 -0
- package/dist/Schema/Values/OwnerType.js +1 -0
- package/dist/Schema/index.d.ts +1 -0
- package/dist/Schema/index.js +12 -0
- package/dist/Schema/os/Events/BrandKit.d.ts +97 -0
- package/dist/Schema/os/Events/BrandKit.js +1 -0
- package/dist/Schema/os/Events/__tests__/BrandKit.test.d.ts +1 -0
- package/dist/Schema/os/Events/index.d.ts +2 -1
- package/dist/Schema/os/Values/OsContextModule.d.ts +2 -1
- package/dist/Schema/os/Values/OsContextModule.js +1 -0
- package/dist/Schema/os/Values/OsOwnerType.d.ts +2 -1
- package/dist/Schema/os/Values/OsOwnerType.js +1 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,27 @@
|
|
|
1
|
+
# v4.366.0 (Wed Jun 24 2026)
|
|
2
|
+
|
|
3
|
+
#### 🚀 Enhancement
|
|
4
|
+
|
|
5
|
+
- chore: add art os BrandKit events [#707](https://github.com/artsy/cohesion/pull/707) ([@mc-jones](https://github.com/mc-jones))
|
|
6
|
+
|
|
7
|
+
#### Authors: 1
|
|
8
|
+
|
|
9
|
+
- Matt Jones ([@mc-jones](https://github.com/mc-jones))
|
|
10
|
+
|
|
11
|
+
---
|
|
12
|
+
|
|
13
|
+
# v4.365.0 (Wed Jun 24 2026)
|
|
14
|
+
|
|
15
|
+
#### 🚀 Enhancement
|
|
16
|
+
|
|
17
|
+
- chore: Add tracking schema for the invetory table [#709](https://github.com/artsy/cohesion/pull/709) ([@MrSltun](https://github.com/MrSltun))
|
|
18
|
+
|
|
19
|
+
#### Authors: 1
|
|
20
|
+
|
|
21
|
+
- Sultan Al-Maari ([@MrSltun](https://github.com/MrSltun))
|
|
22
|
+
|
|
23
|
+
---
|
|
24
|
+
|
|
1
25
|
# v4.364.0 (Wed Jun 24 2026)
|
|
2
26
|
|
|
3
27
|
#### 🚀 Enhancement
|
|
@@ -1368,5 +1368,21 @@ export declare enum ActionType {
|
|
|
1368
1368
|
/**
|
|
1369
1369
|
* Corresponds to {@link VisitMyCollectionOnboardingSlide}
|
|
1370
1370
|
*/
|
|
1371
|
-
visitMyCollectionOnboardingSlide = "visitMyCollectionOnboardingSlide"
|
|
1371
|
+
visitMyCollectionOnboardingSlide = "visitMyCollectionOnboardingSlide",
|
|
1372
|
+
/**
|
|
1373
|
+
* Corresponds to {@link ClickedBrandKitColor}
|
|
1374
|
+
*/
|
|
1375
|
+
clickedBrandKitColor = "clickedBrandKitColor",
|
|
1376
|
+
/**
|
|
1377
|
+
* Corresponds to {@link ClickedBrandKitFont}
|
|
1378
|
+
*/
|
|
1379
|
+
clickedBrandKitFont = "clickedBrandKitFont",
|
|
1380
|
+
/**
|
|
1381
|
+
* Corresponds to {@link ClickedAddBrandKitFile}
|
|
1382
|
+
*/
|
|
1383
|
+
clickedAddBrandKitFile = "clickedAddBrandKitFile",
|
|
1384
|
+
/**
|
|
1385
|
+
* Corresponds to {@link ClickedSaveBrandKit}
|
|
1386
|
+
*/
|
|
1387
|
+
clickedSaveBrandKit = "clickedSaveBrandKit"
|
|
1372
1388
|
}
|
|
@@ -351,4 +351,8 @@ exports.ActionType = ActionType;
|
|
|
351
351
|
ActionType["viewedToast"] = "viewedToast";
|
|
352
352
|
ActionType["visitMyCollection"] = "visitMyCollection";
|
|
353
353
|
ActionType["visitMyCollectionOnboardingSlide"] = "visitMyCollectionOnboardingSlide";
|
|
354
|
+
ActionType["clickedBrandKitColor"] = "clickedBrandKitColor";
|
|
355
|
+
ActionType["clickedBrandKitFont"] = "clickedBrandKitFont";
|
|
356
|
+
ActionType["clickedAddBrandKitFile"] = "clickedAddBrandKitFile";
|
|
357
|
+
ActionType["clickedSaveBrandKit"] = "clickedSaveBrandKit";
|
|
354
358
|
})(ActionType || (exports.ActionType = ActionType = {}));
|
|
@@ -74,6 +74,7 @@ export declare enum ContextModule {
|
|
|
74
74
|
auctionTab = "auctionTab",
|
|
75
75
|
banner = "banner",
|
|
76
76
|
bannerPopUp = "bannerPopUp",
|
|
77
|
+
brandKitEditor = "brandKitEditor",
|
|
77
78
|
basedOnYourRecentSavesRail = "basedOnYourRecentSavesRail",
|
|
78
79
|
boothsTab = "boothsTab",
|
|
79
80
|
bottomTabs = "bottomTabs",
|
|
@@ -88,6 +88,7 @@ exports.ContextModule = ContextModule;
|
|
|
88
88
|
ContextModule["auctionTab"] = "auctionTab";
|
|
89
89
|
ContextModule["banner"] = "banner";
|
|
90
90
|
ContextModule["bannerPopUp"] = "bannerPopUp";
|
|
91
|
+
ContextModule["brandKitEditor"] = "brandKitEditor";
|
|
91
92
|
ContextModule["basedOnYourRecentSavesRail"] = "basedOnYourRecentSavesRail";
|
|
92
93
|
ContextModule["boothsTab"] = "boothsTab";
|
|
93
94
|
ContextModule["bottomTabs"] = "bottomTabs";
|
|
@@ -51,6 +51,7 @@ export declare enum OwnerType {
|
|
|
51
51
|
auctionsOverview = "auctionsOverview",
|
|
52
52
|
authModal = "authModal",
|
|
53
53
|
basedOnYourRecentSaves = "basedOnYourRecentSaves",
|
|
54
|
+
brandSettings = "brandSettings",
|
|
54
55
|
category = "category",
|
|
55
56
|
cityGuideGuide = "cityGuideGuide",
|
|
56
57
|
cityGuideMap = "cityGuideMap",
|
|
@@ -69,6 +69,7 @@ exports.OwnerType = OwnerType;
|
|
|
69
69
|
OwnerType["auctionsOverview"] = "auctionsOverview";
|
|
70
70
|
OwnerType["authModal"] = "authModal";
|
|
71
71
|
OwnerType["basedOnYourRecentSaves"] = "basedOnYourRecentSaves";
|
|
72
|
+
OwnerType["brandSettings"] = "brandSettings";
|
|
72
73
|
OwnerType["category"] = "category";
|
|
73
74
|
OwnerType["cityGuideGuide"] = "cityGuideGuide";
|
|
74
75
|
OwnerType["cityGuideMap"] = "cityGuideMap";
|
package/dist/Schema/index.d.ts
CHANGED
package/dist/Schema/index.js
CHANGED
|
@@ -592,6 +592,18 @@ Object.keys(_MultiAddFlow).forEach(function (key) {
|
|
|
592
592
|
});
|
|
593
593
|
});
|
|
594
594
|
|
|
595
|
+
var _BrandKit = require("./os/Events/BrandKit");
|
|
596
|
+
|
|
597
|
+
Object.keys(_BrandKit).forEach(function (key) {
|
|
598
|
+
if (key === "default" || key === "__esModule") return;
|
|
599
|
+
Object.defineProperty(exports, key, {
|
|
600
|
+
enumerable: true,
|
|
601
|
+
get: function get() {
|
|
602
|
+
return _BrandKit[key];
|
|
603
|
+
}
|
|
604
|
+
});
|
|
605
|
+
});
|
|
606
|
+
|
|
595
607
|
var _Submit = require("./os/Events/Submit");
|
|
596
608
|
|
|
597
609
|
Object.keys(_Submit).forEach(function (key) {
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
import { ActionType } from "../../Events";
|
|
2
|
+
import { OsContextModule } from "../Values/OsContextModule";
|
|
3
|
+
import { OsOwnerType } from "../Values/OsOwnerType";
|
|
4
|
+
/**
|
|
5
|
+
* Schemas describing Art OS Brand Kit events
|
|
6
|
+
* @packageDocumentation
|
|
7
|
+
*/
|
|
8
|
+
/**
|
|
9
|
+
* User clicks on a brand kit color option
|
|
10
|
+
*
|
|
11
|
+
* This schema describes events sent to Segment from [[clickedBrandKitColor]]
|
|
12
|
+
*
|
|
13
|
+
* @example
|
|
14
|
+
* ```
|
|
15
|
+
* {
|
|
16
|
+
* action: "clickedBrandKitColor",
|
|
17
|
+
* context_module: "brandKitEditor",
|
|
18
|
+
* context_page_owner_type: "brandSettings",
|
|
19
|
+
* field: "text",
|
|
20
|
+
* value: "#999be6"
|
|
21
|
+
* }
|
|
22
|
+
* ```
|
|
23
|
+
*/
|
|
24
|
+
export interface ClickedBrandKitColor {
|
|
25
|
+
action: ActionType.clickedBrandKitColor;
|
|
26
|
+
context_module: OsContextModule.brandKit;
|
|
27
|
+
context_page_owner_type: OsOwnerType.studio;
|
|
28
|
+
field: string;
|
|
29
|
+
value: string;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* User clicks on a brand kit font option
|
|
33
|
+
*
|
|
34
|
+
* This schema describes events sent to Segment from [[clickedBrandKitFont]]
|
|
35
|
+
*
|
|
36
|
+
* @example
|
|
37
|
+
* ```
|
|
38
|
+
* {
|
|
39
|
+
* action: "clickedBrandKitFont",
|
|
40
|
+
* context_module: "brandKitEditor",
|
|
41
|
+
* context_page_owner_type: "brandSettings",
|
|
42
|
+
* field: "font_family",
|
|
43
|
+
* value: "Courier"
|
|
44
|
+
* }
|
|
45
|
+
* ```
|
|
46
|
+
*/
|
|
47
|
+
export interface ClickedBrandKitFont {
|
|
48
|
+
action: ActionType.clickedBrandKitFont;
|
|
49
|
+
context_module: OsContextModule.brandKit;
|
|
50
|
+
context_page_owner_type: OsOwnerType.studio;
|
|
51
|
+
field: string;
|
|
52
|
+
value: string;
|
|
53
|
+
}
|
|
54
|
+
/**
|
|
55
|
+
* User clicks to add a brand kit file
|
|
56
|
+
*
|
|
57
|
+
* This schema describes events sent to Segment from [[clickedAddBrandKitFile]]
|
|
58
|
+
*
|
|
59
|
+
* @example
|
|
60
|
+
* ```
|
|
61
|
+
* {
|
|
62
|
+
* action: "clickedAddBrandKitFile",
|
|
63
|
+
* context_module: "brandKitEditor",
|
|
64
|
+
* context_page_owner_type: "brandSettings",
|
|
65
|
+
* label: "brand kit logo",
|
|
66
|
+
* field: "file",
|
|
67
|
+
* value: "filename.png"
|
|
68
|
+
* }
|
|
69
|
+
* ```
|
|
70
|
+
*/
|
|
71
|
+
export interface ClickedAddBrandKitFile {
|
|
72
|
+
action: ActionType.clickedAddBrandKitFile;
|
|
73
|
+
context_module: OsContextModule.brandKit;
|
|
74
|
+
context_page_owner_type: OsOwnerType.studio;
|
|
75
|
+
label: string;
|
|
76
|
+
field: string;
|
|
77
|
+
value: string;
|
|
78
|
+
}
|
|
79
|
+
/**
|
|
80
|
+
* User clicks to save brand kit settings
|
|
81
|
+
*
|
|
82
|
+
* This schema describes events sent to Segment from [[clickedSaveBrandKit]]
|
|
83
|
+
*
|
|
84
|
+
* @example
|
|
85
|
+
* ```
|
|
86
|
+
* {
|
|
87
|
+
* action: "clickedSaveBrandKit",
|
|
88
|
+
* context_module: "brandKitEditor",
|
|
89
|
+
* context_page_owner_type: "brandSettings"
|
|
90
|
+
* }
|
|
91
|
+
* ```
|
|
92
|
+
*/
|
|
93
|
+
export interface ClickedSaveBrandKit {
|
|
94
|
+
action: ActionType.clickedSaveBrandKit;
|
|
95
|
+
context_module: OsContextModule.brandKit;
|
|
96
|
+
context_page_owner_type: OsOwnerType.studio;
|
|
97
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { ClickedAddBrandKitFile, ClickedBrandKitColor, ClickedBrandKitFont, ClickedSaveBrandKit } from "./BrandKit";
|
|
1
2
|
import { OsClickEvent } from "./Click";
|
|
2
3
|
import { OsInventoryTable } from "./InventoryTable";
|
|
3
4
|
import { OsMultiAddFlow } from "./MultiAddFlow";
|
|
@@ -7,7 +8,7 @@ import { OsSubmitEvent } from "./Submit";
|
|
|
7
8
|
*
|
|
8
9
|
* Each event describes one ActionType
|
|
9
10
|
*/
|
|
10
|
-
export type OsEvent = OsClickEvent | OsInventoryTable | OsMultiAddFlow | OsSubmitEvent;
|
|
11
|
+
export type OsEvent = OsMultiAddFlow | ClickedBrandKitColor | ClickedBrandKitFont | ClickedAddBrandKitFile | ClickedSaveBrandKit | OsClickEvent | OsInventoryTable | OsMultiAddFlow | OsSubmitEvent;
|
|
11
12
|
/**
|
|
12
13
|
* List of all Art OS actions
|
|
13
14
|
*
|
|
@@ -26,4 +26,5 @@ exports.OsContextModule = OsContextModule;
|
|
|
26
26
|
OsContextModule["imagesModal"] = "imagesModal";
|
|
27
27
|
OsContextModule["multiAdd"] = "multiAdd";
|
|
28
28
|
OsContextModule["multiAddReview"] = "multiAddReview";
|
|
29
|
+
OsContextModule["brandKit"] = "brandKit";
|
|
29
30
|
})(OsContextModule || (exports.OsContextModule = OsContextModule = {}));
|