ATlast — you'll never need to find your favorites on another platform again. Find your favs in the ATmosphere.
atproto
1export interface SourceUser {
2 username: string;
3 date: string;
4}
5
6export interface AtprotoMatch {
7 did: string;
8 handle: string;
9 displayName?: string;
10 avatar?: string;
11 matchScore: number;
12 description?: string;
13 followStatus?: Record<string, boolean>;
14 postCount?: number;
15 followerCount?: number;
16 foundAt?: string;
17}
18
19export interface SearchResult {
20 sourceUser: SourceUser;
21 atprotoMatches: AtprotoMatch[];
22 isSearching: boolean;
23 error?: string;
24 selectedMatches?: Set<string>;
25 sourcePlatform: string;
26}
27
28export interface SearchProgress {
29 searched: number;
30 found: number;
31 total: number;
32}
33
34export interface BatchSearchResult {
35 username: string;
36 actors: AtprotoMatch[];
37 error?: string;
38}
39
40export interface BatchFollowResult {
41 did: string;
42 success: boolean;
43 alreadyFollowing?: boolean;
44 error: string | null;
45}