feat: APIPathGen 도우미

This commit is contained in:
2021-12-28 04:28:26 +09:00
parent 499a2ee472
commit 0660180c53
3 changed files with 80 additions and 3 deletions
+34
View File
@@ -0,0 +1,34 @@
import { APIPathGen } from "./util/APIPathGen";
const apiRealPath = {
Command: {
GetReservedCommand: '',
PushCommand: '',
RepeatCommand: '',
ReserveCommand: '',
},
General: {
Join: '',
},
InheritAction: {
BuyHiddenBuff: '',
BuyRandomUnique: '',
BuySpecificUnique: '',
ResetSpecialWar: '',
ResetTurnTime: '',
SetNextSpecialWar: '',
},
Misc: { UploadImage: '' },
NationCommand: {
GetReservedCommand: '',
PushCommand: '',
RepeatCommand: '',
ReserveCommand: '',
},
Nation: {
SetNotice: '',
SetScoutMsg: '',
},
} as const;
export const APIPath = APIPathGen(apiRealPath);