diff options
author | Eric Bailey <git@esb.lol> | 2025-04-23 15:29:17 -0500 |
---|---|---|
committer | Eric Bailey <git@esb.lol> | 2025-04-23 16:36:27 -0500 |
commit | c1e090e9e3eff4235fe71d494a354c78b341eead (patch) | |
tree | e464c4d02fb9c5142e14d34af76edf4f5069bd98 /src/lib | |
parent | 9f66b7fe67ac5715f4b0188b76bd06ff043a5b6e (diff) | |
download | voidsky-c1e090e9e3eff4235fe71d494a354c78b341eead.tar.zst |
Better data
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/demo.ts | 136 |
1 files changed, 85 insertions, 51 deletions
diff --git a/src/lib/demo.ts b/src/lib/demo.ts index 5e09ff0aa..65ba88e80 100644 --- a/src/lib/demo.ts +++ b/src/lib/demo.ts @@ -11,18 +11,14 @@ export const DEMO_FEED = { feed: [ { post: { - uri: `at://${DID}/app.bsky.feed.post/post1`, - cid: 'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', + uri: 'at://did:plc:pvooorihapc2lf2pijehgrdf/app.bsky.feed.post/3lniysofyll2d', + cid: 'bafyreihwh3wxxme732ylbylhhdyz7ex6t4jtu6s3gjxxvnnh4feddhg3ku', author: { - did: DID, - handle: 'forkedriver.blsky', + did: 'did:plc:pvooorihapc2lf2pijehgrdf', + handle: 'forkedriverband.bsky.social', displayName: 'Forked River Band', - avatar: 'https://bsky.social/about/adi/post_1_avi.jpg', - associated: { - chat: { - allowIncoming: 'following', - }, - }, + avatar: + 'https://cdn.bsky.app/img/avatar/plain/did:plc:pvooorihapc2lf2pijehgrdf/bafkreiarkmzr3wa6ty75qigkkbvtgbler2yiqgfdrupmimy4whcnesu4d4@jpeg', viewer: { muted: false, blockedBy: false, @@ -43,13 +39,42 @@ export const DEMO_FEED = { 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: { $type: 'app.bsky.embed.images#view', images: [ { - thumb: 'https://bsky.social/about/adi/post_1_image.jpg', - fullsize: 'https://bsky.social/about/adi/post_1_image.jpg', - alt: '', + thumb: + 'https://cdn.bsky.app/img/feed_thumbnail/plain/did:plc:pvooorihapc2lf2pijehgrdf/bafkreig7gnirmz5guhhjutf3mqbjjzxzi3w4wvs5qy2gnxma5g3brbaidi@jpeg', + fullsize: + 'https://cdn.bsky.app/img/feed_fullsize/plain/did:plc:pvooorihapc2lf2pijehgrdf/bafkreig7gnirmz5guhhjutf3mqbjjzxzi3w4wvs5qy2gnxma5g3brbaidi@jpeg', + alt: 'Fake flier for Sebastapol Bluegrass Fest', aspectRatio: { height: 1350, 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, repostCount: 4, likeCount: 18, @@ -77,18 +96,14 @@ export const DEMO_FEED = { }, { post: { - uri: `at://${DID}/app.bsky.feed.post/post2`, - cid: 'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', + uri: 'at://did:plc:fhhqii56ppgyh5qcm2b3mokf/app.bsky.feed.post/3lnizc7fug52c', + cid: 'bafyreienuabsr55rycirdf4ewue5tjcseg5lzqompcsh2brqzag6hvxllm', author: { - did: DID, - handle: 'dinh-designs.blsky', + did: 'did:plc:fhhqii56ppgyh5qcm2b3mokf', + handle: 'dinh-designs.bsky.social', displayName: 'Dinh Designs', - avatar: 'https://bsky.social/about/adi/post_2_avi.jpg', - associated: { - chat: { - allowIncoming: 'following', - }, - }, + avatar: + 'https://cdn.bsky.app/img/avatar/plain/did:plc:fhhqii56ppgyh5qcm2b3mokf/bafkreidou2xiwmwgq4rz7jj3myyhtvvcd47v5rrmj5xpp5w3nst6tmeoxi@jpeg', viewer: { muted: false, blockedBy: false, @@ -97,13 +112,42 @@ export const DEMO_FEED = { labels: [], 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: { $type: 'app.bsky.embed.images#view', images: [ { - thumb: 'https://bsky.social/about/adi/post_2_image.jpg', - fullsize: 'https://bsky.social/about/adi/post_2_image.jpg', - alt: '', + thumb: + 'https://cdn.bsky.app/img/feed_thumbnail/plain/did:plc:fhhqii56ppgyh5qcm2b3mokf/bafkreidcjc6bjb4jjjejruin5cldhj5zovsuu4tydulenyprneziq5rfeu@jpeg', + fullsize: + 'https://cdn.bsky.app/img/feed_fullsize/plain/did:plc:fhhqii56ppgyh5qcm2b3mokf/bafkreidcjc6bjb4jjjejruin5cldhj5zovsuu4tydulenyprneziq5rfeu@jpeg', + alt: 'Placeholder image of interior design', aspectRatio: { height: 872, 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, repostCount: 1, likeCount: 4, @@ -131,24 +169,20 @@ export const DEMO_FEED = { }, { post: { - uri: `at://${DID}/app.bsky.feed.post/post3`, - cid: 'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', + uri: 'at://did:plc:h7fwnfejmmifveeea5eyxgkc/app.bsky.feed.post/3lnizna3g4f2t', + cid: 'bafyreiepn7obmlshliori4j34texpaukrqkyyu7cq6nmpzk4lkis7nqeae', author: { - did: DID, - handle: 'visionprofan.blsky', - displayName: 'Visionary', + did: 'did:plc:h7fwnfejmmifveeea5eyxgkc', + handle: 'visionprofan.bsky.social', + displayName: 'Sammy', avatar: - 'https://cdn.bsky.app/img/avatar/plain/did:plc:p2cp5gopk7mgjegy6wadk3ep/bafkreiaqsy36o6lpbpnonb4n46cvntfs6zoxbav35raix2sxhqgopxcjge@jpeg', - associated: { - chat: { - allowIncoming: 'following', - }, - }, + 'https://cdn.bsky.app/img/avatar/plain/did:plc:h7fwnfejmmifveeea5eyxgkc/bafkreia4fxcfoiny44sc5nujs7fpqxcxustuzepovxpsrq3e5cibcmscz4@jpeg', viewer: { muted: false, blockedBy: false, following: `at://${DID}/app.bsky.graph.follow/post3`, }, + labels: [], createdAt: POST_3_DATE, }, record: { @@ -160,7 +194,7 @@ export const DEMO_FEED = { replyCount: 11, repostCount: 97, likeCount: 399, - quoteCount: 3, + quoteCount: 0, indexedAt: POST_3_DATE, viewer: { threadMuted: false, @@ -173,4 +207,4 @@ export const DEMO_FEED = { } satisfies AppBskyFeedGetFeed.OutputSchema 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' |