Delete unused fake data, update bottom bar avi
This commit is contained in:
+3
-203
@@ -1,5 +1,5 @@
|
|||||||
import {type AppBskyFeedGetFeed} from '@atproto/api'
|
import {type AppBskyFeedGetFeed} from '@atproto/api'
|
||||||
import {subDays,subMinutes} from 'date-fns'
|
import {subDays, subMinutes} from 'date-fns'
|
||||||
|
|
||||||
const DID = `did:plc:z72i7hdynmk6r22z27h6tvur`
|
const DID = `did:plc:z72i7hdynmk6r22z27h6tvur`
|
||||||
const NOW = new Date()
|
const NOW = new Date()
|
||||||
@@ -169,208 +169,8 @@ export const DEMO_FEED = {
|
|||||||
labels: [],
|
labels: [],
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
/*
|
|
||||||
{
|
|
||||||
post: {
|
|
||||||
uri: 'at://did:plc:5o6k7jvowuyaquloafzn3cfw/app.bsky.feed.post/3lng6lkuhxc2s',
|
|
||||||
cid: 'bafyreifwapmjx76kz5lkoeejfoes4ct2xhyycfyxwccmyr3mtxht5juyli',
|
|
||||||
author: {
|
|
||||||
did: 'did:plc:5o6k7jvowuyaquloafzn3cfw',
|
|
||||||
handle: 'johndoe.org',
|
|
||||||
displayName: 'John Doe',
|
|
||||||
avatar:
|
|
||||||
'https://cdn.bsky.app/img/avatar/plain/did:plc:5o6k7jvowuyaquloafzn3cfw/bafkreierrwtdsf5quwprs2xqmmh2lu2k7au2cibyegfpard6wqyjs7nd6i@jpeg',
|
|
||||||
|
|
||||||
viewer: {
|
|
||||||
muted: false,
|
|
||||||
blockedBy: false,
|
|
||||||
following:
|
|
||||||
'at://did:plc:p2cp5gopk7mgjegy6wadk3ep/app.bsky.graph.follow/3kcvvfzq6o32a',
|
|
||||||
followedBy:
|
|
||||||
'at://did:plc:vwzwgnygau7ed7b7wt5ux7y2/app.bsky.graph.follow/3jwawchotz22h',
|
|
||||||
},
|
|
||||||
labels: [],
|
|
||||||
createdAt: '2023-05-16T02:37:39.269Z',
|
|
||||||
},
|
|
||||||
record: {
|
|
||||||
$type: 'app.bsky.feed.post',
|
|
||||||
createdAt: '2025-04-22T17:15:53.178Z',
|
|
||||||
langs: ['en'],
|
|
||||||
text: "I'm running out of ideas for these fake posts. Alas, such is the demands of modern life. Do you like blueberries? Just remembered that blueberries are delicious! They're so tasty! I can't wait to try them!",
|
|
||||||
},
|
|
||||||
replyCount: 13,
|
|
||||||
repostCount: 121,
|
|
||||||
likeCount: 345,
|
|
||||||
quoteCount: 6,
|
|
||||||
indexedAt: '2025-04-22T17:15:53.351Z',
|
|
||||||
viewer: {
|
|
||||||
threadMuted: false,
|
|
||||||
embeddingDisabled: false,
|
|
||||||
},
|
|
||||||
labels: [],
|
|
||||||
},
|
|
||||||
},
|
|
||||||
{
|
|
||||||
post: {
|
|
||||||
uri: 'at://did:plc:5ywatwbfxoecxgb4xq6ods72/app.bsky.feed.post/3lng5w2fbvs2g',
|
|
||||||
cid: 'bafyreigi7d57fudzoybe4u6w7friw6ydz3pmzrdu3bvjwb5mvsvlprk23y',
|
|
||||||
author: {
|
|
||||||
did: 'did:plc:5ywatwbfxoecxgb4xq6ods72',
|
|
||||||
handle: 'cooking.bsky.social',
|
|
||||||
displayName: 'cooking tips',
|
|
||||||
avatar:
|
|
||||||
'https://cdn.bsky.app/img/avatar/plain/did:plc:5ywatwbfxoecxgb4xq6ods72/bafkreibbsuyy25elibbys5vx25cnkcs6g4ih6dozypa4bomwhkwsi6f5wa@jpeg',
|
|
||||||
|
|
||||||
viewer: {
|
|
||||||
muted: false,
|
|
||||||
blockedBy: false,
|
|
||||||
following:
|
|
||||||
'at://did:plc:p2cp5gopk7mgjegy6wadk3ep/app.bsky.graph.follow/3kcvvfzq6o32a',
|
|
||||||
followedBy:
|
|
||||||
'at://did:plc:vwzwgnygau7ed7b7wt5ux7y2/app.bsky.graph.follow/3jwawchotz22h',
|
|
||||||
},
|
|
||||||
labels: [],
|
|
||||||
createdAt: '2024-05-28T00:18:08.531Z',
|
|
||||||
},
|
|
||||||
record: {
|
|
||||||
$type: 'app.bsky.feed.post',
|
|
||||||
createdAt: '2025-04-22T17:03:51.259Z',
|
|
||||||
langs: ['en'],
|
|
||||||
text: 'and another thing. I have more things to say. I think. I forget :/',
|
|
||||||
},
|
|
||||||
replyCount: 1,
|
|
||||||
repostCount: 4,
|
|
||||||
likeCount: 20,
|
|
||||||
quoteCount: 0,
|
|
||||||
indexedAt: '2025-04-22T17:03:52.050Z',
|
|
||||||
viewer: {
|
|
||||||
threadMuted: false,
|
|
||||||
embeddingDisabled: false,
|
|
||||||
},
|
|
||||||
labels: [],
|
|
||||||
},
|
|
||||||
},
|
|
||||||
{
|
|
||||||
post: {
|
|
||||||
uri: 'at://did:plc:fpruhuo22xkm5o7ttr2ktxdo/app.bsky.feed.post/3lng5izl7kc2c',
|
|
||||||
cid: 'bafyreicsich65s4rq526rek5jmvd6djtcmr7kdavw26rrnf424awgvia7i',
|
|
||||||
author: {
|
|
||||||
did: 'did:plc:fpruhuo22xkm5o7ttr2ktxdo',
|
|
||||||
handle: 'danabra.mov',
|
|
||||||
displayName: 'dan',
|
|
||||||
avatar:
|
|
||||||
'https://cdn.bsky.app/img/avatar/plain/did:plc:fpruhuo22xkm5o7ttr2ktxdo/bafkreif43mhqajnbnl62u3ezf37g6x22nd762im54thxbil4ga46eugcga@jpeg',
|
|
||||||
associated: {
|
|
||||||
chat: {
|
|
||||||
allowIncoming: 'all',
|
|
||||||
},
|
|
||||||
},
|
|
||||||
viewer: {
|
|
||||||
muted: false,
|
|
||||||
blockedBy: false,
|
|
||||||
following:
|
|
||||||
'at://did:plc:p2cp5gopk7mgjegy6wadk3ep/app.bsky.graph.follow/3jtdzgbbysa2y',
|
|
||||||
followedBy:
|
|
||||||
'at://did:plc:fpruhuo22xkm5o7ttr2ktxdo/app.bsky.graph.follow/3k7ht6lwu6t2a',
|
|
||||||
},
|
|
||||||
labels: [],
|
|
||||||
createdAt: '2023-04-08T20:19:22.589Z',
|
|
||||||
verification: {
|
|
||||||
verifications: [
|
|
||||||
{
|
|
||||||
issuer: 'did:plc:z72i7hdynmk6r22z27h6tvur',
|
|
||||||
uri: 'at://did:plc:z72i7hdynmk6r22z27h6tvur/app.bsky.graph.verification/3lndpxompy32z',
|
|
||||||
isValid: true,
|
|
||||||
createdAt: '2025-04-21T10:48:53.876Z',
|
|
||||||
},
|
|
||||||
],
|
|
||||||
verifiedStatus: 'valid',
|
|
||||||
trustedVerifierStatus: 'none',
|
|
||||||
},
|
|
||||||
},
|
|
||||||
record: {
|
|
||||||
$type: 'app.bsky.feed.post',
|
|
||||||
createdAt: '2025-04-22T16:56:34.198Z',
|
|
||||||
langs: ['en'],
|
|
||||||
text: 'maybe i should write something about vercel at some point',
|
|
||||||
},
|
|
||||||
replyCount: 10,
|
|
||||||
repostCount: 1,
|
|
||||||
likeCount: 84,
|
|
||||||
quoteCount: 1,
|
|
||||||
indexedAt: '2025-04-22T16:56:34.356Z',
|
|
||||||
viewer: {
|
|
||||||
threadMuted: false,
|
|
||||||
replyDisabled: false,
|
|
||||||
embeddingDisabled: false,
|
|
||||||
},
|
|
||||||
labels: [],
|
|
||||||
threadgate: {
|
|
||||||
uri: 'at://did:plc:fpruhuo22xkm5o7ttr2ktxdo/app.bsky.feed.threadgate/3lng5izl7kc2c',
|
|
||||||
cid: 'bafyreic4wpsh5wrmjvbngt7som5436xzjhdnld3mxnkzyhj2i4vh6lpefa',
|
|
||||||
record: {
|
|
||||||
$type: 'app.bsky.feed.threadgate',
|
|
||||||
allow: [
|
|
||||||
{
|
|
||||||
$type: 'app.bsky.feed.threadgate#followerRule',
|
|
||||||
},
|
|
||||||
{
|
|
||||||
$type: 'app.bsky.feed.threadgate#followingRule',
|
|
||||||
},
|
|
||||||
{
|
|
||||||
$type: 'app.bsky.feed.threadgate#mentionRule',
|
|
||||||
},
|
|
||||||
],
|
|
||||||
createdAt: '2025-04-22T16:56:34.200Z',
|
|
||||||
hiddenReplies: [],
|
|
||||||
post: 'at://did:plc:fpruhuo22xkm5o7ttr2ktxdo/app.bsky.feed.post/3lng5izl7kc2c',
|
|
||||||
},
|
|
||||||
lists: [],
|
|
||||||
},
|
|
||||||
},
|
|
||||||
},
|
|
||||||
{
|
|
||||||
post: {
|
|
||||||
uri: 'at://did:plc:77tdak46psveqneyegsdyc7l/app.bsky.feed.post/3lnft75ivlc27',
|
|
||||||
cid: 'bafyreic24reeweaymcfe6hdsuhmffazdpa5hoqyculxrdp2sr7xkoehgay',
|
|
||||||
author: {
|
|
||||||
did: 'did:plc:77tdak46psveqneyegsdyc7l',
|
|
||||||
handle: 'werd.io',
|
|
||||||
displayName: 'Ben Werdmuller',
|
|
||||||
avatar:
|
|
||||||
'https://cdn.bsky.app/img/avatar/plain/did:plc:77tdak46psveqneyegsdyc7l/bafkreicoqtayuefjlw73nrx4c7sioc3ujq74uisgbh4ddmuamevjwzt4fu@jpeg',
|
|
||||||
associated: {
|
|
||||||
chat: {
|
|
||||||
allowIncoming: 'following',
|
|
||||||
},
|
|
||||||
},
|
|
||||||
viewer: {
|
|
||||||
muted: false,
|
|
||||||
blockedBy: false,
|
|
||||||
},
|
|
||||||
labels: [],
|
|
||||||
createdAt: '2023-03-07T15:40:54.229Z',
|
|
||||||
},
|
|
||||||
record: {
|
|
||||||
$type: 'app.bsky.feed.post',
|
|
||||||
createdAt: '2025-04-22T13:52:05.353Z',
|
|
||||||
langs: ['en'],
|
|
||||||
text: 'This is obvious, but if people broadly rely on a black box to give them answers that help them understand the world, whoever controls the black box controls those answers and therefore the understanding that comes from them.\n\nOpenness is safety.',
|
|
||||||
},
|
|
||||||
replyCount: 10,
|
|
||||||
repostCount: 84,
|
|
||||||
likeCount: 432,
|
|
||||||
quoteCount: 2,
|
|
||||||
indexedAt: '2025-04-22T13:52:05.755Z',
|
|
||||||
viewer: {
|
|
||||||
threadMuted: false,
|
|
||||||
embeddingDisabled: false,
|
|
||||||
},
|
|
||||||
labels: [],
|
|
||||||
},
|
|
||||||
},
|
|
||||||
*/
|
|
||||||
],
|
],
|
||||||
} satisfies AppBskyFeedGetFeed.OutputSchema
|
} satisfies AppBskyFeedGetFeed.OutputSchema
|
||||||
|
|
||||||
export const BOTTOM_BAR_AVI = 'https://bsky.social/about/hero-social-card.webp'
|
export const BOTTOM_BAR_AVI =
|
||||||
|
'https://cdn.bsky.app/img/avatar/plain/did:plc:3jpt2mvvsumj2r7eqk4gzzjz/bafkreibrhptgequemf4anrjxgbf5lpgo6szvjobjcxyvt76ui7jtvebrfa@jpeg'
|
||||||
|
|||||||
Reference in New Issue
Block a user