merge: 최종 원격 main을 Vue 드래그 리팩터링에 통합

This commit is contained in:
2026-08-21 02:35:35 +00:00
6 changed files with 387 additions and 5 deletions
@@ -56,7 +56,14 @@ const chiefApi = trpc as unknown as {
};
};
world: {
getMap: { query: () => Promise<CommandMapData> };
getMap: {
query: (input: {
generalId: number;
neutralView?: boolean;
showMe?: boolean;
useCache?: boolean;
}) => Promise<CommandMapData>;
};
getMapLayout: { query: () => Promise<CommandMapLayout> };
};
};
@@ -118,7 +125,7 @@ const loadCommandTable = async (generalId: number) => {
try {
const [nextCommandTable, nextWorldMap, nextMapLayout] = await Promise.all([
chiefApi.turns.getCommandTable.query({ generalId }),
chiefApi.world.getMap.query().catch(() => null),
chiefApi.world.getMap.query({ generalId, showMe: true, useCache: true }).catch(() => null),
chiefApi.world.getMapLayout.query().catch(() => null),
]);
commandTable.value = nextCommandTable;