@artsy/cohesion 4.17.0 → 4.17.1
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
CHANGED
|
@@ -1,3 +1,15 @@
|
|
|
1
|
+
# v4.17.1 (Wed Oct 20 2021)
|
|
2
|
+
|
|
3
|
+
#### 🐛 Bug Fix
|
|
4
|
+
|
|
5
|
+
- fix: rename context_screen param to contextScreen for tappedMainArtworkGrid [#258](https://github.com/artsy/cohesion/pull/258) ([@dimatretyak](https://github.com/dimatretyak))
|
|
6
|
+
|
|
7
|
+
#### Authors: 1
|
|
8
|
+
|
|
9
|
+
- Dima Tretyak (Dzmitry Tratsiak) ([@dimatretyak](https://github.com/dimatretyak))
|
|
10
|
+
|
|
11
|
+
---
|
|
12
|
+
|
|
1
13
|
# v4.17.0 (Tue Oct 19 2021)
|
|
2
14
|
|
|
3
15
|
#### 🚀 Enhancement
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ScreenOwnerType, TappedMainArtworkGrid } from "../../Schema";
|
|
2
2
|
export interface TappedMainArtworkGridArgs {
|
|
3
|
-
|
|
3
|
+
contextScreen?: string;
|
|
4
4
|
contextScreenOwnerType: ScreenOwnerType;
|
|
5
5
|
contextScreenOwnerId?: string;
|
|
6
6
|
contextScreenOwnerSlug?: string;
|
|
@@ -24,4 +24,4 @@ export interface TappedMainArtworkGridArgs {
|
|
|
24
24
|
* })
|
|
25
25
|
* ```
|
|
26
26
|
*/
|
|
27
|
-
export declare const tappedMainArtworkGrid: ({
|
|
27
|
+
export declare const tappedMainArtworkGrid: ({ contextScreen, contextScreenOwnerType, contextScreenOwnerId, contextScreenOwnerSlug, destinationScreenOwnerId, destinationScreenOwnerSlug, position, sort, query, }: TappedMainArtworkGridArgs) => TappedMainArtworkGrid;
|
|
@@ -22,7 +22,7 @@ var _Schema = require("../../Schema");
|
|
|
22
22
|
* ```
|
|
23
23
|
*/
|
|
24
24
|
var tappedMainArtworkGrid = function tappedMainArtworkGrid(_ref) {
|
|
25
|
-
var
|
|
25
|
+
var contextScreen = _ref.contextScreen,
|
|
26
26
|
contextScreenOwnerType = _ref.contextScreenOwnerType,
|
|
27
27
|
contextScreenOwnerId = _ref.contextScreenOwnerId,
|
|
28
28
|
contextScreenOwnerSlug = _ref.contextScreenOwnerSlug,
|
|
@@ -34,7 +34,7 @@ var tappedMainArtworkGrid = function tappedMainArtworkGrid(_ref) {
|
|
|
34
34
|
return {
|
|
35
35
|
action: _Schema.ActionType.tappedMainArtworkGrid,
|
|
36
36
|
context_module: _Schema.ContextModule.artworkGrid,
|
|
37
|
-
context_screen:
|
|
37
|
+
context_screen: contextScreen,
|
|
38
38
|
context_screen_owner_id: contextScreenOwnerId,
|
|
39
39
|
context_screen_owner_slug: contextScreenOwnerSlug,
|
|
40
40
|
context_screen_owner_type: contextScreenOwnerType,
|