From d8656f8cf6b1b4160ab2bf603f50175eb0862e5f Mon Sep 17 00:00:00 2001 From: somedaycode Date: Thu, 17 Jun 2021 20:39:18 +0900 Subject: [PATCH] =?UTF-8?q?Feat:=20#35=20=ED=85=8C=EC=9D=B4=EB=B8=94=20?= =?UTF-8?q?=ED=97=A4=EB=8D=94=EC=9D=98=20=ED=95=84=ED=84=B0=20=EB=A9=94?= =?UTF-8?q?=EB=89=B4=EB=A5=BC=20=EC=9C=84=ED=95=9C=20=EC=83=81=ED=83=9C=20?= =?UTF-8?q?=EC=B6=94=EA=B0=80=20(atom)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/store/atoms/issueFilter.ts | 44 +++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 FE/issue-tracker/src/store/atoms/issueFilter.ts diff --git a/FE/issue-tracker/src/store/atoms/issueFilter.ts b/FE/issue-tracker/src/store/atoms/issueFilter.ts new file mode 100644 index 000000000..fc3a35e13 --- /dev/null +++ b/FE/issue-tracker/src/store/atoms/issueFilter.ts @@ -0,0 +1,44 @@ +import { atom } from 'recoil'; + +const milestoneFilterList = atom({ + key: 'milestoneFilterList', + default: { + query: 'milestones', + data: [], + cachingTime: 0, + }, +}); + +const labelFilterList = atom({ + key: 'labelFilterList', + default: { + query: 'labels', + data: [], + cachingTime: 0, + }, +}); + +const assigneeFilterList = atom({ + key: 'assigneeFilterList', + default: { + query: 'assignees', + data: [], + cachingTime: 0, + }, +}); + +const authorFilterList = atom({ + key: 'authorFilterList', + default: { + query: 'authors', + data: [], + cachingTime: 0, + }, +}); + +export { + milestoneFilterList, + labelFilterList, + assigneeFilterList, + authorFilterList, +};