[PR #1965] [MERGED] feat: create document in a specific folder #1961

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

📋 Pull Request Information

Original PR: https://github.com/documenso/documenso/pull/1965
Author: @catalinpit
Created: 8/13/2025
Status: Merged
Merged: 8/22/2025
Merged by: @Mythie

Base: mainHead: feat/create-document-from-template-in-specific-folder


📝 Commits (5)

  • 3bbde2c feat: create document in a specific folder
  • f673fea feat: create document in a specific folder
  • 8950bbc feat: v1 api changes
  • dc6b1a3 Merge branch 'main' into feat/create-document-from-template-in-specific-folder
  • b421a11 Merge branch 'main' into feat/create-document-from-template-in-specific-folder

📊 Changes

8 files changed (+77 additions, -3 deletions)

View changed files

📝 packages/api/v1/implementation.ts (+2 -0)
📝 packages/api/v1/schema.ts (+12 -0)
📝 packages/lib/server-only/document/create-document-v2.ts (+20 -1)
📝 packages/lib/server-only/template/create-document-from-template.ts (+20 -0)
📝 packages/trpc/server/document-router/router.ts (+2 -0)
📝 packages/trpc/server/document-router/schema.ts (+6 -0)
📝 packages/trpc/server/template-router/router.ts (+9 -2)
📝 packages/trpc/server/template-router/schema.ts (+6 -0)

📄 Description

Description

Allow users to upload documents in specific folders, using both API V1 and V2.

Testing Performed

Tested them manually locally.

Checklist

  • I have tested these changes locally and they work as expected.
  • I have added/updated tests that prove the effectiveness of these changes.
  • I have updated the documentation to reflect these changes, if applicable.
  • I have followed the project's coding style guidelines.
  • I have addressed the code review feedback from the previous submission, if applicable.

🔄 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/1965 **Author:** [@catalinpit](https://github.com/catalinpit) **Created:** 8/13/2025 **Status:** ✅ Merged **Merged:** 8/22/2025 **Merged by:** [@Mythie](https://github.com/Mythie) **Base:** `main` ← **Head:** `feat/create-document-from-template-in-specific-folder` --- ### 📝 Commits (5) - [`3bbde2c`](https://github.com/documenso/documenso/commit/3bbde2c3759e999bf1c225d12670e524b4ed4e91) feat: create document in a specific folder - [`f673fea`](https://github.com/documenso/documenso/commit/f673fea417db5d56c256b563a1f5a945b521c6b8) feat: create document in a specific folder - [`8950bbc`](https://github.com/documenso/documenso/commit/8950bbcc97274c259a8aca00f27b37a5840b937b) feat: v1 api changes - [`dc6b1a3`](https://github.com/documenso/documenso/commit/dc6b1a36118f05b1ad6b8aab25f4182ff982ff0c) Merge branch 'main' into feat/create-document-from-template-in-specific-folder - [`b421a11`](https://github.com/documenso/documenso/commit/b421a116a08b5e33181deb61c8c3adb044ff24b8) Merge branch 'main' into feat/create-document-from-template-in-specific-folder ### 📊 Changes **8 files changed** (+77 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `packages/api/v1/implementation.ts` (+2 -0) 📝 `packages/api/v1/schema.ts` (+12 -0) 📝 `packages/lib/server-only/document/create-document-v2.ts` (+20 -1) 📝 `packages/lib/server-only/template/create-document-from-template.ts` (+20 -0) 📝 `packages/trpc/server/document-router/router.ts` (+2 -0) 📝 `packages/trpc/server/document-router/schema.ts` (+6 -0) 📝 `packages/trpc/server/template-router/router.ts` (+9 -2) 📝 `packages/trpc/server/template-router/schema.ts` (+6 -0) </details> ### 📄 Description ## Description Allow users to upload documents in specific folders, using both API V1 and V2. ## Testing Performed Tested them manually locally. ## Checklist - [x] I have tested these changes locally and they work as expected. - [ ] I have added/updated tests that prove the effectiveness of these changes. - [ ] I have updated the documentation to reflect these changes, if applicable. - [x] I have followed the project's coding style guidelines. - [ ] I have addressed the code review feedback from the previous submission, if applicable. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-26 20:31:50 +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#1961
No description provided.