[PR #1261] [MERGED] feat: prefill fields via api #1518

Closed
opened 2026-02-26 19:33:36 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/documenso/documenso/pull/1261
Author: @catalinpit
Created: 7/29/2024
Status: Merged
Merged: 8/26/2024
Merged by: @catalinpit

Base: mainHead: feat/add-advanced-fieldmeta-api


📝 Commits (6)

  • 48ef3a8 feat: prefill fields via api
  • a032b7f fix: add autogenerated prisma to gitignore
  • d469c0c feat: prefill logic
  • 51982cd Merge branch 'main' into feat/add-advanced-fieldmeta-api
  • 9085e90 Merge branch 'main' into feat/add-advanced-fieldmeta-api
  • 88801eb Merge branch 'main' into feat/add-advanced-fieldmeta-api

📊 Changes

4 files changed (+105 additions, -34 deletions)

View changed files

📝 .gitignore (+2 -0)
📝 packages/api/v1/implementation.ts (+51 -34)
📝 packages/api/v1/schema.ts (+3 -0)
📝 packages/lib/server-only/field/create-field.ts (+49 -0)

📄 Description

Description

Configure the advanced field via API.

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.

Summary by CodeRabbit

  • New Features

    • Enhanced API functionality to support field metadata during field creation.
    • Introduced validation checks for field metadata to ensure necessary information is provided for advanced field types.
  • Bug Fixes

    • Improved error handling during field creation to return properly formatted error responses.
  • Documentation

    • Updated API schemas to include field metadata, enhancing data validation and response structures.

🔄 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/1261 **Author:** [@catalinpit](https://github.com/catalinpit) **Created:** 7/29/2024 **Status:** ✅ Merged **Merged:** 8/26/2024 **Merged by:** [@catalinpit](https://github.com/catalinpit) **Base:** `main` ← **Head:** `feat/add-advanced-fieldmeta-api` --- ### 📝 Commits (6) - [`48ef3a8`](https://github.com/documenso/documenso/commit/48ef3a8e80a7331514843d179d98e12fccecf74a) feat: prefill fields via api - [`a032b7f`](https://github.com/documenso/documenso/commit/a032b7fd015f794cdcf0b7681e545adf2ebf44c0) fix: add autogenerated prisma to gitignore - [`d469c0c`](https://github.com/documenso/documenso/commit/d469c0c991188b9eb3dd725c8190567204462f40) feat: prefill logic - [`51982cd`](https://github.com/documenso/documenso/commit/51982cd5e9fd5dda7c9614c0e7c6d6859b804e6b) Merge branch 'main' into feat/add-advanced-fieldmeta-api - [`9085e90`](https://github.com/documenso/documenso/commit/9085e900d0a8997415cd630c5d5453c935f003b5) Merge branch 'main' into feat/add-advanced-fieldmeta-api - [`88801eb`](https://github.com/documenso/documenso/commit/88801eb3f23a1b9534d18ecc716929dd696fdc4d) Merge branch 'main' into feat/add-advanced-fieldmeta-api ### 📊 Changes **4 files changed** (+105 additions, -34 deletions) <details> <summary>View changed files</summary> 📝 `.gitignore` (+2 -0) 📝 `packages/api/v1/implementation.ts` (+51 -34) 📝 `packages/api/v1/schema.ts` (+3 -0) 📝 `packages/lib/server-only/field/create-field.ts` (+49 -0) </details> ### 📄 Description ## Description Configure the advanced field via API. ## Checklist <!--- Please check the boxes that apply to this pull request. --> <!--- You can add or remove items as needed. --> - [x] I have tested these changes locally and they work as expected. - [ ] I have added/updated tests that prove the effectiveness of these changes. - [x] 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. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **New Features** - Enhanced API functionality to support field metadata during field creation. - Introduced validation checks for field metadata to ensure necessary information is provided for advanced field types. - **Bug Fixes** - Improved error handling during field creation to return properly formatted error responses. - **Documentation** - Updated API schemas to include field metadata, enhancing data validation and response structures. <!-- end of auto-generated comment: release notes by coderabbit.ai --> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-26 19:33:36 +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#1518
No description provided.