fp/packages/next/app/lib/users.ts

16 lines
243 B
TypeScript
Raw Normal View History

2024-01-20 16:16:14 +00:00
import { IMeta } from "./types";
export interface IUser {
id: number;
attributes: {
username: string;
vanityLink?: string;
image: string;
}
}
export interface IUserResponse {
data: IUser;
meta: IMeta;
}