[PR #1535] [MERGED] feat: add trpc openapi #1699

Closed
opened 2026-02-26 20:30:41 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/documenso/documenso/pull/1535
Author: @dguyen
Created: 12/12/2024
Status: Merged
Merged: 12/13/2024
Merged by: @dguyen

Base: mainHead: feat/add-trpc-openapi


📝 Commits (2)

📊 Changes

42 files changed (+1197 additions, -340 deletions)

View changed files

📝 apps/web/package.json (+1 -0)
📝 apps/web/src/app/(dashboard)/documents/[id]/document-page-view-recent-activity.tsx (+2 -4)
📝 apps/web/src/app/(dashboard)/documents/[id]/edit-document.tsx (+4 -4)
📝 apps/web/src/app/(dashboard)/documents/data-table.tsx (+3 -9)
📝 apps/web/src/app/(dashboard)/templates/[id]/template-page-view-recent-activity.tsx (+2 -4)
📝 apps/web/src/app/(dashboard)/templates/move-template-dialog.tsx (+14 -2)
apps/web/src/pages/api/beta/[...trpc].ts (+47 -0)
apps/web/src/pages/api/beta/open-api.json.ts (+9 -0)
📝 apps/web/src/pages/api/trpc/[trpc].ts (+1 -0)
📝 package-lock.json (+299 -15)
📝 packages/api/v1/implementation.ts (+4 -5)
📝 packages/lib/server-only/document/create-document.ts (+8 -1)
📝 packages/lib/server-only/document/duplicate-document-by-id.ts (+14 -4)
📝 packages/lib/server-only/document/find-documents.ts (+26 -2)
📝 packages/lib/server-only/document/get-document-with-details-by-id.ts (+31 -3)
📝 packages/lib/server-only/document/move-document-to-team.ts (+7 -1)
📝 packages/lib/server-only/document/resend-document.tsx (+1 -1)
📝 packages/lib/server-only/document/send-document.tsx (+16 -1)
📝 packages/lib/server-only/document/update-document-settings.ts (+7 -1)
📝 packages/lib/server-only/field/get-field-by-id.ts (+16 -1)

...and 22 more files

📄 Description

Description

  • Add TRPC Open API demo
  • Add output schemas for public endpoints Documents/Templates/Fields/Recipients

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/documenso/documenso/pull/1535 **Author:** [@dguyen](https://github.com/dguyen) **Created:** 12/12/2024 **Status:** ✅ Merged **Merged:** 12/13/2024 **Merged by:** [@dguyen](https://github.com/dguyen) **Base:** `main` ← **Head:** `feat/add-trpc-openapi` --- ### 📝 Commits (2) - [`af9ff07`](https://github.com/documenso/documenso/commit/af9ff0792764e0d49887eeb24d7877281f5743cf) feat: add trpc openapi - [`47e7d3a`](https://github.com/documenso/documenso/commit/47e7d3a111155c04b300b280628fbc5280289aa7) fix: update logs ### 📊 Changes **42 files changed** (+1197 additions, -340 deletions) <details> <summary>View changed files</summary> 📝 `apps/web/package.json` (+1 -0) 📝 `apps/web/src/app/(dashboard)/documents/[id]/document-page-view-recent-activity.tsx` (+2 -4) 📝 `apps/web/src/app/(dashboard)/documents/[id]/edit-document.tsx` (+4 -4) 📝 `apps/web/src/app/(dashboard)/documents/data-table.tsx` (+3 -9) 📝 `apps/web/src/app/(dashboard)/templates/[id]/template-page-view-recent-activity.tsx` (+2 -4) 📝 `apps/web/src/app/(dashboard)/templates/move-template-dialog.tsx` (+14 -2) ➕ `apps/web/src/pages/api/beta/[...trpc].ts` (+47 -0) ➕ `apps/web/src/pages/api/beta/open-api.json.ts` (+9 -0) 📝 `apps/web/src/pages/api/trpc/[trpc].ts` (+1 -0) 📝 `package-lock.json` (+299 -15) 📝 `packages/api/v1/implementation.ts` (+4 -5) 📝 `packages/lib/server-only/document/create-document.ts` (+8 -1) 📝 `packages/lib/server-only/document/duplicate-document-by-id.ts` (+14 -4) 📝 `packages/lib/server-only/document/find-documents.ts` (+26 -2) 📝 `packages/lib/server-only/document/get-document-with-details-by-id.ts` (+31 -3) 📝 `packages/lib/server-only/document/move-document-to-team.ts` (+7 -1) 📝 `packages/lib/server-only/document/resend-document.tsx` (+1 -1) 📝 `packages/lib/server-only/document/send-document.tsx` (+16 -1) 📝 `packages/lib/server-only/document/update-document-settings.ts` (+7 -1) 📝 `packages/lib/server-only/field/get-field-by-id.ts` (+16 -1) _...and 22 more files_ </details> ### 📄 Description ## Description - Add TRPC Open API demo - Add output schemas for public endpoints Documents/Templates/Fields/Recipients --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-26 20:30:41 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/documenso#1699
No description provided.