Skip to content

Patch: Delete forms routes#169

Merged
breadddevv merged 1 commit into
PlanetaryOrbit:mainfrom
BuddyWinte:patch-1
Jul 14, 2026
Merged

Patch: Delete forms routes#169
breadddevv merged 1 commit into
PlanetaryOrbit:mainfrom
BuddyWinte:patch-1

Conversation

@BuddyWinte

@BuddyWinte BuddyWinte commented Jul 14, 2026

Copy link
Copy Markdown
Contributor

The forms route are causing a typescript build failure on all current PRs.

Summary by CodeRabbit

  • Removed Features
    • Removed the workspace forms API endpoint used to retrieve forms.
    • Form listing, authentication, permission checks, and unsupported-method responses are no longer available through this endpoint.

@BuddyWinte BuddyWinte marked this pull request as ready for review July 14, 2026 12:59
@coderabbitai

coderabbitai Bot commented Jul 14, 2026

Copy link
Copy Markdown
Contributor
📝 Walkthrough

Walkthrough

The forms API route and its associated permission/type helper module were deleted. This removes authenticated form listing, permission validation, user lookup, method handling, and related exported declarations.

Changes

Cohort / File(s) Summary
Forms API removal
pages/api/workspace/[id]/forms/helpers.ts, pages/api/workspace/[id]/forms/index.ts
Deletes permission helpers and removes the authenticated forms listing API route, including its Prisma and HTTP response logic.

Estimated code review effort: 1 (Trivial) | ~2 minutes

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly describes the main change: deleting the forms routes.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@breadddevv breadddevv merged commit 396d224 into PlanetaryOrbit:main Jul 14, 2026
2 checks passed
Sign up for free to 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.

2 participants