basic activity feed

This commit is contained in:
Badtz 2025-03-28 14:04:56 -07:00
parent 9a3819293c
commit e30d3da176
4 changed files with 44 additions and 3 deletions

View file

@ -56,3 +56,15 @@ export async function getSessions(rpc: XRPC, did: string) {
});
return records;
}
export async function getActivity(rpc: XRPC, did: string) {
const {
data: { records }
} = await rpc.get('com.atproto.repo.listRecords', {
params: {
repo: did,
collection: 'me.woach.feed.activity'
}
});
return records;
}