@mx-space/api-client 0.7.0 → 0.7.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (216) hide show
  1. package/adaptors/axios.ts +34 -32
  2. package/adaptors/umi-request.ts +25 -22
  3. package/build/index.cjs.js +12 -32
  4. package/build/index.cjs.js.map +1 -1
  5. package/build/index.cjs.min.js +1 -1
  6. package/build/index.cjs.min.js.map +1 -1
  7. package/build/index.esm.js +13 -32
  8. package/build/index.esm.js.map +1 -1
  9. package/build/index.esm.min.js +1 -1
  10. package/build/index.esm.min.js.map +1 -1
  11. package/build/index.umd.js +12 -32
  12. package/build/index.umd.js.map +1 -1
  13. package/build/index.umd.min.js +1 -1
  14. package/build/index.umd.min.js.map +1 -1
  15. package/controllers/aggregate.ts +9 -5
  16. package/controllers/base.ts +3 -3
  17. package/controllers/category.ts +18 -7
  18. package/controllers/comment.ts +10 -6
  19. package/controllers/link.ts +11 -4
  20. package/controllers/note.ts +11 -7
  21. package/controllers/page.ts +10 -5
  22. package/controllers/post.ts +15 -8
  23. package/controllers/project.ts +10 -3
  24. package/controllers/recently.ts +10 -5
  25. package/controllers/say.ts +10 -5
  26. package/controllers/search.ts +14 -7
  27. package/controllers/snippet.ts +9 -4
  28. package/controllers/user.ts +10 -5
  29. package/core/attach-request.ts +1 -1
  30. package/core/client.ts +37 -47
  31. package/coverage/clover.xml +281 -274
  32. package/coverage/coverage-final.json +20 -20
  33. package/coverage/lcov-report/adaptors/axios.ts.html +48 -42
  34. package/coverage/lcov-report/adaptors/index.html +24 -24
  35. package/coverage/lcov-report/adaptors/umi-request.ts.html +42 -33
  36. package/coverage/lcov-report/auto-bind.ts.html +229 -0
  37. package/coverage/lcov-report/controllers/aggregate.ts.html +20 -8
  38. package/coverage/lcov-report/controllers/base.ts.html +4 -4
  39. package/coverage/lcov-report/controllers/category.ts.html +43 -10
  40. package/coverage/lcov-report/controllers/comment.ts.html +21 -9
  41. package/coverage/lcov-report/controllers/index.html +1 -1
  42. package/coverage/lcov-report/controllers/index.ts.html +2 -2
  43. package/coverage/lcov-report/controllers/link.ts.html +28 -7
  44. package/coverage/lcov-report/controllers/note.ts.html +21 -9
  45. package/coverage/lcov-report/controllers/page.ts.html +22 -7
  46. package/coverage/lcov-report/controllers/post.ts.html +37 -16
  47. package/coverage/lcov-report/controllers/project.ts.html +27 -6
  48. package/coverage/lcov-report/controllers/recently.ts.html +23 -8
  49. package/coverage/lcov-report/controllers/say.ts.html +23 -8
  50. package/coverage/lcov-report/controllers/search.ts.html +31 -10
  51. package/coverage/lcov-report/controllers/snippet.ts.html +22 -7
  52. package/coverage/lcov-report/controllers/user.ts.html +23 -8
  53. package/coverage/lcov-report/core/attach-request.ts.html +13 -13
  54. package/coverage/lcov-report/core/client.ts.html +120 -150
  55. package/coverage/lcov-report/core/error.ts.html +1 -1
  56. package/coverage/lcov-report/core/index.html +18 -18
  57. package/coverage/lcov-report/core/index.ts.html +1 -1
  58. package/coverage/lcov-report/index.html +26 -26
  59. package/coverage/lcov-report/index.ts.html +244 -0
  60. package/coverage/lcov-report/models/aggregate.ts.html +1 -1
  61. package/coverage/lcov-report/models/category.ts.html +1 -1
  62. package/coverage/lcov-report/models/index.html +1 -1
  63. package/coverage/lcov-report/utils/auto-bind.ts.html +18 -18
  64. package/coverage/lcov-report/utils/index.html +1 -1
  65. package/coverage/lcov-report/utils/index.ts.html +3 -3
  66. package/coverage/lcov.info +496 -485
  67. package/esm/adaptors/axios.d.ts +2 -2
  68. package/esm/adaptors/axios.js +1 -0
  69. package/esm/adaptors/axios.js.map +1 -1
  70. package/esm/adaptors/umi-request.d.ts +2 -2
  71. package/esm/adaptors/umi-request.js +1 -0
  72. package/esm/adaptors/umi-request.js.map +1 -1
  73. package/esm/controllers/aggregate.d.ts +25 -8
  74. package/esm/controllers/aggregate.js.map +1 -1
  75. package/esm/controllers/base.d.ts +17 -5
  76. package/esm/controllers/category.d.ts +64 -13
  77. package/esm/controllers/category.js.map +1 -1
  78. package/esm/controllers/comment.d.ts +42 -10
  79. package/esm/controllers/comment.js.map +1 -1
  80. package/esm/controllers/link.d.ts +5 -4
  81. package/esm/controllers/link.js.map +1 -1
  82. package/esm/controllers/note.d.ts +42 -12
  83. package/esm/controllers/note.js.map +1 -1
  84. package/esm/controllers/page.d.ts +22 -8
  85. package/esm/controllers/page.js.map +1 -1
  86. package/esm/controllers/post.d.ts +24 -11
  87. package/esm/controllers/post.js.map +1 -1
  88. package/esm/controllers/project.d.ts +4 -3
  89. package/esm/controllers/project.js.map +1 -1
  90. package/esm/controllers/recently.d.ts +30 -8
  91. package/esm/controllers/recently.js.map +1 -1
  92. package/esm/controllers/say.d.ts +15 -5
  93. package/esm/controllers/say.js.map +1 -1
  94. package/esm/controllers/search.d.ts +168 -9
  95. package/esm/controllers/search.js.map +1 -1
  96. package/esm/controllers/snippet.d.ts +16 -6
  97. package/esm/controllers/snippet.js.map +1 -1
  98. package/esm/controllers/user.d.ts +28 -8
  99. package/esm/controllers/user.js.map +1 -1
  100. package/esm/core/attach-request.d.ts +1 -1
  101. package/esm/core/attach-request.js.map +1 -1
  102. package/esm/core/client.d.ts +9 -6
  103. package/esm/core/client.js +13 -32
  104. package/esm/core/client.js.map +1 -1
  105. package/esm/index.d.ts +2 -1
  106. package/esm/index.js +1 -1
  107. package/esm/index.js.map +1 -1
  108. package/esm/interfaces/adapter.d.ts +9 -8
  109. package/esm/interfaces/client.d.ts +1 -1
  110. package/esm/interfaces/request.d.ts +22 -13
  111. package/esm/interfaces/types.d.ts +2 -0
  112. package/esm/interfaces/types.js +2 -0
  113. package/esm/interfaces/types.js.map +1 -0
  114. package/index.ts +2 -1
  115. package/interfaces/adapter.ts +29 -24
  116. package/interfaces/client.ts +1 -1
  117. package/interfaces/request.ts +45 -20
  118. package/{types/helper.d.ts → interfaces/types.ts} +0 -0
  119. package/lib/adaptors/axios.d.ts +2 -2
  120. package/lib/adaptors/axios.js +1 -0
  121. package/lib/adaptors/axios.js.map +1 -1
  122. package/lib/adaptors/umi-request.d.ts +2 -2
  123. package/lib/adaptors/umi-request.js +1 -0
  124. package/lib/adaptors/umi-request.js.map +1 -1
  125. package/lib/controllers/aggregate.d.ts +25 -8
  126. package/lib/controllers/aggregate.js.map +1 -1
  127. package/lib/controllers/base.d.ts +17 -5
  128. package/lib/controllers/category.d.ts +64 -13
  129. package/lib/controllers/category.js.map +1 -1
  130. package/lib/controllers/comment.d.ts +42 -10
  131. package/lib/controllers/comment.js.map +1 -1
  132. package/lib/controllers/link.d.ts +5 -4
  133. package/lib/controllers/link.js.map +1 -1
  134. package/lib/controllers/note.d.ts +42 -12
  135. package/lib/controllers/note.js.map +1 -1
  136. package/lib/controllers/page.d.ts +22 -8
  137. package/lib/controllers/page.js.map +1 -1
  138. package/lib/controllers/post.d.ts +24 -11
  139. package/lib/controllers/post.js.map +1 -1
  140. package/lib/controllers/project.d.ts +4 -3
  141. package/lib/controllers/project.js.map +1 -1
  142. package/lib/controllers/recently.d.ts +30 -8
  143. package/lib/controllers/recently.js.map +1 -1
  144. package/lib/controllers/say.d.ts +15 -5
  145. package/lib/controllers/say.js.map +1 -1
  146. package/lib/controllers/search.d.ts +168 -9
  147. package/lib/controllers/search.js.map +1 -1
  148. package/lib/controllers/snippet.d.ts +16 -6
  149. package/lib/controllers/snippet.js.map +1 -1
  150. package/lib/controllers/user.d.ts +28 -8
  151. package/lib/controllers/user.js.map +1 -1
  152. package/lib/core/attach-request.d.ts +1 -1
  153. package/lib/core/attach-request.js.map +1 -1
  154. package/lib/core/client.d.ts +9 -6
  155. package/lib/core/client.js +13 -33
  156. package/lib/core/client.js.map +1 -1
  157. package/lib/index.d.ts +2 -1
  158. package/lib/index.js +1 -2
  159. package/lib/index.js.map +1 -1
  160. package/lib/interfaces/adapter.d.ts +9 -8
  161. package/lib/interfaces/client.d.ts +1 -1
  162. package/lib/interfaces/request.d.ts +22 -13
  163. package/lib/interfaces/types.d.ts +2 -0
  164. package/lib/interfaces/types.js +3 -0
  165. package/lib/interfaces/types.js.map +1 -0
  166. package/package.json +5 -5
  167. package/tsconfig.json +25 -4
  168. package/tsconfig.types.json +18 -0
  169. package/types/adaptors/axios.d.ts +3 -0
  170. package/types/adaptors/umi-request.d.ts +3 -0
  171. package/types/controllers/aggregate.d.ts +64 -0
  172. package/types/controllers/base.d.ts +39 -0
  173. package/types/controllers/category.d.ts +114 -0
  174. package/types/controllers/comment.d.ts +81 -0
  175. package/types/controllers/index.d.ts +16 -0
  176. package/types/controllers/link.d.ts +16 -0
  177. package/types/controllers/note.d.ts +94 -0
  178. package/types/controllers/page.d.ts +59 -0
  179. package/types/controllers/post.d.ts +72 -0
  180. package/types/controllers/project.d.ts +15 -0
  181. package/types/controllers/recently.d.ts +61 -0
  182. package/types/controllers/say.d.ts +37 -0
  183. package/types/controllers/search.d.ts +247 -0
  184. package/types/controllers/snippet.d.ts +33 -0
  185. package/types/controllers/user.d.ts +54 -0
  186. package/types/core/attach-request.d.ts +2 -0
  187. package/types/core/client.d.ts +29 -0
  188. package/types/core/error.d.ts +6 -0
  189. package/types/core/index.d.ts +2 -0
  190. package/types/dtos/comment.d.ts +6 -0
  191. package/types/index.d.ts +7 -0
  192. package/types/interfaces/adapter.d.ts +14 -0
  193. package/types/interfaces/client.d.ts +5 -0
  194. package/types/interfaces/controller.d.ts +4 -0
  195. package/types/interfaces/instance.d.ts +7 -0
  196. package/types/interfaces/options.d.ts +1 -0
  197. package/types/interfaces/params.d.ts +4 -0
  198. package/types/interfaces/request.d.ts +43 -0
  199. package/types/interfaces/types.d.ts +2 -0
  200. package/types/models/aggregate.d.ts +53 -0
  201. package/types/models/base.d.ts +37 -0
  202. package/types/models/category.d.ts +22 -0
  203. package/types/models/comment.d.ts +34 -0
  204. package/types/models/index.d.ts +14 -0
  205. package/types/models/link.d.ts +20 -0
  206. package/types/models/note.d.ts +30 -0
  207. package/types/models/page.d.ts +14 -0
  208. package/types/models/post.d.ts +15 -0
  209. package/types/models/project.d.ts +11 -0
  210. package/types/models/recently.d.ts +6 -0
  211. package/types/models/say.d.ts +6 -0
  212. package/types/models/setting.d.ts +66 -0
  213. package/types/models/snippet.d.ts +16 -0
  214. package/types/models/user.d.ts +21 -0
  215. package/types/utils/auto-bind.d.ts +4 -0
  216. package/types/utils/index.d.ts +5 -0
