@artsy/cohesion 4.372.0 → 4.373.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 +12 -0
- package/dist/Schema/index.d.ts +1 -0
- package/dist/Schema/index.js +12 -0
- package/dist/Schema/os/Events/MaterialsEditor.d.ts +1 -24
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,15 @@
|
|
|
1
|
+
# v4.373.0 (Fri Jun 26 2026)
|
|
2
|
+
|
|
3
|
+
#### 🚀 Enhancement
|
|
4
|
+
|
|
5
|
+
- fix(os): Export MaterialsEditor events correctly from Schema [#719](https://github.com/artsy/cohesion/pull/719) ([@olerichter00](https://github.com/olerichter00))
|
|
6
|
+
|
|
7
|
+
#### Authors: 1
|
|
8
|
+
|
|
9
|
+
- Ole ([@olerichter00](https://github.com/olerichter00))
|
|
10
|
+
|
|
11
|
+
---
|
|
12
|
+
|
|
1
13
|
# v4.372.0 (Fri Jun 26 2026)
|
|
2
14
|
|
|
3
15
|
#### 🚀 Enhancement
|
package/dist/Schema/index.d.ts
CHANGED
|
@@ -56,6 +56,7 @@ export * from "./os/Events/Click";
|
|
|
56
56
|
export * from "./os/Events/ConnectedAppsFlow";
|
|
57
57
|
export * from "./os/Events/InstagramEditor";
|
|
58
58
|
export * from "./os/Events/InventoryTable";
|
|
59
|
+
export * from "./os/Events/MaterialsEditor";
|
|
59
60
|
export * from "./os/Events/MultiAddFlow";
|
|
60
61
|
export * from "./os/Events/Submit";
|
|
61
62
|
export * from "./os/Values/OsContextModule";
|
package/dist/Schema/index.js
CHANGED
|
@@ -592,6 +592,18 @@ Object.keys(_InventoryTable).forEach(function (key) {
|
|
|
592
592
|
});
|
|
593
593
|
});
|
|
594
594
|
|
|
595
|
+
var _MaterialsEditor = require("./os/Events/MaterialsEditor");
|
|
596
|
+
|
|
597
|
+
Object.keys(_MaterialsEditor).forEach(function (key) {
|
|
598
|
+
if (key === "default" || key === "__esModule") return;
|
|
599
|
+
Object.defineProperty(exports, key, {
|
|
600
|
+
enumerable: true,
|
|
601
|
+
get: function get() {
|
|
602
|
+
return _MaterialsEditor[key];
|
|
603
|
+
}
|
|
604
|
+
});
|
|
605
|
+
});
|
|
606
|
+
|
|
595
607
|
var _MultiAddFlow = require("./os/Events/MultiAddFlow");
|
|
596
608
|
|
|
597
609
|
Object.keys(_MultiAddFlow).forEach(function (key) {
|
|
@@ -5,29 +5,6 @@ import { OsActionType } from ".";
|
|
|
5
5
|
* Schemas describing Art OS Materials (Tearsheet / Checklist) events
|
|
6
6
|
* @packageDocumentation
|
|
7
7
|
*/
|
|
8
|
-
/**
|
|
9
|
-
* A partner selects "Tearsheet" or "Checklist" from the inventory actions dropdown
|
|
10
|
-
* to open the Materials editor. The dropdown is surfaced three ways: the artwork's
|
|
11
|
-
* actions, bulk actions, and the right-click context menu.
|
|
12
|
-
*
|
|
13
|
-
* This schema describes events sent to Segment from [[OsClickedActionsDropdown]]
|
|
14
|
-
*
|
|
15
|
-
* @example
|
|
16
|
-
* ```
|
|
17
|
-
* {
|
|
18
|
-
* action: "clickedActionsDropdown",
|
|
19
|
-
* context_module: "actionsDropdown",
|
|
20
|
-
* context_page_owner_type: "inventory",
|
|
21
|
-
* value: "Tearsheet"
|
|
22
|
-
* }
|
|
23
|
-
* ```
|
|
24
|
-
*/
|
|
25
|
-
export interface OsClickedActionsDropdown {
|
|
26
|
-
action: OsActionType.clickedActionsDropdown;
|
|
27
|
-
context_module: OsContextModule.actionsDropdown;
|
|
28
|
-
context_page_owner_type: OsOwnerType;
|
|
29
|
-
value: "Tearsheet" | "Checklist" | "Instagram Post";
|
|
30
|
-
}
|
|
31
8
|
/**
|
|
32
9
|
* A partner clicks "Exit" in the Materials editor header to leave the editor.
|
|
33
10
|
*
|
|
@@ -108,4 +85,4 @@ export interface OsCreatedStudioContent {
|
|
|
108
85
|
/** Generic catch-all for the artwork detail fields included in the generated material */
|
|
109
86
|
content: Record<string, unknown>;
|
|
110
87
|
}
|
|
111
|
-
export type OsMaterialsEditor =
|
|
88
|
+
export type OsMaterialsEditor = OsClickedBrandKitModal | OsClickedExitEditor | OsCreatedStudioContent;
|