-
Notifications
You must be signed in to change notification settings - Fork 0
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
Child and past sessions data #18
Conversation
🦋 Changeset detectedLatest commit: e8295e4 The changes in this PR will be included in the next version bump. This PR includes changesets to release 2 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks great so far
readonly url?: string; | ||
}; | ||
|
||
export interface Relationships {} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@okaycj could Relationships be something like this?
export interface Relationships = {
links: Record<'related', string>
}
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh! I am not sure, but I am going to try this.
Summary
This PR adds two packages to our jspsych mono repo. Lookit-API will contain an implementation of Lookit's restful API and Lookit-helpers to provide functions to users to get access to child data and past session data for this child in this study.
Lookit-api
To help develop using the lookit restful API, I added a package to containerize the retrieval of data. This package should contain any implementation of a lookit endpoint. This package does not contain every available endpoint, just the ones needed for this project up to this point. At this time I have no intention of releasing this package to NPM.
The "initJSPysch" package needs to be updated using this package.
Lookit-helpers
Users are used to having access to child data and past sessions when running an experiment using EFP's generator. This package will give us functions to be used to expose these two data to a JSPsych experiment.