@@ -1,7 +1,7 @@
1
1
  <?xml version="1.0" encoding="UTF-8"?>
2
- <coverage generated="1644231626636" clover="3.2.0">
3
- <project timestamp="1644231626636" name="All files">
4
- <metrics statements="452" coveredstatements="423" conditionals="126" coveredconditionals="95" methods="157" coveredmethods="139" elements="735" coveredelements="657" complexity="0" loc="452" ncloc="452" packages="6" files="29" classes="29"/>
2
+ <coverage generated="1644301197000" clover="3.2.0">
3
+ <project timestamp="1644301197000" name="All files">
4
+ <metrics statements="459" coveredstatements="432" conditionals="130" coveredconditionals="99" methods="157" coveredmethods="142" elements="746" coveredelements="673" complexity="0" loc="459" ncloc="459" packages="6" files="29" classes="29"/>
5
5
  <package name="__tests__.helpers">
6
6
  <metrics statements="89" coveredstatements="82" conditionals="15" coveredconditionals="10" methods="25" coveredmethods="24"/>
7
7
  <file name="adaptor-test.ts" path="/Users/xiaoxun/github/innei-repo/mx-space/mx-api-client/src/__tests__/helpers/adaptor-test.ts">
@@ -107,53 +107,53 @@
107
107
  </file>
108
108
  </package>
109
109
  <package name="adaptors">
110
- <metrics statements="22" coveredstatements="11" conditionals="8" coveredconditionals="1" methods="12" coveredmethods="4"/>
110
+ <metrics statements="22" coveredstatements="13" conditionals="8" coveredconditionals="1" methods="12" coveredmethods="6"/>
111
111
  <file name="axios.ts" path="/Users/xiaoxun/github/innei-repo/mx-space/mx-api-client/src/adaptors/axios.ts">
112
- <metrics statements="13" coveredstatements="6" conditionals="8" coveredconditionals="1" methods="6" coveredmethods="2"/>
112
+ <metrics statements="13" coveredstatements="7" conditionals="8" coveredconditionals="1" methods="6" coveredmethods="3"/>
113
113
  <line num="1" count="14" type="stmt"/>
114
114
  <line num="3" count="14" type="stmt"/>
115
115
  <line num="6" count="14" type="stmt"/>
116
- <line num="9" count="0" type="stmt"/>
117
- <line num="14" count="6" type="stmt"/>
118
- <line num="17" count="1" type="cond" truecount="1" falsecount="1"/>
119
- <line num="19" count="1" type="stmt"/>
120
- <line num="22" count="0" type="cond" truecount="0" falsecount="2"/>
121
- <line num="24" count="0" type="stmt"/>
122
- <line num="27" count="0" type="cond" truecount="0" falsecount="2"/>
123
- <line num="29" count="0" type="stmt"/>
124
- <line num="32" count="0" type="cond" truecount="0" falsecount="2"/>
125
- <line num="34" count="0" type="stmt"/>
116
+ <line num="11" count="2" type="stmt"/>
117
+ <line num="16" count="6" type="stmt"/>
118
+ <line num="19" count="1" type="cond" truecount="1" falsecount="1"/>
119
+ <line num="21" count="1" type="stmt"/>
120
+ <line num="24" count="0" type="cond" truecount="0" falsecount="2"/>
121
+ <line num="26" count="0" type="stmt"/>
122
+ <line num="29" count="0" type="cond" truecount="0" falsecount="2"/>
123
+ <line num="31" count="0" type="stmt"/>
124
+ <line num="34" count="0" type="cond" truecount="0" falsecount="2"/>
125
+ <line num="36" count="0" type="stmt"/>
126
126
  </file>
127
127
  <file name="umi-request.ts" path="/Users/xiaoxun/github/innei-repo/mx-space/mx-api-client/src/adaptors/umi-request.ts">
128
- <metrics statements="9" coveredstatements="5" conditionals="0" coveredconditionals="0" methods="6" coveredmethods="2"/>
129
- <line num="1" count="1" type="stmt"/>
130
- <line num="4" count="1" type="stmt"/>
131
- <line num="10" count="1" type="stmt"/>
132
- <line num="13" count="0" type="stmt"/>
133
- <line num="16" count="6" type="stmt"/>
134
- <line num="19" count="1" type="stmt"/>
135
- <line num="22" count="0" type="stmt"/>
128
+ <metrics statements="9" coveredstatements="6" conditionals="0" coveredconditionals="0" methods="6" coveredmethods="3"/>
129
+ <line num="1" count="2" type="stmt"/>
130
+ <line num="4" count="2" type="stmt"/>
131
+ <line num="10" count="2" type="stmt"/>
132
+ <line num="15" count="2" type="stmt"/>
133
+ <line num="19" count="6" type="stmt"/>
134
+ <line num="22" count="1" type="stmt"/>
136
135
  <line num="25" count="0" type="stmt"/>
137
136
  <line num="28" count="0" type="stmt"/>
137
+ <line num="31" count="0" type="stmt"/>
138
138
  </file>
139
139
  </package>
140
140
  <package name="controllers">
141
141
  <metrics statements="195" coveredstatements="193" conditionals="29" coveredconditionals="27" methods="79" coveredmethods="74"/>
142
142
  <file name="aggregate.ts" path="/Users/xiaoxun/github/innei-repo/mx-space/mx-api-client/src/controllers/aggregate.ts">
143
143
  <metrics statements="13" coveredstatements="13" conditionals="5" coveredconditionals="4" methods="6" coveredmethods="6"/>
144
- <line num="11" count="15" type="stmt"/>
145
144
  <line num="12" count="15" type="stmt"/>
146
- <line num="21" count="15" type="stmt"/>
147
- <line num="22" count="4" type="stmt"/>
148
- <line num="23" count="4" type="stmt"/>
149
- <line num="24" count="4" type="stmt"/>
150
- <line num="25" count="4" type="stmt"/>
151
- <line num="28" count="6" type="stmt"/>
152
- <line num="35" count="1" type="stmt"/>
153
- <line num="42" count="2" type="stmt"/>
154
- <line num="50" count="2" type="cond" truecount="2" falsecount="0"/>
155
- <line num="51" count="2" type="stmt"/>
156
- <line num="63" count="1" type="stmt"/>
145
+ <line num="13" count="15" type="stmt"/>
146
+ <line num="25" count="15" type="stmt"/>
147
+ <line num="26" count="4" type="stmt"/>
148
+ <line num="27" count="4" type="stmt"/>
149
+ <line num="28" count="4" type="stmt"/>
150
+ <line num="29" count="4" type="stmt"/>
151
+ <line num="32" count="6" type="stmt"/>
152
+ <line num="39" count="1" type="stmt"/>
153
+ <line num="46" count="2" type="stmt"/>
154
+ <line num="54" count="2" type="cond" truecount="2" falsecount="0"/>
155
+ <line num="55" count="2" type="stmt"/>
156
+ <line num="67" count="1" type="stmt"/>
157
157
  </file>
158
158
  <file name="base.ts" path="/Users/xiaoxun/github/innei-repo/mx-space/mx-api-client/src/controllers/base.ts">
159
159
  <metrics statements="8" coveredstatements="8" conditionals="0" coveredconditionals="0" methods="5" coveredmethods="5"/>
@@ -168,51 +168,51 @@
168
168
  </file>
169
169
  <file name="category.ts" path="/Users/xiaoxun/github/innei-repo/mx-space/mx-api-client/src/controllers/category.ts">
170
170
  <metrics statements="30" coveredstatements="29" conditionals="4" coveredconditionals="3" methods="8" coveredmethods="8"/>
171
- <line num="3" count="15" type="stmt"/>
172
- <line num="4" count="15" type="stmt"/>
173
- <line num="6" count="15" type="stmt"/>
174
- <line num="7" count="15" type="stmt"/>
175
- <line num="22" count="15" type="stmt"/>
176
- <line num="23" count="4" type="stmt"/>
177
- <line num="24" count="4" type="stmt"/>
178
- <line num="25" count="4" type="stmt"/>
179
- <line num="26" count="4" type="stmt"/>
180
- <line num="30" count="8" type="stmt"/>
181
- <line num="34" count="2" type="stmt"/>
182
- <line num="42" count="1" type="stmt"/>
183
- <line num="56" count="2" type="cond" truecount="2" falsecount="0"/>
184
- <line num="57" count="1" type="stmt"/>
185
- <line num="62" count="1" type="stmt"/>
186
- <line num="63" count="1" type="stmt"/>
187
- <line num="64" count="1" type="stmt"/>
188
- <line num="65" count="1" type="cond" truecount="1" falsecount="0"/>
189
- <line num="66" count="1" type="stmt"/>
190
- <line num="71" count="1" type="stmt"/>
191
- <line num="72" count="1" type="cond" truecount="0" falsecount="1"/>
192
- <line num="73" count="0" type="stmt"/>
193
- <line num="81" count="1" type="stmt"/>
194
- <line num="82" count="2" type="stmt"/>
195
- <line num="85" count="1" type="stmt"/>
196
- <line num="86" count="1" type="stmt"/>
197
- <line num="91" count="2" type="stmt"/>
198
- <line num="92" count="2" type="stmt"/>
171
+ <line num="8" count="15" type="stmt"/>
172
+ <line num="9" count="15" type="stmt"/>
173
+ <line num="11" count="15" type="stmt"/>
174
+ <line num="12" count="15" type="stmt"/>
175
+ <line num="30" count="15" type="stmt"/>
176
+ <line num="31" count="4" type="stmt"/>
177
+ <line num="32" count="4" type="stmt"/>
178
+ <line num="33" count="4" type="stmt"/>
179
+ <line num="34" count="4" type="stmt"/>
180
+ <line num="38" count="8" type="stmt"/>
181
+ <line num="45" count="2" type="stmt"/>
182
+ <line num="53" count="1" type="stmt"/>
183
+ <line num="67" count="2" type="cond" truecount="2" falsecount="0"/>
184
+ <line num="68" count="1" type="stmt"/>
185
+ <line num="73" count="1" type="stmt"/>
186
+ <line num="74" count="1" type="stmt"/>
187
+ <line num="75" count="1" type="stmt"/>
188
+ <line num="76" count="1" type="cond" truecount="1" falsecount="0"/>
189
+ <line num="77" count="1" type="stmt"/>
190
+ <line num="82" count="1" type="stmt"/>
191
+ <line num="83" count="1" type="cond" truecount="0" falsecount="1"/>
192
+ <line num="84" count="0" type="stmt"/>
193
+ <line num="92" count="1" type="stmt"/>
194
+ <line num="93" count="2" type="stmt"/>
199
195
  <line num="96" count="1" type="stmt"/>
200
- <line num="105" count="1" type="stmt"/>
196
+ <line num="97" count="1" type="stmt"/>
197
+ <line num="102" count="2" type="stmt"/>
198
+ <line num="103" count="2" type="stmt"/>
199
+ <line num="107" count="1" type="stmt"/>
200
+ <line num="116" count="1" type="stmt"/>
201
201
  </file>
202
202
  <file name="comment.ts" path="/Users/xiaoxun/github/innei-repo/mx-space/mx-api-client/src/controllers/comment.ts">
203
203
  <metrics statements="12" coveredstatements="12" conditionals="5" coveredconditionals="5" methods="6" coveredmethods="6"/>
204
- <line num="6" count="15" type="stmt"/>
205
- <line num="16" count="15" type="stmt"/>
206
- <line num="17" count="4" type="stmt"/>
207
- <line num="18" count="4" type="stmt"/>
208
- <line num="20" count="4" type="stmt"/>
204
+ <line num="7" count="15" type="stmt"/>
205
+ <line num="20" count="15" type="stmt"/>
209
206
  <line num="21" count="4" type="stmt"/>
210
- <line num="25" count="6" type="stmt"/>
211
- <line num="32" count="1" type="stmt"/>
212
- <line num="40" count="1" type="stmt"/>
213
- <line num="41" count="1" type="stmt"/>
214
- <line num="51" count="3" type="stmt"/>
215
- <line num="60" count="1" type="stmt"/>
207
+ <line num="22" count="4" type="stmt"/>
208
+ <line num="24" count="4" type="stmt"/>
209
+ <line num="25" count="4" type="stmt"/>
210
+ <line num="29" count="6" type="stmt"/>
211
+ <line num="36" count="1" type="stmt"/>
212
+ <line num="44" count="1" type="stmt"/>
213
+ <line num="45" count="1" type="stmt"/>
214
+ <line num="55" count="3" type="stmt"/>
215
+ <line num="64" count="1" type="stmt"/>
216
216
  </file>
217
217
  <file name="index.ts" path="/Users/xiaoxun/github/innei-repo/mx-space/mx-api-client/src/controllers/index.ts">
218
218
  <metrics statements="28" coveredstatements="28" conditionals="0" coveredconditionals="0" methods="13" coveredmethods="9"/>
@@ -237,7 +237,7 @@
237
237
  <line num="56" count="16" type="stmt"/>
238
238
  <line num="57" count="18" type="stmt"/>
239
239
  <line num="58" count="15" type="stmt"/>
240
- <line num="59" count="19" type="stmt"/>
240
+ <line num="59" count="20" type="stmt"/>
241
241
  <line num="60" count="15" type="stmt"/>
242
242
  <line num="61" count="16" type="stmt"/>
243
243
  <line num="62" count="15" type="stmt"/>
@@ -247,235 +247,242 @@
247
247
  </file>
248
248
  <file name="link.ts" path="/Users/xiaoxun/github/innei-repo/mx-space/mx-api-client/src/controllers/link.ts">
249
249
  <metrics statements="8" coveredstatements="8" conditionals="0" coveredconditionals="0" methods="1" coveredmethods="1"/>
250
- <line num="2" count="15" type="stmt"/>
251
- <line num="4" count="15" type="stmt"/>
252
- <line num="13" count="15" type="stmt"/>
253
- <line num="14" count="4" type="stmt"/>
254
- <line num="15" count="4" type="stmt"/>
255
- <line num="16" count="4" type="stmt"/>
256
- <line num="19" count="4" type="stmt"/>
257
- <line num="20" count="4" type="stmt"/>
250
+ <line num="3" count="15" type="stmt"/>
251
+ <line num="5" count="15" type="stmt"/>
252
+ <line num="17" count="15" type="stmt"/>
253
+ <line num="21" count="4" type="stmt"/>
254
+ <line num="22" count="4" type="stmt"/>
255
+ <line num="23" count="4" type="stmt"/>
256
+ <line num="26" count="4" type="stmt"/>
257
+ <line num="27" count="4" type="stmt"/>
258
258
  </file>
259
259
  <file name="note.ts" path="/Users/xiaoxun/github/innei-repo/mx-space/mx-api-client/src/controllers/note.ts">
260
260
  <metrics statements="15" coveredstatements="15" conditionals="6" coveredconditionals="6" methods="7" coveredmethods="7"/>
261
- <line num="6" count="15" type="stmt"/>
262
- <line num="22" count="15" type="stmt"/>
263
- <line num="23" count="6" type="stmt"/>
264
- <line num="24" count="6" type="stmt"/>
265
- <line num="26" count="6" type="stmt"/>
261
+ <line num="7" count="15" type="stmt"/>
262
+ <line num="26" count="15" type="stmt"/>
266
263
  <line num="27" count="6" type="stmt"/>
267
- <line num="30" count="8" type="stmt"/>
268
- <line num="37" count="1" type="stmt"/>
269
- <line num="47" count="3" type="cond" truecount="2" falsecount="0"/>
270
- <line num="48" count="1" type="stmt"/>
271
- <line num="52" count="2" type="stmt"/>
272
- <line num="61" count="2" type="stmt"/>
273
- <line num="62" count="2" type="stmt"/>
274
- <line num="78" count="1" type="stmt"/>
275
- <line num="90" count="1" type="stmt"/>
264
+ <line num="28" count="6" type="stmt"/>
265
+ <line num="30" count="6" type="stmt"/>
266
+ <line num="31" count="6" type="stmt"/>
267
+ <line num="34" count="8" type="stmt"/>
268
+ <line num="41" count="1" type="stmt"/>
269
+ <line num="51" count="3" type="cond" truecount="2" falsecount="0"/>
270
+ <line num="52" count="1" type="stmt"/>
271
+ <line num="56" count="2" type="stmt"/>
272
+ <line num="65" count="2" type="stmt"/>
273
+ <line num="66" count="2" type="stmt"/>
274
+ <line num="82" count="1" type="stmt"/>
275
+ <line num="94" count="1" type="stmt"/>
276
276
  </file>
277
277
  <file name="page.ts" path="/Users/xiaoxun/github/innei-repo/mx-space/mx-api-client/src/controllers/page.ts">
278
278
  <metrics statements="11" coveredstatements="11" conditionals="3" coveredconditionals="3" methods="5" coveredmethods="5"/>
279
- <line num="5" count="15" type="stmt"/>
280
- <line num="20" count="15" type="stmt"/>
281
- <line num="21" count="4" type="stmt"/>
282
- <line num="22" count="4" type="stmt"/>
283
- <line num="24" count="4" type="stmt"/>
284
- <line num="25" count="4" type="stmt"/>
279
+ <line num="7" count="15" type="stmt"/>
280
+ <line num="25" count="15" type="stmt"/>
281
+ <line num="26" count="4" type="stmt"/>
285
282
  <line num="27" count="4" type="stmt"/>
286
- <line num="33" count="2" type="stmt"/>
287
- <line num="34" count="2" type="stmt"/>
288
- <line num="49" count="1" type="stmt"/>
289
- <line num="57" count="1" type="stmt"/>
283
+ <line num="29" count="4" type="stmt"/>
284
+ <line num="30" count="4" type="stmt"/>
285
+ <line num="32" count="4" type="stmt"/>
286
+ <line num="38" count="2" type="stmt"/>
287
+ <line num="39" count="2" type="stmt"/>
288
+ <line num="54" count="1" type="stmt"/>
289
+ <line num="62" count="1" type="stmt"/>
290
290
  </file>
291
291
  <file name="post.ts" path="/Users/xiaoxun/github/innei-repo/mx-space/mx-api-client/src/controllers/post.ts">
292
292
  <metrics statements="14" coveredstatements="14" conditionals="5" coveredconditionals="5" methods="6" coveredmethods="6"/>
293
- <line num="6" count="15" type="stmt"/>
294
- <line num="22" count="15" type="stmt"/>
295
- <line num="23" count="7" type="stmt"/>
296
- <line num="24" count="7" type="stmt"/>
297
- <line num="27" count="7" type="stmt"/>
298
- <line num="29" count="7" type="stmt"/>
299
- <line num="32" count="8" type="stmt"/>
300
- <line num="42" count="2" type="stmt"/>
301
- <line num="43" count="2" type="stmt"/>
302
- <line num="67" count="4" type="cond" truecount="2" falsecount="0"/>
303
- <line num="68" count="3" type="stmt"/>
304
- <line num="70" count="1" type="stmt"/>
305
- <line num="78" count="1" type="stmt"/>
306
- <line num="85" count="1" type="stmt"/>
293
+ <line num="7" count="15" type="stmt"/>
294
+ <line num="26" count="15" type="stmt"/>
295
+ <line num="27" count="8" type="stmt"/>
296
+ <line num="28" count="8" type="stmt"/>
297
+ <line num="31" count="8" type="stmt"/>
298
+ <line num="33" count="8" type="stmt"/>
299
+ <line num="36" count="9" type="stmt"/>
300
+ <line num="46" count="2" type="stmt"/>
301
+ <line num="47" count="2" type="stmt"/>
302
+ <line num="74" count="4" type="cond" truecount="2" falsecount="0"/>
303
+ <line num="75" count="3" type="stmt"/>
304
+ <line num="77" count="1" type="stmt"/>
305
+ <line num="85" count="2" type="stmt"/>
306
+ <line num="92" count="1" type="stmt"/>
307
307
  </file>
308
308
  <file name="project.ts" path="/Users/xiaoxun/github/innei-repo/mx-space/mx-api-client/src/controllers/project.ts">
309
309
  <metrics statements="8" coveredstatements="8" conditionals="0" coveredconditionals="0" methods="1" coveredmethods="1"/>
310
- <line num="2" count="15" type="stmt"/>
311
- <line num="4" count="15" type="stmt"/>
312
- <line num="12" count="15" type="stmt"/>
313
- <line num="13" count="3" type="stmt"/>
314
- <line num="14" count="3" type="stmt"/>
315
- <line num="15" count="3" type="stmt"/>
316
- <line num="18" count="3" type="stmt"/>
317
- <line num="19" count="3" type="stmt"/>
310
+ <line num="3" count="15" type="stmt"/>
311
+ <line num="5" count="15" type="stmt"/>
312
+ <line num="16" count="15" type="stmt"/>
313
+ <line num="20" count="3" type="stmt"/>
314
+ <line num="21" count="3" type="stmt"/>
315
+ <line num="22" count="3" type="stmt"/>
316
+ <line num="25" count="3" type="stmt"/>
317
+ <line num="26" count="3" type="stmt"/>
318
318
  </file>
319
319
  <file name="recently.ts" path="/Users/xiaoxun/github/innei-repo/mx-space/mx-api-client/src/controllers/recently.ts">
320
320
  <metrics statements="10" coveredstatements="10" conditionals="0" coveredconditionals="0" methods="5" coveredmethods="5"/>
321
- <line num="3" count="15" type="stmt"/>
322
- <line num="13" count="15" type="stmt"/>
323
- <line num="14" count="4" type="stmt"/>
324
- <line num="15" count="4" type="stmt"/>
325
- <line num="17" count="4" type="stmt"/>
326
- <line num="18" count="4" type="stmt"/>
327
- <line num="22" count="3" type="stmt"/>
328
- <line num="28" count="1" type="stmt"/>
329
- <line num="32" count="1" type="stmt"/>
330
- <line num="40" count="1" type="stmt"/>
321
+ <line num="5" count="15" type="stmt"/>
322
+ <line num="18" count="15" type="stmt"/>
323
+ <line num="19" count="4" type="stmt"/>
324
+ <line num="20" count="4" type="stmt"/>
325
+ <line num="22" count="4" type="stmt"/>
326
+ <line num="23" count="4" type="stmt"/>
327
+ <line num="27" count="3" type="stmt"/>
328
+ <line num="33" count="1" type="stmt"/>
329
+ <line num="37" count="1" type="stmt"/>
330
+ <line num="45" count="1" type="stmt"/>
331
331
  </file>
332
332
  <file name="say.ts" path="/Users/xiaoxun/github/innei-repo/mx-space/mx-api-client/src/controllers/say.ts">
333
333
  <metrics statements="10" coveredstatements="9" conditionals="0" coveredconditionals="0" methods="3" coveredmethods="2"/>
334
- <line num="3" count="15" type="stmt"/>
335
334
  <line num="5" count="15" type="stmt"/>
336
- <line num="13" count="15" type="stmt"/>
337
- <line num="17" count="4" type="stmt"/>
338
- <line num="18" count="4" type="stmt"/>
339
- <line num="20" count="4" type="stmt"/>
340
- <line num="21" count="4" type="stmt"/>
335
+ <line num="7" count="15" type="stmt"/>
336
+ <line num="18" count="15" type="stmt"/>
341
337
  <line num="22" count="4" type="stmt"/>
338
+ <line num="23" count="4" type="stmt"/>
339
+ <line num="25" count="4" type="stmt"/>
342
340
  <line num="26" count="4" type="stmt"/>
343
- <line num="33" count="0" type="stmt"/>
341
+ <line num="27" count="4" type="stmt"/>
342
+ <line num="31" count="4" type="stmt"/>
343
+ <line num="38" count="0" type="stmt"/>
344
344
  </file>
345
345
  <file name="search.ts" path="/Users/xiaoxun/github/innei-repo/mx-space/mx-api-client/src/controllers/search.ts">
346
346
  <metrics statements="9" coveredstatements="9" conditionals="1" coveredconditionals="1" methods="4" coveredmethods="4"/>
347
- <line num="6" count="15" type="stmt"/>
348
- <line num="23" count="15" type="stmt"/>
349
- <line num="24" count="4" type="stmt"/>
350
- <line num="25" count="4" type="stmt"/>
351
- <line num="27" count="4" type="stmt"/>
347
+ <line num="7" count="15" type="stmt"/>
348
+ <line num="27" count="15" type="stmt"/>
352
349
  <line num="28" count="4" type="stmt"/>
353
- <line num="32" count="7" type="stmt"/>
354
- <line num="65" count="6" type="stmt"/>
355
- <line num="77" count="1" type="stmt"/>
350
+ <line num="29" count="4" type="stmt"/>
351
+ <line num="31" count="4" type="stmt"/>
352
+ <line num="32" count="4" type="stmt"/>
353
+ <line num="36" count="7" type="stmt"/>
354
+ <line num="71" count="6" type="stmt"/>
355
+ <line num="83" count="1" type="stmt"/>
356
356
  </file>
357
357
  <file name="snippet.ts" path="/Users/xiaoxun/github/innei-repo/mx-space/mx-api-client/src/controllers/snippet.ts">
358
358
  <metrics statements="9" coveredstatements="9" conditionals="0" coveredconditionals="0" methods="4" coveredmethods="4"/>
359
- <line num="3" count="15" type="stmt"/>
360
- <line num="12" count="15" type="stmt"/>
361
- <line num="13" count="4" type="stmt"/>
362
- <line num="14" count="4" type="stmt"/>
363
- <line num="16" count="4" type="stmt"/>
364
- <line num="17" count="4" type="stmt"/>
365
- <line num="21" count="2" type="stmt"/>
366
- <line num="25" count="1" type="stmt"/>
367
- <line num="29" count="1" type="stmt"/>
359
+ <line num="5" count="15" type="stmt"/>
360
+ <line num="17" count="15" type="stmt"/>
361
+ <line num="18" count="4" type="stmt"/>
362
+ <line num="19" count="4" type="stmt"/>
363
+ <line num="21" count="4" type="stmt"/>
364
+ <line num="22" count="4" type="stmt"/>
365
+ <line num="26" count="2" type="stmt"/>
366
+ <line num="30" count="1" type="stmt"/>
367
+ <line num="34" count="1" type="stmt"/>
368
368
  </file>
369
369
  <file name="user.ts" path="/Users/xiaoxun/github/innei-repo/mx-space/mx-api-client/src/controllers/user.ts">
370
370
  <metrics statements="10" coveredstatements="10" conditionals="0" coveredconditionals="0" methods="5" coveredmethods="5"/>
371
- <line num="3" count="15" type="stmt"/>
372
- <line num="13" count="15" type="stmt"/>
373
- <line num="14" count="4" type="stmt"/>
374
- <line num="15" count="4" type="stmt"/>
375
- <line num="18" count="4" type="stmt"/>
371
+ <line num="5" count="15" type="stmt"/>
372
+ <line num="18" count="15" type="stmt"/>
373
+ <line num="19" count="4" type="stmt"/>
376
374
  <line num="20" count="4" type="stmt"/>
377
- <line num="23" count="3" type="stmt"/>
378
- <line num="27" count="1" type="stmt"/>
379
- <line num="31" count="1" type="stmt"/>
380
- <line num="40" count="1" type="stmt"/>
375
+ <line num="23" count="4" type="stmt"/>
376
+ <line num="25" count="4" type="stmt"/>
377
+ <line num="28" count="3" type="stmt"/>
378
+ <line num="32" count="1" type="stmt"/>
379
+ <line num="36" count="1" type="stmt"/>
380
+ <line num="45" count="1" type="stmt"/>
381
381
  </file>
382
382
  </package>
383
383
  <package name="core">
384
- <metrics statements="96" coveredstatements="94" conditionals="38" coveredconditionals="30" methods="30" coveredmethods="28"/>
384
+ <metrics statements="103" coveredstatements="101" conditionals="42" coveredconditionals="34" methods="30" coveredmethods="29"/>
385
385
  <file name="attach-request.ts" path="/Users/xiaoxun/github/innei-repo/mx-space/mx-api-client/src/core/attach-request.ts">
386
386
  <metrics statements="18" coveredstatements="16" conditionals="10" coveredconditionals="7" methods="6" coveredmethods="6"/>
387
387
  <line num="3" count="15" type="stmt"/>
388
- <line num="4" count="23" type="stmt"/>
389
- <line num="7" count="66" type="cond" truecount="1" falsecount="0"/>
390
- <line num="8" count="66" type="stmt"/>
391
- <line num="10" count="66" type="cond" truecount="2" falsecount="0"/>
392
- <line num="13" count="23" type="stmt"/>
393
- <line num="14" count="92" type="stmt"/>
388
+ <line num="4" count="28" type="stmt"/>
389
+ <line num="7" count="70" type="cond" truecount="1" falsecount="0"/>
390
+ <line num="8" count="70" type="stmt"/>
391
+ <line num="10" count="70" type="cond" truecount="2" falsecount="0"/>
392
+ <line num="13" count="28" type="stmt"/>
393
+ <line num="14" count="112" type="stmt"/>
394
394
  <line num="16" count="5" type="stmt"/>
395
- <line num="23" count="66" type="cond" truecount="1" falsecount="2"/>
395
+ <line num="23" count="70" type="cond" truecount="1" falsecount="2"/>
396
396
  <line num="24" count="0" type="stmt"/>
397
- <line num="27" count="66" type="cond" truecount="0" falsecount="1"/>
397
+ <line num="27" count="70" type="cond" truecount="0" falsecount="1"/>
398
398
  <line num="28" count="0" type="stmt"/>
399
- <line num="30" count="66" type="stmt"/>
400
- <line num="32" count="66" type="stmt"/>
399
+ <line num="30" count="70" type="stmt"/>
400
+ <line num="32" count="70" type="stmt"/>
401
401
  <line num="33" count="73" type="cond" truecount="1" falsecount="0"/>
402
402
  <line num="37" count="31" type="stmt"/>
403
403
  <line num="39" count="42" type="stmt"/>
404
- <line num="42" count="66" type="stmt"/>
404
+ <line num="42" count="70" type="stmt"/>
405
405
  </file>
406
406
  <file name="client.ts" path="/Users/xiaoxun/github/innei-repo/mx-space/mx-api-client/src/core/client.ts">
407
- <metrics statements="71" coveredstatements="71" conditionals="28" coveredconditionals="23" methods="23" coveredmethods="21"/>
407
+ <metrics statements="78" coveredstatements="78" conditionals="32" coveredconditionals="27" methods="23" coveredmethods="22"/>
408
408
  <line num="1" count="15" type="stmt"/>
409
- <line num="8" count="15" type="stmt"/>
410
- <line num="9" count="15" type="stmt"/>
411
- <line num="10" count="15" type="stmt"/>
412
409
  <line num="11" count="15" type="stmt"/>
413
- <line num="35" count="15" type="stmt"/>
414
- <line num="37" count="15" type="stmt"/>
415
- <line num="40" count="23" type="stmt"/>
416
- <line num="42" count="23" type="stmt"/>
417
- <line num="45" count="23" type="stmt"/>
418
- <line num="47" count="23" type="stmt"/>
419
- <line num="49" count="23" type="stmt"/>
420
- <line num="65" count="23" type="stmt"/>
421
- <line num="66" count="368" type="stmt"/>
422
- <line num="68" count="90" type="stmt"/>
423
- <line num="69" count="90" type="cond" truecount="1" falsecount="0"/>
424
- <line num="70" count="16" type="stmt"/>
425
- <line num="76" count="74" type="stmt"/>
426
- <line num="87" count="18" type="cond" truecount="2" falsecount="0"/>
427
- <line num="88" count="18" type="stmt"/>
428
- <line num="89" count="56" type="stmt"/>
429
- <line num="91" count="56" type="cond" truecount="2" falsecount="0"/>
430
- <line num="92" count="12" type="stmt"/>
431
- <line num="93" count="24" type="stmt"/>
432
- <line num="96" count="44" type="stmt"/>
433
- <line num="101" count="68" type="stmt"/>
434
- <line num="103" count="74" type="stmt"/>
435
- <line num="112" count="71" type="stmt"/>
436
- <line num="116" count="71" type="stmt"/>
437
- <line num="125" count="71" type="cond" truecount="1" falsecount="1"/>
438
- <line num="132" count="71" type="stmt"/>
439
- <line num="136" count="71" type="cond" truecount="1" falsecount="0"/>
440
- <line num="137" count="54" type="stmt"/>
441
- <line num="139" count="71" type="stmt"/>
442
- <line num="144" count="23" type="stmt"/>
443
- <line num="145" count="23" type="stmt"/>
444
- <line num="146" count="23" type="stmt"/>
445
- <line num="155" count="23" type="stmt"/>
446
- <line num="157" count="23" type="stmt"/>
447
- <line num="158" count="23" type="stmt"/>
448
- <line num="160" count="23" type="stmt"/>
449
- <line num="162" count="98" type="cond" truecount="0" falsecount="1"/>
450
- <line num="163" count="98" type="cond" truecount="1" falsecount="0"/>
451
- <line num="164" count="71" type="stmt"/>
452
- <line num="165" count="71" type="stmt"/>
453
- <line num="166" count="71" type="stmt"/>
454
- <line num="168" count="71" type="stmt"/>
455
- <line num="169" count="71" type="stmt"/>
456
- <line num="175" count="3" type="stmt"/>
457
- <line num="189" count="68" type="stmt"/>
458
- <line num="190" count="68" type="cond" truecount="1" falsecount="0"/>
459
- <line num="191" count="2" type="stmt"/>
460
- <line num="195" count="66" type="cond" truecount="2" falsecount="0"/>
461
- <line num="199" count="66" type="cond" truecount="3" falsecount="0"/>
462
- <line num="200" count="64" type="stmt"/>
463
- <line num="202" count="40" type="stmt"/>
464
- <line num="210" count="64" type="stmt"/>
465
- <line num="212" count="10" type="stmt"/>
466
- <line num="222" count="66" type="stmt"/>
467
- <line num="225" count="27" type="stmt"/>
468
- <line num="226" count="27" type="stmt"/>
469
- <line num="230" count="102" type="stmt"/>
470
- <line num="231" count="102" type="stmt"/>
471
- <line num="235" count="23" type="stmt"/>
472
- <line num="240" count="15" type="stmt"/>
473
- <line num="241" count="23" type="stmt"/>
474
- <line num="242" count="23" type="stmt"/>
475
- <line num="243" count="23" type="cond" truecount="2" falsecount="0"/>
476
- <line num="244" count="23" type="cond" truecount="1" falsecount="0"/>
477
- <line num="245" count="1" type="stmt"/>
478
- <line num="247" count="23" type="stmt"/>
410
+ <line num="12" count="15" type="stmt"/>
411
+ <line num="13" count="15" type="stmt"/>
412
+ <line num="14" count="15" type="stmt"/>
413
+ <line num="16" count="15" type="stmt"/>
414
+ <line num="24" count="28" type="stmt"/>
415
+ <line num="25" count="28" type="stmt"/>
416
+ <line num="28" count="28" type="stmt"/>
417
+ <line num="30" count="28" type="stmt"/>
418
+ <line num="32" count="28" type="stmt"/>
419
+ <line num="36" count="28" type="stmt"/>
420
+ <line num="37" count="448" type="stmt"/>
421
+ <line num="39" count="91" type="stmt"/>
422
+ <line num="40" count="91" type="cond" truecount="1" falsecount="0"/>
423
+ <line num="41" count="16" type="stmt"/>
424
+ <line num="47" count="75" type="stmt"/>
425
+ <line num="58" count="19" type="cond" truecount="2" falsecount="0"/>
426
+ <line num="59" count="19" type="stmt"/>
427
+ <line num="60" count="57" type="stmt"/>
428
+ <line num="62" count="57" type="cond" truecount="2" falsecount="0"/>
429
+ <line num="63" count="12" type="stmt"/>
430
+ <line num="64" count="24" type="stmt"/>
431
+ <line num="67" count="45" type="stmt"/>
432
+ <line num="72" count="69" type="stmt"/>
433
+ <line num="74" count="75" type="stmt"/>
434
+ <line num="83" count="76" type="stmt"/>
435
+ <line num="87" count="77" type="stmt"/>
436
+ <line num="96" count="75" type="cond" truecount="1" falsecount="1"/>
437
+ <line num="103" count="77" type="stmt"/>
438
+ <line num="107" count="76" type="cond" truecount="1" falsecount="0"/>
439
+ <line num="108" count="55" type="stmt"/>
440
+ <line num="110" count="76" type="stmt"/>
441
+ <line num="115" count="28" type="stmt"/>
442
+ <line num="116" count="28" type="stmt"/>
443
+ <line num="117" count="28" type="stmt"/>
444
+ <line num="125" count="28" type="stmt"/>
445
+ <line num="127" count="28" type="stmt"/>
446
+ <line num="128" count="28" type="stmt"/>
447
+ <line num="130" count="28" type="stmt"/>
448
+ <line num="132" count="112" type="cond" truecount="1" falsecount="0"/>
449
+ <line num="133" count="2" type="stmt"/>
450
+ <line num="134" count="2" type="cond" truecount="2" falsecount="0"/>
451
+ <line num="135" count="1" type="stmt"/>
452
+ <line num="136" count="1" type="stmt"/>
453
+ <line num="137" count="1" type="stmt"/>
454
+ <line num="139" count="1" type="stmt"/>
455
+ <line num="140" count="1" type="stmt"/>
456
+ <line num="141" count="1" type="cond" truecount="1" falsecount="1"/>
457
+ <line num="144" count="110" type="cond" truecount="1" falsecount="0"/>
458
+ <line num="145" count="75" type="stmt"/>
459
+ <line num="146" count="75" type="stmt"/>
460
+ <line num="147" count="75" type="stmt"/>
461
+ <line num="149" count="75" type="stmt"/>
462
+ <line num="150" count="75" type="stmt"/>
463
+ <line num="156" count="3" type="stmt"/>
464
+ <line num="170" count="72" type="stmt"/>
465
+ <line num="171" count="72" type="cond" truecount="1" falsecount="0"/>
466
+ <line num="172" count="2" type="stmt"/>
467
+ <line num="176" count="70" type="cond" truecount="2" falsecount="0"/>
468
+ <line num="180" count="70" type="cond" truecount="3" falsecount="0"/>
469
+ <line num="181" count="67" type="stmt"/>
470
+ <line num="183" count="44" type="stmt"/>
471
+ <line num="191" count="67" type="stmt"/>
472
+ <line num="193" count="10" type="stmt"/>
473
+ <line num="203" count="70" type="stmt"/>
474
+ <line num="206" count="35" type="stmt"/>
475
+ <line num="207" count="35" type="stmt"/>
476
+ <line num="211" count="103" type="stmt"/>
477
+ <line num="212" count="103" type="stmt"/>
478
+ <line num="216" count="28" type="stmt"/>
479
+ <line num="221" count="15" type="stmt"/>
480
+ <line num="222" count="28" type="stmt"/>
481
+ <line num="232" count="28" type="stmt"/>
482
+ <line num="233" count="28" type="cond" truecount="2" falsecount="0"/>
483
+ <line num="234" count="28" type="cond" truecount="1" falsecount="0"/>
484
+ <line num="235" count="1" type="stmt"/>
485
+ <line num="237" count="28" type="stmt"/>
479
486
  </file>
480
487
  <file name="error.ts" path="/Users/xiaoxun/github/innei-repo/mx-space/mx-api-client/src/core/error.ts">
481
488
  <metrics statements="5" coveredstatements="5" conditionals="0" coveredconditionals="0" methods="1" coveredmethods="1"/>
@@ -511,35 +518,35 @@
511
518
  <file name="auto-bind.ts" path="/Users/xiaoxun/github/innei-repo/mx-space/mx-api-client/src/utils/auto-bind.ts">
512
519
  <metrics statements="22" coveredstatements="19" conditionals="13" coveredconditionals="9" methods="4" coveredmethods="3"/>
513
520
  <line num="5" count="16" type="stmt"/>
514
- <line num="6" count="70" type="stmt"/>
515
- <line num="8" count="70" type="stmt"/>
516
- <line num="9" count="92" type="stmt"/>
517
- <line num="10" count="406" type="stmt"/>
518
- <line num="17" count="70" type="stmt"/>
521
+ <line num="6" count="71" type="stmt"/>
522
+ <line num="8" count="71" type="stmt"/>
523
+ <line num="9" count="93" type="stmt"/>
524
+ <line num="10" count="412" type="stmt"/>
525
+ <line num="17" count="71" type="stmt"/>
519
526
  <line num="20" count="16" type="cond" truecount="1" falsecount="0"/>
520
- <line num="21" count="70" type="stmt"/>
521
- <line num="22" count="314" type="stmt"/>
527
+ <line num="21" count="71" type="stmt"/>
528
+ <line num="22" count="319" type="stmt"/>
522
529
  <line num="23" count="0" type="cond" truecount="0" falsecount="2"/>
523
- <line num="25" count="314" type="cond" truecount="0" falsecount="1"/>
530
+ <line num="25" count="319" type="cond" truecount="0" falsecount="1"/>
524
531
  <line num="26" count="0" type="stmt"/>
525
- <line num="29" count="314" type="cond" truecount="0" falsecount="1"/>
532
+ <line num="29" count="319" type="cond" truecount="0" falsecount="1"/>
526
533
  <line num="30" count="0" type="stmt"/>
527
- <line num="33" count="314" type="stmt"/>
528
- <line num="36" count="70" type="stmt"/>
529
- <line num="37" count="406" type="cond" truecount="3" falsecount="0"/>
530
- <line num="38" count="92" type="stmt"/>
531
- <line num="41" count="314" type="stmt"/>
532
- <line num="42" count="314" type="cond" truecount="3" falsecount="0"/>
533
- <line num="43" count="239" type="stmt"/>
534
- <line num="47" count="70" type="stmt"/>
534
+ <line num="33" count="319" type="stmt"/>
535
+ <line num="36" count="71" type="stmt"/>
536
+ <line num="37" count="412" type="cond" truecount="3" falsecount="0"/>
537
+ <line num="38" count="93" type="stmt"/>
538
+ <line num="41" count="319" type="stmt"/>
539
+ <line num="42" count="319" type="cond" truecount="3" falsecount="0"/>
540
+ <line num="43" count="243" type="stmt"/>
541
+ <line num="47" count="71" type="stmt"/>
535
542
  </file>
536
543
  <file name="index.ts" path="/Users/xiaoxun/github/innei-repo/mx-space/mx-api-client/src/utils/index.ts">
537
544
  <metrics statements="22" coveredstatements="18" conditionals="19" coveredconditionals="14" methods="5" coveredmethods="4"/>
538
545
  <line num="3" count="16" type="stmt"/>
539
- <line num="4" count="75" type="cond" truecount="3" falsecount="0"/>
546
+ <line num="4" count="79" type="cond" truecount="3" falsecount="0"/>
540
547
  <line num="8" count="16" type="stmt"/>
541
548
  <line num="9" count="0" type="stmt"/>
542
- <line num="16" count="81" type="cond" truecount="2" falsecount="0"/>
549
+ <line num="16" count="85" type="cond" truecount="2" falsecount="0"/>
543
550
  <line num="17" count="16" type="stmt"/>
544
551
  <line num="18" count="9" type="cond" truecount="0" falsecount="1"/>
545
552
  <line num="19" count="0" type="stmt"/>