File tree 1 file changed +5
-0
lines changed
clients/web/src/common/api/queries
1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -13,6 +13,7 @@ import { FRAGMENT_ITEM } from 'common/api/fragments/fragment.item'
13
13
import { requestGQL } from 'common/utilities/request/request'
14
14
import { TOPIC_IDS } from 'common/constants'
15
15
import { processLineup } from 'common/api/derivers/lineups'
16
+ import { FRAGMENT_ITEM_PREVIEW } from '../fragments/fragment.preview'
16
17
17
18
const getDiscoverLineupQuery = gql `
18
19
query GetDiscoverLineup($id: String!, $recommendationCount: Int, $slateCount: Int) {
@@ -47,6 +48,9 @@ const getDiscoverLineupQuery = gql`
47
48
authors {
48
49
name
49
50
}
51
+ preview {
52
+ ...ItemPreview
53
+ }
50
54
}
51
55
}
52
56
}
@@ -55,6 +59,7 @@ const getDiscoverLineupQuery = gql`
55
59
}
56
60
}
57
61
${ FRAGMENT_ITEM }
62
+ ${ FRAGMENT_ITEM_PREVIEW }
58
63
`
59
64
60
65
export async function getDiscoverLineup ( { recommendationCount = 30 , locale } ) {
You can’t perform that action at this time.
0 commit comments