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

feat: Made new event template schema #226

Merged
merged 7 commits into from
Feb 25, 2025
Merged

Conversation

aabro1325
Copy link
Collaborator

Developer: Adarsh Murugesan

Closes #220

Pull Request Summary

Created an identical schema to the event schema but for event templates.

Modifications

Created eventTemplateSchema.ts

Testing Considerations

Check if eventTemplate object shows up in mongoDB collections

Pull Request Checklist

  • [*] Code is neat, readable, and works
  • [*] Comments are appropriate
  • [*] The commit messages follows our guidelines
  • [*] The developer name is specified
  • [*] The summary is completed
  • [*] Assign reviewers

Screenshots/Screencast

None

@aabro1325 aabro1325 linked an issue Feb 13, 2025 that may be closed by this pull request
Copy link

vercel bot commented Feb 13, 2025

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

Name Status Preview Comments Updated (UTC)
slo-beaver-brigade ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 25, 2025 3:49am
slo-beaver-brigade-dummy ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 25, 2025 3:49am

Copy link
Collaborator

@SilveerDusk SilveerDusk left a comment

Choose a reason for hiding this comment

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

Close but some things are missing from the schema.
The template should be able to save everything an admin could want to be prefilled. This includes reusing an image or having the groups already filled out. There are a couple other things that should be included as well, think about whether the event type, checklist, etc should be included as well. Also the registeredIds list will not be needed as that isn't used until the event is created.

@SilveerDusk SilveerDusk merged commit 03937c8 into main Feb 25, 2025
3 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.

Event Template Schema
2 participants