@artsy/cohesion 4.32.0 → 4.34.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/.github/{depdendabot.yml → dependabot.yml} +1 -1
- package/CHANGELOG.md +34 -0
- package/dist/DeprecatedHelpers/index.d.ts +0 -1
- package/dist/DeprecatedHelpers/index.js +0 -12
- package/dist/Schema/Values/ContextModule.d.ts +1 -0
- package/dist/Schema/Values/ContextModule.js +1 -0
- package/package.json +2 -2
- package/dist/DeprecatedHelpers/Conversations/TappedViewOffer.d.ts +0 -15
- package/dist/DeprecatedHelpers/Conversations/TappedViewOffer.js +0 -30
- package/dist/DeprecatedHelpers/Conversations/__tests__/TappedViewOffer.test.d.ts +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,37 @@
|
|
|
1
|
+
# v4.34.0 (Wed Mar 09 2022)
|
|
2
|
+
|
|
3
|
+
#### 🚀 Enhancement
|
|
4
|
+
|
|
5
|
+
- remove tappedViewOffer helper [#307](https://github.com/artsy/cohesion/pull/307) ([@pvinis](https://github.com/pvinis))
|
|
6
|
+
|
|
7
|
+
#### 🏠 Internal
|
|
8
|
+
|
|
9
|
+
- chore: update dependabot reviewers [#302](https://github.com/artsy/cohesion/pull/302) ([@ovasdi](https://github.com/ovasdi))
|
|
10
|
+
|
|
11
|
+
#### Authors: 2
|
|
12
|
+
|
|
13
|
+
- Ozzie Vasdi ([@ovasdi](https://github.com/ovasdi))
|
|
14
|
+
- Pavlos Vinieratos ([@pvinis](https://github.com/pvinis))
|
|
15
|
+
|
|
16
|
+
---
|
|
17
|
+
|
|
18
|
+
# v4.33.0 (Wed Mar 02 2022)
|
|
19
|
+
|
|
20
|
+
#### 🚀 Enhancement
|
|
21
|
+
|
|
22
|
+
- feat: Add myCollectionComparableWorks context module [#306](https://github.com/artsy/cohesion/pull/306) ([@olerichter00](https://github.com/olerichter00))
|
|
23
|
+
|
|
24
|
+
#### 🏠 Internal
|
|
25
|
+
|
|
26
|
+
- chore(deps): update dep typescript from 4.5.5 to v4.6.2 [#303](https://github.com/artsy/cohesion/pull/303) ([@renovate-bot](https://github.com/renovate-bot))
|
|
27
|
+
|
|
28
|
+
#### Authors: 2
|
|
29
|
+
|
|
30
|
+
- Ole ([@olerichter00](https://github.com/olerichter00))
|
|
31
|
+
- WhiteSource Renovate ([@renovate-bot](https://github.com/renovate-bot))
|
|
32
|
+
|
|
33
|
+
---
|
|
34
|
+
|
|
1
35
|
# v4.32.0 (Thu Feb 24 2022)
|
|
2
36
|
|
|
3
37
|
#### 🚀 Enhancement
|
|
@@ -7,7 +7,6 @@ export * from "./Click/ClickedShowMore";
|
|
|
7
7
|
export * from "./Conversations/FocusedOnConversationMessageInput";
|
|
8
8
|
export * from "./Conversations/SentConversationMessage";
|
|
9
9
|
export * from "./Conversations/TappedMakeOffer";
|
|
10
|
-
export * from "./Conversations/TappedViewOffer";
|
|
11
10
|
export * from "./Conversations/TappedConfirmArtwork";
|
|
12
11
|
export * from "./FilterAndSort/CommercialFilterParamsChanged";
|
|
13
12
|
export * from "./MyCollection/AddCollectedArtwork";
|
|
@@ -112,18 +112,6 @@ Object.keys(_TappedMakeOffer).forEach(function (key) {
|
|
|
112
112
|
});
|
|
113
113
|
});
|
|
114
114
|
|
|
115
|
-
var _TappedViewOffer = require("./Conversations/TappedViewOffer");
|
|
116
|
-
|
|
117
|
-
Object.keys(_TappedViewOffer).forEach(function (key) {
|
|
118
|
-
if (key === "default" || key === "__esModule") return;
|
|
119
|
-
Object.defineProperty(exports, key, {
|
|
120
|
-
enumerable: true,
|
|
121
|
-
get: function get() {
|
|
122
|
-
return _TappedViewOffer[key];
|
|
123
|
-
}
|
|
124
|
-
});
|
|
125
|
-
});
|
|
126
|
-
|
|
127
115
|
var _TappedConfirmArtwork = require("./Conversations/TappedConfirmArtwork");
|
|
128
116
|
|
|
129
117
|
Object.keys(_TappedConfirmArtwork).forEach(function (key) {
|
|
@@ -95,6 +95,7 @@ export declare enum ContextModule {
|
|
|
95
95
|
myCollectionArtwork = "myCollectionArtwork",
|
|
96
96
|
myCollectionAddArtworkAddArtist = "myCollectionAddArtworkAddArtist",
|
|
97
97
|
myCollectionArtworkInsights = "myCollectionArtworkInsights",
|
|
98
|
+
myCollectionComparableWorks = "myCollectionComparableWorks",
|
|
98
99
|
myCollectionHome = "myCollectionHome",
|
|
99
100
|
newWorksByArtistsYouFollowRail = "newWorksByArtistsYouFollowRail",
|
|
100
101
|
newWorksForYouRail = "newWorksForYouRail",
|
|
@@ -109,6 +109,7 @@ exports.ContextModule = ContextModule;
|
|
|
109
109
|
ContextModule["myCollectionArtwork"] = "myCollectionArtwork";
|
|
110
110
|
ContextModule["myCollectionAddArtworkAddArtist"] = "myCollectionAddArtworkAddArtist";
|
|
111
111
|
ContextModule["myCollectionArtworkInsights"] = "myCollectionArtworkInsights";
|
|
112
|
+
ContextModule["myCollectionComparableWorks"] = "myCollectionComparableWorks";
|
|
112
113
|
ContextModule["myCollectionHome"] = "myCollectionHome";
|
|
113
114
|
ContextModule["newWorksByArtistsYouFollowRail"] = "newWorksByArtistsYouFollowRail";
|
|
114
115
|
ContextModule["newWorksForYouRail"] = "newWorksForYouRail";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@artsy/cohesion",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.34.0",
|
|
4
4
|
"description": "Analytics schema",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"publishConfig": {
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
"lint-staged": "10.1.7",
|
|
48
48
|
"prettier": "2.0.5",
|
|
49
49
|
"typedoc": "0.17.7",
|
|
50
|
-
"typescript": "4.
|
|
50
|
+
"typescript": "4.6.2"
|
|
51
51
|
},
|
|
52
52
|
"dependencies": {
|
|
53
53
|
"core-js": "3"
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { TappedViewOffer } from "../../Schema/Events/Conversations";
|
|
2
|
-
export interface TappedViewOfferArgs {
|
|
3
|
-
impulse_conversation_id: string;
|
|
4
|
-
cta: string;
|
|
5
|
-
}
|
|
6
|
-
/**
|
|
7
|
-
* A user tapped the view offer CTA in an inquiry
|
|
8
|
-
*
|
|
9
|
-
* @example
|
|
10
|
-
* ```
|
|
11
|
-
* tappedViewOffer({ id: "123", cta: "Offer Accepted" })
|
|
12
|
-
* ```
|
|
13
|
-
*
|
|
14
|
-
*/
|
|
15
|
-
export declare const tappedViewOffer: ({ impulse_conversation_id, cta, }: TappedViewOfferArgs) => TappedViewOffer;
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.tappedViewOffer = void 0;
|
|
7
|
-
|
|
8
|
-
var _Schema = require("../../Schema");
|
|
9
|
-
|
|
10
|
-
/**
|
|
11
|
-
* A user tapped the view offer CTA in an inquiry
|
|
12
|
-
*
|
|
13
|
-
* @example
|
|
14
|
-
* ```
|
|
15
|
-
* tappedViewOffer({ id: "123", cta: "Offer Accepted" })
|
|
16
|
-
* ```
|
|
17
|
-
*
|
|
18
|
-
*/
|
|
19
|
-
var tappedViewOffer = function tappedViewOffer(_ref) {
|
|
20
|
-
var impulse_conversation_id = _ref.impulse_conversation_id,
|
|
21
|
-
cta = _ref.cta;
|
|
22
|
-
return {
|
|
23
|
-
action: _Schema.ActionType.tappedViewOffer,
|
|
24
|
-
context_owner_type: _Schema.OwnerType.conversation,
|
|
25
|
-
impulse_conversation_id: impulse_conversation_id,
|
|
26
|
-
subject: cta
|
|
27
|
-
};
|
|
28
|
-
};
|
|
29
|
-
|
|
30
|
-
exports.tappedViewOffer = tappedViewOffer;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|