@artsy/cohesion 4.30.0 → 4.31.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 +17 -0
- package/dist/DeprecatedHelpers/index.d.ts +0 -2
- package/dist/DeprecatedHelpers/index.js +0 -12
- package/package.json +2 -2
- package/dist/DeprecatedHelpers/Click/ClickedArtistSeriesGroup.d.ts +0 -29
- package/dist/DeprecatedHelpers/Click/ClickedArtistSeriesGroup.js +0 -51
- package/dist/DeprecatedHelpers/Click/__tests__/ClickedArtistSeriesGroup.test.d.ts +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,20 @@
|
|
|
1
|
+
# v4.31.0 (Mon Jan 31 2022)
|
|
2
|
+
|
|
3
|
+
#### 🚀 Enhancement
|
|
4
|
+
|
|
5
|
+
- chore: remove deprecated clickedArtistSeriesGroup helper [#298](https://github.com/artsy/cohesion/pull/298) ([@gkartalis](https://github.com/gkartalis))
|
|
6
|
+
|
|
7
|
+
#### 🏠 Internal
|
|
8
|
+
|
|
9
|
+
- chore(deps): update dep typescript from 4.5.4 to v4.5.5 [#297](https://github.com/artsy/cohesion/pull/297) ([@renovate-bot](https://github.com/renovate-bot))
|
|
10
|
+
|
|
11
|
+
#### Authors: 2
|
|
12
|
+
|
|
13
|
+
- George Kartalis ([@gkartalis](https://github.com/gkartalis))
|
|
14
|
+
- WhiteSource Renovate ([@renovate-bot](https://github.com/renovate-bot))
|
|
15
|
+
|
|
16
|
+
---
|
|
17
|
+
|
|
1
18
|
# v4.30.0 (Thu Jan 06 2022)
|
|
2
19
|
|
|
3
20
|
#### 🚀 Enhancement
|
|
@@ -1,10 +1,8 @@
|
|
|
1
1
|
export * from "./AddToCalendar";
|
|
2
2
|
export * from "./Share";
|
|
3
|
-
export * from "./Click/ClickedArtistSeriesGroup";
|
|
4
3
|
export * from "./Click/ClickedCollectionGroup";
|
|
5
4
|
export * from "./Click/ClickedEntityGroup";
|
|
6
5
|
export * from "./Click/ClickedMainArtworkGrid";
|
|
7
|
-
export * from "./Click/ClickedArtistSeriesGroup";
|
|
8
6
|
export * from "./Click/ClickedShowMore";
|
|
9
7
|
export * from "./Conversations/FocusedOnConversationMessageInput";
|
|
10
8
|
export * from "./Conversations/SentConversationMessage";
|
|
@@ -28,18 +28,6 @@ Object.keys(_Share).forEach(function (key) {
|
|
|
28
28
|
});
|
|
29
29
|
});
|
|
30
30
|
|
|
31
|
-
var _ClickedArtistSeriesGroup = require("./Click/ClickedArtistSeriesGroup");
|
|
32
|
-
|
|
33
|
-
Object.keys(_ClickedArtistSeriesGroup).forEach(function (key) {
|
|
34
|
-
if (key === "default" || key === "__esModule") return;
|
|
35
|
-
Object.defineProperty(exports, key, {
|
|
36
|
-
enumerable: true,
|
|
37
|
-
get: function get() {
|
|
38
|
-
return _ClickedArtistSeriesGroup[key];
|
|
39
|
-
}
|
|
40
|
-
});
|
|
41
|
-
});
|
|
42
|
-
|
|
43
31
|
var _ClickedCollectionGroup = require("./Click/ClickedCollectionGroup");
|
|
44
32
|
|
|
45
33
|
Object.keys(_ClickedCollectionGroup).forEach(function (key) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@artsy/cohesion",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.31.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.5.
|
|
50
|
+
"typescript": "4.5.5"
|
|
51
51
|
},
|
|
52
52
|
"dependencies": {
|
|
53
53
|
"core-js": "3"
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { ClickedArtistSeriesGroup, ContextModule, PageOwnerType } from "../../Schema";
|
|
2
|
-
export interface ClickedArtistSeriesGroupArgs {
|
|
3
|
-
contextModule: ContextModule;
|
|
4
|
-
contextPageOwnerType: PageOwnerType;
|
|
5
|
-
contextPageOwnerId?: string;
|
|
6
|
-
contextPageOwnerSlug?: string;
|
|
7
|
-
curationBoost?: boolean;
|
|
8
|
-
destinationPageOwnerId: string;
|
|
9
|
-
destinationPageOwnerSlug: string;
|
|
10
|
-
horizontalSlidePosition?: number;
|
|
11
|
-
}
|
|
12
|
-
/**
|
|
13
|
-
* A user clicks a grouping of artist series (web)
|
|
14
|
-
*
|
|
15
|
-
* @example
|
|
16
|
-
* ```
|
|
17
|
-
* clickedArtistSeriesGroup({
|
|
18
|
-
* contextModule: ContextModule.artistSeriesRail
|
|
19
|
-
* contextPageOwnerType: OwnerType.artist,
|
|
20
|
-
* contextPageOwnerId: "5359794d2a1e86c3741001f8",
|
|
21
|
-
* contextPageOwnerSlug: "andy-warhol",
|
|
22
|
-
* curationBoost: true,
|
|
23
|
-
* destinationPageOwnerId: "5359794d1a1e86c3740001f7",
|
|
24
|
-
* destinationPageOwnerSlug: "andy-warhol-skulls",
|
|
25
|
-
* horizontalSlidePosition: 3
|
|
26
|
-
* })
|
|
27
|
-
* ```
|
|
28
|
-
*/
|
|
29
|
-
export declare const clickedArtistSeriesGroup: ({ contextModule, contextPageOwnerType, contextPageOwnerId, contextPageOwnerSlug, curationBoost, destinationPageOwnerId, destinationPageOwnerSlug, horizontalSlidePosition, }: ClickedArtistSeriesGroupArgs) => ClickedArtistSeriesGroup;
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.clickedArtistSeriesGroup = void 0;
|
|
7
|
-
|
|
8
|
-
var _Schema = require("../../Schema");
|
|
9
|
-
|
|
10
|
-
/**
|
|
11
|
-
* A user clicks a grouping of artist series (web)
|
|
12
|
-
*
|
|
13
|
-
* @example
|
|
14
|
-
* ```
|
|
15
|
-
* clickedArtistSeriesGroup({
|
|
16
|
-
* contextModule: ContextModule.artistSeriesRail
|
|
17
|
-
* contextPageOwnerType: OwnerType.artist,
|
|
18
|
-
* contextPageOwnerId: "5359794d2a1e86c3741001f8",
|
|
19
|
-
* contextPageOwnerSlug: "andy-warhol",
|
|
20
|
-
* curationBoost: true,
|
|
21
|
-
* destinationPageOwnerId: "5359794d1a1e86c3740001f7",
|
|
22
|
-
* destinationPageOwnerSlug: "andy-warhol-skulls",
|
|
23
|
-
* horizontalSlidePosition: 3
|
|
24
|
-
* })
|
|
25
|
-
* ```
|
|
26
|
-
*/
|
|
27
|
-
var clickedArtistSeriesGroup = function clickedArtistSeriesGroup(_ref) {
|
|
28
|
-
var contextModule = _ref.contextModule,
|
|
29
|
-
contextPageOwnerType = _ref.contextPageOwnerType,
|
|
30
|
-
contextPageOwnerId = _ref.contextPageOwnerId,
|
|
31
|
-
contextPageOwnerSlug = _ref.contextPageOwnerSlug,
|
|
32
|
-
curationBoost = _ref.curationBoost,
|
|
33
|
-
destinationPageOwnerId = _ref.destinationPageOwnerId,
|
|
34
|
-
destinationPageOwnerSlug = _ref.destinationPageOwnerSlug,
|
|
35
|
-
horizontalSlidePosition = _ref.horizontalSlidePosition;
|
|
36
|
-
return {
|
|
37
|
-
action: _Schema.ActionType.clickedArtistSeriesGroup,
|
|
38
|
-
context_module: contextModule,
|
|
39
|
-
context_page_owner_id: contextPageOwnerId,
|
|
40
|
-
context_page_owner_slug: contextPageOwnerSlug,
|
|
41
|
-
context_page_owner_type: contextPageOwnerType,
|
|
42
|
-
curation_boost: curationBoost || false,
|
|
43
|
-
destination_page_owner_id: destinationPageOwnerId,
|
|
44
|
-
destination_page_owner_slug: destinationPageOwnerSlug,
|
|
45
|
-
destination_page_owner_type: _Schema.OwnerType.artistSeries,
|
|
46
|
-
horizontal_slide_position: horizontalSlidePosition,
|
|
47
|
-
type: "thumbnail"
|
|
48
|
-
};
|
|
49
|
-
};
|
|
50
|
-
|
|
51
|
-
exports.clickedArtistSeriesGroup = clickedArtistSeriesGroup;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|