diff --git a/src/apis/httpClient/httpClient.ts b/src/apis/httpClient/httpClient.ts index 423eb18e..34ef9092 100644 --- a/src/apis/httpClient/httpClient.ts +++ b/src/apis/httpClient/httpClient.ts @@ -1,6 +1,6 @@ import axios, { AxiosInstance, AxiosRequestConfig } from "axios"; import { requestInterceptors, responseInterceptors } from "@/apis/interceptor"; -import { ERROR, TOKEN } from "@/constants/"; +import { ERROR, TOKEN } from "@/constants"; import Storage from "../storage"; import { refresh } from "../token"; diff --git a/src/apis/storage/index.ts b/src/apis/storage/index.ts index cab8d660..7d839466 100644 --- a/src/apis/storage/index.ts +++ b/src/apis/storage/index.ts @@ -1,4 +1,4 @@ -import { StorageSettingKey, StorageTokenKey } from "@/types/"; +import { StorageSettingKey, StorageTokenKey } from "@/types"; type StorageKey = StorageSettingKey | StorageTokenKey; diff --git a/src/apis/token/refresh.ts b/src/apis/token/refresh.ts index e0ca70c0..97a43b99 100644 --- a/src/apis/token/refresh.ts +++ b/src/apis/token/refresh.ts @@ -1,4 +1,4 @@ -import { TOKEN } from "@/constants/"; +import { TOKEN } from "@/constants"; import Storage from "@/apis/storage"; import axios from "axios"; diff --git a/src/app/applications/page.tsx b/src/app/applications/page.tsx index f2d4c5d3..f4c8b91e 100644 --- a/src/app/applications/page.tsx +++ b/src/app/applications/page.tsx @@ -1,6 +1,6 @@ "use client"; -import ApplicationsPage from "@/page/applications"; +import ApplicationsPage from "@/templates/applications"; import React from "react"; const Applications = () => { diff --git a/src/app/bamboo/page.tsx b/src/app/bamboo/page.tsx index 0bbe4a5d..8771524b 100644 --- a/src/app/bamboo/page.tsx +++ b/src/app/bamboo/page.tsx @@ -1,6 +1,6 @@ "use client"; -import BambooPage from "@/page/bamboo"; +import BambooPage from "@/templates/bamboo"; const Bamboo = () => { return ; diff --git a/src/app/calender/page.tsx b/src/app/calender/page.tsx index 2b68f714..194e16a9 100644 --- a/src/app/calender/page.tsx +++ b/src/app/calender/page.tsx @@ -1,6 +1,6 @@ "use client"; -import CalenderPage from "@/page/calender"; +import CalenderPage from "@/templates/calender"; const Calender = () => { return ; diff --git a/src/app/domitory/page.tsx b/src/app/domitory/page.tsx index c3bcfd1f..15057acc 100644 --- a/src/app/domitory/page.tsx +++ b/src/app/domitory/page.tsx @@ -1,6 +1,6 @@ "use client"; -import DomitoryPage from "@/page/domitory"; +import DomitoryPage from "@/templates/domitory"; const Domitory = () => { return ; diff --git a/src/app/meal/page.tsx b/src/app/meal/page.tsx index 3b853a84..02220cc3 100644 --- a/src/app/meal/page.tsx +++ b/src/app/meal/page.tsx @@ -1,6 +1,6 @@ "use client"; -import MealPage from "@/page/meal"; +import MealPage from "@/templates/meal"; import React from "react"; const Meal = () => { diff --git a/src/app/meister/page.tsx b/src/app/meister/page.tsx index d6efe6fd..c0fc0cbd 100644 --- a/src/app/meister/page.tsx +++ b/src/app/meister/page.tsx @@ -1,6 +1,6 @@ "use client"; -import MeisterPage from "@/page/meister"; +import MeisterPage from "@/templates/meister"; const Meister = () => { return ; diff --git a/src/app/oauth/page.tsx b/src/app/oauth/page.tsx index df61069a..613a7cc0 100644 --- a/src/app/oauth/page.tsx +++ b/src/app/oauth/page.tsx @@ -1,6 +1,6 @@ "use client"; -import OAuthPage from "@/page/oauth"; +import OAuthPage from "@/templates/oauth"; const OAuth = () => { return ; diff --git a/src/app/page.tsx b/src/app/page.tsx index 77cfff68..a979ff4f 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -1,6 +1,6 @@ "use client"; -import HomePage from "@/page/home"; +import HomePage from "@/templates/home"; const Home = () => { return ; diff --git a/src/app/post/[id]/page.tsx b/src/app/post/[id]/page.tsx index da602bf0..f5727929 100644 --- a/src/app/post/[id]/page.tsx +++ b/src/app/post/[id]/page.tsx @@ -1,6 +1,6 @@ "use client"; -import PostPage from "@/page/forum-post"; +import PostPage from "@/templates/forum-post"; interface IPostAppPageParams { params: { diff --git a/src/app/post/[id]/update/page.tsx b/src/app/post/[id]/update/page.tsx index 41f70d27..fc365083 100644 --- a/src/app/post/[id]/update/page.tsx +++ b/src/app/post/[id]/update/page.tsx @@ -1,6 +1,6 @@ "use client"; -import UpdatePage from "@/page/forum-edit"; +import UpdatePage from "@/templates/forum-edit"; interface IPostUpdateAppPageParams { params: { diff --git a/src/app/post/page.tsx b/src/app/post/page.tsx index 6d3b9d0b..3d98905c 100644 --- a/src/app/post/page.tsx +++ b/src/app/post/page.tsx @@ -1,6 +1,6 @@ "use client"; -import ForumPage from "@/page/forum"; +import ForumPage from "@/templates/forum"; const Post = () => { return ; diff --git a/src/app/post/write/page.tsx b/src/app/post/write/page.tsx index f8872888..4d5da580 100644 --- a/src/app/post/write/page.tsx +++ b/src/app/post/write/page.tsx @@ -1,6 +1,6 @@ "use client"; -import WritePage from "@/page/forum-write"; +import WritePage from "@/templates/forum-write"; const Write = () => { return ; diff --git a/src/app/reserve/page.tsx b/src/app/reserve/page.tsx index 9c8be40f..79b78fb5 100644 --- a/src/app/reserve/page.tsx +++ b/src/app/reserve/page.tsx @@ -1,6 +1,6 @@ "use client"; -import ReservePage from "@/page/reserve"; +import ReservePage from "@/templates/reserve"; const Reserve = () => { return ; diff --git a/src/app/timetable/page.tsx b/src/app/timetable/page.tsx index f690aaab..983a3677 100644 --- a/src/app/timetable/page.tsx +++ b/src/app/timetable/page.tsx @@ -1,6 +1,6 @@ "use client"; -import TimeTablePage from "@/page/timetable"; +import TimeTablePage from "@/templates/timetable"; const TimeTable = () => { return ; diff --git a/src/components/common/Modal/BambooCreateModal/index.tsx b/src/components/common/Modal/BambooCreateModal/index.tsx index 0e617581..8b81084b 100644 --- a/src/components/common/Modal/BambooCreateModal/index.tsx +++ b/src/components/common/Modal/BambooCreateModal/index.tsx @@ -1,7 +1,7 @@ import { XIcon } from "@/assets/icons"; import { Button } from "@/components/atoms"; import useModal from "@/hooks/useModal"; -import { useCreateBambooMutation } from "@/page/bamboo/services/mutation.service"; +import { useCreateBambooMutation } from "@/templates/bamboo/services/mutation.service"; import { color, flex, font } from "@/styles"; import React from "react"; import styled from "styled-components"; diff --git a/src/components/common/Modal/BambooManageModal/BambooManagePostListItem.tsx b/src/components/common/Modal/BambooManageModal/BambooManagePostListItem.tsx index 0bed7f56..073f777e 100644 --- a/src/components/common/Modal/BambooManageModal/BambooManagePostListItem.tsx +++ b/src/components/common/Modal/BambooManageModal/BambooManagePostListItem.tsx @@ -2,7 +2,7 @@ import { Row } from "@/components/Flex"; import Button from "@/components/atoms/Button"; import useDate from "@/hooks/useDate"; import IBambooPendingPost from "@/interfaces/bambooPendingPost.interface"; -import { useAllowBambooMutation } from "@/page/bamboo/services/mutation.service"; +import { useAllowBambooMutation } from "@/templates/bamboo/services/mutation.service"; import { color, flex, font } from "@/styles"; import React from "react"; import styled from "styled-components"; diff --git a/src/components/common/Modal/BambooManageModal/index.tsx b/src/components/common/Modal/BambooManageModal/index.tsx index d2e429d0..8779214e 100644 --- a/src/components/common/Modal/BambooManageModal/index.tsx +++ b/src/components/common/Modal/BambooManageModal/index.tsx @@ -1,7 +1,7 @@ import { color, flex, font } from "@/styles"; import React from "react"; import styled from "styled-components"; -import { useBambooPendingListQuery } from "@/page/bamboo/services/query.service"; +import { useBambooPendingListQuery } from "@/templates/bamboo/services/query.service"; import BambooHeader from "./BambooHeader"; import BambooManagePostListItem from "./BambooManagePostListItem"; diff --git a/src/components/common/Modal/PlanAddModal/index.tsx b/src/components/common/Modal/PlanAddModal/index.tsx index 33e44ff0..96bceeac 100644 --- a/src/components/common/Modal/PlanAddModal/index.tsx +++ b/src/components/common/Modal/PlanAddModal/index.tsx @@ -3,7 +3,7 @@ import { Column } from "@/components/Flex"; import { Button, Input, Select } from "@/components/atoms"; import useModal from "@/hooks/useModal"; import useUser from "@/hooks/useUser"; -import { useAddCalenderPlanMutation } from "@/page/calender/services/mutation.service"; +import { useAddCalenderPlanMutation } from "@/templates/calender/services/mutation.service"; import { color, flex, font } from "@/styles"; import React from "react"; import styled from "styled-components"; diff --git a/src/gql/post/data.ts b/src/graphql/post/data.ts similarity index 100% rename from src/gql/post/data.ts rename to src/graphql/post/data.ts diff --git a/src/gql/post/queries.ts b/src/graphql/post/queries.ts similarity index 100% rename from src/gql/post/queries.ts rename to src/graphql/post/queries.ts diff --git a/src/page/applications/index.tsx b/src/templates/applications/index.tsx similarity index 100% rename from src/page/applications/index.tsx rename to src/templates/applications/index.tsx diff --git a/src/page/applications/layouts/AppList.tsx b/src/templates/applications/layouts/AppList.tsx similarity index 100% rename from src/page/applications/layouts/AppList.tsx rename to src/templates/applications/layouts/AppList.tsx diff --git a/src/page/applications/layouts/AppListItem.tsx b/src/templates/applications/layouts/AppListItem.tsx similarity index 100% rename from src/page/applications/layouts/AppListItem.tsx rename to src/templates/applications/layouts/AppListItem.tsx diff --git a/src/page/bamboo/index.tsx b/src/templates/bamboo/index.tsx similarity index 100% rename from src/page/bamboo/index.tsx rename to src/templates/bamboo/index.tsx index e1dc0283..0f4068f4 100644 --- a/src/page/bamboo/index.tsx +++ b/src/templates/bamboo/index.tsx @@ -1,6 +1,6 @@ +import { flex } from "@/styles"; import { Aside } from "@/components/common"; import { Row } from "@/components/Flex"; -import { flex } from "@/styles"; import React from "react"; import styled from "styled-components"; import { HuggingFace, ShushingFace, ThinkingFace } from "@/assets/images"; diff --git a/src/page/bamboo/layouts/BambooButton.tsx b/src/templates/bamboo/layouts/BambooButton.tsx similarity index 100% rename from src/page/bamboo/layouts/BambooButton.tsx rename to src/templates/bamboo/layouts/BambooButton.tsx diff --git a/src/page/bamboo/layouts/BambooPostList.tsx b/src/templates/bamboo/layouts/BambooPostList.tsx similarity index 100% rename from src/page/bamboo/layouts/BambooPostList.tsx rename to src/templates/bamboo/layouts/BambooPostList.tsx diff --git a/src/page/bamboo/layouts/BambooPostListItem.tsx b/src/templates/bamboo/layouts/BambooPostListItem.tsx similarity index 100% rename from src/page/bamboo/layouts/BambooPostListItem.tsx rename to src/templates/bamboo/layouts/BambooPostListItem.tsx diff --git a/src/page/bamboo/services/api.service.ts b/src/templates/bamboo/services/api.service.ts similarity index 100% rename from src/page/bamboo/services/api.service.ts rename to src/templates/bamboo/services/api.service.ts diff --git a/src/page/bamboo/services/mutation.service.ts b/src/templates/bamboo/services/mutation.service.ts similarity index 100% rename from src/page/bamboo/services/mutation.service.ts rename to src/templates/bamboo/services/mutation.service.ts diff --git a/src/page/bamboo/services/query.service.ts b/src/templates/bamboo/services/query.service.ts similarity index 100% rename from src/page/bamboo/services/query.service.ts rename to src/templates/bamboo/services/query.service.ts diff --git a/src/page/calender/index.tsx b/src/templates/calender/index.tsx similarity index 100% rename from src/page/calender/index.tsx rename to src/templates/calender/index.tsx diff --git a/src/page/calender/layouts/CalenderList.tsx b/src/templates/calender/layouts/CalenderList.tsx similarity index 100% rename from src/page/calender/layouts/CalenderList.tsx rename to src/templates/calender/layouts/CalenderList.tsx diff --git a/src/page/calender/layouts/CalenderListItem.tsx b/src/templates/calender/layouts/CalenderListItem.tsx similarity index 100% rename from src/page/calender/layouts/CalenderListItem.tsx rename to src/templates/calender/layouts/CalenderListItem.tsx diff --git a/src/page/calender/layouts/DateBox.tsx b/src/templates/calender/layouts/DateBox.tsx similarity index 100% rename from src/page/calender/layouts/DateBox.tsx rename to src/templates/calender/layouts/DateBox.tsx diff --git a/src/page/calender/layouts/ScheduleBox.tsx b/src/templates/calender/layouts/ScheduleBox.tsx similarity index 100% rename from src/page/calender/layouts/ScheduleBox.tsx rename to src/templates/calender/layouts/ScheduleBox.tsx diff --git a/src/page/calender/layouts/WeekBox.tsx b/src/templates/calender/layouts/WeekBox.tsx similarity index 100% rename from src/page/calender/layouts/WeekBox.tsx rename to src/templates/calender/layouts/WeekBox.tsx diff --git a/src/page/calender/services/api.service.ts b/src/templates/calender/services/api.service.ts similarity index 100% rename from src/page/calender/services/api.service.ts rename to src/templates/calender/services/api.service.ts diff --git a/src/page/calender/services/mutation.service.ts b/src/templates/calender/services/mutation.service.ts similarity index 100% rename from src/page/calender/services/mutation.service.ts rename to src/templates/calender/services/mutation.service.ts diff --git a/src/page/calender/services/query.service.ts b/src/templates/calender/services/query.service.ts similarity index 100% rename from src/page/calender/services/query.service.ts rename to src/templates/calender/services/query.service.ts diff --git a/src/page/domitory/index.tsx b/src/templates/domitory/index.tsx similarity index 100% rename from src/page/domitory/index.tsx rename to src/templates/domitory/index.tsx diff --git a/src/page/domitory/layouts/DomitoryFilter.tsx b/src/templates/domitory/layouts/DomitoryFilter.tsx similarity index 100% rename from src/page/domitory/layouts/DomitoryFilter.tsx rename to src/templates/domitory/layouts/DomitoryFilter.tsx diff --git a/src/page/domitory/layouts/DomitoryListItem.tsx b/src/templates/domitory/layouts/DomitoryListItem.tsx similarity index 100% rename from src/page/domitory/layouts/DomitoryListItem.tsx rename to src/templates/domitory/layouts/DomitoryListItem.tsx diff --git a/src/page/forum-edit/index.tsx b/src/templates/forum-edit/index.tsx similarity index 100% rename from src/page/forum-edit/index.tsx rename to src/templates/forum-edit/index.tsx diff --git a/src/page/forum-edit/layouts/InputBox.tsx b/src/templates/forum-edit/layouts/InputBox.tsx similarity index 100% rename from src/page/forum-edit/layouts/InputBox.tsx rename to src/templates/forum-edit/layouts/InputBox.tsx diff --git a/src/page/forum-edit/layouts/UpdateBox.tsx b/src/templates/forum-edit/layouts/UpdateBox.tsx similarity index 100% rename from src/page/forum-edit/layouts/UpdateBox.tsx rename to src/templates/forum-edit/layouts/UpdateBox.tsx diff --git a/src/page/forum-edit/services/mutation.service.ts b/src/templates/forum-edit/services/mutation.service.ts similarity index 74% rename from src/page/forum-edit/services/mutation.service.ts rename to src/templates/forum-edit/services/mutation.service.ts index 55e9c7cb..629c54eb 100644 --- a/src/page/forum-edit/services/mutation.service.ts +++ b/src/templates/forum-edit/services/mutation.service.ts @@ -1,4 +1,4 @@ -import { UPDATE_POST } from "@/gql/post/queries"; +import { UPDATE_POST } from "@/graphql/post/queries"; import { useMutation } from "@apollo/client"; export const useUpdatePostMutation = () => { diff --git a/src/page/forum-edit/services/query.service.ts b/src/templates/forum-edit/services/query.service.ts similarity index 84% rename from src/page/forum-edit/services/query.service.ts rename to src/templates/forum-edit/services/query.service.ts index 82861c35..c177be15 100644 --- a/src/page/forum-edit/services/query.service.ts +++ b/src/templates/forum-edit/services/query.service.ts @@ -1,4 +1,4 @@ -import { GET_UPDATE_POST } from "@/gql/post/queries"; +import { GET_UPDATE_POST } from "@/graphql/post/queries"; import { useQuery } from "@apollo/client"; interface IUseUpdatePostQueryProps { diff --git a/src/page/forum-post/index.tsx b/src/templates/forum-post/index.tsx similarity index 100% rename from src/page/forum-post/index.tsx rename to src/templates/forum-post/index.tsx diff --git a/src/page/forum-post/layouts/Post.tsx b/src/templates/forum-post/layouts/Post.tsx similarity index 100% rename from src/page/forum-post/layouts/Post.tsx rename to src/templates/forum-post/layouts/Post.tsx diff --git a/src/page/forum-post/layouts/PostBody/Comment/CommentList.tsx b/src/templates/forum-post/layouts/PostBody/Comment/CommentList.tsx similarity index 100% rename from src/page/forum-post/layouts/PostBody/Comment/CommentList.tsx rename to src/templates/forum-post/layouts/PostBody/Comment/CommentList.tsx diff --git a/src/page/forum-post/layouts/PostBody/Comment/CommentListItem.tsx b/src/templates/forum-post/layouts/PostBody/Comment/CommentListItem.tsx similarity index 100% rename from src/page/forum-post/layouts/PostBody/Comment/CommentListItem.tsx rename to src/templates/forum-post/layouts/PostBody/Comment/CommentListItem.tsx diff --git a/src/page/forum-post/layouts/PostBody/Comment/CreateCommentBox.tsx b/src/templates/forum-post/layouts/PostBody/Comment/CreateCommentBox.tsx similarity index 100% rename from src/page/forum-post/layouts/PostBody/Comment/CreateCommentBox.tsx rename to src/templates/forum-post/layouts/PostBody/Comment/CreateCommentBox.tsx diff --git a/src/page/forum-post/layouts/PostBody/CountBox.tsx b/src/templates/forum-post/layouts/PostBody/CountBox.tsx similarity index 100% rename from src/page/forum-post/layouts/PostBody/CountBox.tsx rename to src/templates/forum-post/layouts/PostBody/CountBox.tsx diff --git a/src/page/forum-post/layouts/PostBody/Recomment/CreateRecommentBox.tsx b/src/templates/forum-post/layouts/PostBody/Recomment/CreateRecommentBox.tsx similarity index 96% rename from src/page/forum-post/layouts/PostBody/Recomment/CreateRecommentBox.tsx rename to src/templates/forum-post/layouts/PostBody/Recomment/CreateRecommentBox.tsx index cf89adc9..d26858ec 100644 --- a/src/page/forum-post/layouts/PostBody/Recomment/CreateRecommentBox.tsx +++ b/src/templates/forum-post/layouts/PostBody/Recomment/CreateRecommentBox.tsx @@ -3,7 +3,7 @@ import { Column, Row } from "@/components/Flex"; import { ImageWithFallback } from "@/components/atoms"; import useTextarea from "@/hooks/useTextarea"; import useUser from "@/hooks/useUser"; -import { useCreateRecommentMutation } from "@/page/forum-post/services/mutation.service"; +import { useCreateRecommentMutation } from "@/templates/forum-post/services/mutation.service"; import { color, font } from "@/styles"; import React from "react"; import styled from "styled-components"; diff --git a/src/page/forum-post/layouts/PostBody/Recomment/RecommentList.tsx b/src/templates/forum-post/layouts/PostBody/Recomment/RecommentList.tsx similarity index 94% rename from src/page/forum-post/layouts/PostBody/Recomment/RecommentList.tsx rename to src/templates/forum-post/layouts/PostBody/Recomment/RecommentList.tsx index 86975028..9d9cb154 100644 --- a/src/page/forum-post/layouts/PostBody/Recomment/RecommentList.tsx +++ b/src/templates/forum-post/layouts/PostBody/Recomment/RecommentList.tsx @@ -1,5 +1,5 @@ import { IRecomment } from "@/interfaces"; -import { useRecommentListQuery } from "@/page/forum-post/services/query.service"; +import { useRecommentListQuery } from "@/templates/forum-post/services/query.service"; import { color, flex } from "@/styles"; import React from "react"; import InfiniteScroll from "react-infinite-scroll-component"; diff --git a/src/page/forum-post/layouts/PostBody/Recomment/RecommentListItem.tsx b/src/templates/forum-post/layouts/PostBody/Recomment/RecommentListItem.tsx similarity index 100% rename from src/page/forum-post/layouts/PostBody/Recomment/RecommentListItem.tsx rename to src/templates/forum-post/layouts/PostBody/Recomment/RecommentListItem.tsx diff --git a/src/page/forum-post/layouts/PostBody/SectionBox.tsx b/src/templates/forum-post/layouts/PostBody/SectionBox.tsx similarity index 100% rename from src/page/forum-post/layouts/PostBody/SectionBox.tsx rename to src/templates/forum-post/layouts/PostBody/SectionBox.tsx diff --git a/src/page/forum-post/layouts/PostBody/index.tsx b/src/templates/forum-post/layouts/PostBody/index.tsx similarity index 100% rename from src/page/forum-post/layouts/PostBody/index.tsx rename to src/templates/forum-post/layouts/PostBody/index.tsx diff --git a/src/page/forum-post/layouts/PostHead/Category.tsx b/src/templates/forum-post/layouts/PostHead/Category.tsx similarity index 100% rename from src/page/forum-post/layouts/PostHead/Category.tsx rename to src/templates/forum-post/layouts/PostHead/Category.tsx diff --git a/src/page/forum-post/layouts/PostHead/PostTitle.tsx b/src/templates/forum-post/layouts/PostHead/PostTitle.tsx similarity index 100% rename from src/page/forum-post/layouts/PostHead/PostTitle.tsx rename to src/templates/forum-post/layouts/PostHead/PostTitle.tsx diff --git a/src/page/forum-post/layouts/PostHead/ReactBox.tsx b/src/templates/forum-post/layouts/PostHead/ReactBox.tsx similarity index 100% rename from src/page/forum-post/layouts/PostHead/ReactBox.tsx rename to src/templates/forum-post/layouts/PostHead/ReactBox.tsx diff --git a/src/page/forum-post/layouts/PostHead/index.tsx b/src/templates/forum-post/layouts/PostHead/index.tsx similarity index 100% rename from src/page/forum-post/layouts/PostHead/index.tsx rename to src/templates/forum-post/layouts/PostHead/index.tsx diff --git a/src/page/forum-post/services/api.service.ts b/src/templates/forum-post/services/api.service.ts similarity index 100% rename from src/page/forum-post/services/api.service.ts rename to src/templates/forum-post/services/api.service.ts diff --git a/src/page/forum-post/services/mutation.service.ts b/src/templates/forum-post/services/mutation.service.ts similarity index 98% rename from src/page/forum-post/services/mutation.service.ts rename to src/templates/forum-post/services/mutation.service.ts index 7656d59b..4970b8ab 100644 --- a/src/page/forum-post/services/mutation.service.ts +++ b/src/templates/forum-post/services/mutation.service.ts @@ -1,5 +1,5 @@ import { KEY, ROUTER } from "@/constants"; -import { DELETE_POST } from "@/gql/post/queries"; +import { DELETE_POST } from "@/graphql/post/queries"; import { useApolloClient, useMutation as useApolloMutation, diff --git a/src/page/forum-post/services/query.service.ts b/src/templates/forum-post/services/query.service.ts similarity index 96% rename from src/page/forum-post/services/query.service.ts rename to src/templates/forum-post/services/query.service.ts index c324291a..666ff7db 100644 --- a/src/page/forum-post/services/query.service.ts +++ b/src/templates/forum-post/services/query.service.ts @@ -1,5 +1,5 @@ import { IPostQuery } from "@/interfaces"; -import { GET_POST } from "@/gql/post/queries"; +import { GET_POST } from "@/graphql/post/queries"; import { useQuery as useApolloQuery } from "@apollo/client"; import { useInfiniteQuery } from "@tanstack/react-query"; import { KEY } from "@/constants"; diff --git a/src/page/forum-write/index.tsx b/src/templates/forum-write/index.tsx similarity index 100% rename from src/page/forum-write/index.tsx rename to src/templates/forum-write/index.tsx diff --git a/src/page/forum-write/layouts/InputBox.tsx b/src/templates/forum-write/layouts/InputBox.tsx similarity index 100% rename from src/page/forum-write/layouts/InputBox.tsx rename to src/templates/forum-write/layouts/InputBox.tsx diff --git a/src/page/forum-write/layouts/WriteBox.tsx b/src/templates/forum-write/layouts/WriteBox.tsx similarity index 100% rename from src/page/forum-write/layouts/WriteBox.tsx rename to src/templates/forum-write/layouts/WriteBox.tsx diff --git a/src/page/forum-write/services/mutation.service.ts b/src/templates/forum-write/services/mutation.service.ts similarity index 74% rename from src/page/forum-write/services/mutation.service.ts rename to src/templates/forum-write/services/mutation.service.ts index 6fa894ab..8bdbb5d1 100644 --- a/src/page/forum-write/services/mutation.service.ts +++ b/src/templates/forum-write/services/mutation.service.ts @@ -1,4 +1,4 @@ -import { CREATE_POST } from "@/gql/post/queries"; +import { CREATE_POST } from "@/graphql/post/queries"; import { useMutation } from "@apollo/client"; export const useCreatePostMutation = () => { diff --git a/src/page/forum/index.tsx b/src/templates/forum/index.tsx similarity index 100% rename from src/page/forum/index.tsx rename to src/templates/forum/index.tsx diff --git a/src/page/forum/layouts/Categories.tsx b/src/templates/forum/layouts/Categories.tsx similarity index 100% rename from src/page/forum/layouts/Categories.tsx rename to src/templates/forum/layouts/Categories.tsx diff --git a/src/page/forum/layouts/Forum.tsx b/src/templates/forum/layouts/Forum.tsx similarity index 100% rename from src/page/forum/layouts/Forum.tsx rename to src/templates/forum/layouts/Forum.tsx diff --git a/src/page/forum/layouts/PostList.tsx b/src/templates/forum/layouts/PostList.tsx similarity index 100% rename from src/page/forum/layouts/PostList.tsx rename to src/templates/forum/layouts/PostList.tsx diff --git a/src/page/forum/layouts/PostListItem.tsx b/src/templates/forum/layouts/PostListItem.tsx similarity index 100% rename from src/page/forum/layouts/PostListItem.tsx rename to src/templates/forum/layouts/PostListItem.tsx diff --git a/src/page/forum/services/query.service.ts b/src/templates/forum/services/query.service.ts similarity index 95% rename from src/page/forum/services/query.service.ts rename to src/templates/forum/services/query.service.ts index fccdc460..20a3b8c7 100644 --- a/src/page/forum/services/query.service.ts +++ b/src/templates/forum/services/query.service.ts @@ -1,5 +1,5 @@ import { useApolloClient } from "@apollo/client"; -import { GET_POST_LIST } from "@/gql/post/queries"; +import { GET_POST_LIST } from "@/graphql/post/queries"; import { PostCategoryType } from "@/types"; import { KEY } from "@/constants"; import { useInfiniteQuery } from "@tanstack/react-query"; diff --git a/src/page/home/index.tsx b/src/templates/home/index.tsx similarity index 100% rename from src/page/home/index.tsx rename to src/templates/home/index.tsx diff --git a/src/page/meal/index.tsx b/src/templates/meal/index.tsx similarity index 100% rename from src/page/meal/index.tsx rename to src/templates/meal/index.tsx diff --git a/src/page/meal/layouts/BlinkerBox.tsx b/src/templates/meal/layouts/BlinkerBox.tsx similarity index 100% rename from src/page/meal/layouts/BlinkerBox.tsx rename to src/templates/meal/layouts/BlinkerBox.tsx diff --git a/src/page/meal/layouts/MealListItem.tsx b/src/templates/meal/layouts/MealListItem.tsx similarity index 100% rename from src/page/meal/layouts/MealListItem.tsx rename to src/templates/meal/layouts/MealListItem.tsx diff --git a/src/page/meal/services/api.service.ts b/src/templates/meal/services/api.service.ts similarity index 100% rename from src/page/meal/services/api.service.ts rename to src/templates/meal/services/api.service.ts diff --git a/src/page/meal/services/query.service.ts b/src/templates/meal/services/query.service.ts similarity index 100% rename from src/page/meal/services/query.service.ts rename to src/templates/meal/services/query.service.ts diff --git a/src/page/meister/chart/MeisterChart.tsx b/src/templates/meister/chart/MeisterChart.tsx similarity index 100% rename from src/page/meister/chart/MeisterChart.tsx rename to src/templates/meister/chart/MeisterChart.tsx diff --git a/src/page/meister/chart/RadarChart.tsx b/src/templates/meister/chart/RadarChart.tsx similarity index 100% rename from src/page/meister/chart/RadarChart.tsx rename to src/templates/meister/chart/RadarChart.tsx diff --git a/src/page/meister/index.tsx b/src/templates/meister/index.tsx similarity index 100% rename from src/page/meister/index.tsx rename to src/templates/meister/index.tsx diff --git a/src/page/meister/layouts/BasicJobSkillCard.tsx b/src/templates/meister/layouts/BasicJobSkillCard.tsx similarity index 100% rename from src/page/meister/layouts/BasicJobSkillCard.tsx rename to src/templates/meister/layouts/BasicJobSkillCard.tsx diff --git a/src/page/meister/layouts/Distribution.tsx b/src/templates/meister/layouts/Distribution.tsx similarity index 100% rename from src/page/meister/layouts/Distribution.tsx rename to src/templates/meister/layouts/Distribution.tsx diff --git a/src/page/meister/layouts/MeisterProfileBox.tsx b/src/templates/meister/layouts/MeisterProfileBox.tsx similarity index 100% rename from src/page/meister/layouts/MeisterProfileBox.tsx rename to src/templates/meister/layouts/MeisterProfileBox.tsx diff --git a/src/page/meister/layouts/Ranking.tsx b/src/templates/meister/layouts/Ranking.tsx similarity index 100% rename from src/page/meister/layouts/Ranking.tsx rename to src/templates/meister/layouts/Ranking.tsx diff --git a/src/page/meister/layouts/RankingListItem.tsx b/src/templates/meister/layouts/RankingListItem.tsx similarity index 100% rename from src/page/meister/layouts/RankingListItem.tsx rename to src/templates/meister/layouts/RankingListItem.tsx diff --git a/src/page/meister/layouts/StatusCard.tsx b/src/templates/meister/layouts/StatusCard.tsx similarity index 100% rename from src/page/meister/layouts/StatusCard.tsx rename to src/templates/meister/layouts/StatusCard.tsx diff --git a/src/page/meister/layouts/YearlyMeisterScore.tsx b/src/templates/meister/layouts/YearlyMeisterScore.tsx similarity index 100% rename from src/page/meister/layouts/YearlyMeisterScore.tsx rename to src/templates/meister/layouts/YearlyMeisterScore.tsx diff --git a/src/page/meister/services/api.service.ts b/src/templates/meister/services/api.service.ts similarity index 100% rename from src/page/meister/services/api.service.ts rename to src/templates/meister/services/api.service.ts diff --git a/src/page/meister/services/query.service.ts b/src/templates/meister/services/query.service.ts similarity index 100% rename from src/page/meister/services/query.service.ts rename to src/templates/meister/services/query.service.ts diff --git a/src/page/oauth/index.tsx b/src/templates/oauth/index.tsx similarity index 100% rename from src/page/oauth/index.tsx rename to src/templates/oauth/index.tsx diff --git a/src/page/oauth/services/api.service.ts b/src/templates/oauth/services/api.service.ts similarity index 100% rename from src/page/oauth/services/api.service.ts rename to src/templates/oauth/services/api.service.ts diff --git a/src/page/oauth/services/mutation.service.ts b/src/templates/oauth/services/mutation.service.ts similarity index 100% rename from src/page/oauth/services/mutation.service.ts rename to src/templates/oauth/services/mutation.service.ts diff --git a/src/page/reserve/index.tsx b/src/templates/reserve/index.tsx similarity index 100% rename from src/page/reserve/index.tsx rename to src/templates/reserve/index.tsx diff --git a/src/page/reserve/layouts/ReserveCategories.tsx b/src/templates/reserve/layouts/ReserveCategories.tsx similarity index 100% rename from src/page/reserve/layouts/ReserveCategories.tsx rename to src/templates/reserve/layouts/ReserveCategories.tsx diff --git a/src/page/reserve/layouts/ReserveJoinBox.tsx b/src/templates/reserve/layouts/ReserveJoinBox.tsx similarity index 100% rename from src/page/reserve/layouts/ReserveJoinBox.tsx rename to src/templates/reserve/layouts/ReserveJoinBox.tsx diff --git a/src/page/reserve/layouts/ReserveList.tsx b/src/templates/reserve/layouts/ReserveList.tsx similarity index 100% rename from src/page/reserve/layouts/ReserveList.tsx rename to src/templates/reserve/layouts/ReserveList.tsx diff --git a/src/page/reserve/layouts/ReserveListItem.tsx b/src/templates/reserve/layouts/ReserveListItem.tsx similarity index 100% rename from src/page/reserve/layouts/ReserveListItem.tsx rename to src/templates/reserve/layouts/ReserveListItem.tsx diff --git a/src/page/reserve/layouts/ReserveMap.tsx b/src/templates/reserve/layouts/ReserveMap.tsx similarity index 100% rename from src/page/reserve/layouts/ReserveMap.tsx rename to src/templates/reserve/layouts/ReserveMap.tsx diff --git a/src/page/reserve/services/api.service.ts b/src/templates/reserve/services/api.service.ts similarity index 100% rename from src/page/reserve/services/api.service.ts rename to src/templates/reserve/services/api.service.ts diff --git a/src/page/reserve/services/mutation.service.ts b/src/templates/reserve/services/mutation.service.ts similarity index 100% rename from src/page/reserve/services/mutation.service.ts rename to src/templates/reserve/services/mutation.service.ts diff --git a/src/page/reserve/services/query.service.ts b/src/templates/reserve/services/query.service.ts similarity index 100% rename from src/page/reserve/services/query.service.ts rename to src/templates/reserve/services/query.service.ts diff --git a/src/page/timetable/index.tsx b/src/templates/timetable/index.tsx similarity index 100% rename from src/page/timetable/index.tsx rename to src/templates/timetable/index.tsx diff --git a/src/page/timetable/layouts/TimeTableBar.tsx b/src/templates/timetable/layouts/TimeTableBar.tsx similarity index 100% rename from src/page/timetable/layouts/TimeTableBar.tsx rename to src/templates/timetable/layouts/TimeTableBar.tsx diff --git a/src/page/timetable/layouts/TimeTableBox.tsx b/src/templates/timetable/layouts/TimeTableBox.tsx similarity index 100% rename from src/page/timetable/layouts/TimeTableBox.tsx rename to src/templates/timetable/layouts/TimeTableBox.tsx diff --git a/src/page/timetable/layouts/TimeTableCategory.tsx b/src/templates/timetable/layouts/TimeTableCategory.tsx similarity index 100% rename from src/page/timetable/layouts/TimeTableCategory.tsx rename to src/templates/timetable/layouts/TimeTableCategory.tsx diff --git a/src/page/timetable/layouts/TimeTableTable.tsx b/src/templates/timetable/layouts/TimeTableTable.tsx similarity index 100% rename from src/page/timetable/layouts/TimeTableTable.tsx rename to src/templates/timetable/layouts/TimeTableTable.tsx diff --git a/src/page/timetable/services/api.service.ts b/src/templates/timetable/services/api.service.ts similarity index 100% rename from src/page/timetable/services/api.service.ts rename to src/templates/timetable/services/api.service.ts diff --git a/src/page/timetable/services/query.service.ts b/src/templates/timetable/services/query.service.ts similarity index 100% rename from src/page/timetable/services/query.service.ts rename to src/templates/timetable/services/query.service.ts