cal.com icon indicating copy to clipboard operation
cal.com copied to clipboard

fix: fix types in apps/swagger (fixes #10023 and required for successful Railway build)

Open stabildev opened this issue 1 year ago β€’ 4 comments

(Reimplementation of #12681)

What does this PR do?

Fix some typing issues in apps/swagger that cause Railway build to fail.

Should also fix #10023

Notes

  • Renamed snippets.ts to snippets.js as it doesn't contain the necessary types which leads to build errors on Railway. The types are not available.
  • Removed two non-existing props from index.tsx See here for syntaxHighlight prop

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • Chore (refactoring code, technical debt, workflow improvements)

Mandatory Tasks

  • [x] Make sure you have self-reviewed the code. A decent size PR without self-review might be rejected.

Checklist

  • I haven't added tests that prove my fix is effective or that my feature works

stabildev avatar Feb 12 '24 12:02 stabildev

@stabildev is attempting to deploy a commit to the cal Team on Vercel.

A member of the Team first needs to authorize it.

vercel[bot] avatar Feb 12 '24 12:02 vercel[bot]

Thank you for following the naming conventions! πŸ™ Feel free to join our discord and post your PR link.

github-actions[bot] avatar Feb 12 '24 12:02 github-actions[bot]

New dependencies detected. Learn more about Socket for GitHub β†—οΈŽ

Package New capabilities Transitives Size Publisher
npm/@types/[email protected] None +4 1.44 MB types

View full reportβ†—οΈŽ

socket-security[bot] avatar Feb 12 '24 12:02 socket-security[bot]

πŸ“¦ Next.js Bundle Analysis for @calcom/web

This analysis was generated by the Next.js Bundle Analysis action. πŸ€–

This PR introduced no changes to the JavaScript bundle! πŸ™Œ

github-actions[bot] avatar Feb 12 '24 12:02 github-actions[bot]