56 lines
919 B
TypeScript
56 lines
919 B
TypeScript
![]() |
// AG Grid 관련 공통 타입 정의
|
||
|
|
||
|
export interface ColDef {
|
||
|
headerName: string;
|
||
|
field: string;
|
||
|
width: number;
|
||
|
}
|
||
|
|
||
|
export interface DefaultColDef {
|
||
|
resizable: boolean;
|
||
|
sortable: boolean;
|
||
|
filter: boolean;
|
||
|
minWidth: number;
|
||
|
}
|
||
|
|
||
|
// 로그 관련 타입
|
||
|
export interface LogEntry {
|
||
|
account: string;
|
||
|
datetime: string;
|
||
|
ip: string;
|
||
|
}
|
||
|
|
||
|
// 코드 관련 타입
|
||
|
export interface GroupCode {
|
||
|
groupCode: string;
|
||
|
groupName: string;
|
||
|
useYn: string;
|
||
|
order: number;
|
||
|
}
|
||
|
|
||
|
export interface Code {
|
||
|
code: string;
|
||
|
codeName: string;
|
||
|
codeDetail: string;
|
||
|
parentCode: string;
|
||
|
useYn: string;
|
||
|
order: number;
|
||
|
}
|
||
|
|
||
|
// 프로그램 관련 타입
|
||
|
export interface Program {
|
||
|
parentCode: string;
|
||
|
level: number;
|
||
|
code: string;
|
||
|
name: string;
|
||
|
useYn: boolean;
|
||
|
menuYn: boolean;
|
||
|
apiYn: boolean;
|
||
|
exceptionYn: boolean;
|
||
|
order: number;
|
||
|
uri: string;
|
||
|
field1: string;
|
||
|
field2: string;
|
||
|
field3: string;
|
||
|
}
|