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

Merged
Hide_D merged 61 commits from ng_main into devel 2023-03-09 02:25:31 +09:00
2 changed files with 7 additions and 1 deletions
Showing only changes of commit db428e5b0d - Show all commits
+5 -1
View File
@@ -94,11 +94,15 @@ class GetNationInfo extends \sammo\BaseAPI
$troopName[$troopID] = $tName;
}
return [
$result = [
'result' => true,
'isFull' => $isFull,
'nation' => $nation,
'impossibleStrategicCommandLists' => $impossibleStrategicCommandLists,
'nationNotice' => $nationStor->nationNotice,
'troops' => $troopName,
];
return $result;
}
}
+2
View File
@@ -156,6 +156,8 @@ export type NationInfoResponse =
})
| (ValidResponse & {
nation: NationItem;
isFull: true,
impossibleStrategicCommandLists: [string, number][];
nationNotice: string,
troops: Record<number, string>;
});