File size: 1,878 Bytes
1e92f2d |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 |
/* eslint-disable quote-props*/
import { cloneDeep } from 'lodash';
export const discoverSiteId = 53424024;
export const nonDiscoverPost = {
site_ID: 1,
};
export const discoverSiteFormat = {
site_ID: discoverSiteId,
discover_metadata: {
permalink: 'https://toutparmoi.com/',
attribution: {
author_name: 'toutparmoi',
author_url: 'https://toutparmoi.com/about/a-word-from-the-editor/',
blog_name: "The Earl of Southampton's Cat",
blog_url: 'https://toutparmoi.com',
avatar_url: '',
},
discover_fp_post_formats: [
{
name: 'Pick',
slug: 'pick',
id: 346750,
},
{
name: 'Site Pick',
slug: 'site-pick',
id: 308219249,
},
],
featured_post_wpcom_data: {
blog_id: 79600288,
},
},
};
export const discoverPost = {
site_ID: discoverSiteId,
discover_metadata: {
permalink: 'https://talkforeigntome.com/2016/07/17/my-mystery-malady/',
attribution: {
author_name: 'Ruth',
author_url: 'https://talkforeigntome.com/2016/07/17/my-mystery-malady/',
blog_name: 'Talk Foreign to Me',
blog_url: 'https://talkforeigntome.com',
avatar_url:
'https://2.gravatar.com/avatar/8eeb836f187d8b5b861bb035bcb18ed4?s=100&d=https%3A%2F%2Fsecure.gravatar.com%2Fblavatar%2Fef751c856dccbacab2b97d7b14ca002b%3Fs%3D100%26d%3Dhttps%253A%252F%252Fs2.wp.com%252Fwp-content%252Fthemes%252Fh4%252Ftabs%252Fimages%252Fdefaultavatar.png&r=G',
},
discover_fp_post_formats: [
{
name: 'Pick',
slug: 'pick',
id: 346750,
},
{
name: 'Standard Pick',
slug: 'standard-pick',
id: 337879995,
},
],
featured_post_wpcom_data: {
blog_id: 67377696,
post_id: 6876,
like_count: 33,
comment_count: 9,
},
},
};
const externalPost = cloneDeep( discoverPost );
externalPost.discover_metadata.featured_post_wpcom_data = null;
export const externalDiscoverPost = externalPost;
|