From 865fd25af1cb2d9d1fd9752795f36482226d36a7 Mon Sep 17 00:00:00 2001 From: syuilo Date: Sat, 7 Jul 2018 19:01:33 +0900 Subject: [PATCH] Refactorijg --- .../app/common/views/components/reversi.game.vue | 2 +- .../app/common/views/components/reversi.room.vue | 2 +- src/client/app/common/views/components/reversi.vue | 14 +++++++------- src/client/app/desktop/views/pages/reversi.vue | 2 +- src/client/app/mobile/views/pages/reversi.vue | 2 +- src/{ => games}/reversi/core.ts | 4 +++- src/{ => games}/reversi/maps.ts | 0 .../{reversi-game.ts => games/reversi/game.ts} | 4 ++-- .../reversi/matching.ts} | 4 ++-- src/publishers/notify.ts | 2 +- src/renderers/get-notification-summary.ts | 2 +- src/server/api/endpoints.ts | 10 +++++----- .../api/endpoints/{ => games}/reversi/games.ts | 6 +++--- .../endpoints/{ => games}/reversi/games/show.ts | 8 ++++---- .../endpoints/{ => games}/reversi/invitations.ts | 4 ++-- .../api/endpoints/{ => games}/reversi/match.ts | 12 ++++++------ .../endpoints/{ => games}/reversi/match/cancel.ts | 4 ++-- src/server/api/stream/reversi-game.ts | 6 +++--- src/server/api/stream/reversi.ts | 2 +- 19 files changed, 46 insertions(+), 44 deletions(-) rename src/{ => games}/reversi/core.ts (99%) rename src/{ => games}/reversi/maps.ts (100%) rename src/models/{reversi-game.ts => games/reversi/game.ts} (96%) rename src/models/{reversi-matching.ts => games/reversi/matching.ts} (91%) rename src/server/api/endpoints/{ => games}/reversi/games.ts (86%) rename src/server/api/endpoints/{ => games}/reversi/games/show.ts (72%) rename src/server/api/endpoints/{ => games}/reversi/invitations.ts (66%) rename src/server/api/endpoints/{ => games}/reversi/match.ts (82%) rename src/server/api/endpoints/{ => games}/reversi/match/cancel.ts (53%) diff --git a/src/client/app/common/views/components/reversi.game.vue b/src/client/app/common/views/components/reversi.game.vue index a2a6fd0dc..c4dd42dc6 100644 --- a/src/client/app/common/views/components/reversi.game.vue +++ b/src/client/app/common/views/components/reversi.game.vue @@ -58,7 +58,7 @@