Files
bird/tests/twitter-client-fixtures.ts
yuta 45657a171e
CI / test (push) Successful in 10m5s
Publish npm package / publish (push) Successful in 9m53s
fix lists queries and authenticated list reading
2026-07-26 12:34:53 +09:00

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>;
};