18 lines
624 B
TypeScript
18 lines
624 B
TypeScript
import type { TwitterClient } from '../src/lib/twitter-client.js';
|
|
|
|
export const testRelayBaseUrl = 'https://relay.example';
|
|
|
|
export type TwitterClientPrivate = TwitterClient & {
|
|
getCurrentUser: () => Promise<{
|
|
success: boolean;
|
|
user?: { id: string; username: string; name: string };
|
|
error?: string;
|
|
}>;
|
|
getLikesQueryIds: () => Promise<string[]>;
|
|
getListsManagementQueryIds: () => Promise<string[]>;
|
|
getListTimelineQueryIds: () => Promise<string[]>;
|
|
getListOwnershipsQueryIds: () => Promise<string[]>;
|
|
getListMembershipsQueryIds: () => Promise<string[]>;
|
|
refreshQueryIds: () => Promise<void>;
|
|
};
|