chore: code formatting
This commit is contained in:
@@ -137,7 +137,7 @@
|
|||||||
tweets: {
|
tweets: {
|
||||||
username: options["tweets.user"] || "(attached Twitter account)",
|
username: options["tweets.user"] || "(attached Twitter account)",
|
||||||
profile: {
|
profile: {
|
||||||
profile_image_url: faker.image.urlLoremFlickr({ category: 'people' }),
|
profile_image_url: faker.image.urlLoremFlickr({category: "people"}),
|
||||||
name: "",
|
name: "",
|
||||||
verified: false,
|
verified: false,
|
||||||
id: faker.number.int(1000000).toString(),
|
id: faker.number.int(1000000).toString(),
|
||||||
|
|||||||
@@ -33,19 +33,19 @@ export default function({faker, url, options, login = faker.internet.userName()}
|
|||||||
image: [
|
image: [
|
||||||
{
|
{
|
||||||
size: "small",
|
size: "small",
|
||||||
"#text": faker.image.urlLoremFlickr({ category: 'abstract' }),
|
"#text": faker.image.urlLoremFlickr({category: "abstract"}),
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
size: "medium",
|
size: "medium",
|
||||||
"#text": faker.image.urlLoremFlickr({ category: 'abstract' }),
|
"#text": faker.image.urlLoremFlickr({category: "abstract"}),
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
size: "large",
|
size: "large",
|
||||||
"#text": faker.image.urlLoremFlickr({ category: 'abstract' }),
|
"#text": faker.image.urlLoremFlickr({category: "abstract"}),
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
size: "extralarge",
|
size: "extralarge",
|
||||||
"#text": faker.image.urlLoremFlickr({ category: 'abstract' }),
|
"#text": faker.image.urlLoremFlickr({category: "abstract"}),
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
streamable: "0",
|
streamable: "0",
|
||||||
@@ -86,19 +86,19 @@ export default function({faker, url, options, login = faker.internet.userName()}
|
|||||||
image: [
|
image: [
|
||||||
{
|
{
|
||||||
size: "small",
|
size: "small",
|
||||||
"#text": faker.image.urlLoremFlickr({ category: 'abstract' }),
|
"#text": faker.image.urlLoremFlickr({category: "abstract"}),
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
size: "medium",
|
size: "medium",
|
||||||
"#text": faker.image.urlLoremFlickr({ category: 'abstract' }),
|
"#text": faker.image.urlLoremFlickr({category: "abstract"}),
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
size: "large",
|
size: "large",
|
||||||
"#text": faker.image.urlLoremFlickr({ category: 'abstract' }),
|
"#text": faker.image.urlLoremFlickr({category: "abstract"}),
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
size: "extralarge",
|
size: "extralarge",
|
||||||
"#text": faker.image.urlLoremFlickr({ category: 'abstract' }),
|
"#text": faker.image.urlLoremFlickr({category: "abstract"}),
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
url: faker.internet.url(),
|
url: faker.internet.url(),
|
||||||
@@ -130,19 +130,19 @@ export default function({faker, url, options, login = faker.internet.userName()}
|
|||||||
image: [
|
image: [
|
||||||
{
|
{
|
||||||
size: "small",
|
size: "small",
|
||||||
"#text": faker.image.urlLoremFlickr({ category: 'abstract' }),
|
"#text": faker.image.urlLoremFlickr({category: "abstract"}),
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
size: "medium",
|
size: "medium",
|
||||||
"#text": faker.image.urlLoremFlickr({ category: 'abstract' }),
|
"#text": faker.image.urlLoremFlickr({category: "abstract"}),
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
size: "large",
|
size: "large",
|
||||||
"#text": faker.image.urlLoremFlickr({ category: 'abstract' }),
|
"#text": faker.image.urlLoremFlickr({category: "abstract"}),
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
size: "extralarge",
|
size: "extralarge",
|
||||||
"#text": faker.image.urlLoremFlickr({ category: 'abstract' }),
|
"#text": faker.image.urlLoremFlickr({category: "abstract"}),
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
streamable: "0",
|
streamable: "0",
|
||||||
|
|||||||
@@ -24,17 +24,17 @@ export default function({faker, url, options, login = faker.internet.userName()}
|
|||||||
images: [
|
images: [
|
||||||
{
|
{
|
||||||
height: 640,
|
height: 640,
|
||||||
url: faker.image.urlLoremFlickr({ category: 'abstract' }),
|
url: faker.image.urlLoremFlickr({category: "abstract"}),
|
||||||
width: 640,
|
width: 640,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
height: 300,
|
height: 300,
|
||||||
url: faker.image.urlLoremFlickr({ category: 'abstract' }),
|
url: faker.image.urlLoremFlickr({category: "abstract"}),
|
||||||
width: 300,
|
width: 300,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
height: 64,
|
height: 64,
|
||||||
url: faker.image.urlLoremFlickr({ category: 'abstract' }),
|
url: faker.image.urlLoremFlickr({category: "abstract"}),
|
||||||
width: 64,
|
width: 64,
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
@@ -81,17 +81,17 @@ export default function({faker, url, options, login = faker.internet.userName()}
|
|||||||
images: [
|
images: [
|
||||||
{
|
{
|
||||||
height: 640,
|
height: 640,
|
||||||
url: faker.image.urlLoremFlickr({ category: 'abstract' }),
|
url: faker.image.urlLoremFlickr({category: "abstract"}),
|
||||||
width: 640,
|
width: 640,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
height: 300,
|
height: 300,
|
||||||
url: faker.image.urlLoremFlickr({ category: 'abstract' }),
|
url: faker.image.urlLoremFlickr({category: "abstract"}),
|
||||||
width: 300,
|
width: 300,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
height: 64,
|
height: 64,
|
||||||
url: faker.image.urlLoremFlickr({ category: 'abstract' }),
|
url: faker.image.urlLoremFlickr({category: "abstract"}),
|
||||||
width: 64,
|
width: 64,
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
@@ -126,17 +126,17 @@ export default function({faker, url, options, login = faker.internet.userName()}
|
|||||||
images: [
|
images: [
|
||||||
{
|
{
|
||||||
height: 640,
|
height: 640,
|
||||||
url: faker.image.urlLoremFlickr({ category: 'abstract' }),
|
url: faker.image.urlLoremFlickr({category: "abstract"}),
|
||||||
width: 640,
|
width: 640,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
height: 300,
|
height: 300,
|
||||||
url: faker.image.urlLoremFlickr({ category: 'abstract' }),
|
url: faker.image.urlLoremFlickr({category: "abstract"}),
|
||||||
width: 300,
|
width: 300,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
height: 64,
|
height: 64,
|
||||||
url: faker.image.urlLoremFlickr({ category: 'abstract' }),
|
url: faker.image.urlLoremFlickr({category: "abstract"}),
|
||||||
width: 64,
|
width: 64,
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ export default function({faker, url, options, login = faker.internet.userName()}
|
|||||||
status: 200,
|
status: 200,
|
||||||
data: {
|
data: {
|
||||||
data: {
|
data: {
|
||||||
profile_image_url: faker.image.urlLoremFlickr({ category: 'people' }),
|
profile_image_url: faker.image.urlLoremFlickr({category: "people"}),
|
||||||
name: faker.person.fullName(),
|
name: faker.person.fullName(),
|
||||||
verified: faker.datatype.boolean(),
|
verified: faker.datatype.boolean(),
|
||||||
id: faker.number.int(1000000).toString(),
|
id: faker.number.int(1000000).toString(),
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ export default function({faker, query, login = faker.internet.userName()}) {
|
|||||||
name: faker.person.fullName(),
|
name: faker.person.fullName(),
|
||||||
login,
|
login,
|
||||||
createdAt: `${faker.date.past({years: 10})}`,
|
createdAt: `${faker.date.past({years: 10})}`,
|
||||||
avatarUrl: faker.image.urlLoremFlickr({ category: 'people' }),
|
avatarUrl: faker.image.urlLoremFlickr({category: "people"}),
|
||||||
websiteUrl: faker.internet.url(),
|
websiteUrl: faker.internet.url(),
|
||||||
twitterUsername: login,
|
twitterUsername: login,
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -79,11 +79,11 @@ export default async function({graphql, rest}) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
return Reflect.get(target, property)
|
return Reflect.get(target, property)
|
||||||
}
|
},
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
return Reflect.get(target, section)
|
return Reflect.get(target, section)
|
||||||
}
|
},
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user