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

16 lines
241 B
TypeScript

import { IMeta } from "types";
export interface IUser {
id: number;
attributes: {
username: string;
vanityLink?: string;
image: string;
}
}
export interface IUserResponse {
data: IUser;
meta: IMeta;
}