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

16 lines
253 B
TypeScript

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