Skip to content

Revert "fix(event): remove all any casts — typed authenticate, user.id, and Prisma error narrowing" - #648

Merged
ShantKhatri merged 1 commit into
mainfrom
revert-595-fix/type-safety-event-ts
Jun 28, 2026
Merged

Revert "fix(event): remove all any casts — typed authenticate, user.id, and Prisma error narrowing"#648
ShantKhatri merged 1 commit into
mainfrom
revert-595-fix/type-safety-event-ts

Conversation

@ShantKhatri

Copy link
Copy Markdown
Collaborator

Reverts #595


Error: #22 6.556 src/routes/event.ts(129,19): error TS2741: Property 'organizerId' is missing in type '{ id: string; name: string; slug: string; description: string | null; location: string; organizerUsername: string; organizerDisplayName: string; startDate: Date; endDate: Date; createdAt: Date; attendeesCount: number; }' but required in type 'EventDetails'.
#22 ERROR: process "/bin/sh -c npm run build" did not complete successfully: exit code: 2
------
 > [builder 13/13] RUN npm run build:
0.283 
0.283 > @devcard/backend@1.0.0 build
0.283 > tsc
0.283 
Error: 6.556 src/routes/event.ts(129,19): error TS2741: Property 'organizerId' is missing in type '{ id: string; name: string; slug: string; description: string | null; location: string; organizerUsername: string; organizerDisplayName: string; startDate: Date; endDate: Date; createdAt: Date; attendeesCount: number; }' but required in type 'EventDetails'.
------
backend.Dockerfile:25
--------------------
  23 |     COPY apps/backend ./
  24 |     
  25 | >>> RUN npm run build
  26 |     
  27 |     FROM node:20-alpine AS runner
--------------------
ERROR: failed to build: failed to solve: process "/bin/sh -c npm run build" did not complete successfully: exit code: 2
Error: Process completed with exit code 1.

@vercel

vercel Bot commented Jun 27, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
dev-card Ready Ready Preview, Comment Jun 27, 2026 9:52am

@github-actions github-actions Bot added backend gssoc:approved Required label for every approved PR. Gives the base +50 points and enables contribution tracking. labels Jun 27, 2026
@github-actions

Copy link
Copy Markdown
Contributor

Hi @ShantKhatri,

Thanks for opening this pull request.

This PR has been automatically classified based on the files modified.

Applied Labels

  • gssoc:approved
  • backend

Primary Review Area

  • backend

Reviewer

@Harxhit has been identified as the primary reviewer for this pull request.

If you have any questions regarding the affected area or implementation details, feel free to reach out to the assigned reviewer.

Thank you for your contribution!

@ShantKhatri
ShantKhatri requested a review from Harxhit June 27, 2026 09:53
@github-actions

Copy link
Copy Markdown
Contributor

CI — All Checks Passed

Backend — PASS

Check Result
Lint PASS
Test PASS
Typecheck PASS

Mobile — SKIP

Check Result
Lint -
Test -

Web — SKIP

Check Result
Build -

Last updated: Sat, 27 Jun 2026 09:53:37 GMT

@ShantKhatri
ShantKhatri merged commit f8088ed into main Jun 28, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backend gssoc:approved Required label for every approved PR. Gives the base +50 points and enables contribution tracking.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants