import { authType } from './types';

export const menuConfig = {
	usermanage: {
		title: '운영자 관리',
		items: {
			adminview: {
				title: '운영자 조회',
				permissions: {
					read: authType.adminSearchRead,
					confirm: authType.adminSearchConfirm,
					update: authType.adminSearchUpdate,
					delete: authType.adminSearchDelete
				}
			},
			logview: {
				title: '사용 이력 조회',
				permissions: {
					read: authType.adminLogSearchRead
				}
			},
			authsetting: {
				title: '권한 설정',
				permissions: {
					read: authType.authoritySettingRead,
					update: authType.authoritySettingUpdate,
					delete: authType.authoritySettingDelete
				}
			},
			caliumrequest: {
				title: '칼리움 요청',
				permissions: {
					read: authType.caliumRequestRead,
					update: authType.caliumRequestUpdate
				}
			}
		}
	},
	indexmanage: {
		title: '지표 관리',
		items: {
			userindex: {
				title: '유저 지표',
				permissions: {
					read: authType.userIndicatorsRead
				}
			},
			economicindex: {
				title: '경제 지표',
				permissions: {
					read: authType.economicIndicatorsRead
				}
			}
		}
	},
	datamanage: {
		title: '운영 정보 관리',
		items: {
			userview: {
				title: '유저 조회',
				permissions: {
					read: authType.userSearchRead,
					update: authType.userSearchUpdate,
					delete: authType.userSearchDelete
				}
			},
			landview: {
				title: '랜드 정보 조회',
				permissions: {
					read: authType.landRead,
					update: authType.landUpdate,
					delete: authType.landDelete
				}
			},
			gamelogview: {
				title: '게임 로그 조회',
				permissions: {
					read: authType.gameLogRead
				}
			},
			cryptview: {
				title: '크립토 조회',
				permissions: {
					read: authType.cryptoRead
				}
			}
		}
	},
	servicemanage: {
		title: '운영 서비스 관리',
		items: {
			board: {
				title: '인게임 메시지',
				permissions: {
					read: authType.inGameRead,
					update: authType.inGameUpdate,
					delete: authType.inGameDelete
				}
			},
			mail: {
				title: '우편',
				permissions: {
					read: authType.mailRead,
					update: authType.mailUpdate,
					delete: authType.mailDelete
				}
			},
			userblock: {
				title: '이용자 제재',
				permissions: {
					read: authType.blackListRead,
					update: authType.blackListUpdate,
					delete: authType.blackListDelete
				}
			},
			reportlist: {
				title: '신고내역',
				permissions: {
					read: authType.reportRead,
					update: authType.reportUpdate,
					delete: authType.reportDelete
				}
			},
			event: {
				title: '보상 이벤트 관리',
				permissions: {
					read: authType.eventRead,
					update: authType.eventUpdate,
					delete: authType.eventDelete
				}
			},
			landauction: {
				title: '랜드 경매 관리',
				permissions: {
					read: authType.landAuctionRead,
					update: authType.landAuctionUpdate,
					delete: authType.landAuctionDelete
				}
			},
			battleevent: {
				title: '전투시스템 타입 스케줄러',
				permissions: {
					read: authType.battleEventRead,
					update: authType.battleEventUpdate,
					delete: authType.battleEventDelete
				}
			},
		}
	}
};