/admin/content/list 프론트 기능 추가

This commit is contained in:
이진기
2024-11-26 14:46:19 +09:00
parent 505a3e5101
commit dae8e6d3a7
10 changed files with 644 additions and 9 deletions

View File

@@ -0,0 +1,10 @@
export type Page<T> = {
content: T[];
totalElements: number;
totalPages: number;
};
export type PagingQuery = {
page: number;
size: number;
};

View File

@@ -0,0 +1,32 @@
export type ContentListQueryType = {
page: number;
size: number;
siteId: string;
orgId: string;
keyword: string;
type: '' | 'TITLE' | 'CONTENT';
};
export type ContentListType = {
contentId: number;
contentTitle: string;
useYn: boolean;
frstRgtrId: string;
frstRegDt: string;
lastMdfrId: string;
lastMdfcnDt: string;
};
export type ContentType = {
contentId?: number;
siteId: string;
orgId: string;
contentTitle: string;
contents: string;
contentPlain: string;
useYn: boolean;
frstRgtrId: string;
frstRegDt: string;
lastMdfrId: string;
lastMdfcnDt: string;
};

20
nuxt/types/index.ts Normal file
View File

@@ -0,0 +1,20 @@
export type PagingQueryType = {
page: number;
size: number;
};
export type GridCodeType = {
label?: string;
text?: string;
value: string;
};
export type FileInfoType = {
fileId: number;
fileOriginalName: string;
filePath: string;
fileMimeType: string;
fileSize: number;
fileAltText: string;
fileDownloadCount: number;
};