Something went wrong. Try again.
Mirror — see github.com/blacksky-algorithms/blacksky.community
Something went wrong. Try again.
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203import {type AppBskyFeedGetFeed} from '@atproto/api'import {subDays, subMinutes} from 'date-fns'
const DID = `did:plc:z72i7hdynmk6r22z27h6tvur`const NOW = new Date()const POST_1_DATE = subMinutes(NOW, 2).toISOString()const POST_2_DATE = subMinutes(NOW, 4).toISOString()const POST_3_DATE = subMinutes(NOW, 5).toISOString()
export const DEMO_FEED = { feed: [ { post: { uri: 'at://did:plc:pvooorihapc2lf2pijehgrdf/app.bsky.feed.post/3lniysofyll2d', cid: 'bafyreihwh3wxxme732ylbylhhdyz7ex6t4jtu6s3gjxxvnnh4feddhg3ku', author: { did: 'did:plc:pvooorihapc2lf2pijehgrdf', handle: 'forkedriverband.bsky.social', displayName: 'Forked River Band', avatar: 'https://bsky.social/about/adi/post_1_avi.jpg', viewer: { muted: false, blockedBy: false, following: `at://${DID}/app.bsky.graph.follow/post1`, }, labels: [], createdAt: POST_1_DATE, verification: { verifications: [ { issuer: DID, uri: `at://${DID}/app.bsky.graph.verification/post1`, isValid: true, createdAt: subDays(NOW, 11).toISOString(), }, ], verifiedStatus: 'valid', 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 bluegrass tunes at Sebastopol Solstice Fest on June 20th.', }, 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: 'Fake flier for Sebastapol Bluegrass Fest', aspectRatio: { height: 1350, width: 900, }, }, ], }, replyCount: 1, repostCount: 4, likeCount: 18, quoteCount: 0, indexedAt: POST_1_DATE, viewer: { threadMuted: false, embeddingDisabled: false, }, labels: [], }, }, { post: { uri: 'at://did:plc:fhhqii56ppgyh5qcm2b3mokf/app.bsky.feed.post/3lnizc7fug52c', cid: 'bafyreienuabsr55rycirdf4ewue5tjcseg5lzqompcsh2brqzag6hvxllm', author: { did: 'did:plc:fhhqii56ppgyh5qcm2b3mokf', handle: 'dinh-designs.bsky.social', displayName: 'Rich Dinh Designs', avatar: 'https://bsky.social/about/adi/post_2_avi.jpg', viewer: { muted: false, blockedBy: false, following: `at://${DID}/app.bsky.graph.follow/post2`, }, 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: 'Placeholder image of interior design', aspectRatio: { height: 872, width: 598, }, }, ], }, replyCount: 3, repostCount: 1, likeCount: 4, quoteCount: 0, indexedAt: POST_2_DATE, viewer: { threadMuted: false, embeddingDisabled: false, }, labels: [], }, }, { post: { uri: 'at://did:plc:h7fwnfejmmifveeea5eyxgkc/app.bsky.feed.post/3lnizna3g4f2t', cid: 'bafyreiepn7obmlshliori4j34texpaukrqkyyu7cq6nmpzk4lkis7nqeae', author: { did: 'did:plc:h7fwnfejmmifveeea5eyxgkc', handle: 'rodyalbuerne.bsky.social', displayName: 'Rody Albuerne', avatar: 'https://bsky.social/about/adi/post_3_avi.jpg', viewer: { muted: false, blockedBy: false, following: `at://${DID}/app.bsky.graph.follow/post3`, }, labels: [], createdAt: POST_3_DATE, }, record: { $type: 'app.bsky.feed.post', createdAt: POST_3_DATE, langs: ['en'], text: 'Tinkering with the basics of traditional wooden joinery in my shop lately. Starting small with this ox, made using simple mortise and tenon joints.', }, replyCount: 11, repostCount: 97, likeCount: 399, quoteCount: 0, indexedAt: POST_3_DATE, viewer: { threadMuted: false, embeddingDisabled: false, }, labels: [], }, }, ],} satisfies AppBskyFeedGetFeed.OutputSchema
export const BOTTOM_BAR_AVI = 'https://bsky.social/about/adi/user_avi.jpg'