Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build services/controller for creating form templates #29

Merged
merged 12 commits into from
Sep 24, 2023

Conversation

kaiyangzheng
Copy link
Collaborator

@kaiyangzheng kaiyangzheng commented Sep 24, 2023

Description/Problem

Closes Build form templates

Creates services and controller for basic CRUD operations on form templates.

Solution

Added form templates services, controllers, dtos, and entities.
Defined routes for creating a form template, getting all form templates, finding one form template, updating a form template, and removing a form template.

Dependencies

[ ] This PR adds new dependencies

Testing

// todo

@vercel
Copy link

vercel bot commented Sep 24, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
mfa-form-automator ✅ Ready (Inspect) Visit Preview 💬 Add feedback Sep 24, 2023 8:05pm

@kaiyangzheng
Copy link
Collaborator Author

/**
* Retrieve all form templates.
* @param limit the number of form templates we want to retrieve (optional)
* @returns all formk templates, hydrated
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

type

data: {
name: updateFormTemplateDto.name,
formDocLink: updateFormTemplateDto.formDocLink,
signatureFields: { create: updateFormTemplateDto.signatureFields },
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

comment this out for now, we need to think about how updating the signature fields will work

elvincheng3
elvincheng3 previously approved these changes Sep 24, 2023
@elvincheng3 elvincheng3 merged commit 4cb0ee9 into main Sep 24, 2023
5 checks passed
@elvincheng3 elvincheng3 deleted the build-services-controller-form-templates branch September 24, 2023 20:08
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