feat: Vue3로 새롭게 작성한 메인 페이지 (#229)

- v_front.php
- API 추가
  - General/GetFrontInfo
  - Global/GetGlobalMenu
- DTO 추가
  - MenuItem, MenuMulti, MenuSplit
- 글로벌 메뉴 출력 방식 변경
  - d_setting/GlobalMenu.php

Reviewed-on: https://storage.hided.net/gitea/devsam/core/pulls/229
This commit was merged in pull request #229.
This commit is contained in:
2023-03-09 02:25:31 +09:00
parent 4ba9468fae
commit 6f5d7ff84b
35 changed files with 4260 additions and 127 deletions
+16 -5
View File
@@ -150,12 +150,23 @@ export type LiteNationInfoResponse = ValidResponse & {
nation: NationStaticItem;
};
export type NationInfoFull = ValidResponse & {
nation: NationItem;
isFull: true,
impossibleStrategicCommandLists: [string, number][];
troops: Record<number, string>;
}
export type NationNotice = {
date: string,
msg: string,
author: string,
authorID: number,
}
export type NationInfoResponse =
| (ValidResponse & {
nation: NationStaticItem;
isFull?: false;
})
| (ValidResponse & {
nation: NationItem;
impossibleStrategicCommandLists: [string, number][];
troops: Record<number, string>;
});
| NationInfoFull;