rsshub
Version:
Make RSS Great Again!
46 lines (42 loc) • 835 B
text/typescript
export interface UserNextData {
pageProps: {
user: {
id: string;
name: string;
slug: string;
photo: string;
};
};
}
export interface PortfolioResponse {
data: {
url: string;
postId: string;
imageNum: number;
}[];
}
export interface PortfolioDetailResponse {
data: {
createdAt: string;
images: {
src: string;
isCoverImg: boolean;
}[];
title: string;
content: string;
};
}
export interface PostsResponse {
data: {
name: string;
photo: string;
createdAt: string;
images: {
src: string;
isCoverImg: boolean;
}[];
id: string;
title: string;
content: string;
}[];
}