Skip to content

Commit

Permalink
Merge pull request #226 from boostcampwm2023/feat/tokenHandling
Browse files Browse the repository at this point in the history
feat : token handling 코드 작성
  • Loading branch information
dongind authored Mar 12, 2024
2 parents 6a4649f + f1e51c0 commit fbe1ede
Show file tree
Hide file tree
Showing 29 changed files with 974 additions and 447 deletions.
116 changes: 71 additions & 45 deletions frontend/coverage/clover.xml
Original file line number Diff line number Diff line change
@@ -1,20 +1,69 @@
<?xml version="1.0" encoding="UTF-8"?>
<coverage generated="1709539127978" clover="3.2.0">
<project timestamp="1709539127978" name="All files">
<metrics statements="88" coveredstatements="88" conditionals="14" coveredconditionals="14" methods="30" coveredmethods="30" elements="132" coveredelements="132" complexity="0" loc="88" ncloc="88" packages="8" files="12" classes="12"/>
<coverage generated="1710201576720" clover="3.2.0">
<project timestamp="1710201576720" name="All files">
<metrics statements="126" coveredstatements="91" conditionals="22" coveredconditionals="14" methods="33" coveredmethods="26" elements="181" coveredelements="131" complexity="0" loc="126" ncloc="126" packages="6" files="10" classes="10"/>
<package name="apis.api">
<metrics statements="5" coveredstatements="5" conditionals="0" coveredconditionals="0" methods="1" coveredmethods="1"/>
<metrics statements="19" coveredstatements="8" conditionals="2" coveredconditionals="0" methods="2" coveredmethods="1"/>
<file name="loginAPI.ts" path="/Users/dongind.oct/Documents/LESSER/PJT/frontend/src/apis/api/loginAPI.ts">
<metrics statements="5" coveredstatements="5" conditionals="0" coveredconditionals="0" methods="1" coveredmethods="1"/>
<metrics statements="19" coveredstatements="8" conditionals="2" coveredconditionals="0" methods="2" coveredmethods="1"/>
<line num="1" count="1" type="stmt"/>
<line num="2" count="1" type="stmt"/>
<line num="4" count="1" type="stmt"/>
<line num="5" count="1" type="stmt"/>
<line num="6" count="1" type="stmt"/>
<line num="9" count="1" type="stmt"/>
<line num="10" count="1" type="stmt"/>
<line num="12" count="1" type="stmt"/>
<line num="13" count="1" type="stmt"/>
<line num="14" count="1" type="stmt"/>
<line num="17" count="1" type="stmt"/>
<line num="18" count="0" type="stmt"/>
<line num="19" count="0" type="stmt"/>
<line num="20" count="0" type="cond" truecount="0" falsecount="1"/>
<line num="21" count="0" type="stmt"/>
<line num="22" count="0" type="stmt"/>
<line num="23" count="0" type="stmt"/>
<line num="24" count="0" type="stmt"/>
<line num="26" count="0" type="cond" truecount="0" falsecount="1"/>
<line num="27" count="0" type="stmt"/>
<line num="28" count="0" type="stmt"/>
<line num="29" count="0" type="stmt"/>
</file>
</package>
<package name="apis.utils">
<metrics statements="5" coveredstatements="5" conditionals="0" coveredconditionals="0" methods="1" coveredmethods="1"/>
<metrics statements="37" coveredstatements="16" conditionals="6" coveredconditionals="0" methods="6" coveredmethods="1"/>
<file name="authAPI.ts" path="/Users/dongind.oct/Documents/LESSER/PJT/frontend/src/apis/utils/authAPI.ts">
<metrics statements="32" coveredstatements="11" conditionals="6" coveredconditionals="0" methods="5" coveredmethods="0"/>
<line num="1" count="1" type="stmt"/>
<line num="2" count="1" type="stmt"/>
<line num="7" count="1" type="stmt"/>
<line num="8" count="0" type="stmt"/>
<line num="11" count="1" type="stmt"/>
<line num="19" count="1" type="stmt"/>
<line num="20" count="0" type="cond" truecount="0" falsecount="1"/>
<line num="21" count="0" type="stmt"/>
<line num="23" count="0" type="stmt"/>
<line num="26" count="1" type="stmt"/>
<line num="28" count="1" type="stmt"/>
<line num="29" count="0" type="stmt"/>
<line num="30" count="0" type="stmt"/>
<line num="33" count="1" type="stmt"/>
<line num="34" count="0" type="cond" truecount="0" falsecount="3"/>
<line num="35" count="0" type="stmt"/>
<line num="37" count="0" type="cond" truecount="0" falsecount="1"/>
<line num="38" count="0" type="stmt"/>
<line num="39" count="0" type="stmt"/>
<line num="42" count="0" type="stmt"/>
<line num="43" count="0" type="stmt"/>
<line num="44" count="0" type="stmt"/>
<line num="46" count="0" type="stmt"/>
<line num="49" count="0" type="stmt"/>
<line num="52" count="1" type="stmt"/>
<line num="56" count="0" type="stmt"/>
<line num="58" count="0" type="cond" truecount="0" falsecount="1"/>
<line num="59" count="0" type="stmt"/>
<line num="60" count="0" type="stmt"/>
<line num="62" count="0" type="stmt"/>
<line num="66" count="1" type="stmt"/>
<line num="68" count="1" type="stmt"/>
</file>
<file name="baseAPI.ts" path="/Users/dongind.oct/Documents/LESSER/PJT/frontend/src/apis/utils/baseAPI.ts">
<metrics statements="4" coveredstatements="4" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
<line num="1" count="1" type="stmt"/>
Expand All @@ -28,11 +77,12 @@
</file>
</package>
<package name="constants">
<metrics statements="2" coveredstatements="2" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
<metrics statements="3" coveredstatements="3" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
<file name="path.ts" path="/Users/dongind.oct/Documents/LESSER/PJT/frontend/src/constants/path.ts">
<metrics statements="2" coveredstatements="2" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
<metrics statements="3" coveredstatements="3" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
<line num="1" count="1" type="stmt"/>
<line num="3" count="1" type="stmt"/>
<line num="11" count="1" type="stmt"/>
</file>
</package>
<package name="hooks.common.dropdown">
Expand Down Expand Up @@ -110,44 +160,20 @@
</file>
</package>
<package name="mocks">
<metrics statements="12" coveredstatements="12" conditionals="0" coveredconditionals="0" methods="2" coveredmethods="2"/>
<metrics statements="8" coveredstatements="5" conditionals="0" coveredconditionals="0" methods="1" coveredmethods="0"/>
<file name="handlers.ts" path="/Users/dongind.oct/Documents/LESSER/PJT/frontend/src/mocks/handlers.ts">
<metrics statements="9" coveredstatements="9" conditionals="0" coveredconditionals="0" methods="2" coveredmethods="2"/>
<line num="1" count="4" type="stmt"/>
<line num="2" count="4" type="stmt"/>
<line num="4" count="4" type="stmt"/>
<line num="6" count="1" type="stmt"/>
<line num="7" count="1" type="stmt"/>
<line num="8" count="1" type="stmt"/>
<line num="11" count="1" type="stmt"/>
<line num="12" count="1" type="stmt"/>
<line num="13" count="1" type="stmt"/>
<metrics statements="5" coveredstatements="2" conditionals="0" coveredconditionals="0" methods="1" coveredmethods="0"/>
<line num="1" count="3" type="stmt"/>
<line num="3" count="3" type="stmt"/>
<line num="5" count="0" type="stmt"/>
<line num="6" count="0" type="stmt"/>
<line num="7" count="0" type="stmt"/>
</file>
<file name="node.ts" path="/Users/dongind.oct/Documents/LESSER/PJT/frontend/src/mocks/node.ts">
<metrics statements="3" coveredstatements="3" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
<line num="1" count="4" type="stmt"/>
<line num="2" count="4" type="stmt"/>
<line num="4" count="4" type="stmt"/>
</file>
</package>
<package name="mocks.responses">
<metrics statements="3" coveredstatements="3" conditionals="0" coveredconditionals="0" methods="1" coveredmethods="1"/>
<file name="index.ts" path="/Users/dongind.oct/Documents/LESSER/PJT/frontend/src/mocks/responses/index.ts">
<metrics statements="1" coveredstatements="1" conditionals="0" coveredconditionals="0" methods="1" coveredmethods="1"/>
<line num="1" count="9" type="stmt"/>
</file>
<file name="login.ts" path="/Users/dongind.oct/Documents/LESSER/PJT/frontend/src/mocks/responses/login.ts">
<metrics statements="2" coveredstatements="2" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
<line num="1" count="4" type="stmt"/>
<line num="10" count="4" type="stmt"/>
</file>
</package>
<package name="utils">
<metrics statements="2" coveredstatements="2" conditionals="0" coveredconditionals="0" methods="1" coveredmethods="1"/>
<file name="sampleFunction.ts" path="/Users/dongind.oct/Documents/LESSER/PJT/frontend/src/utils/sampleFunction.ts">
<metrics statements="2" coveredstatements="2" conditionals="0" coveredconditionals="0" methods="1" coveredmethods="1"/>
<line num="1" count="1" type="stmt"/>
<line num="2" count="1" type="stmt"/>
<line num="1" count="3" type="stmt"/>
<line num="2" count="3" type="stmt"/>
<line num="4" count="3" type="stmt"/>
</file>
</package>
</project>
Expand Down
Loading

0 comments on commit fbe1ede

Please sign in to comment.