hackforla / hackforla/VRMS

Convert backend workers to TypeScript

Open
#2,138 0 comments 0 reactions 0 assignees View on GitHub
complexity: medium feature: Package Update housekeeping role: Back End size: 3pt
Dominant language
JavaScript
Stars
61
Forks
101
PR merge metrics
No merged PRs in 30d

Description

### Overview
Convert the backend worker modules (openCheckins, closeCheckins, createRecurringEvents, slackbot, tokenCleanup) to TypeScript to catch type errors at compile time — particularly around date/time handling which has been a source of bugs (#1872).

### Action Items
- [ ] Add TypeScript and required @types packages to backend
- [ ] Create tsconfig.json for backend
- [ ] Define types for Event, CheckIn, RecurringEvent models
- [ ] Convert worker files from .js to .ts
- [ ] Update build/dev scripts to handle TypeScript compilation
- [ ] Ensure compatibility with ESM migration (#2133)

### Resources/Instructions
- Depends on: #2133 (ESM migration) should be merged first
- Related: #1872 (timezone bug in workers)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.