/admin/content/list 프론트 기능 추가
This commit is contained in:
10
nuxt/types/common/index.ts
Normal file
10
nuxt/types/common/index.ts
Normal file
@@ -0,0 +1,10 @@
|
||||
export type Page<T> = {
|
||||
content: T[];
|
||||
totalElements: number;
|
||||
totalPages: number;
|
||||
};
|
||||
|
||||
export type PagingQuery = {
|
||||
page: number;
|
||||
size: number;
|
||||
};
|
||||
32
nuxt/types/contents/index.ts
Normal file
32
nuxt/types/contents/index.ts
Normal 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
20
nuxt/types/index.ts
Normal 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;
|
||||
};
|
||||
Reference in New Issue
Block a user