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

16 lines
241 B
TypeScript
Raw Normal View History

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