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

Refactor sessions to be session instances #128

Open
amberchow8 opened this issue Nov 12, 2024 · 1 comment · May be fixed by #135
Open

Refactor sessions to be session instances #128

amberchow8 opened this issue Nov 12, 2024 · 1 comment · May be fixed by #135
Assignees
Labels

Comments

@amberchow8
Copy link
Contributor

amberchow8 commented Nov 12, 2024

  • Create model for Session in api/src/models/study.ts
  • Modify sessionSchema to be customizedSessionSchema in api/src/models/study.ts (follow CustomizedBattery)
  • Modify variantSchema so that it contains a list of Session object ids (that point to a CustomizedSession)
@arath7
Copy link
Contributor

arath7 commented Dec 3, 2024

make a new study, look at mongodb and see if the structure is what you expect

instead of editing the endpoint, edit the variantSchema

@arath7 arath7 linked a pull request Dec 5, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants