@mx-space/api-client 1.0.0-beta.3 → 1.0.0
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.
- package/.eslintcache +1 -0
- package/__tests__/adaptors/axios.spec.ts +7 -0
- package/__tests__/adaptors/ky.spec.ts +9 -0
- package/__tests__/adaptors/umi-request.spec.ts +7 -0
- package/__tests__/contronllers/aggregate.test.ts +389 -0
- package/__tests__/contronllers/category.test.ts +284 -0
- package/__tests__/contronllers/comment.test.ts +113 -0
- package/__tests__/contronllers/link.test.ts +95 -0
- package/__tests__/contronllers/note.test.ts +120 -0
- package/__tests__/contronllers/page.test.ts +49 -0
- package/__tests__/contronllers/post.test.ts +77 -0
- package/__tests__/contronllers/recently.test.ts +49 -0
- package/__tests__/contronllers/say.test.ts +106 -0
- package/__tests__/contronllers/search.test.ts +81 -0
- package/__tests__/contronllers/serverless.test.ts +19 -0
- package/__tests__/contronllers/snippet.test.ts +38 -0
- package/__tests__/contronllers/topic.test.ts +17 -0
- package/__tests__/contronllers/user.test.ts +59 -0
- package/__tests__/core/client.test.ts +293 -0
- package/__tests__/helpers/adaptor-test.ts +108 -0
- package/__tests__/helpers/e2e-mock-server.ts +22 -0
- package/__tests__/helpers/global-fetch.ts +39 -0
- package/__tests__/helpers/instance.ts +11 -0
- package/__tests__/helpers/response.ts +76 -0
- package/__tests__/mock/algolia.json +446 -0
- package/__tests__/utils/auto-bind.spec.ts +27 -0
- package/__tests__/utils/camelcase-keys.spec.ts +86 -0
- package/__tests__/utils/index.test.ts +33 -0
- package/__tests__/utils/path.spec.ts +8 -0
- package/adaptors/axios.ts +44 -0
- package/adaptors/ky.ts +76 -0
- package/adaptors/umi-request.ts +38 -0
- package/controllers/aggregate.ts +6 -6
- package/controllers/base.ts +3 -3
- package/controllers/category.ts +7 -7
- package/controllers/comment.ts +8 -8
- package/controllers/link.ts +3 -3
- package/controllers/note.ts +15 -11
- package/controllers/page.ts +7 -7
- package/controllers/post.ts +9 -9
- package/controllers/project.ts +3 -3
- package/controllers/recently.ts +5 -5
- package/controllers/say.ts +5 -5
- package/controllers/search.ts +8 -8
- package/controllers/severless.ts +4 -4
- package/controllers/snippet.ts +4 -4
- package/controllers/topic.ts +5 -5
- package/controllers/user.ts +5 -5
- package/core/attach-request.ts +43 -0
- package/core/client.ts +252 -0
- package/core/error.ts +10 -0
- package/core/index.ts +2 -0
- package/coverage/clover.xml +591 -0
- package/coverage/coverage-final.json +5944 -0
- package/coverage/lcov-report/__tests__/helpers/adaptor-test.ts.html +405 -0
- package/coverage/lcov-report/__tests__/helpers/e2e-mock-server.ts.html +150 -0
- package/coverage/lcov-report/__tests__/helpers/index.html +236 -0
- package/coverage/lcov-report/__tests__/helpers/instance.ts.html +120 -0
- package/coverage/lcov-report/__tests__/helpers/response.ts.html +231 -0
- package/coverage/lcov-report/adaptors/axios.ts.html +201 -0
- package/coverage/lcov-report/adaptors/index.html +196 -0
- package/coverage/lcov-report/adaptors/umi-request.ts.html +186 -0
- package/coverage/lcov-report/auto-bind.ts.html +228 -0
- package/coverage/lcov-report/base.css +354 -0
- package/coverage/lcov-report/block-navigation.js +85 -0
- package/coverage/lcov-report/controllers/aggregate.ts.html +294 -0
- package/coverage/lcov-report/controllers/base.ts.html +183 -0
- package/coverage/lcov-report/controllers/category.ts.html +441 -0
- package/coverage/lcov-report/controllers/comment.ts.html +291 -0
- package/coverage/lcov-report/controllers/index.html +476 -0
- package/coverage/lcov-report/controllers/index.ts.html +297 -0
- package/coverage/lcov-report/controllers/link.ts.html +216 -0
- package/coverage/lcov-report/controllers/note.ts.html +375 -0
- package/coverage/lcov-report/controllers/page.ts.html +279 -0
- package/coverage/lcov-report/controllers/post.ts.html +369 -0
- package/coverage/lcov-report/controllers/project.ts.html +168 -0
- package/coverage/lcov-report/controllers/recently.ts.html +246 -0
- package/coverage/lcov-report/controllers/say.ts.html +207 -0
- package/coverage/lcov-report/controllers/search.ts.html +411 -0
- package/coverage/lcov-report/controllers/severless.ts.html +180 -0
- package/coverage/lcov-report/controllers/snippet.ts.html +195 -0
- package/coverage/lcov-report/controllers/user.ts.html +240 -0
- package/coverage/lcov-report/core/attach-request.ts.html +216 -0
- package/coverage/lcov-report/core/client.ts.html +786 -0
- package/coverage/lcov-report/core/error.ts.html +117 -0
- package/coverage/lcov-report/core/index.html +236 -0
- package/coverage/lcov-report/core/index.ts.html +93 -0
- package/coverage/lcov-report/favicon.png +0 -0
- package/coverage/lcov-report/index.html +276 -0
- package/coverage/lcov-report/index.ts.html +243 -0
- package/coverage/lcov-report/models/aggregate.ts.html +300 -0
- package/coverage/lcov-report/models/category.ts.html +162 -0
- package/coverage/lcov-report/models/index.html +196 -0
- package/coverage/lcov-report/prettify.css +101 -0
- package/coverage/lcov-report/prettify.js +1004 -0
- package/coverage/lcov-report/sort-arrow-sprite.png +0 -0
- package/coverage/lcov-report/sorter.js +191 -0
- package/coverage/lcov-report/utils/auto-bind.ts.html +231 -0
- package/coverage/lcov-report/utils/index.html +216 -0
- package/coverage/lcov-report/utils/index.ts.html +246 -0
- package/coverage/lcov-report/utils/path.ts.html +105 -0
- package/coverage/lcov.info +1209 -0
- package/dist/adaptors/axios.cjs.map +1 -1
- package/dist/adaptors/axios.d.ts +2 -2
- package/dist/adaptors/axios.js.map +1 -1
- package/dist/adaptors/axios.min.cjs.map +1 -1
- package/dist/adaptors/axios.min.js.map +1 -1
- package/dist/adaptors/axios.umd.js.map +1 -1
- package/dist/adaptors/axios.umd.min.js.map +1 -1
- package/dist/adaptors/ky.cjs +5 -2
- package/dist/adaptors/ky.cjs.map +1 -1
- package/dist/adaptors/ky.d.ts +6 -2
- package/dist/adaptors/ky.js +4 -2
- package/dist/adaptors/ky.js.map +1 -1
- package/dist/adaptors/ky.min.cjs +1 -1
- package/dist/adaptors/ky.min.cjs.map +1 -1
- package/dist/adaptors/ky.min.js +1 -1
- package/dist/adaptors/ky.min.js.map +1 -1
- package/dist/adaptors/ky.umd.js +5 -2
- package/dist/adaptors/ky.umd.js.map +1 -1
- package/dist/adaptors/ky.umd.min.js +1 -1
- package/dist/adaptors/ky.umd.min.js.map +1 -1
- package/dist/adaptors/umi-request.cjs.map +1 -1
- package/dist/adaptors/umi-request.d.ts +2 -2
- package/dist/adaptors/umi-request.js.map +1 -1
- package/dist/adaptors/umi-request.min.cjs.map +1 -1
- package/dist/adaptors/umi-request.min.js.map +1 -1
- package/dist/adaptors/umi-request.umd.js.map +1 -1
- package/dist/adaptors/umi-request.umd.min.js.map +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.min.cjs.map +1 -1
- package/dist/index.min.js.map +1 -1
- package/dist/index.umd.js.map +1 -1
- package/dist/index.umd.min.js.map +1 -1
- package/index.ts +1 -0
- package/interfaces/adapter.ts +1 -1
- package/interfaces/client.ts +2 -2
- package/interfaces/request.ts +1 -1
- package/models/aggregate.ts +7 -7
- package/models/base.ts +4 -0
- package/models/category.ts +2 -2
- package/models/comment.ts +2 -2
- package/models/link.ts +1 -1
- package/models/note.ts +8 -2
- package/models/page.ts +1 -1
- package/models/post.ts +2 -2
- package/models/project.ts +1 -1
- package/models/recently.ts +5 -10
- package/models/say.ts +1 -1
- package/models/snippet.ts +1 -1
- package/models/topic.ts +1 -1
- package/models/user.ts +1 -1
- package/package.json +10 -31
- package/rollup.config.js +150 -0
- package/utils/auto-bind.ts +48 -0
- package/utils/camelcase-keys.ts +26 -0
- package/utils/index.ts +53 -0
- package/utils/path.ts +6 -0
- package/dist/adaptors/ky-universal.cjs +0 -70
- package/dist/adaptors/ky-universal.cjs.map +0 -1
- package/dist/adaptors/ky-universal.d.ts +0 -37
- package/dist/adaptors/ky-universal.js +0 -61
- package/dist/adaptors/ky-universal.js.map +0 -1
- package/dist/adaptors/ky-universal.min.cjs +0 -2
- package/dist/adaptors/ky-universal.min.cjs.map +0 -1
- package/dist/adaptors/ky-universal.min.js +0 -2
- package/dist/adaptors/ky-universal.min.js.map +0 -1
- package/dist/adaptors/ky-universal.umd.js +0 -74
- package/dist/adaptors/ky-universal.umd.js.map +0 -1
- package/dist/adaptors/ky-universal.umd.min.js +0 -2
- package/dist/adaptors/ky-universal.umd.min.js.map +0 -1
- package/esm/adaptors/axios.d.ts +0 -4
- package/esm/adaptors/axios.js +0 -36
- package/esm/adaptors/axios.js.map +0 -1
- package/esm/adaptors/ky-universal.d.ts +0 -22
- package/esm/adaptors/ky-universal.js +0 -58
- package/esm/adaptors/ky-universal.js.map +0 -1
- package/esm/adaptors/ky.d.ts +0 -22
- package/esm/adaptors/ky.js +0 -58
- package/esm/adaptors/ky.js.map +0 -1
- package/esm/adaptors/umi-request.d.ts +0 -4
- package/esm/adaptors/umi-request.js +0 -30
- package/esm/adaptors/umi-request.js.map +0 -1
- package/esm/controllers/aggregate.d.ts +0 -64
- package/esm/controllers/aggregate.js +0 -42
- package/esm/controllers/aggregate.js.map +0 -1
- package/esm/controllers/base.d.ts +0 -43
- package/esm/controllers/base.js +0 -27
- package/esm/controllers/base.js.map +0 -1
- package/esm/controllers/category.d.ts +0 -115
- package/esm/controllers/category.js +0 -68
- package/esm/controllers/category.js.map +0 -1
- package/esm/controllers/comment.d.ts +0 -81
- package/esm/controllers/comment.js +0 -47
- package/esm/controllers/comment.js.map +0 -1
- package/esm/controllers/index.d.ts +0 -18
- package/esm/controllers/index.js +0 -55
- package/esm/controllers/index.js.map +0 -1
- package/esm/controllers/link.d.ts +0 -20
- package/esm/controllers/link.js +0 -21
- package/esm/controllers/link.js.map +0 -1
- package/esm/controllers/note.d.ts +0 -103
- package/esm/controllers/note.js +0 -68
- package/esm/controllers/note.js.map +0 -1
- package/esm/controllers/page.d.ts +0 -59
- package/esm/controllers/page.js +0 -42
- package/esm/controllers/page.js.map +0 -1
- package/esm/controllers/post.d.ts +0 -72
- package/esm/controllers/post.js +0 -52
- package/esm/controllers/post.js.map +0 -1
- package/esm/controllers/project.d.ts +0 -15
- package/esm/controllers/project.js +0 -12
- package/esm/controllers/project.js.map +0 -1
- package/esm/controllers/recently.d.ts +0 -61
- package/esm/controllers/recently.js +0 -31
- package/esm/controllers/recently.js.map +0 -1
- package/esm/controllers/say.d.ts +0 -37
- package/esm/controllers/say.js +0 -21
- package/esm/controllers/say.js.map +0 -1
- package/esm/controllers/search.d.ts +0 -247
- package/esm/controllers/search.js +0 -28
- package/esm/controllers/search.js.map +0 -1
- package/esm/controllers/severless.d.ts +0 -24
- package/esm/controllers/severless.js +0 -16
- package/esm/controllers/severless.js.map +0 -1
- package/esm/controllers/snippet.d.ts +0 -24
- package/esm/controllers/snippet.js +0 -19
- package/esm/controllers/snippet.js.map +0 -1
- package/esm/controllers/topic.d.ts +0 -26
- package/esm/controllers/topic.js +0 -18
- package/esm/controllers/topic.js.map +0 -1
- package/esm/controllers/user.d.ts +0 -70
- package/esm/controllers/user.js +0 -40
- package/esm/controllers/user.js.map +0 -1
- package/esm/core/attach-request.d.ts +0 -2
- package/esm/core/attach-request.js +0 -36
- package/esm/core/attach-request.js.map +0 -1
- package/esm/core/client.d.ts +0 -29
- package/esm/core/client.js +0 -186
- package/esm/core/client.js.map +0 -1
- package/esm/core/error.d.ts +0 -6
- package/esm/core/error.js +0 -9
- package/esm/core/error.js.map +0 -1
- package/esm/core/index.d.ts +0 -2
- package/esm/core/index.js +0 -3
- package/esm/core/index.js.map +0 -1
- package/esm/dtos/comment.d.ts +0 -6
- package/esm/dtos/comment.js +0 -3
- package/esm/dtos/comment.js.map +0 -1
- package/esm/index.d.ts +0 -7
- package/esm/index.js +0 -7
- package/esm/index.js.map +0 -1
- package/esm/interfaces/adapter.d.ts +0 -14
- package/esm/interfaces/adapter.js +0 -2
- package/esm/interfaces/adapter.js.map +0 -1
- package/esm/interfaces/client.d.ts +0 -13
- package/esm/interfaces/client.js +0 -2
- package/esm/interfaces/client.js.map +0 -1
- package/esm/interfaces/controller.d.ts +0 -4
- package/esm/interfaces/controller.js +0 -2
- package/esm/interfaces/controller.js.map +0 -1
- package/esm/interfaces/instance.d.ts +0 -7
- package/esm/interfaces/instance.js +0 -2
- package/esm/interfaces/instance.js.map +0 -1
- package/esm/interfaces/options.d.ts +0 -1
- package/esm/interfaces/options.js +0 -2
- package/esm/interfaces/options.js.map +0 -1
- package/esm/interfaces/params.d.ts +0 -4
- package/esm/interfaces/params.js +0 -2
- package/esm/interfaces/params.js.map +0 -1
- package/esm/interfaces/request.d.ts +0 -43
- package/esm/interfaces/request.js +0 -2
- package/esm/interfaces/request.js.map +0 -1
- package/esm/interfaces/types.d.ts +0 -2
- package/esm/interfaces/types.js +0 -2
- package/esm/interfaces/types.js.map +0 -1
- package/esm/models/aggregate.d.ts +0 -53
- package/esm/models/aggregate.js +0 -6
- package/esm/models/aggregate.js.map +0 -1
- package/esm/models/base.d.ts +0 -38
- package/esm/models/base.js +0 -2
- package/esm/models/base.js.map +0 -1
- package/esm/models/category.d.ts +0 -22
- package/esm/models/category.js +0 -6
- package/esm/models/category.js.map +0 -1
- package/esm/models/comment.d.ts +0 -37
- package/esm/models/comment.js +0 -13
- package/esm/models/comment.js.map +0 -1
- package/esm/models/index.d.ts +0 -14
- package/esm/models/index.js +0 -15
- package/esm/models/index.js.map +0 -1
- package/esm/models/link.d.ts +0 -22
- package/esm/models/link.js +0 -14
- package/esm/models/link.js.map +0 -1
- package/esm/models/note.d.ts +0 -33
- package/esm/models/note.js +0 -2
- package/esm/models/note.js.map +0 -1
- package/esm/models/page.d.ts +0 -14
- package/esm/models/page.js +0 -7
- package/esm/models/page.js.map +0 -1
- package/esm/models/post.d.ts +0 -17
- package/esm/models/post.js +0 -2
- package/esm/models/post.js.map +0 -1
- package/esm/models/project.d.ts +0 -11
- package/esm/models/project.js +0 -2
- package/esm/models/project.js.map +0 -1
- package/esm/models/recently.d.ts +0 -26
- package/esm/models/recently.js +0 -7
- package/esm/models/recently.js.map +0 -1
- package/esm/models/say.d.ts +0 -6
- package/esm/models/say.js +0 -2
- package/esm/models/say.js.map +0 -1
- package/esm/models/setting.d.ts +0 -66
- package/esm/models/setting.js +0 -2
- package/esm/models/setting.js.map +0 -1
- package/esm/models/snippet.d.ts +0 -18
- package/esm/models/snippet.js +0 -8
- package/esm/models/snippet.js.map +0 -1
- package/esm/models/topic.d.ts +0 -8
- package/esm/models/topic.js +0 -2
- package/esm/models/topic.js.map +0 -1
- package/esm/models/user.d.ts +0 -21
- package/esm/models/user.js +0 -2
- package/esm/models/user.js.map +0 -1
- package/esm/utils/auto-bind.d.ts +0 -4
- package/esm/utils/auto-bind.js +0 -36
- package/esm/utils/auto-bind.js.map +0 -1
- package/esm/utils/camelcase-keys.d.ts +0 -6
- package/esm/utils/camelcase-keys.js +0 -23
- package/esm/utils/camelcase-keys.js.map +0 -1
- package/esm/utils/index.d.ts +0 -5
- package/esm/utils/index.js +0 -43
- package/esm/utils/index.js.map +0 -1
- package/esm/utils/path.d.ts +0 -1
- package/esm/utils/path.js +0 -7
- package/esm/utils/path.js.map +0 -1
- package/esm/vitest.config.d.ts +0 -2
- package/esm/vitest.config.js +0 -12
- package/esm/vitest.config.js.map +0 -1
- package/lib/adaptors/axios.d.ts +0 -4
- package/lib/adaptors/axios.js +0 -42
- package/lib/adaptors/axios.js.map +0 -1
- package/lib/adaptors/ky-universal.d.ts +0 -22
- package/lib/adaptors/ky-universal.js +0 -66
- package/lib/adaptors/ky-universal.js.map +0 -1
- package/lib/adaptors/ky.d.ts +0 -22
- package/lib/adaptors/ky.js +0 -66
- package/lib/adaptors/ky.js.map +0 -1
- package/lib/adaptors/umi-request.d.ts +0 -4
- package/lib/adaptors/umi-request.js +0 -33
- package/lib/adaptors/umi-request.js.map +0 -1
- package/lib/controllers/aggregate.d.ts +0 -64
- package/lib/controllers/aggregate.js +0 -46
- package/lib/controllers/aggregate.js.map +0 -1
- package/lib/controllers/base.d.ts +0 -43
- package/lib/controllers/base.js +0 -31
- package/lib/controllers/base.js.map +0 -1
- package/lib/controllers/category.d.ts +0 -115
- package/lib/controllers/category.js +0 -72
- package/lib/controllers/category.js.map +0 -1
- package/lib/controllers/comment.d.ts +0 -81
- package/lib/controllers/comment.js +0 -51
- package/lib/controllers/comment.js.map +0 -1
- package/lib/controllers/index.d.ts +0 -18
- package/lib/controllers/index.js +0 -72
- package/lib/controllers/index.js.map +0 -1
- package/lib/controllers/link.d.ts +0 -20
- package/lib/controllers/link.js +0 -25
- package/lib/controllers/link.js.map +0 -1
- package/lib/controllers/note.d.ts +0 -103
- package/lib/controllers/note.js +0 -72
- package/lib/controllers/note.js.map +0 -1
- package/lib/controllers/page.d.ts +0 -59
- package/lib/controllers/page.js +0 -46
- package/lib/controllers/page.js.map +0 -1
- package/lib/controllers/post.d.ts +0 -72
- package/lib/controllers/post.js +0 -56
- package/lib/controllers/post.js.map +0 -1
- package/lib/controllers/project.d.ts +0 -15
- package/lib/controllers/project.js +0 -16
- package/lib/controllers/project.js.map +0 -1
- package/lib/controllers/recently.d.ts +0 -61
- package/lib/controllers/recently.js +0 -35
- package/lib/controllers/recently.js.map +0 -1
- package/lib/controllers/say.d.ts +0 -37
- package/lib/controllers/say.js +0 -25
- package/lib/controllers/say.js.map +0 -1
- package/lib/controllers/search.d.ts +0 -247
- package/lib/controllers/search.js +0 -32
- package/lib/controllers/search.js.map +0 -1
- package/lib/controllers/severless.d.ts +0 -24
- package/lib/controllers/severless.js +0 -20
- package/lib/controllers/severless.js.map +0 -1
- package/lib/controllers/snippet.d.ts +0 -24
- package/lib/controllers/snippet.js +0 -23
- package/lib/controllers/snippet.js.map +0 -1
- package/lib/controllers/topic.d.ts +0 -26
- package/lib/controllers/topic.js +0 -22
- package/lib/controllers/topic.js.map +0 -1
- package/lib/controllers/user.d.ts +0 -70
- package/lib/controllers/user.js +0 -44
- package/lib/controllers/user.js.map +0 -1
- package/lib/core/attach-request.d.ts +0 -2
- package/lib/core/attach-request.js +0 -40
- package/lib/core/attach-request.js.map +0 -1
- package/lib/core/client.d.ts +0 -29
- package/lib/core/client.js +0 -190
- package/lib/core/client.js.map +0 -1
- package/lib/core/error.d.ts +0 -6
- package/lib/core/error.js +0 -13
- package/lib/core/error.js.map +0 -1
- package/lib/core/index.d.ts +0 -2
- package/lib/core/index.js +0 -19
- package/lib/core/index.js.map +0 -1
- package/lib/dtos/comment.d.ts +0 -6
- package/lib/dtos/comment.js +0 -7
- package/lib/dtos/comment.js.map +0 -1
- package/lib/index.d.ts +0 -7
- package/lib/index.js +0 -27
- package/lib/index.js.map +0 -1
- package/lib/interfaces/adapter.d.ts +0 -14
- package/lib/interfaces/adapter.js +0 -3
- package/lib/interfaces/adapter.js.map +0 -1
- package/lib/interfaces/client.d.ts +0 -13
- package/lib/interfaces/client.js +0 -3
- package/lib/interfaces/client.js.map +0 -1
- package/lib/interfaces/controller.d.ts +0 -4
- package/lib/interfaces/controller.js +0 -3
- package/lib/interfaces/controller.js.map +0 -1
- package/lib/interfaces/instance.d.ts +0 -7
- package/lib/interfaces/instance.js +0 -3
- package/lib/interfaces/instance.js.map +0 -1
- package/lib/interfaces/options.d.ts +0 -1
- package/lib/interfaces/options.js +0 -3
- package/lib/interfaces/options.js.map +0 -1
- package/lib/interfaces/params.d.ts +0 -4
- package/lib/interfaces/params.js +0 -3
- package/lib/interfaces/params.js.map +0 -1
- package/lib/interfaces/request.d.ts +0 -43
- package/lib/interfaces/request.js +0 -3
- package/lib/interfaces/request.js.map +0 -1
- package/lib/interfaces/types.d.ts +0 -2
- package/lib/interfaces/types.js +0 -3
- package/lib/interfaces/types.js.map +0 -1
- package/lib/models/aggregate.d.ts +0 -53
- package/lib/models/aggregate.js +0 -9
- package/lib/models/aggregate.js.map +0 -1
- package/lib/models/base.d.ts +0 -38
- package/lib/models/base.js +0 -3
- package/lib/models/base.js.map +0 -1
- package/lib/models/category.d.ts +0 -22
- package/lib/models/category.js +0 -9
- package/lib/models/category.js.map +0 -1
- package/lib/models/comment.d.ts +0 -37
- package/lib/models/comment.js +0 -16
- package/lib/models/comment.js.map +0 -1
- package/lib/models/index.d.ts +0 -14
- package/lib/models/index.js +0 -31
- package/lib/models/index.js.map +0 -1
- package/lib/models/link.d.ts +0 -22
- package/lib/models/link.js +0 -17
- package/lib/models/link.js.map +0 -1
- package/lib/models/note.d.ts +0 -33
- package/lib/models/note.js +0 -3
- package/lib/models/note.js.map +0 -1
- package/lib/models/page.d.ts +0 -14
- package/lib/models/page.js +0 -10
- package/lib/models/page.js.map +0 -1
- package/lib/models/post.d.ts +0 -17
- package/lib/models/post.js +0 -3
- package/lib/models/post.js.map +0 -1
- package/lib/models/project.d.ts +0 -11
- package/lib/models/project.js +0 -3
- package/lib/models/project.js.map +0 -1
- package/lib/models/recently.d.ts +0 -26
- package/lib/models/recently.js +0 -10
- package/lib/models/recently.js.map +0 -1
- package/lib/models/say.d.ts +0 -6
- package/lib/models/say.js +0 -3
- package/lib/models/say.js.map +0 -1
- package/lib/models/setting.d.ts +0 -66
- package/lib/models/setting.js +0 -3
- package/lib/models/setting.js.map +0 -1
- package/lib/models/snippet.d.ts +0 -18
- package/lib/models/snippet.js +0 -11
- package/lib/models/snippet.js.map +0 -1
- package/lib/models/topic.d.ts +0 -8
- package/lib/models/topic.js +0 -3
- package/lib/models/topic.js.map +0 -1
- package/lib/models/user.d.ts +0 -21
- package/lib/models/user.js +0 -3
- package/lib/models/user.js.map +0 -1
- package/lib/utils/auto-bind.d.ts +0 -4
- package/lib/utils/auto-bind.js +0 -40
- package/lib/utils/auto-bind.js.map +0 -1
- package/lib/utils/camelcase-keys.d.ts +0 -6
- package/lib/utils/camelcase-keys.js +0 -28
- package/lib/utils/camelcase-keys.js.map +0 -1
- package/lib/utils/index.d.ts +0 -5
- package/lib/utils/index.js +0 -50
- package/lib/utils/index.js.map +0 -1
- package/lib/utils/path.d.ts +0 -1
- package/lib/utils/path.js +0 -11
- package/lib/utils/path.js.map +0 -1
- package/lib/vitest.config.d.ts +0 -2
- package/lib/vitest.config.js +0 -17
- package/lib/vitest.config.js.map +0 -1
- package/types/adaptors/axios.d.ts +0 -4
- package/types/adaptors/ky-universal.d.ts +0 -22
- package/types/adaptors/ky.d.ts +0 -22
- package/types/adaptors/umi-request.d.ts +0 -4
- package/types/controllers/aggregate.d.ts +0 -64
- package/types/controllers/base.d.ts +0 -43
- package/types/controllers/category.d.ts +0 -115
- package/types/controllers/comment.d.ts +0 -81
- package/types/controllers/index.d.ts +0 -18
- package/types/controllers/link.d.ts +0 -20
- package/types/controllers/note.d.ts +0 -103
- package/types/controllers/page.d.ts +0 -59
- package/types/controllers/post.d.ts +0 -72
- package/types/controllers/project.d.ts +0 -15
- package/types/controllers/recently.d.ts +0 -61
- package/types/controllers/say.d.ts +0 -37
- package/types/controllers/search.d.ts +0 -247
- package/types/controllers/severless.d.ts +0 -24
- package/types/controllers/snippet.d.ts +0 -24
- package/types/controllers/topic.d.ts +0 -26
- package/types/controllers/user.d.ts +0 -70
- package/types/core/attach-request.d.ts +0 -2
- package/types/core/client.d.ts +0 -29
- package/types/core/error.d.ts +0 -6
- package/types/core/index.d.ts +0 -2
- package/types/dtos/comment.d.ts +0 -6
- package/types/index.d.ts +0 -7
- package/types/interfaces/adapter.d.ts +0 -14
- package/types/interfaces/client.d.ts +0 -13
- package/types/interfaces/controller.d.ts +0 -4
- package/types/interfaces/instance.d.ts +0 -7
- package/types/interfaces/options.d.ts +0 -1
- package/types/interfaces/params.d.ts +0 -4
- package/types/interfaces/request.d.ts +0 -43
- package/types/interfaces/types.d.ts +0 -2
- package/types/models/aggregate.d.ts +0 -53
- package/types/models/base.d.ts +0 -38
- package/types/models/category.d.ts +0 -22
- package/types/models/comment.d.ts +0 -37
- package/types/models/index.d.ts +0 -14
- package/types/models/link.d.ts +0 -22
- package/types/models/note.d.ts +0 -33
- package/types/models/page.d.ts +0 -14
- package/types/models/post.d.ts +0 -17
- package/types/models/project.d.ts +0 -11
- package/types/models/recently.d.ts +0 -26
- package/types/models/say.d.ts +0 -6
- package/types/models/setting.d.ts +0 -66
- package/types/models/snippet.d.ts +0 -18
- package/types/models/topic.d.ts +0 -8
- package/types/models/user.d.ts +0 -21
- package/types/utils/auto-bind.d.ts +0 -4
- package/types/utils/camelcase-keys.d.ts +0 -6
- package/types/utils/index.d.ts +0 -5
- package/types/utils/path.d.ts +0 -1
- package/types/vitest.config.d.ts +0 -2
|
@@ -0,0 +1,591 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<coverage generated="1647675053347" clover="3.2.0">
|
|
3
|
+
<project timestamp="1647675053347" name="All files">
|
|
4
|
+
<metrics statements="474" coveredstatements="447" conditionals="130" coveredconditionals="99" methods="163" coveredmethods="148" elements="767" coveredelements="694" complexity="0" loc="474" ncloc="474" packages="6" files="31" classes="31"/>
|
|
5
|
+
<package name="__tests__.helpers">
|
|
6
|
+
<metrics statements="89" coveredstatements="82" conditionals="15" coveredconditionals="10" methods="25" coveredmethods="24"/>
|
|
7
|
+
<file name="adaptor-test.ts" path="/Users/xiaoxun/github/innei-repo/mx-space/mx-api-client/src/__tests__/helpers/adaptor-test.ts">
|
|
8
|
+
<metrics statements="54" coveredstatements="50" conditionals="2" coveredconditionals="1" methods="17" coveredmethods="16"/>
|
|
9
|
+
<line num="1" count="2" type="stmt"/>
|
|
10
|
+
<line num="2" count="2" type="stmt"/>
|
|
11
|
+
<line num="3" count="2" type="stmt"/>
|
|
12
|
+
<line num="6" count="2" type="stmt"/>
|
|
13
|
+
<line num="8" count="2" type="stmt"/>
|
|
14
|
+
<line num="10" count="2" type="stmt"/>
|
|
15
|
+
<line num="11" count="2" type="stmt"/>
|
|
16
|
+
<line num="13" count="2" type="stmt"/>
|
|
17
|
+
<line num="14" count="2" type="stmt"/>
|
|
18
|
+
<line num="15" count="2" type="stmt"/>
|
|
19
|
+
<line num="17" count="2" type="stmt"/>
|
|
20
|
+
<line num="18" count="2" type="stmt"/>
|
|
21
|
+
<line num="19" count="2" type="stmt"/>
|
|
22
|
+
<line num="24" count="2" type="stmt"/>
|
|
23
|
+
<line num="26" count="2" type="stmt"/>
|
|
24
|
+
<line num="31" count="2" type="stmt"/>
|
|
25
|
+
<line num="34" count="2" type="stmt"/>
|
|
26
|
+
<line num="35" count="2" type="stmt"/>
|
|
27
|
+
<line num="36" count="2" type="stmt"/>
|
|
28
|
+
<line num="38" count="2" type="stmt"/>
|
|
29
|
+
<line num="42" count="2" type="stmt"/>
|
|
30
|
+
<line num="47" count="2" type="stmt"/>
|
|
31
|
+
<line num="49" count="2" type="stmt"/>
|
|
32
|
+
<line num="52" count="2" type="stmt"/>
|
|
33
|
+
<line num="53" count="2" type="stmt"/>
|
|
34
|
+
<line num="54" count="4" type="cond" truecount="1" falsecount="0"/>
|
|
35
|
+
<line num="55" count="4" type="stmt"/>
|
|
36
|
+
<line num="57" count="0" type="stmt"/>
|
|
37
|
+
<line num="60" count="2" type="stmt"/>
|
|
38
|
+
<line num="61" count="2" type="stmt"/>
|
|
39
|
+
<line num="64" count="2" type="stmt"/>
|
|
40
|
+
<line num="65" count="2" type="stmt"/>
|
|
41
|
+
<line num="66" count="0" type="cond" truecount="0" falsecount="1"/>
|
|
42
|
+
<line num="67" count="0" type="stmt"/>
|
|
43
|
+
<line num="69" count="0" type="stmt"/>
|
|
44
|
+
<line num="72" count="2" type="stmt"/>
|
|
45
|
+
<line num="73" count="2" type="stmt"/>
|
|
46
|
+
<line num="74" count="2" type="stmt"/>
|
|
47
|
+
<line num="77" count="2" type="stmt"/>
|
|
48
|
+
<line num="78" count="2" type="stmt"/>
|
|
49
|
+
<line num="79" count="2" type="stmt"/>
|
|
50
|
+
<line num="83" count="2" type="stmt"/>
|
|
51
|
+
<line num="86" count="2" type="stmt"/>
|
|
52
|
+
<line num="87" count="2" type="stmt"/>
|
|
53
|
+
<line num="88" count="2" type="stmt"/>
|
|
54
|
+
<line num="91" count="2" type="stmt"/>
|
|
55
|
+
<line num="93" count="2" type="stmt"/>
|
|
56
|
+
<line num="94" count="2" type="stmt"/>
|
|
57
|
+
<line num="95" count="2" type="stmt"/>
|
|
58
|
+
<line num="98" count="2" type="stmt"/>
|
|
59
|
+
<line num="99" count="2" type="stmt"/>
|
|
60
|
+
<line num="100" count="2" type="stmt"/>
|
|
61
|
+
<line num="103" count="2" type="stmt"/>
|
|
62
|
+
<line num="104" count="2" type="stmt"/>
|
|
63
|
+
</file>
|
|
64
|
+
<file name="e2e-mock-server.ts" path="/Users/xiaoxun/github/innei-repo/mx-space/mx-api-client/src/__tests__/helpers/e2e-mock-server.ts">
|
|
65
|
+
<metrics statements="10" coveredstatements="10" conditionals="2" coveredconditionals="2" methods="2" coveredmethods="2"/>
|
|
66
|
+
<line num="2" count="2" type="stmt"/>
|
|
67
|
+
<line num="3" count="2" type="stmt"/>
|
|
68
|
+
<line num="5" count="2" type="cond" truecount="1" falsecount="0"/>
|
|
69
|
+
<line num="6" count="2" type="cond" truecount="1" falsecount="0"/>
|
|
70
|
+
<line num="8" count="2" type="stmt"/>
|
|
71
|
+
<line num="9" count="2" type="stmt"/>
|
|
72
|
+
<line num="10" count="2" type="stmt"/>
|
|
73
|
+
<line num="11" count="2" type="stmt"/>
|
|
74
|
+
<line num="13" count="2" type="stmt"/>
|
|
75
|
+
<line num="18" count="2" type="stmt"/>
|
|
76
|
+
</file>
|
|
77
|
+
<file name="instance.ts" path="/Users/xiaoxun/github/innei-repo/mx-space/mx-api-client/src/__tests__/helpers/instance.ts">
|
|
78
|
+
<metrics statements="6" coveredstatements="6" conditionals="0" coveredconditionals="0" methods="1" coveredmethods="1"/>
|
|
79
|
+
<line num="1" count="13" type="stmt"/>
|
|
80
|
+
<line num="2" count="13" type="stmt"/>
|
|
81
|
+
<line num="5" count="13" type="stmt"/>
|
|
82
|
+
<line num="8" count="13" type="stmt"/>
|
|
83
|
+
<line num="9" count="13" type="stmt"/>
|
|
84
|
+
<line num="10" count="13" type="stmt"/>
|
|
85
|
+
</file>
|
|
86
|
+
<file name="response.ts" path="/Users/xiaoxun/github/innei-repo/mx-space/mx-api-client/src/__tests__/helpers/response.ts">
|
|
87
|
+
<metrics statements="19" coveredstatements="16" conditionals="11" coveredconditionals="7" methods="5" coveredmethods="5"/>
|
|
88
|
+
<line num="2" count="13" type="stmt"/>
|
|
89
|
+
<line num="4" count="56" type="stmt"/>
|
|
90
|
+
<line num="6" count="13" type="cond" truecount="1" falsecount="0"/>
|
|
91
|
+
<line num="7" count="56" type="stmt"/>
|
|
92
|
+
<line num="13" count="56" type="stmt"/>
|
|
93
|
+
<line num="14" count="56" type="stmt"/>
|
|
94
|
+
<line num="15" count="56" type="cond" truecount="1" falsecount="1"/>
|
|
95
|
+
<line num="21" count="56" type="stmt"/>
|
|
96
|
+
<line num="23" count="0" type="stmt"/>
|
|
97
|
+
<line num="31" count="56" type="stmt"/>
|
|
98
|
+
<line num="34" count="13" type="stmt"/>
|
|
99
|
+
<line num="35" count="18" type="stmt"/>
|
|
100
|
+
<line num="36" count="18" type="cond" truecount="0" falsecount="1"/>
|
|
101
|
+
<line num="37" count="0" type="stmt"/>
|
|
102
|
+
<line num="39" count="18" type="stmt"/>
|
|
103
|
+
<line num="40" count="27" type="stmt"/>
|
|
104
|
+
<line num="41" count="27" type="cond" truecount="0" falsecount="1"/>
|
|
105
|
+
<line num="42" count="0" type="stmt"/>
|
|
106
|
+
<line num="46" count="27" type="stmt"/>
|
|
107
|
+
</file>
|
|
108
|
+
</package>
|
|
109
|
+
<package name="adaptors">
|
|
110
|
+
<metrics statements="22" coveredstatements="13" conditionals="8" coveredconditionals="1" methods="12" coveredmethods="6"/>
|
|
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="7" conditionals="8" coveredconditionals="1" methods="6" coveredmethods="3"/>
|
|
113
|
+
<line num="1" count="15" type="stmt"/>
|
|
114
|
+
<line num="3" count="15" type="stmt"/>
|
|
115
|
+
<line num="6" count="15" 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
|
+
</file>
|
|
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="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"/>
|
|
135
|
+
<line num="25" count="0" type="stmt"/>
|
|
136
|
+
<line num="28" count="0" type="stmt"/>
|
|
137
|
+
<line num="31" count="0" type="stmt"/>
|
|
138
|
+
</file>
|
|
139
|
+
</package>
|
|
140
|
+
<package name="controllers">
|
|
141
|
+
<metrics statements="208" coveredstatements="206" conditionals="29" coveredconditionals="27" methods="85" coveredmethods="80"/>
|
|
142
|
+
<file name="aggregate.ts" path="/Users/xiaoxun/github/innei-repo/mx-space/mx-api-client/src/controllers/aggregate.ts">
|
|
143
|
+
<metrics statements="13" coveredstatements="13" conditionals="5" coveredconditionals="4" methods="6" coveredmethods="6"/>
|
|
144
|
+
<line num="13" count="16" type="stmt"/>
|
|
145
|
+
<line num="14" count="16" type="stmt"/>
|
|
146
|
+
<line num="25" count="16" 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
|
+
</file>
|
|
158
|
+
<file name="base.ts" path="/Users/xiaoxun/github/innei-repo/mx-space/mx-api-client/src/controllers/base.ts">
|
|
159
|
+
<metrics statements="8" coveredstatements="8" conditionals="0" coveredconditionals="0" methods="5" coveredmethods="5"/>
|
|
160
|
+
<line num="4" count="16" type="stmt"/>
|
|
161
|
+
<line num="6" count="16" type="stmt"/>
|
|
162
|
+
<line num="8" count="11" type="stmt"/>
|
|
163
|
+
<line num="9" count="11" type="stmt"/>
|
|
164
|
+
<line num="12" count="5" type="stmt"/>
|
|
165
|
+
<line num="16" count="2" type="stmt"/>
|
|
166
|
+
<line num="20" count="2" type="stmt"/>
|
|
167
|
+
<line num="28" count="3" type="stmt"/>
|
|
168
|
+
</file>
|
|
169
|
+
<file name="category.ts" path="/Users/xiaoxun/github/innei-repo/mx-space/mx-api-client/src/controllers/category.ts">
|
|
170
|
+
<metrics statements="30" coveredstatements="29" conditionals="4" coveredconditionals="3" methods="8" coveredmethods="8"/>
|
|
171
|
+
<line num="2" count="16" type="stmt"/>
|
|
172
|
+
<line num="3" count="16" type="stmt"/>
|
|
173
|
+
<line num="18" count="16" type="stmt"/>
|
|
174
|
+
<line num="19" count="16" type="stmt"/>
|
|
175
|
+
<line num="30" count="16" 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"/>
|
|
195
|
+
<line num="96" 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
|
+
</file>
|
|
202
|
+
<file name="comment.ts" path="/Users/xiaoxun/github/innei-repo/mx-space/mx-api-client/src/controllers/comment.ts">
|
|
203
|
+
<metrics statements="12" coveredstatements="12" conditionals="5" coveredconditionals="5" methods="6" coveredmethods="6"/>
|
|
204
|
+
<line num="9" count="16" type="stmt"/>
|
|
205
|
+
<line num="20" count="16" type="stmt"/>
|
|
206
|
+
<line num="21" count="4" 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
|
+
</file>
|
|
217
|
+
<file name="index.ts" path="/Users/xiaoxun/github/innei-repo/mx-space/mx-api-client/src/controllers/index.ts">
|
|
218
|
+
<metrics statements="30" coveredstatements="30" conditionals="0" coveredconditionals="0" methods="14" coveredmethods="10"/>
|
|
219
|
+
<line num="1" count="16" type="stmt"/>
|
|
220
|
+
<line num="2" count="16" type="stmt"/>
|
|
221
|
+
<line num="3" count="16" type="stmt"/>
|
|
222
|
+
<line num="4" count="16" type="stmt"/>
|
|
223
|
+
<line num="5" count="16" type="stmt"/>
|
|
224
|
+
<line num="6" count="16" type="stmt"/>
|
|
225
|
+
<line num="7" count="16" type="stmt"/>
|
|
226
|
+
<line num="8" count="16" type="stmt"/>
|
|
227
|
+
<line num="9" count="16" type="stmt"/>
|
|
228
|
+
<line num="10" count="16" type="stmt"/>
|
|
229
|
+
<line num="11" count="16" type="stmt"/>
|
|
230
|
+
<line num="12" count="16" type="stmt"/>
|
|
231
|
+
<line num="13" count="16" type="stmt"/>
|
|
232
|
+
<line num="14" count="16" type="stmt"/>
|
|
233
|
+
<line num="16" count="16" type="stmt"/>
|
|
234
|
+
<line num="33" count="16" type="stmt"/>
|
|
235
|
+
<line num="56" count="17" type="stmt"/>
|
|
236
|
+
<line num="57" count="17" type="stmt"/>
|
|
237
|
+
<line num="58" count="16" type="stmt"/>
|
|
238
|
+
<line num="59" count="17" type="stmt"/>
|
|
239
|
+
<line num="60" count="19" type="stmt"/>
|
|
240
|
+
<line num="61" count="16" type="stmt"/>
|
|
241
|
+
<line num="62" count="21" type="stmt"/>
|
|
242
|
+
<line num="63" count="16" type="stmt"/>
|
|
243
|
+
<line num="64" count="17" type="stmt"/>
|
|
244
|
+
<line num="65" count="16" type="stmt"/>
|
|
245
|
+
<line num="66" count="17" type="stmt"/>
|
|
246
|
+
<line num="67" count="17" type="stmt"/>
|
|
247
|
+
<line num="68" count="17" type="stmt"/>
|
|
248
|
+
<line num="69" count="17" type="stmt"/>
|
|
249
|
+
</file>
|
|
250
|
+
<file name="link.ts" path="/Users/xiaoxun/github/innei-repo/mx-space/mx-api-client/src/controllers/link.ts">
|
|
251
|
+
<metrics statements="11" coveredstatements="11" conditionals="0" coveredconditionals="0" methods="3" coveredmethods="3"/>
|
|
252
|
+
<line num="2" count="16" type="stmt"/>
|
|
253
|
+
<line num="5" count="16" type="stmt"/>
|
|
254
|
+
<line num="17" count="16" type="stmt"/>
|
|
255
|
+
<line num="21" count="4" type="stmt"/>
|
|
256
|
+
<line num="22" count="4" type="stmt"/>
|
|
257
|
+
<line num="23" count="4" type="stmt"/>
|
|
258
|
+
<line num="28" count="1" type="stmt"/>
|
|
259
|
+
<line num="29" count="1" type="stmt"/>
|
|
260
|
+
<line num="38" count="1" type="stmt"/>
|
|
261
|
+
<line num="41" count="4" type="stmt"/>
|
|
262
|
+
<line num="42" count="4" type="stmt"/>
|
|
263
|
+
</file>
|
|
264
|
+
<file name="note.ts" path="/Users/xiaoxun/github/innei-repo/mx-space/mx-api-client/src/controllers/note.ts">
|
|
265
|
+
<metrics statements="15" coveredstatements="15" conditionals="6" coveredconditionals="6" methods="7" coveredmethods="7"/>
|
|
266
|
+
<line num="8" count="16" type="stmt"/>
|
|
267
|
+
<line num="26" count="16" type="stmt"/>
|
|
268
|
+
<line num="27" count="6" type="stmt"/>
|
|
269
|
+
<line num="28" count="6" type="stmt"/>
|
|
270
|
+
<line num="30" count="6" type="stmt"/>
|
|
271
|
+
<line num="31" count="6" type="stmt"/>
|
|
272
|
+
<line num="34" count="8" type="stmt"/>
|
|
273
|
+
<line num="41" count="1" type="stmt"/>
|
|
274
|
+
<line num="51" count="3" type="cond" truecount="2" falsecount="0"/>
|
|
275
|
+
<line num="52" count="1" type="stmt"/>
|
|
276
|
+
<line num="56" count="2" type="stmt"/>
|
|
277
|
+
<line num="65" count="2" type="stmt"/>
|
|
278
|
+
<line num="66" count="2" type="stmt"/>
|
|
279
|
+
<line num="82" count="1" type="stmt"/>
|
|
280
|
+
<line num="94" count="1" type="stmt"/>
|
|
281
|
+
</file>
|
|
282
|
+
<file name="page.ts" path="/Users/xiaoxun/github/innei-repo/mx-space/mx-api-client/src/controllers/page.ts">
|
|
283
|
+
<metrics statements="11" coveredstatements="11" conditionals="3" coveredconditionals="3" methods="5" coveredmethods="5"/>
|
|
284
|
+
<line num="8" count="16" type="stmt"/>
|
|
285
|
+
<line num="25" count="16" type="stmt"/>
|
|
286
|
+
<line num="26" count="4" type="stmt"/>
|
|
287
|
+
<line num="27" count="4" type="stmt"/>
|
|
288
|
+
<line num="29" count="4" type="stmt"/>
|
|
289
|
+
<line num="30" count="4" type="stmt"/>
|
|
290
|
+
<line num="32" count="4" type="stmt"/>
|
|
291
|
+
<line num="38" count="2" type="stmt"/>
|
|
292
|
+
<line num="39" count="2" type="stmt"/>
|
|
293
|
+
<line num="54" count="1" type="stmt"/>
|
|
294
|
+
<line num="62" count="1" type="stmt"/>
|
|
295
|
+
</file>
|
|
296
|
+
<file name="post.ts" path="/Users/xiaoxun/github/innei-repo/mx-space/mx-api-client/src/controllers/post.ts">
|
|
297
|
+
<metrics statements="14" coveredstatements="14" conditionals="5" coveredconditionals="5" methods="6" coveredmethods="6"/>
|
|
298
|
+
<line num="8" count="16" type="stmt"/>
|
|
299
|
+
<line num="26" count="16" type="stmt"/>
|
|
300
|
+
<line num="27" count="8" type="stmt"/>
|
|
301
|
+
<line num="28" count="8" type="stmt"/>
|
|
302
|
+
<line num="31" count="8" type="stmt"/>
|
|
303
|
+
<line num="33" count="8" type="stmt"/>
|
|
304
|
+
<line num="36" count="9" type="stmt"/>
|
|
305
|
+
<line num="46" count="2" type="stmt"/>
|
|
306
|
+
<line num="47" count="2" type="stmt"/>
|
|
307
|
+
<line num="74" count="4" type="cond" truecount="2" falsecount="0"/>
|
|
308
|
+
<line num="75" count="3" type="stmt"/>
|
|
309
|
+
<line num="77" count="1" type="stmt"/>
|
|
310
|
+
<line num="85" count="2" type="stmt"/>
|
|
311
|
+
<line num="92" count="1" type="stmt"/>
|
|
312
|
+
</file>
|
|
313
|
+
<file name="project.ts" path="/Users/xiaoxun/github/innei-repo/mx-space/mx-api-client/src/controllers/project.ts">
|
|
314
|
+
<metrics statements="8" coveredstatements="8" conditionals="0" coveredconditionals="0" methods="1" coveredmethods="1"/>
|
|
315
|
+
<line num="2" count="16" type="stmt"/>
|
|
316
|
+
<line num="5" count="16" type="stmt"/>
|
|
317
|
+
<line num="16" count="16" type="stmt"/>
|
|
318
|
+
<line num="20" count="3" type="stmt"/>
|
|
319
|
+
<line num="21" count="3" type="stmt"/>
|
|
320
|
+
<line num="22" count="3" type="stmt"/>
|
|
321
|
+
<line num="25" count="3" type="stmt"/>
|
|
322
|
+
<line num="26" count="3" type="stmt"/>
|
|
323
|
+
</file>
|
|
324
|
+
<file name="recently.ts" path="/Users/xiaoxun/github/innei-repo/mx-space/mx-api-client/src/controllers/recently.ts">
|
|
325
|
+
<metrics statements="10" coveredstatements="10" conditionals="0" coveredconditionals="0" methods="5" coveredmethods="5"/>
|
|
326
|
+
<line num="6" count="16" type="stmt"/>
|
|
327
|
+
<line num="18" count="16" type="stmt"/>
|
|
328
|
+
<line num="19" count="4" type="stmt"/>
|
|
329
|
+
<line num="20" count="4" type="stmt"/>
|
|
330
|
+
<line num="22" count="4" type="stmt"/>
|
|
331
|
+
<line num="23" count="4" type="stmt"/>
|
|
332
|
+
<line num="27" count="3" type="stmt"/>
|
|
333
|
+
<line num="33" count="1" type="stmt"/>
|
|
334
|
+
<line num="37" count="1" type="stmt"/>
|
|
335
|
+
<line num="45" count="1" type="stmt"/>
|
|
336
|
+
</file>
|
|
337
|
+
<file name="say.ts" path="/Users/xiaoxun/github/innei-repo/mx-space/mx-api-client/src/controllers/say.ts">
|
|
338
|
+
<metrics statements="10" coveredstatements="9" conditionals="0" coveredconditionals="0" methods="3" coveredmethods="2"/>
|
|
339
|
+
<line num="2" count="16" type="stmt"/>
|
|
340
|
+
<line num="7" count="16" type="stmt"/>
|
|
341
|
+
<line num="18" count="16" type="stmt"/>
|
|
342
|
+
<line num="22" count="4" type="stmt"/>
|
|
343
|
+
<line num="23" count="4" type="stmt"/>
|
|
344
|
+
<line num="25" count="4" type="stmt"/>
|
|
345
|
+
<line num="26" count="4" type="stmt"/>
|
|
346
|
+
<line num="27" count="4" type="stmt"/>
|
|
347
|
+
<line num="31" count="4" type="stmt"/>
|
|
348
|
+
<line num="38" count="0" type="stmt"/>
|
|
349
|
+
</file>
|
|
350
|
+
<file name="search.ts" path="/Users/xiaoxun/github/innei-repo/mx-space/mx-api-client/src/controllers/search.ts">
|
|
351
|
+
<metrics statements="9" coveredstatements="9" conditionals="1" coveredconditionals="1" methods="4" coveredmethods="4"/>
|
|
352
|
+
<line num="9" count="16" type="stmt"/>
|
|
353
|
+
<line num="27" count="16" type="stmt"/>
|
|
354
|
+
<line num="28" count="4" type="stmt"/>
|
|
355
|
+
<line num="29" count="4" type="stmt"/>
|
|
356
|
+
<line num="31" count="4" type="stmt"/>
|
|
357
|
+
<line num="32" count="4" type="stmt"/>
|
|
358
|
+
<line num="36" count="7" type="stmt"/>
|
|
359
|
+
<line num="71" count="6" type="stmt"/>
|
|
360
|
+
<line num="83" count="1" type="stmt"/>
|
|
361
|
+
</file>
|
|
362
|
+
<file name="severless.ts" path="/Users/xiaoxun/github/innei-repo/mx-space/mx-api-client/src/controllers/severless.ts">
|
|
363
|
+
<metrics statements="8" coveredstatements="8" conditionals="0" coveredconditionals="0" methods="3" coveredmethods="3"/>
|
|
364
|
+
<line num="5" count="16" type="stmt"/>
|
|
365
|
+
<line num="16" count="16" type="stmt"/>
|
|
366
|
+
<line num="17" count="4" type="stmt"/>
|
|
367
|
+
<line num="18" count="4" type="stmt"/>
|
|
368
|
+
<line num="20" count="4" type="stmt"/>
|
|
369
|
+
<line num="21" count="4" type="stmt"/>
|
|
370
|
+
<line num="25" count="1" type="stmt"/>
|
|
371
|
+
<line num="29" count="1" type="stmt"/>
|
|
372
|
+
</file>
|
|
373
|
+
<file name="snippet.ts" path="/Users/xiaoxun/github/innei-repo/mx-space/mx-api-client/src/controllers/snippet.ts">
|
|
374
|
+
<metrics statements="9" coveredstatements="9" conditionals="0" coveredconditionals="0" methods="4" coveredmethods="4"/>
|
|
375
|
+
<line num="6" count="16" type="stmt"/>
|
|
376
|
+
<line num="17" count="16" type="stmt"/>
|
|
377
|
+
<line num="18" count="4" type="stmt"/>
|
|
378
|
+
<line num="19" count="4" type="stmt"/>
|
|
379
|
+
<line num="21" count="4" type="stmt"/>
|
|
380
|
+
<line num="22" count="4" type="stmt"/>
|
|
381
|
+
<line num="26" count="2" type="stmt"/>
|
|
382
|
+
<line num="30" count="1" type="stmt"/>
|
|
383
|
+
<line num="34" count="1" type="stmt"/>
|
|
384
|
+
</file>
|
|
385
|
+
<file name="user.ts" path="/Users/xiaoxun/github/innei-repo/mx-space/mx-api-client/src/controllers/user.ts">
|
|
386
|
+
<metrics statements="10" coveredstatements="10" conditionals="0" coveredconditionals="0" methods="5" coveredmethods="5"/>
|
|
387
|
+
<line num="6" count="16" type="stmt"/>
|
|
388
|
+
<line num="18" count="16" type="stmt"/>
|
|
389
|
+
<line num="19" count="4" type="stmt"/>
|
|
390
|
+
<line num="20" count="4" type="stmt"/>
|
|
391
|
+
<line num="23" count="4" type="stmt"/>
|
|
392
|
+
<line num="25" count="4" type="stmt"/>
|
|
393
|
+
<line num="28" count="3" type="stmt"/>
|
|
394
|
+
<line num="32" count="1" type="stmt"/>
|
|
395
|
+
<line num="36" count="1" type="stmt"/>
|
|
396
|
+
<line num="45" count="1" type="stmt"/>
|
|
397
|
+
</file>
|
|
398
|
+
</package>
|
|
399
|
+
<package name="core">
|
|
400
|
+
<metrics statements="101" coveredstatements="99" conditionals="41" coveredconditionals="33" methods="29" coveredmethods="28"/>
|
|
401
|
+
<file name="attach-request.ts" path="/Users/xiaoxun/github/innei-repo/mx-space/mx-api-client/src/core/attach-request.ts">
|
|
402
|
+
<metrics statements="18" coveredstatements="16" conditionals="10" coveredconditionals="7" methods="6" coveredmethods="6"/>
|
|
403
|
+
<line num="3" count="16" type="stmt"/>
|
|
404
|
+
<line num="4" count="29" type="stmt"/>
|
|
405
|
+
<line num="7" count="72" type="cond" truecount="1" falsecount="0"/>
|
|
406
|
+
<line num="8" count="72" type="stmt"/>
|
|
407
|
+
<line num="10" count="72" type="cond" truecount="2" falsecount="0"/>
|
|
408
|
+
<line num="13" count="29" type="stmt"/>
|
|
409
|
+
<line num="14" count="116" type="stmt"/>
|
|
410
|
+
<line num="16" count="6" type="stmt"/>
|
|
411
|
+
<line num="23" count="72" type="cond" truecount="1" falsecount="2"/>
|
|
412
|
+
<line num="24" count="0" type="stmt"/>
|
|
413
|
+
<line num="27" count="72" type="cond" truecount="0" falsecount="1"/>
|
|
414
|
+
<line num="28" count="0" type="stmt"/>
|
|
415
|
+
<line num="30" count="72" type="stmt"/>
|
|
416
|
+
<line num="32" count="72" type="stmt"/>
|
|
417
|
+
<line num="33" count="73" type="cond" truecount="1" falsecount="0"/>
|
|
418
|
+
<line num="37" count="31" type="stmt"/>
|
|
419
|
+
<line num="39" count="42" type="stmt"/>
|
|
420
|
+
<line num="42" count="72" type="stmt"/>
|
|
421
|
+
</file>
|
|
422
|
+
<file name="client.ts" path="/Users/xiaoxun/github/innei-repo/mx-space/mx-api-client/src/core/client.ts">
|
|
423
|
+
<metrics statements="76" coveredstatements="76" conditionals="31" coveredconditionals="26" methods="22" coveredmethods="21"/>
|
|
424
|
+
<line num="1" count="16" type="stmt"/>
|
|
425
|
+
<line num="2" count="16" type="stmt"/>
|
|
426
|
+
<line num="3" count="16" type="stmt"/>
|
|
427
|
+
<line num="4" count="16" type="stmt"/>
|
|
428
|
+
<line num="14" count="16" type="stmt"/>
|
|
429
|
+
<line num="15" count="16" type="stmt"/>
|
|
430
|
+
<line num="17" count="16" type="stmt"/>
|
|
431
|
+
<line num="25" count="29" type="stmt"/>
|
|
432
|
+
<line num="26" count="29" type="stmt"/>
|
|
433
|
+
<line num="29" count="29" type="stmt"/>
|
|
434
|
+
<line num="31" count="29" type="stmt"/>
|
|
435
|
+
<line num="33" count="29" type="stmt"/>
|
|
436
|
+
<line num="37" count="29" type="stmt"/>
|
|
437
|
+
<line num="38" count="493" type="stmt"/>
|
|
438
|
+
<line num="40" count="95" type="stmt"/>
|
|
439
|
+
<line num="41" count="95" type="cond" truecount="1" falsecount="0"/>
|
|
440
|
+
<line num="42" count="17" type="stmt"/>
|
|
441
|
+
<line num="48" count="78" type="stmt"/>
|
|
442
|
+
<line num="59" count="20" type="cond" truecount="2" falsecount="0"/>
|
|
443
|
+
<line num="60" count="20" type="stmt"/>
|
|
444
|
+
<line num="61" count="61" type="stmt"/>
|
|
445
|
+
<line num="63" count="61" type="cond" truecount="2" falsecount="0"/>
|
|
446
|
+
<line num="64" count="12" type="stmt"/>
|
|
447
|
+
<line num="65" count="24" type="stmt"/>
|
|
448
|
+
<line num="68" count="49" type="stmt"/>
|
|
449
|
+
<line num="73" count="73" type="stmt"/>
|
|
450
|
+
<line num="75" count="78" type="stmt"/>
|
|
451
|
+
<line num="84" count="79" type="stmt"/>
|
|
452
|
+
<line num="88" count="80" type="stmt"/>
|
|
453
|
+
<line num="97" count="78" type="cond" truecount="1" falsecount="1"/>
|
|
454
|
+
<line num="104" count="80" type="stmt"/>
|
|
455
|
+
<line num="109" count="29" type="stmt"/>
|
|
456
|
+
<line num="110" count="29" type="stmt"/>
|
|
457
|
+
<line num="111" count="29" type="stmt"/>
|
|
458
|
+
<line num="119" count="29" type="stmt"/>
|
|
459
|
+
<line num="121" count="29" type="stmt"/>
|
|
460
|
+
<line num="122" count="29" type="stmt"/>
|
|
461
|
+
<line num="124" count="29" type="stmt"/>
|
|
462
|
+
<line num="126" count="117" type="cond" truecount="1" falsecount="0"/>
|
|
463
|
+
<line num="127" count="2" type="stmt"/>
|
|
464
|
+
<line num="128" count="2" type="cond" truecount="2" falsecount="0"/>
|
|
465
|
+
<line num="129" count="1" type="stmt"/>
|
|
466
|
+
<line num="130" count="1" type="stmt"/>
|
|
467
|
+
<line num="131" count="1" type="stmt"/>
|
|
468
|
+
<line num="133" count="1" type="stmt"/>
|
|
469
|
+
<line num="134" count="1" type="stmt"/>
|
|
470
|
+
<line num="135" count="1" type="cond" truecount="1" falsecount="1"/>
|
|
471
|
+
<line num="138" count="115" type="cond" truecount="1" falsecount="0"/>
|
|
472
|
+
<line num="139" count="78" type="stmt"/>
|
|
473
|
+
<line num="140" count="78" type="stmt"/>
|
|
474
|
+
<line num="141" count="78" type="stmt"/>
|
|
475
|
+
<line num="143" count="78" type="stmt"/>
|
|
476
|
+
<line num="144" count="78" type="stmt"/>
|
|
477
|
+
<line num="150" count="3" type="stmt"/>
|
|
478
|
+
<line num="164" count="75" type="stmt"/>
|
|
479
|
+
<line num="165" count="75" type="cond" truecount="1" falsecount="0"/>
|
|
480
|
+
<line num="166" count="3" type="stmt"/>
|
|
481
|
+
<line num="170" count="72" type="cond" truecount="2" falsecount="0"/>
|
|
482
|
+
<line num="174" count="72" type="cond" truecount="3" falsecount="0"/>
|
|
483
|
+
<line num="175" count="69" type="stmt"/>
|
|
484
|
+
<line num="177" count="45" type="stmt"/>
|
|
485
|
+
<line num="185" count="69" type="stmt"/>
|
|
486
|
+
<line num="187" count="10" type="stmt"/>
|
|
487
|
+
<line num="197" count="72" type="stmt"/>
|
|
488
|
+
<line num="200" count="37" type="stmt"/>
|
|
489
|
+
<line num="201" count="37" type="stmt"/>
|
|
490
|
+
<line num="205" count="108" type="stmt"/>
|
|
491
|
+
<line num="206" count="108" type="stmt"/>
|
|
492
|
+
<line num="210" count="29" type="stmt"/>
|
|
493
|
+
<line num="215" count="16" type="stmt"/>
|
|
494
|
+
<line num="216" count="29" type="stmt"/>
|
|
495
|
+
<line num="226" count="29" type="stmt"/>
|
|
496
|
+
<line num="227" count="29" type="cond" truecount="2" falsecount="0"/>
|
|
497
|
+
<line num="228" count="29" type="cond" truecount="1" falsecount="0"/>
|
|
498
|
+
<line num="229" count="1" type="stmt"/>
|
|
499
|
+
<line num="231" count="29" type="stmt"/>
|
|
500
|
+
</file>
|
|
501
|
+
<file name="error.ts" path="/Users/xiaoxun/github/innei-repo/mx-space/mx-api-client/src/core/error.ts">
|
|
502
|
+
<metrics statements="5" coveredstatements="5" conditionals="0" coveredconditionals="0" methods="1" coveredmethods="1"/>
|
|
503
|
+
<line num="1" count="16" type="stmt"/>
|
|
504
|
+
<line num="4" count="3" type="stmt"/>
|
|
505
|
+
<line num="5" count="3" type="stmt"/>
|
|
506
|
+
<line num="6" count="3" type="stmt"/>
|
|
507
|
+
<line num="8" count="3" type="stmt"/>
|
|
508
|
+
</file>
|
|
509
|
+
<file name="index.ts" path="/Users/xiaoxun/github/innei-repo/mx-space/mx-api-client/src/core/index.ts">
|
|
510
|
+
<metrics statements="2" coveredstatements="2" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
|
|
511
|
+
<line num="1" count="16" type="stmt"/>
|
|
512
|
+
<line num="2" count="16" type="stmt"/>
|
|
513
|
+
</file>
|
|
514
|
+
</package>
|
|
515
|
+
<package name="models">
|
|
516
|
+
<metrics statements="6" coveredstatements="6" conditionals="4" coveredconditionals="4" methods="2" coveredmethods="2"/>
|
|
517
|
+
<file name="aggregate.ts" path="/Users/xiaoxun/github/innei-repo/mx-space/mx-api-client/src/models/aggregate.ts">
|
|
518
|
+
<metrics statements="3" coveredstatements="3" conditionals="2" coveredconditionals="2" methods="1" coveredmethods="1"/>
|
|
519
|
+
<line num="29" count="1" type="cond" truecount="2" falsecount="0"/>
|
|
520
|
+
<line num="30" count="1" type="stmt"/>
|
|
521
|
+
<line num="31" count="1" type="stmt"/>
|
|
522
|
+
</file>
|
|
523
|
+
<file name="category.ts" path="/Users/xiaoxun/github/innei-repo/mx-space/mx-api-client/src/models/category.ts">
|
|
524
|
+
<metrics statements="3" coveredstatements="3" conditionals="2" coveredconditionals="2" methods="1" coveredmethods="1"/>
|
|
525
|
+
<line num="4" count="16" type="cond" truecount="2" falsecount="0"/>
|
|
526
|
+
<line num="5" count="16" type="stmt"/>
|
|
527
|
+
<line num="6" count="16" type="stmt"/>
|
|
528
|
+
</file>
|
|
529
|
+
</package>
|
|
530
|
+
<package name="utils">
|
|
531
|
+
<metrics statements="48" coveredstatements="41" conditionals="33" coveredconditionals="24" methods="10" coveredmethods="8"/>
|
|
532
|
+
<file name="auto-bind.ts" path="/Users/xiaoxun/github/innei-repo/mx-space/mx-api-client/src/utils/auto-bind.ts">
|
|
533
|
+
<metrics statements="22" coveredstatements="19" conditionals="13" coveredconditionals="9" methods="4" coveredmethods="3"/>
|
|
534
|
+
<line num="5" count="17" type="stmt"/>
|
|
535
|
+
<line num="6" count="75" type="stmt"/>
|
|
536
|
+
<line num="8" count="75" type="stmt"/>
|
|
537
|
+
<line num="9" count="97" type="stmt"/>
|
|
538
|
+
<line num="10" count="440" type="stmt"/>
|
|
539
|
+
<line num="17" count="75" type="stmt"/>
|
|
540
|
+
<line num="20" count="17" type="cond" truecount="1" falsecount="0"/>
|
|
541
|
+
<line num="21" count="75" type="stmt"/>
|
|
542
|
+
<line num="22" count="343" type="stmt"/>
|
|
543
|
+
<line num="23" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
544
|
+
<line num="25" count="343" type="cond" truecount="0" falsecount="1"/>
|
|
545
|
+
<line num="26" count="0" type="stmt"/>
|
|
546
|
+
<line num="29" count="343" type="cond" truecount="0" falsecount="1"/>
|
|
547
|
+
<line num="30" count="0" type="stmt"/>
|
|
548
|
+
<line num="33" count="343" type="stmt"/>
|
|
549
|
+
<line num="36" count="75" type="stmt"/>
|
|
550
|
+
<line num="37" count="440" type="cond" truecount="3" falsecount="0"/>
|
|
551
|
+
<line num="38" count="97" type="stmt"/>
|
|
552
|
+
<line num="41" count="343" type="stmt"/>
|
|
553
|
+
<line num="42" count="343" type="cond" truecount="3" falsecount="0"/>
|
|
554
|
+
<line num="43" count="263" type="stmt"/>
|
|
555
|
+
<line num="47" count="75" type="stmt"/>
|
|
556
|
+
</file>
|
|
557
|
+
<file name="index.ts" path="/Users/xiaoxun/github/innei-repo/mx-space/mx-api-client/src/utils/index.ts">
|
|
558
|
+
<metrics statements="22" coveredstatements="18" conditionals="19" coveredconditionals="14" methods="5" coveredmethods="4"/>
|
|
559
|
+
<line num="3" count="17" type="stmt"/>
|
|
560
|
+
<line num="4" count="81" type="cond" truecount="3" falsecount="0"/>
|
|
561
|
+
<line num="8" count="17" type="stmt"/>
|
|
562
|
+
<line num="9" count="0" type="stmt"/>
|
|
563
|
+
<line num="16" count="87" type="cond" truecount="2" falsecount="0"/>
|
|
564
|
+
<line num="17" count="17" type="stmt"/>
|
|
565
|
+
<line num="18" count="9" type="cond" truecount="0" falsecount="1"/>
|
|
566
|
+
<line num="19" count="0" type="stmt"/>
|
|
567
|
+
<line num="21" count="9" type="cond" truecount="0" falsecount="1"/>
|
|
568
|
+
<line num="22" count="0" type="stmt"/>
|
|
569
|
+
<line num="25" count="9" type="stmt"/>
|
|
570
|
+
<line num="27" count="9" type="stmt"/>
|
|
571
|
+
<line num="29" count="9" type="cond" truecount="3" falsecount="0"/>
|
|
572
|
+
<line num="30" count="4" type="stmt"/>
|
|
573
|
+
<line num="32" count="4" type="stmt"/>
|
|
574
|
+
<line num="33" count="4" type="stmt"/>
|
|
575
|
+
<line num="36" count="5" type="stmt"/>
|
|
576
|
+
<line num="39" count="17" type="stmt"/>
|
|
577
|
+
<line num="40" count="6" type="cond" truecount="2" falsecount="1"/>
|
|
578
|
+
<line num="41" count="0" type="stmt"/>
|
|
579
|
+
<line num="43" count="6" type="cond" truecount="2" falsecount="0"/>
|
|
580
|
+
<line num="48" count="6" type="cond" truecount="2" falsecount="0"/>
|
|
581
|
+
</file>
|
|
582
|
+
<file name="path.ts" path="/Users/xiaoxun/github/innei-repo/mx-space/mx-api-client/src/utils/path.ts">
|
|
583
|
+
<metrics statements="4" coveredstatements="4" conditionals="1" coveredconditionals="1" methods="1" coveredmethods="1"/>
|
|
584
|
+
<line num="1" count="17" type="stmt"/>
|
|
585
|
+
<line num="2" count="80" type="cond" truecount="1" falsecount="0"/>
|
|
586
|
+
<line num="3" count="57" type="stmt"/>
|
|
587
|
+
<line num="5" count="80" type="stmt"/>
|
|
588
|
+
</file>
|
|
589
|
+
</package>
|
|
590
|
+
</project>
|
|
591
|
+
</coverage>
|