Better data
This commit is contained in:
+85
-51
@@ -11,18 +11,14 @@ export const DEMO_FEED = {
|
|||||||
feed: [
|
feed: [
|
||||||
{
|
{
|
||||||
post: {
|
post: {
|
||||||
uri: `at://${DID}/app.bsky.feed.post/post1`,
|
uri: 'at://did:plc:pvooorihapc2lf2pijehgrdf/app.bsky.feed.post/3lniysofyll2d',
|
||||||
cid: 'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa',
|
cid: 'bafyreihwh3wxxme732ylbylhhdyz7ex6t4jtu6s3gjxxvnnh4feddhg3ku',
|
||||||
author: {
|
author: {
|
||||||
did: DID,
|
did: 'did:plc:pvooorihapc2lf2pijehgrdf',
|
||||||
handle: 'forkedriver.blsky',
|
handle: 'forkedriverband.bsky.social',
|
||||||
displayName: 'Forked River Band',
|
displayName: 'Forked River Band',
|
||||||
avatar: 'https://bsky.social/about/adi/post_1_avi.jpg',
|
avatar:
|
||||||
associated: {
|
'https://cdn.bsky.app/img/avatar/plain/did:plc:pvooorihapc2lf2pijehgrdf/bafkreiarkmzr3wa6ty75qigkkbvtgbler2yiqgfdrupmimy4whcnesu4d4@jpeg',
|
||||||
chat: {
|
|
||||||
allowIncoming: 'following',
|
|
||||||
},
|
|
||||||
},
|
|
||||||
viewer: {
|
viewer: {
|
||||||
muted: false,
|
muted: false,
|
||||||
blockedBy: false,
|
blockedBy: false,
|
||||||
@@ -43,13 +39,42 @@ export const DEMO_FEED = {
|
|||||||
trustedVerifierStatus: 'none',
|
trustedVerifierStatus: 'none',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
record: {
|
||||||
|
$type: 'app.bsky.feed.post',
|
||||||
|
createdAt: POST_1_DATE,
|
||||||
|
// embed: {
|
||||||
|
// $type: 'app.bsky.embed.images',
|
||||||
|
// images: [
|
||||||
|
// {
|
||||||
|
// alt: 'Fake flier for Sebastapol Bluegrass Fest',
|
||||||
|
// aspectRatio: {
|
||||||
|
// height: 1350,
|
||||||
|
// width: 900,
|
||||||
|
// },
|
||||||
|
// image: {
|
||||||
|
// $type: 'blob',
|
||||||
|
// ref: {
|
||||||
|
// $link:
|
||||||
|
// 'bafkreig7gnirmz5guhhjutf3mqbjjzxzi3w4wvs5qy2gnxma5g3brbaidi',
|
||||||
|
// },
|
||||||
|
// mimeType: 'image/jpeg',
|
||||||
|
// size: 562871,
|
||||||
|
// },
|
||||||
|
// },
|
||||||
|
// ],
|
||||||
|
// },
|
||||||
|
langs: ['en'],
|
||||||
|
text: 'Sonoma County folks: Come tip your hats our way and see us play new and old tunes at Sebastopol Bluegrass Fest on June 14th.',
|
||||||
|
},
|
||||||
embed: {
|
embed: {
|
||||||
$type: 'app.bsky.embed.images#view',
|
$type: 'app.bsky.embed.images#view',
|
||||||
images: [
|
images: [
|
||||||
{
|
{
|
||||||
thumb: 'https://bsky.social/about/adi/post_1_image.jpg',
|
thumb:
|
||||||
fullsize: 'https://bsky.social/about/adi/post_1_image.jpg',
|
'https://cdn.bsky.app/img/feed_thumbnail/plain/did:plc:pvooorihapc2lf2pijehgrdf/bafkreig7gnirmz5guhhjutf3mqbjjzxzi3w4wvs5qy2gnxma5g3brbaidi@jpeg',
|
||||||
alt: '',
|
fullsize:
|
||||||
|
'https://cdn.bsky.app/img/feed_fullsize/plain/did:plc:pvooorihapc2lf2pijehgrdf/bafkreig7gnirmz5guhhjutf3mqbjjzxzi3w4wvs5qy2gnxma5g3brbaidi@jpeg',
|
||||||
|
alt: 'Fake flier for Sebastapol Bluegrass Fest',
|
||||||
aspectRatio: {
|
aspectRatio: {
|
||||||
height: 1350,
|
height: 1350,
|
||||||
width: 900,
|
width: 900,
|
||||||
@@ -57,12 +82,6 @@ export const DEMO_FEED = {
|
|||||||
},
|
},
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
record: {
|
|
||||||
$type: 'app.bsky.feed.post',
|
|
||||||
createdAt: POST_1_DATE,
|
|
||||||
langs: ['en'],
|
|
||||||
text: 'Sonoma County folks: Come tip your hats our way and see us play new and old tunes at Sebastopol Bluegrass Fest on June 14th.',
|
|
||||||
},
|
|
||||||
replyCount: 1,
|
replyCount: 1,
|
||||||
repostCount: 4,
|
repostCount: 4,
|
||||||
likeCount: 18,
|
likeCount: 18,
|
||||||
@@ -77,18 +96,14 @@ export const DEMO_FEED = {
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
post: {
|
post: {
|
||||||
uri: `at://${DID}/app.bsky.feed.post/post2`,
|
uri: 'at://did:plc:fhhqii56ppgyh5qcm2b3mokf/app.bsky.feed.post/3lnizc7fug52c',
|
||||||
cid: 'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa',
|
cid: 'bafyreienuabsr55rycirdf4ewue5tjcseg5lzqompcsh2brqzag6hvxllm',
|
||||||
author: {
|
author: {
|
||||||
did: DID,
|
did: 'did:plc:fhhqii56ppgyh5qcm2b3mokf',
|
||||||
handle: 'dinh-designs.blsky',
|
handle: 'dinh-designs.bsky.social',
|
||||||
displayName: 'Dinh Designs',
|
displayName: 'Dinh Designs',
|
||||||
avatar: 'https://bsky.social/about/adi/post_2_avi.jpg',
|
avatar:
|
||||||
associated: {
|
'https://cdn.bsky.app/img/avatar/plain/did:plc:fhhqii56ppgyh5qcm2b3mokf/bafkreidou2xiwmwgq4rz7jj3myyhtvvcd47v5rrmj5xpp5w3nst6tmeoxi@jpeg',
|
||||||
chat: {
|
|
||||||
allowIncoming: 'following',
|
|
||||||
},
|
|
||||||
},
|
|
||||||
viewer: {
|
viewer: {
|
||||||
muted: false,
|
muted: false,
|
||||||
blockedBy: false,
|
blockedBy: false,
|
||||||
@@ -97,13 +112,42 @@ export const DEMO_FEED = {
|
|||||||
labels: [],
|
labels: [],
|
||||||
createdAt: POST_2_DATE,
|
createdAt: POST_2_DATE,
|
||||||
},
|
},
|
||||||
|
record: {
|
||||||
|
$type: 'app.bsky.feed.post',
|
||||||
|
createdAt: POST_2_DATE,
|
||||||
|
// embed: {
|
||||||
|
// $type: 'app.bsky.embed.images',
|
||||||
|
// images: [
|
||||||
|
// {
|
||||||
|
// alt: 'Placeholder image of interior design',
|
||||||
|
// aspectRatio: {
|
||||||
|
// height: 872,
|
||||||
|
// width: 598,
|
||||||
|
// },
|
||||||
|
// image: {
|
||||||
|
// $type: 'blob',
|
||||||
|
// ref: {
|
||||||
|
// $link:
|
||||||
|
// 'bafkreidcjc6bjb4jjjejruin5cldhj5zovsuu4tydulenyprneziq5rfeu',
|
||||||
|
// },
|
||||||
|
// mimeType: 'image/jpeg',
|
||||||
|
// size: 296003,
|
||||||
|
// },
|
||||||
|
// },
|
||||||
|
// ],
|
||||||
|
// },
|
||||||
|
langs: ['en'],
|
||||||
|
text: 'Details from our install at the Lucas residence in Joshua Tree. We populated the space with rich, earthy tones and locally-sourced materials to suit the landscape.',
|
||||||
|
},
|
||||||
embed: {
|
embed: {
|
||||||
$type: 'app.bsky.embed.images#view',
|
$type: 'app.bsky.embed.images#view',
|
||||||
images: [
|
images: [
|
||||||
{
|
{
|
||||||
thumb: 'https://bsky.social/about/adi/post_2_image.jpg',
|
thumb:
|
||||||
fullsize: 'https://bsky.social/about/adi/post_2_image.jpg',
|
'https://cdn.bsky.app/img/feed_thumbnail/plain/did:plc:fhhqii56ppgyh5qcm2b3mokf/bafkreidcjc6bjb4jjjejruin5cldhj5zovsuu4tydulenyprneziq5rfeu@jpeg',
|
||||||
alt: '',
|
fullsize:
|
||||||
|
'https://cdn.bsky.app/img/feed_fullsize/plain/did:plc:fhhqii56ppgyh5qcm2b3mokf/bafkreidcjc6bjb4jjjejruin5cldhj5zovsuu4tydulenyprneziq5rfeu@jpeg',
|
||||||
|
alt: 'Placeholder image of interior design',
|
||||||
aspectRatio: {
|
aspectRatio: {
|
||||||
height: 872,
|
height: 872,
|
||||||
width: 598,
|
width: 598,
|
||||||
@@ -111,12 +155,6 @@ export const DEMO_FEED = {
|
|||||||
},
|
},
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
record: {
|
|
||||||
$type: 'app.bsky.feed.post',
|
|
||||||
createdAt: POST_2_DATE,
|
|
||||||
langs: ['en'],
|
|
||||||
text: 'Details from our install at the Lucas residence in Joshua Tree. We populated the space with rich, earthy tones and locally-sourced materials to suit the landscape.',
|
|
||||||
},
|
|
||||||
replyCount: 3,
|
replyCount: 3,
|
||||||
repostCount: 1,
|
repostCount: 1,
|
||||||
likeCount: 4,
|
likeCount: 4,
|
||||||
@@ -131,24 +169,20 @@ export const DEMO_FEED = {
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
post: {
|
post: {
|
||||||
uri: `at://${DID}/app.bsky.feed.post/post3`,
|
uri: 'at://did:plc:h7fwnfejmmifveeea5eyxgkc/app.bsky.feed.post/3lnizna3g4f2t',
|
||||||
cid: 'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa',
|
cid: 'bafyreiepn7obmlshliori4j34texpaukrqkyyu7cq6nmpzk4lkis7nqeae',
|
||||||
author: {
|
author: {
|
||||||
did: DID,
|
did: 'did:plc:h7fwnfejmmifveeea5eyxgkc',
|
||||||
handle: 'visionprofan.blsky',
|
handle: 'visionprofan.bsky.social',
|
||||||
displayName: 'Visionary',
|
displayName: 'Sammy',
|
||||||
avatar:
|
avatar:
|
||||||
'https://cdn.bsky.app/img/avatar/plain/did:plc:p2cp5gopk7mgjegy6wadk3ep/bafkreiaqsy36o6lpbpnonb4n46cvntfs6zoxbav35raix2sxhqgopxcjge@jpeg',
|
'https://cdn.bsky.app/img/avatar/plain/did:plc:h7fwnfejmmifveeea5eyxgkc/bafkreia4fxcfoiny44sc5nujs7fpqxcxustuzepovxpsrq3e5cibcmscz4@jpeg',
|
||||||
associated: {
|
|
||||||
chat: {
|
|
||||||
allowIncoming: 'following',
|
|
||||||
},
|
|
||||||
},
|
|
||||||
viewer: {
|
viewer: {
|
||||||
muted: false,
|
muted: false,
|
||||||
blockedBy: false,
|
blockedBy: false,
|
||||||
following: `at://${DID}/app.bsky.graph.follow/post3`,
|
following: `at://${DID}/app.bsky.graph.follow/post3`,
|
||||||
},
|
},
|
||||||
|
labels: [],
|
||||||
createdAt: POST_3_DATE,
|
createdAt: POST_3_DATE,
|
||||||
},
|
},
|
||||||
record: {
|
record: {
|
||||||
@@ -160,7 +194,7 @@ export const DEMO_FEED = {
|
|||||||
replyCount: 11,
|
replyCount: 11,
|
||||||
repostCount: 97,
|
repostCount: 97,
|
||||||
likeCount: 399,
|
likeCount: 399,
|
||||||
quoteCount: 3,
|
quoteCount: 0,
|
||||||
indexedAt: POST_3_DATE,
|
indexedAt: POST_3_DATE,
|
||||||
viewer: {
|
viewer: {
|
||||||
threadMuted: false,
|
threadMuted: false,
|
||||||
@@ -173,4 +207,4 @@ export const DEMO_FEED = {
|
|||||||
} satisfies AppBskyFeedGetFeed.OutputSchema
|
} satisfies AppBskyFeedGetFeed.OutputSchema
|
||||||
|
|
||||||
export const BOTTOM_BAR_AVI =
|
export const BOTTOM_BAR_AVI =
|
||||||
'https://cdn.bsky.app/img/avatar/plain/did:plc:3jpt2mvvsumj2r7eqk4gzzjz/bafkreibrhptgequemf4anrjxgbf5lpgo6szvjobjcxyvt76ui7jtvebrfa@jpeg'
|
'https://cdn.bsky.app/img/avatar/plain/did:plc:p2cp5gopk7mgjegy6wadk3ep/bafkreiaqsy36o6lpbpnonb4n46cvntfs6zoxbav35raix2sxhqgopxcjge@jpeg'
|
||||||
|
|||||||
Reference in New Issue
Block a user