Skip to content

Refactor/project - #889

Merged
scheidtdav merged 32 commits into
devfrom
refactor/project
Apr 22, 2026
Merged

Refactor/project#889
scheidtdav merged 32 commits into
devfrom
refactor/project

Conversation

@jona159

Copy link
Copy Markdown
Contributor

Type of Change

  • Dependency upgrade
  • Bug fix (non-breaking change)
  • Breaking change
    • e.g. a fixed bug or new feature that may break something else
  • New feature
  • Code quality improvements
    • e.g. refactoring, documentation, tests, tooling, ...

Implementation

Checklist

  • I gave this pull request a meaningful title
  • My pull request is targeting the dev branch
  • I have added documentation to my code
  • I have deleted code that I have commented out

Additional Information

  • This PR closes #

@scheidtdavscheidtdav linked an issue Apr 22, 2026 that may be closed by this pull request
@github-actions

github-actionsBot commented Apr 22, 2026

Copy link
Copy Markdown

Coverage Report

StatusCategoryPercentageCovered / Total
🔵Lines69.17%1768 / 2556
🔵Statements67.51%1837 / 2721
🔵Functions69.46%364 / 524
🔵Branches56.26%948 / 1685
File Coverage
FileStmtsBranchesFunctionsLinesUncovered Lines
Changed Files
app/db.server.ts80%50%100%80%18-20
app/utils.ts5.26%2.66%3.84%4.22%41-49, 66-265
app/db/models/integration.server.ts37.2%16.66%75%35.71%12-14, 22-71, 123-160
app/db/models/token.server.ts100%100%100%100%
app/db/models/tos.server.ts9.52%5%17.64%10.52%15-73, 79-184
app/lib/device-transform.ts100%100%100%100%
app/lib/jwt.ts88.88%67.5%100%90.82%65, 67, 81, 130, 146, 166-167, 173-174, 212, 274, 276, 281
app/lib/numbers.ts0%0%0%0%2-8
app/lib/outlier-transform.ts0%0%0%0%11-52
app/lib/api-schemas/boxes-data-query-schema.ts68%70.37%67.85%72.5%28, 36, 53, 81, 96, 110, 120-124, 128-133, 151-154, 172
app/routes/api.boxes.$deviceId.$sensorId.measurements.ts68.57%55.55%100%71.66%16-18, 23-25, 28, 38-40, 68-74, 96, 113-121, 123-128, 130-135, 146-148
app/routes/api.boxes.$deviceId.$sensorId.ts73.91%46.15%100%73.91%14-16, 27-29, 52, 61-74
app/routes/api.boxes.$deviceId.data.$sensorId.ts70.17%48.78%100%81.25%151, 168, 171, 180-181, 194-195, 218, 221, 226, 231-239, 247, 250, 253, 256, 265
app/routes/api.boxes.$deviceId.data.ts90%60.71%100%90%28, 50, 70
app/routes/api.boxes.$deviceId.locations.ts77.14%62.5%100%89.65%101, 105, 142-143, 160, 169, 172, 175
app/routes/api.boxes.$deviceId.script.ts73.07%40%80%73.07%48-54, 77-86, 94-108
app/routes/api.boxes.$deviceId.sensors.$sensorId.ts70%68.75%100%73.68%12, 16, 22-24, 32, 41-42
app/routes/api.boxes.$deviceId.sensors.ts73.33%75%100%73.33%40, 47-49, 57-58
app/routes/api.boxes.$deviceId.ts67.14%50.81%66.66%68.65%77, 86-100, 108, 114-121, 130, 139-142, 147-153, 159-185, 209, 249-256, 263, 268-270, 280-281
app/routes/api.boxes.data.ts87.8%79.16%80%87.5%28, 115-116, 124-134
app/routes/api.boxes.ts90.47%100%100%90.47%390-391, 448-449
app/routes/api.claim.ts78.57%47.82%100%84.61%25, 46-56
app/routes/api.sign-out.ts77.77%100%100%77.77%23-24
app/routes/api.stats.ts81.81%100%100%81.81%25-26
app/routes/api.tags.ts60%100%100%60%13-14
app/routes/api.transfer.$deviceId.ts84.31%71.87%100%93.33%13-15, 19, 45-47, 51, 53, 81, 83, 132
app/routes/api.transfer.ts77.77%57.5%100%80.39%14-16, 19, 72-74, 81, 83, 89-90, 107-117
app/routes/api.users.confirm-email.ts68.75%50%100%68.75%17, 24-27, 31-33, 38-39
app/routes/api.users.me.boxes.$deviceId.ts70.58%62.5%100%70.58%11-13, 18, 22-24, 31-32
app/routes/api.users.me.boxes.ts83.33%100%100%81.81%34-35
app/routes/api.users.me.resend-email-confirmation.ts63.63%50%100%63.63%11-13, 18-20, 28-29
app/routes/api.users.me.ts82%85.71%100%85.1%282-283, 301, 310, 343-344, 364, 378-379
app/routes/api.users.password-reset.ts68.75%71.42%100%68.75%19, 42-54
app/routes/api.users.refresh-auth.ts77.77%76.47%100%77.77%153-160
app/routes/api.users.register.ts66.66%47.36%100%66.66%16-18, 24, 29, 35, 72-85
app/routes/api.users.request-password-reset.ts72.72%75%100%72.72%19, 31-32
app/routes/api.users.sign-in.ts64.7%68.42%100%64.7%119-121, 124-126, 142-150
app/services/user-service.server.ts77.32%68.85%70.58%80%104-108, 146-150, 165-169, 196-197, 313-315, 424-472, 486, 536-564, 577, 623, 625
Generated in workflow #2416 for commit 0880e94 by the Vitest Coverage Report Action

@scheidtdav
scheidtdav merged commit 2d0db84 into devApr 22, 2026
6 checks passed
@scheidtdav
scheidtdav deleted the refactor/project branch April 22, 2026 14:47
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Project Structure and File Locations

2 participants

@jona159@scheidtdav