2022-12-08 14:31:51 +00:00
|
|
|
import { TwitterPublicMetrics } from "../pages/api/twitter-auth-info";
|
|
|
|
|
2022-12-05 11:01:24 +00:00
|
|
|
export interface TwitterAuthUrlResponse {
|
|
|
|
authUrl: string;
|
|
|
|
}
|
|
|
|
|
|
|
|
export interface TwitterAuthInfoResponse {
|
|
|
|
accessToken: string;
|
2022-12-05 11:48:09 +00:00
|
|
|
id: string;
|
2022-12-08 14:31:51 +00:00
|
|
|
name: string;
|
2022-12-05 11:48:09 +00:00
|
|
|
username: string;
|
2022-12-08 14:31:51 +00:00
|
|
|
profile_image_url: string;
|
|
|
|
description: string;
|
|
|
|
public_metrics: TwitterPublicMetrics;
|
2022-12-05 11:01:24 +00:00
|
|
|
}
|
2022-12-05 14:16:02 +00:00
|
|
|
|
2022-12-05 15:02:30 +00:00
|
|
|
export interface IcnsVerificationResponse {
|
2022-12-05 14:16:02 +00:00
|
|
|
signature: number[];
|
|
|
|
algorithm: string;
|
|
|
|
}
|