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, +};