Type Alias PostListResponseDto
PostListResponseDto: {
nextCursor: string | null;
posts: {
allowFileDownload: boolean;
attachments: {
contentType: string;
fileId: string;
name: string;
preview: {
pageCount: number | null;
pdfUrl: string | null;
reason: string | null;
status:
| "none"
| "pending"
| "ready"
| "failed";
};
size: number;
url: string | null;
}[];
authorName: string | null;
content: string;
createdAt: string;
id: string;
index: number;
isEmergency: boolean;
isPinned: boolean;
publishAt: string | null;
spaceId: string;
spaceName: string;
status: "SCHEDULED" | "PUBLISHED" | "ARCHIVED";
tags: string[];
title: string;
type: "NOTICE" | "GENERAL" | "QUESTION";
}[];
total: number;
}